This is an automated email from the ASF dual-hosted git repository. naraj pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 9c3fe25549f9d913a8bceb8638c57863ba08d7f8 Merge: d989c69 0fd550b Author: MichaĆ Narajowski <[email protected]> AuthorDate: Tue May 15 16:14:03 2018 +0200 Merge pull request #98 from michal-narajowski/mesh-npl Update Mesh to use NPL nimble/host/mesh/include/mesh/glue.h | 31 ++++++------- nimble/host/mesh/include/mesh/porting.h | 19 ++++++++ nimble/host/mesh/src/access.c | 4 +- nimble/host/mesh/src/adv.c | 41 ++++++++-------- nimble/host/mesh/src/adv.h | 2 +- nimble/host/mesh/src/beacon.c | 2 +- nimble/host/mesh/src/cfg_srv.c | 4 +- nimble/host/mesh/src/friend.c | 8 ++-- nimble/host/mesh/src/glue.c | 54 +++++++++++----------- nimble/host/mesh/src/health_srv.c | 4 +- nimble/host/mesh/src/lpn.c | 2 +- nimble/host/mesh/src/net.c | 4 +- nimble/host/mesh/src/net.h | 2 +- nimble/host/mesh/src/prov.c | 2 +- nimble/host/mesh/src/proxy.c | 9 ++-- nimble/host/mesh/src/transport.c | 8 ++-- nimble/host/src/ble_hs_hci_cmd.c | 5 +- nimble/include/nimble/nimble_npl.h | 12 +++++ porting/nimble/Makefile.defs | 4 ++ porting/nimble/Makefile.mesh | 25 ++++++++++ .../npl/freertos/include/nimble/nimble_npl_os.h | 31 +++++++++++++ porting/npl/freertos/include/nimble/npl_freertos.h | 5 ++ porting/npl/freertos/src/npl_os_freertos.c | 38 +++++++++++++-- porting/npl/mynewt/include/nimble/nimble_npl_os.h | 32 +++++++++++++ 24 files changed, 254 insertions(+), 94 deletions(-) diff --cc nimble/host/mesh/include/mesh/glue.h index 7e6b40f,d45cfbc..d9440ad --- a/nimble/host/mesh/include/mesh/glue.h +++ b/nimble/host/mesh/include/mesh/glue.h @@@ -276,14 -276,13 +275,14 @@@ void bt_mesh_register_gatt(void) int bt_le_adv_start(const struct ble_gap_adv_params *param, const struct bt_data *ad, size_t ad_len, const struct bt_data *sd, size_t sd_len); +int bt_le_adv_stop(void); struct k_delayed_work { - struct os_callout work; + struct ble_npl_callout work; }; - void k_work_init(struct os_callout *work, os_event_fn handler); - void k_delayed_work_init(struct k_delayed_work *w, os_event_fn *f); + void k_work_init(struct ble_npl_callout *work, ble_npl_event_fn handler); + void k_delayed_work_init(struct k_delayed_work *w, ble_npl_event_fn *f); void k_delayed_work_cancel(struct k_delayed_work *w); void k_delayed_work_submit(struct k_delayed_work *w, uint32_t ms); int64_t k_uptime_get(void); -- To stop receiving notification emails like this one, please contact [email protected].
