Bluetooth Mesh Private Beacon Client Model#
Bluetooth Mesh Private Beacon Client Model.
This class provides the commands and messages to interface with the Private Beacon Client Model.
Modules#
sl_btmesh_evt_private_beacon_client_beacon_status
sl_btmesh_evt_private_beacon_client_gatt_proxy_status
sl_btmesh_evt_private_beacon_client_identity_status
Functions#
Macros#
Function Documentation#
sl_btmesh_private_beacon_client_init#
sl_status_t sl_btmesh_private_beacon_client_init ()
Initialize the private beacon client.
Returns
SL_STATUS_OK if successful. Error code otherwise.
21431
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_private_beacon_client_deinit#
sl_status_t sl_btmesh_private_beacon_client_deinit ()
Deinitialize the private beacon client.
Returns
SL_STATUS_OK if successful. Error code otherwise.
21441
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_private_beacon_client_get_beacon#
sl_status_t sl_btmesh_private_beacon_client_get_beacon (uint16_t enc_netkey_index, uint16_t server_address, uint32_t * handle)
[in] | enc_netkey_index | Network key used to encrypt the request on the network layer |
[in] | server_address | Destination node primary element address |
[out] | handle | Request handle. |
Get the node's private network beacon state.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
21458
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_private_beacon_client_set_beacon#
sl_status_t sl_btmesh_private_beacon_client_set_beacon (uint16_t enc_netkey_index, uint16_t server_address, uint8_t state, uint16_t random_update_steps, uint32_t * handle)
[in] | enc_netkey_index | Network key used to encrypt the request on the network layer |
[in] | server_address | Destination node primary element address |
[in] | state | Secure network beacon value to set. Valid values are:
|
[in] | random_update_steps | Number of beacons that are to be sent before changing the random of obfuscation. Valid step values are from 0x00 to 0xff. 0x00 means that the random is updated for every beacon send. and 0x01-0xff tells how often random is updated in multiples of 10 seconds. Update of random will also trigger update of random address used in sending. Value 0x100 is used to indicate that no change in this parameter is desired. |
[out] | handle | Request handle |
Set node private network beacon state.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
21487
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_private_beacon_client_get_gatt_proxy#
sl_status_t sl_btmesh_private_beacon_client_get_gatt_proxy (uint16_t enc_netkey_index, uint16_t server_address, uint32_t * handle)
[in] | enc_netkey_index | Network key used to encrypt the request on the network layer |
[in] | server_address | Destination node primary element address |
[out] | handle | Request handle. |
Get the node's private gatt proxy beacon state.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
21508
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_private_beacon_client_set_gatt_proxy#
sl_status_t sl_btmesh_private_beacon_client_set_gatt_proxy (uint16_t enc_netkey_index, uint16_t server_address, uint8_t state, uint32_t * handle)
[in] | enc_netkey_index | Network key used to encrypt the request on the network layer |
[in] | server_address | Destination node primary element address |
[in] | state | Secure network beacon value to set. Valid values are:
|
[out] | handle | Request handle |
Set the node's private gatt proxy beacon state.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
21530
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_private_beacon_client_get_identity#
sl_status_t sl_btmesh_private_beacon_client_get_identity (uint16_t enc_netkey_index, uint16_t server_address, uint16_t netkey_index, uint32_t * handle)
[in] | enc_netkey_index | Network key used to encrypt the request on the network layer |
[in] | server_address | Destination node primary element address |
[in] | netkey_index | Network key index for which the state is queried |
[out] | handle | Request handle. |
Get the node's private identity beacon state.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
21551
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_private_beacon_client_set_identity#
sl_status_t sl_btmesh_private_beacon_client_set_identity (uint16_t enc_netkey_index, uint16_t server_address, uint16_t netkey_index, uint8_t state, uint32_t * handle)
[in] | enc_netkey_index | Network key used to encrypt the request on the network layer |
[in] | server_address | Destination node primary element address |
[in] | netkey_index | Network key index for which the state is configured |
[in] | state | Node private beacon value to set. Valid values are:
|
[out] | handle | Request handle |
Set the node's private node identity beacon state.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
21575
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_private_beacon_client_init_id#
#define sl_btmesh_cmd_private_beacon_client_init_idValue:
0x01640028
21309
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_private_beacon_client_deinit_id#
#define sl_btmesh_cmd_private_beacon_client_deinit_idValue:
0x02640028
21310
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_private_beacon_client_get_beacon_id#
#define sl_btmesh_cmd_private_beacon_client_get_beacon_idValue:
0x03640028
21311
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_private_beacon_client_set_beacon_id#
#define sl_btmesh_cmd_private_beacon_client_set_beacon_idValue:
0x04640028
21312
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_private_beacon_client_get_gatt_proxy_id#
#define sl_btmesh_cmd_private_beacon_client_get_gatt_proxy_idValue:
0x05640028
21313
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_private_beacon_client_set_gatt_proxy_id#
#define sl_btmesh_cmd_private_beacon_client_set_gatt_proxy_idValue:
0x06640028
21314
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_private_beacon_client_get_identity_id#
#define sl_btmesh_cmd_private_beacon_client_get_identity_idValue:
0x07640028
21315
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_private_beacon_client_set_identity_id#
#define sl_btmesh_cmd_private_beacon_client_set_identity_idValue:
0x08640028
21316
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_private_beacon_client_init_id#
#define sl_btmesh_rsp_private_beacon_client_init_idValue:
0x01640028
21317
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_private_beacon_client_deinit_id#
#define sl_btmesh_rsp_private_beacon_client_deinit_idValue:
0x02640028
21318
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_private_beacon_client_get_beacon_id#
#define sl_btmesh_rsp_private_beacon_client_get_beacon_idValue:
0x03640028
21319
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_private_beacon_client_set_beacon_id#
#define sl_btmesh_rsp_private_beacon_client_set_beacon_idValue:
0x04640028
21320
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_private_beacon_client_get_gatt_proxy_id#
#define sl_btmesh_rsp_private_beacon_client_get_gatt_proxy_idValue:
0x05640028
21321
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_private_beacon_client_set_gatt_proxy_id#
#define sl_btmesh_rsp_private_beacon_client_set_gatt_proxy_idValue:
0x06640028
21322
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_private_beacon_client_get_identity_id#
#define sl_btmesh_rsp_private_beacon_client_get_identity_idValue:
0x07640028
21323
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_private_beacon_client_set_identity_id#
#define sl_btmesh_rsp_private_beacon_client_set_identity_idValue:
0x08640028
21324
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h