Bluetooth Mesh Silabs Configuration Client Vendor Model#
Bluetooth Mesh Silabs Configuration Client Vendor Model.
Silicon Labs Configuration Client vendor model. It is used to configure global and per-model specific settings of nodes such as Tx-PHY for long packets, usage of advertising extensions (AE) on per-model basis.
Modules#
sl_btmesh_evt_silabs_config_client_tx_status
sl_btmesh_evt_silabs_config_client_model_status
sl_btmesh_evt_silabs_config_client_network_pdu_status
Enumerations#
The Silabs Configuration Client Status codes.
Functions#
Macros#
Enumeration Documentation#
sl_btmesh_silabs_config_client_status_t#
sl_btmesh_silabs_config_client_status_t
The Silabs Configuration Client Status codes.
Enumerator | |
---|---|
sl_btmesh_silabs_config_client_status_success | (0x0) The Client message was successfully processed by the Server. |
sl_btmesh_silabs_config_client_status_unknown_cmd | (0x1) The command was not understood by the Server. |
sl_btmesh_silabs_config_client_status_invalid_parameter | (0x2) A parameter in the Client message is outside of its valid range. |
sl_btmesh_silabs_config_client_status_does_not_exist | (0x3) Resource specifed by the Client message does not exist. |
3761
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
Function Documentation#
sl_btmesh_silabs_config_client_init#
sl_status_t sl_btmesh_silabs_config_client_init ()
Initialize Silabs Configuration client model.
Returns
SL_STATUS_OK if successful. Error code otherwise.
3896
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_silabs_config_client_set_tx#
sl_status_t sl_btmesh_silabs_config_client_set_tx (uint16_t server_address, uint16_t appkey_index, uint8_t tx_phy, uint32_t tx_options_bitmap)
[in] | server_address | Destination address of the message. It can be a unicast address, a group address, or a virtual address. |
[in] | appkey_index | The application key index used |
[in] | tx_phy | TX PHY for long packets (packets that would be segmented).
|
[in] | tx_options_bitmap | TX options. NOTE: Currently not used: reserved for future use, set as 0. |
Set node specific TX configuration.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
3917
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_silabs_config_client_get_tx#
sl_status_t sl_btmesh_silabs_config_client_get_tx (uint16_t server_address, uint16_t appkey_index)
[in] | server_address | Destination address of the message. It can be a unicast address, a group address, or a virtual address. |
[in] | appkey_index | The application key index used |
Get node specific TX configuration.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
3936
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_silabs_config_client_set_model_enable#
sl_status_t sl_btmesh_silabs_config_client_set_model_enable (uint16_t server_address, uint16_t appkey_index, uint16_t elem_index, uint16_t vendor_id, uint16_t model_id, uint8_t enable)
[in] | server_address | Destination address of the message. It can be a unicast address, a group address, or a virtual address. |
[in] | appkey_index | The application key index used |
[in] | elem_index | The index of the server target element, 0 is the primary element. |
[in] | vendor_id | Vendor ID of the model to configure. |
[in] | model_id | Model ID of the server target. |
[in] | enable | Non zero - enable, otherwise disable |
Set TX over AE on per-model basis enable/disable state.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
3958
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_silabs_config_client_get_model_enable#
sl_status_t sl_btmesh_silabs_config_client_get_model_enable (uint16_t server_address, uint16_t appkey_index, uint16_t elem_index, uint16_t vendor_id, uint16_t model_id)
[in] | server_address | Destination address of the message. It can be a unicast address, a group address, or a virtual address. |
[in] | appkey_index | The application key index used |
[in] | elem_index | The index of the server target element, 0 is the primary element. |
[in] | vendor_id | Vendor ID of the model to configure. |
[in] | model_id | Model ID of the server target. |
Get TX over AE on per-model basis enable/disable state.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
3983
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_silabs_config_client_set_network_pdu#
sl_status_t sl_btmesh_silabs_config_client_set_network_pdu (uint16_t server_address, uint16_t appkey_index, uint16_t pdu_max_size)
[in] | server_address | Destination address of the message. It can be a unicast address, a group address, or a virtual address. |
[in] | appkey_index | The application key index used |
[in] | pdu_max_size | Network PDU max size. Valid range: 29 - 398. |
Set network PDU state.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
4004
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_silabs_config_client_get_network_pdu#
sl_status_t sl_btmesh_silabs_config_client_get_network_pdu (uint16_t server_address, uint16_t appkey_index)
[in] | server_address | Destination address of the message. It can be a unicast address, a group address, or a virtual address. |
[in] | appkey_index | The application key index used |
Get network PDU state.
Returns
SL_STATUS_OK if successful. Error code otherwise.
Events
4022
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_silabs_config_client_deinit#
sl_status_t sl_btmesh_silabs_config_client_deinit ()
Deinitialize Silabs Configuration Client model. After this call, the model cannot be used until it is initialized again. See sl_btmesh_silabs_config_client_init.
Returns
SL_STATUS_OK if successful. Error code otherwise.
4035
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_silabs_config_client_init_id#
#define sl_btmesh_cmd_silabs_config_client_init_idValue:
0x00010028
3741
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_silabs_config_client_set_tx_id#
#define sl_btmesh_cmd_silabs_config_client_set_tx_idValue:
0x01010028
3742
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_silabs_config_client_get_tx_id#
#define sl_btmesh_cmd_silabs_config_client_get_tx_idValue:
0x02010028
3743
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_silabs_config_client_set_model_enable_id#
#define sl_btmesh_cmd_silabs_config_client_set_model_enable_idValue:
0x03010028
3744
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_silabs_config_client_get_model_enable_id#
#define sl_btmesh_cmd_silabs_config_client_get_model_enable_idValue:
0x04010028
3745
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_silabs_config_client_set_network_pdu_id#
#define sl_btmesh_cmd_silabs_config_client_set_network_pdu_idValue:
0x05010028
3746
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_silabs_config_client_get_network_pdu_id#
#define sl_btmesh_cmd_silabs_config_client_get_network_pdu_idValue:
0x06010028
3747
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_cmd_silabs_config_client_deinit_id#
#define sl_btmesh_cmd_silabs_config_client_deinit_idValue:
0x07010028
3748
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_silabs_config_client_init_id#
#define sl_btmesh_rsp_silabs_config_client_init_idValue:
0x00010028
3749
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_silabs_config_client_set_tx_id#
#define sl_btmesh_rsp_silabs_config_client_set_tx_idValue:
0x01010028
3750
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_silabs_config_client_get_tx_id#
#define sl_btmesh_rsp_silabs_config_client_get_tx_idValue:
0x02010028
3751
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_silabs_config_client_set_model_enable_id#
#define sl_btmesh_rsp_silabs_config_client_set_model_enable_idValue:
0x03010028
3752
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_silabs_config_client_get_model_enable_id#
#define sl_btmesh_rsp_silabs_config_client_get_model_enable_idValue:
0x04010028
3753
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_silabs_config_client_set_network_pdu_id#
#define sl_btmesh_rsp_silabs_config_client_set_network_pdu_idValue:
0x05010028
3754
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_silabs_config_client_get_network_pdu_id#
#define sl_btmesh_rsp_silabs_config_client_get_network_pdu_idValue:
0x06010028
3755
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h
sl_btmesh_rsp_silabs_config_client_deinit_id#
#define sl_btmesh_rsp_silabs_config_client_deinit_idValue:
0x07010028
3756
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h