Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
Bluetooth testing. More...
Data Structures | |
struct | bt_test_cb |
Bluetooth Testing callbacks structure. More... | |
Functions | |
int | bt_test_cb_register (struct bt_test_cb *cb) |
Register callbacks for Bluetooth testing purposes. | |
void | bt_test_cb_unregister (struct bt_test_cb *cb) |
Unregister callbacks for Bluetooth testing purposes. | |
int | bt_test_mesh_lpn_group_add (uint16_t group) |
Send Friend Subscription List Add message. | |
int | bt_test_mesh_lpn_group_remove (uint16_t *groups, size_t groups_count) |
Send Friend Subscription List Remove message. | |
int | bt_test_mesh_rpl_clear (void) |
Clear replay protection list cache. | |
Bluetooth testing.
int bt_test_cb_register | ( | struct bt_test_cb * | cb | ) |
#include <zephyr/bluetooth/testing.h>
Register callbacks for Bluetooth testing purposes.
cb | bt_test_cb callback structure |
0 | Success. |
-EEXIST | if cb was already registered. |
void bt_test_cb_unregister | ( | struct bt_test_cb * | cb | ) |
#include <zephyr/bluetooth/testing.h>
Unregister callbacks for Bluetooth testing purposes.
cb | bt_test_cb callback structure |
int bt_test_mesh_lpn_group_add | ( | uint16_t | group | ) |
#include <zephyr/bluetooth/testing.h>
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.
group | Group address |
#include <zephyr/bluetooth/testing.h>
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.
groups | Group addresses |
groups_count | Group addresses count |
int bt_test_mesh_rpl_clear | ( | void | ) |
#include <zephyr/bluetooth/testing.h>
Clear replay protection list cache.