Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Callbacks for getting notified on NUS Service occurrences. More...
#include <nus.h>
Data Fields | |
void(* | notif_enabled )(bool enabled, void *ctx) |
Notifications subscription changed. | |
void(* | received )(struct bt_conn *conn, const void *data, uint16_t len, void *ctx) |
Received Data. | |
void * | ctx |
Internal member. | |
Callbacks for getting notified on NUS Service occurrences.
void* bt_nus_cb::ctx |
Internal member.
Provided as a callback argument for user context
Notifications subscription changed.
enabled | Flag that is true if notifications were enabled, false if they were disabled. |
ctx | User context provided in the callback structure. |
Received Data.
conn | Peer Connection object. |
data | Pointer to buffer with data received. |
len | Size in bytes of data received. |
ctx | User context provided in the callback structure. |