Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Friend Node callback functions. More...
#include <main.h>
Data Fields | |
void(* | established )(uint16_t net_idx, uint16_t lpn_addr, uint8_t recv_delay, uint32_t polltimeout) |
Friendship established. | |
void(* | terminated )(uint16_t net_idx, uint16_t lpn_addr) |
Friendship terminated. | |
void(* | polled )(uint16_t net_idx, uint16_t lpn_addr) |
Friend Poll Request. | |
Friend Node callback functions.
void(* bt_mesh_friend_cb::established) (uint16_t net_idx, uint16_t lpn_addr, uint8_t recv_delay, uint32_t polltimeout) |
Friendship established.
This callback notifies the application that friendship has been successfully established.
net_idx | NetKeyIndex used during friendship establishment. |
lpn_addr | Low Power Node address. |
recv_delay | Receive Delay in units of 1 millisecond. |
polltimeout | PollTimeout in units of 1 millisecond. |
Friend Poll Request.
This callback notifies the application that the low power node has polled the friend node.
This callback will be called before bt_mesh_friend_cb::established when attempting to establish a friendship.
net_idx | NetKeyIndex used during friendship establishment. |
lpn_addr | LPN address. |
Friendship terminated.
This callback notifies the application that friendship has been terminated.
net_idx | NetKeyIndex used during friendship establishment. |
lpn_addr | Low Power Node address. |