Bluetooth Mesh Silabs Configuration Server Vendor Model#

Bluetooth Mesh Silabs Configuration Server Vendor Model.

Silicon Labs Configuration Server vendor model. It provides the functionality of configuration of global and per-model specific settings of a node.

Modules#

sl_btmesh_evt_silabs_config_server_tx_changed

sl_btmesh_evt_silabs_config_server_model_option_changed

sl_btmesh_evt_silabs_config_server_network_pdu_changed

Functions#

sl_status_t
sl_btmesh_silabs_config_server_set_tx(uint8_t phy, uint32_t options)
sl_status_t
sl_btmesh_silabs_config_server_get_tx(uint8_t *phy, uint32_t *options)
sl_status_t
sl_btmesh_silabs_config_server_set_model_enable(uint8_t elem_index, uint16_t vendor_id, uint16_t model_id, uint16_t value)
sl_status_t
sl_btmesh_silabs_config_server_get_model_enable(uint8_t elem_index, uint16_t vendor_id, uint16_t model_id, uint16_t *value)
sl_status_t

Function Documentation#

sl_btmesh_silabs_config_server_init#

sl_status_t sl_btmesh_silabs_config_server_init ()

Initialize Silabs Configuration Server model

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


Definition at line 22212 of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

sl_btmesh_silabs_config_server_deinit#

sl_status_t sl_btmesh_silabs_config_server_deinit ()

Deinitialize Silabs Configuration Server model. After this call, the model cannot be used until it is initialized again. See sl_btmesh_silabs_config_server_init.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


Definition at line 22224 of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

sl_btmesh_silabs_config_server_set_tx#

sl_status_t sl_btmesh_silabs_config_server_set_tx (uint8_t phy, uint32_t options)
Parameters
[in]phy

TX PHY for long packets (packets that would be segmented).

  • 1: LE 1M PHY

  • 2: LE 2M PHY

[in]options

TX options. NOTE: Currently not used: reserved for future use.

Set TX PHY for the node.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


Definition at line 22239 of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

sl_btmesh_silabs_config_server_get_tx#

sl_status_t sl_btmesh_silabs_config_server_get_tx (uint8_t * phy, uint32_t * options)
Parameters
[out]phy

TX PHY for long packets (packets that would be segmented).

  • 1: LE 1M PHY

  • 2: LE 2M PHY

[out]options

TX options. NOTE: Currently not used: reserved for future use.

Get current TX PHY.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


Definition at line 22255 of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

sl_btmesh_silabs_config_server_set_model_enable#

sl_status_t sl_btmesh_silabs_config_server_set_model_enable (uint8_t elem_index, uint16_t vendor_id, uint16_t model_id, uint16_t value)
Parameters
[in]elem_index

Element index of model to configure.

[in]vendor_id

Vendor ID of model to configure.

[in]model_id

Model ID of model to configure.

[in]value

Extended packet size to set, currently 1 to use extended 0 to not

Enable/Disable usage of extended packets for a model.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


Definition at line 22271 of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

sl_btmesh_silabs_config_server_get_model_enable#

sl_status_t sl_btmesh_silabs_config_server_get_model_enable (uint8_t elem_index, uint16_t vendor_id, uint16_t model_id, uint16_t * value)
Parameters
[in]elem_index

Element index of model to get.

[in]vendor_id

Vendor ID of model to get.

[in]model_id

Model ID of model to get.

[out]value

Extended packet size is used, currently 1 is in use, 0 is not

Get model settings.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


Definition at line 22289 of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

sl_btmesh_silabs_config_server_set_network_pdu#

sl_status_t sl_btmesh_silabs_config_server_set_network_pdu (uint16_t max_size)
Parameters
[in]max_size

Max size of packet to be used, in range 29 - 227 bytes.

Set max network pdu for the node.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


Definition at line 22303 of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

sl_btmesh_silabs_config_server_get_network_pdu#

sl_status_t sl_btmesh_silabs_config_server_get_network_pdu (uint16_t * max_size)
Parameters
[out]max_size

Max size of packet, in range 29 - 227 bytes.

Get max network pdu in use.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


Definition at line 22314 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_server_init_id#

#define sl_btmesh_cmd_silabs_config_server_init_id
Value:
0x006b0028

Definition at line 22111 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_server_deinit_id#

#define sl_btmesh_cmd_silabs_config_server_deinit_id
Value:
0x016b0028

Definition at line 22112 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_server_set_tx_id#

#define sl_btmesh_cmd_silabs_config_server_set_tx_id
Value:
0x026b0028

Definition at line 22113 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_server_get_tx_id#

#define sl_btmesh_cmd_silabs_config_server_get_tx_id
Value:
0x036b0028

Definition at line 22114 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_server_set_model_enable_id#

#define sl_btmesh_cmd_silabs_config_server_set_model_enable_id
Value:
0x046b0028

Definition at line 22115 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_server_get_model_enable_id#

#define sl_btmesh_cmd_silabs_config_server_get_model_enable_id
Value:
0x056b0028

Definition at line 22116 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_server_set_network_pdu_id#

#define sl_btmesh_cmd_silabs_config_server_set_network_pdu_id
Value:
0x066b0028

Definition at line 22117 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_server_get_network_pdu_id#

#define sl_btmesh_cmd_silabs_config_server_get_network_pdu_id
Value:
0x076b0028

Definition at line 22118 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_server_init_id#

#define sl_btmesh_rsp_silabs_config_server_init_id
Value:
0x006b0028

Definition at line 22119 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_server_deinit_id#

#define sl_btmesh_rsp_silabs_config_server_deinit_id
Value:
0x016b0028

Definition at line 22120 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_server_set_tx_id#

#define sl_btmesh_rsp_silabs_config_server_set_tx_id
Value:
0x026b0028

Definition at line 22121 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_server_get_tx_id#

#define sl_btmesh_rsp_silabs_config_server_get_tx_id
Value:
0x036b0028

Definition at line 22122 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_server_set_model_enable_id#

#define sl_btmesh_rsp_silabs_config_server_set_model_enable_id
Value:
0x046b0028

Definition at line 22123 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_server_get_model_enable_id#

#define sl_btmesh_rsp_silabs_config_server_get_model_enable_id
Value:
0x056b0028

Definition at line 22124 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_server_set_network_pdu_id#

#define sl_btmesh_rsp_silabs_config_server_set_network_pdu_id
Value:
0x066b0028

Definition at line 22125 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_server_get_network_pdu_id#

#define sl_btmesh_rsp_silabs_config_server_get_network_pdu_id
Value:
0x076b0028

Definition at line 22126 of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h