NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
Bluetooth testing callbacks

Bluetooth testing. More...

Classes

struct  bt_test_cb
 Bluetooth Testing callbacks structure. More...
 

Functions

void bt_test_cb_register (struct bt_test_cb *cb)
 
void bt_test_cb_unregister (struct bt_test_cb *cb)
 
int bt_test_mesh_lpn_group_add (uint16_t group)
 
int bt_test_mesh_lpn_group_remove (uint16_t *groups, size_t groups_count)
 
int bt_test_mesh_rpl_clear (void)
 

Detailed Description

Bluetooth testing.

Function Documentation

◆ bt_test_cb_register()

void bt_test_cb_register ( struct bt_test_cb cb)

Register callbacks for Bluetooth testing purposes

Parameters
cbbt_test_cb callback structure

◆ bt_test_cb_unregister()

void bt_test_cb_unregister ( struct bt_test_cb cb)

Unregister callbacks for Bluetooth testing purposes

Parameters
cbbt_test_cb callback structure

◆ bt_test_mesh_lpn_group_add()

int bt_test_mesh_lpn_group_add ( uint16_t  group)

Send Friend Subscription List Add message.

Used by Low Power node to send the group address for which messages are to be stored by Friend node.

Parameters
groupGroup address
Returns
Zero on success or (negative) error code otherwise.

◆ bt_test_mesh_lpn_group_remove()

int bt_test_mesh_lpn_group_remove ( uint16_t *  groups,
size_t  groups_count 
)

Send Friend Subscription List Remove message.

Used by Low Power node to remove the group addresses from Friend node subscription list. Messages sent to those addresses will not be stored by Friend node.

Parameters
groupsGroup addresses
groups_countGroup addresses count
Returns
Zero on success or (negative) error code otherwise.

◆ bt_test_mesh_rpl_clear()

int bt_test_mesh_rpl_clear ( void  )

Clear replay protection list cache.

Returns
Zero on success or (negative) error code otherwise.