Bluetooth Mesh Remote Provisioning Server Model#
Bluetooth Mesh Remote Provisioning Server Model.
Remote Provisioning Server model provides tunneling of the provisioning commands for the provisioning process.
Modules#
sl_btmesh_evt_remote_provisioning_server_link_open_request
sl_btmesh_evt_remote_provisioning_server_link_close_request
Enumerations#
Remote provisionin scan states.
Remote provisionnin server status.
Functions#
Enumeration Documentation#
sl_btmesh_remote_provisioning_server_scan_state_t#
sl_btmesh_remote_provisioning_server_scan_state_t
Remote provisionin scan states.
Enumerator | |
---|---|
sl_btmesh_remote_provisioning_server_idle | (0x0) Idle state |
sl_btmesh_remote_provisioning_server_multiple | (0x1) Multiple Devices Scan |
sl_btmesh_remote_provisioning_server_single | (0x2) Single Device Scan |
19548
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_remote_provisioning_server_status_t#
sl_btmesh_remote_provisioning_server_status_t
Remote provisionnin server status.
Enumerator | |
---|---|
sl_btmesh_remote_provisioning_server_success | (0x0) Success |
sl_btmesh_remote_provisioning_server_scan_cannot_Start | (0x1) Scanning Cannot Start |
sl_btmesh_remote_provisioning_server_invalid_state | (0x2) Invalid State |
sl_btmesh_remote_provisioning_server_limited_resources | (0x3) Limited Resources |
sl_btmesh_remote_provisioning_server_link_cannot_open | (0x4) Link Cannot Open |
sl_btmesh_remote_provisioning_server_link_open_failed | (0x5) Link open failed |
sl_btmesh_remote_provisioning_server_link_closed_by_device | (0x6) Link Closed by Device |
sl_btmesh_remote_provisioning_server_link_closed_by_server | (0x7) Link closed by server |
sl_btmesh_remote_provisioning_server_link_closed_by_client | (0x8) Link closed by client |
sl_btmesh_remote_provisioning_server_link_closed_as_cannot_receive_pdu | (0x9) Link closed as cannot receive PDU |
sl_btmesh_remote_provisioning_server_link_closed_as_cannot_send_pdu | (0xa) Link closed as cannot send PDU |
sl_btmesh_remote_provisioning_server_link_closed_as_cannot_deliver_pdu_report | (0xb) Link closed as cannot deliver PDU report |
19560
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
Function Documentation#
sl_btmesh_remote_provisioning_server_init#
sl_status_t sl_btmesh_remote_provisioning_server_init ()
Initialize the remote provisioning server.
Returns
SL_STATUS_OK if successful. Error code otherwise.
19691
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_remote_provisioning_server_open_link#
sl_status_t sl_btmesh_remote_provisioning_server_open_link (uint8_t connection)
[in] | connection | Handle that was assigned to the connection |
This command is used to pass connction handle to the remote provisioning server after having received sl_btmesh_evt_remote_provisioning_server_link_open_request event.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
19707
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_remote_provisioning_server_set_default_bearer#
sl_status_t sl_btmesh_remote_provisioning_server_set_default_bearer (uint8_t bearer)
[in] | bearer | Default bearer for provisioning.
|
Set default bearer to be used in remote provisioning.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
19723
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
Macro Definition Documentation#
sl_btmesh_cmd_remote_provisioning_server_init_id#
#define sl_btmesh_cmd_remote_provisioning_server_init_idValue:
0x00310028
19538
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_remote_provisioning_server_open_link_id#
#define sl_btmesh_cmd_remote_provisioning_server_open_link_idValue:
0x01310028
19539
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_remote_provisioning_server_set_default_bearer_id#
#define sl_btmesh_cmd_remote_provisioning_server_set_default_bearer_idValue:
0x02310028
19540
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_remote_provisioning_server_init_id#
#define sl_btmesh_rsp_remote_provisioning_server_init_idValue:
0x00310028
19541
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_remote_provisioning_server_open_link_id#
#define sl_btmesh_rsp_remote_provisioning_server_open_link_idValue:
0x01310028
19542
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_remote_provisioning_server_set_default_bearer_id#
#define sl_btmesh_rsp_remote_provisioning_server_set_default_bearer_idValue:
0x02310028
19543
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h