Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
rpr_cli.h File Reference

Go to the source code of this file.

Data Structures

struct  bt_mesh_rpr_scan_status
 Scan status response. More...
 
struct  bt_mesh_rpr_caps
 Remote Provisioning Server scanning capabilities. More...
 
struct  bt_mesh_rpr_cli
 Remote Provisioning Client model instance. More...
 

Macros

#define BT_MESH_RPR_SCAN_MAX_DEVS_ANY   0
 Special value for the max_devs parameter of bt_mesh_rpr_scan_start.
 
#define BT_MESH_MODEL_RPR_CLI(_cli)
 Remote Provisioning Client model composition data entry.
 

Functions

int bt_mesh_rpr_scan_caps_get (struct bt_mesh_rpr_cli *cli, const struct bt_mesh_rpr_node *srv, struct bt_mesh_rpr_caps *caps)
 Get scanning capabilities of Remote Provisioning Server.
 
int bt_mesh_rpr_scan_get (struct bt_mesh_rpr_cli *cli, const struct bt_mesh_rpr_node *srv, struct bt_mesh_rpr_scan_status *status)
 Get current scanning state of Remote Provisioning Server.
 
int bt_mesh_rpr_scan_start (struct bt_mesh_rpr_cli *cli, const struct bt_mesh_rpr_node *srv, const uint8_t uuid[16], uint8_t timeout, uint8_t max_devs, struct bt_mesh_rpr_scan_status *status)
 Start scanning for unprovisioned devices.
 
int bt_mesh_rpr_scan_start_ext (struct bt_mesh_rpr_cli *cli, const struct bt_mesh_rpr_node *srv, const uint8_t uuid[16], uint8_t timeout, const uint8_t *ad_types, size_t ad_count)
 Start extended scanning for unprovisioned devices.
 
int bt_mesh_rpr_scan_stop (struct bt_mesh_rpr_cli *cli, const struct bt_mesh_rpr_node *srv, struct bt_mesh_rpr_scan_status *status)
 Stop any ongoing scanning on the Remote Provisioning Server.
 
int bt_mesh_rpr_link_get (struct bt_mesh_rpr_cli *cli, const struct bt_mesh_rpr_node *srv, struct bt_mesh_rpr_link *rsp)
 Get the current link status of the Remote Provisioning Server.
 
int bt_mesh_rpr_link_close (struct bt_mesh_rpr_cli *cli, const struct bt_mesh_rpr_node *srv, struct bt_mesh_rpr_link *rsp)
 Close any open link on the Remote Provisioning Server.
 
int32_t bt_mesh_rpr_cli_timeout_get (void)
 Get the current transmission timeout value.
 
void bt_mesh_rpr_cli_timeout_set (int32_t timeout)
 Set the transmission timeout value.