7#ifndef ZEPHYR_INCLUDE_BT_MESH_RPR_CLI_H__ 
    8#define ZEPHYR_INCLUDE_BT_MESH_RPR_CLI_H__ 
   29#define BT_MESH_RPR_SCAN_MAX_DEVS_ANY 0 
   39#define BT_MESH_MODEL_RPR_CLI(_cli)                                            \ 
   40        BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_REMOTE_PROV_CLI,                     \ 
   41                         _bt_mesh_rpr_cli_op, NULL, _cli, &_bt_mesh_rpr_cli_cb) 
  191                               const uint8_t *ad_types, 
size_t ad_count);
 
ZTEST_BMEM int timeout
Definition: main.c:31
 
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_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_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_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.
 
void bt_mesh_rpr_cli_timeout_set(int32_t timeout)
Set the transmission timeout value.
 
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.
 
int32_t bt_mesh_rpr_cli_timeout_get(void)
Get the current transmission timeout value.
 
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.
 
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.
 
bt_mesh_rpr_link_state
Definition: rpr.h:67
 
bt_mesh_rpr_status
Definition: rpr.h:37
 
bt_mesh_rpr_scan
Definition: rpr.h:52
 
__INT32_TYPE__ int32_t
Definition: stdint.h:74
 
__UINT8_TYPE__ uint8_t
Definition: stdint.h:88
 
bool active_scan
Definition: rpr_cli.h:60
 
uint8_t max_devs
Definition: rpr_cli.h:58
 
struct bt_mesh_msg_ack_ctx prov_ack_ctx
Definition: rpr_cli.h:83
 
struct bt_mesh_rpr_cli::@102 link
 
void(* scan_report)(struct bt_mesh_rpr_cli *cli, const struct bt_mesh_rpr_node *srv, struct bt_mesh_rpr_unprov *unprov, struct net_buf_simple *adv_data)
Scan report callback.
Definition: rpr_cli.h:75
 
struct k_work_delayable timeout
Definition: rpr_cli.h:86
 
uint8_t tx_pdu
Definition: rpr_cli.h:89
 
uint8_t rx_pdu
Definition: rpr_cli.h:90
 
struct bt_mesh_rpr_node srv
Definition: rpr_cli.h:87
 
struct bt_mesh_msg_ack_ctx scan_ack_ctx
Definition: rpr_cli.h:82
 
enum bt_mesh_rpr_link_state state
Definition: rpr_cli.h:91
 
struct bt_mesh_model * mod
Definition: rpr_cli.h:94
 
uint8_t time
Definition: rpr_cli.h:88
 
enum bt_mesh_rpr_status status
Definition: rpr_cli.h:46
 
uint8_t timeout
Definition: rpr_cli.h:52
 
uint8_t max_devs
Definition: rpr_cli.h:50
 
enum bt_mesh_rpr_scan scan
Definition: rpr_cli.h:48
 
A structure used to submit work after a delay.
Definition: kernel.h:3793
 
Simple network buffer representation.
Definition: buf.h:83