You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ry...@apache.org on 2019/04/12 20:37:55 UTC

[mynewt-nimble] branch master updated: nimble/gap: Add listener call to notify_rx event

This is an automated email from the ASF dual-hosted git repository.

rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 3dac1c5  nimble/gap: Add listener call to notify_rx event
3dac1c5 is described below

commit 3dac1c574a103b9ef16007b4c73528a7345cef78
Author: mnasr93 <mu...@gmail.com>
AuthorDate: Wed Apr 10 22:57:05 2019 +0200

    nimble/gap: Add listener call to notify_rx event
---
 nimble/host/src/ble_gap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nimble/host/src/ble_gap.c b/nimble/host/src/ble_gap.c
index 84ace2a..4f51a29 100644
--- a/nimble/host/src/ble_gap.c
+++ b/nimble/host/src/ble_gap.c
@@ -5171,6 +5171,7 @@ ble_gap_notify_rx_event(uint16_t conn_handle, uint16_t attr_handle,
     event.notify_rx.attr_handle = attr_handle;
     event.notify_rx.om = om;
     event.notify_rx.indication = is_indication;
+    ble_gap_event_listener_call(&event);
     ble_gap_call_conn_event_cb(&event, conn_handle);
 
     os_mbuf_free_chain(event.notify_rx.om);