Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Low Power Node callback functions. More...
#include <main.h>
Data Fields | |
void(* | established )(uint16_t net_idx, uint16_t friend_addr, uint8_t queue_size, uint8_t recv_window) |
Friendship established. | |
void(* | terminated )(uint16_t net_idx, uint16_t friend_addr) |
Friendship terminated. | |
void(* | polled )(uint16_t net_idx, uint16_t friend_addr, bool retry) |
Local Poll Request. | |
Low Power Node callback functions.
void(* bt_mesh_lpn_cb::established) (uint16_t net_idx, uint16_t friend_addr, uint8_t queue_size, uint8_t recv_window) |
Friendship established.
This callback notifies the application that friendship has been successfully established.
net_idx | NetKeyIndex used during friendship establishment. |
friend_addr | Friend address. |
queue_size | Friend queue size. |
recv_window | Low Power Node's listens duration for Friend response. |
Local Poll Request.
This callback notifies the application that the local node has polled the friend node.
This callback will be called before bt_mesh_lpn_cb::established when attempting to establish a friendship.
net_idx | NetKeyIndex used during friendship establishment. |
friend_addr | Friend address. |
retry | Retry or first poll request for each transaction. |
Friendship terminated.
This callback notifies the application that friendship has been terminated.
net_idx | NetKeyIndex used during friendship establishment. |
friend_addr | Friend address. |