Task specific data of set/get model publication data.
Public Attributes#
Index of the element where the model resides on the node.
Vendor ID for the model (0xFFFF for Bluetooth SIG models)
Model ID for the model.
The unicast or group address to publish to. It can also be the unassigned address to stop the model from publishing. Note: Task type determines whether address or va_addres is used.
The virtual address to publish to. Note: Task type determines whether address or va_addres is used.
The application key index to use for the published messages.
Friendship credential flag. If zero, publication is done using normal credentials. If one, it is done with friendship credentials, meaning only the friend can decrypt the published message and relay it forward using the normal credentials. The default value is 0.
Publication time-to-live value.
Publication period in milliseconds. Note that the resolution of the publication period is limited by the specification to 100 ms up to a period of 6.3 s, 1 s up to a period of 63 s, 10 s up to a period of 630 s, and 10 minutes above that. Maximum period allowed is 630 minutes.
Publication retransmission count. Valid values range from 0 to 7.
Publication retransmission interval in millisecond units. The range of value is 50 to 1600 ms, and the resolution of the value is 50 milliseconds.
Public Attribute Documentation#
elem_index#
uint8_t btmesh_conf_task_model_pub_t::elem_index
Index of the element where the model resides on the node.
vendor_id#
uint16_t btmesh_conf_task_model_pub_t::vendor_id
Vendor ID for the model (0xFFFF for Bluetooth SIG models)
address#
uint16_t btmesh_conf_task_model_pub_t::address
The unicast or group address to publish to. It can also be the unassigned address to stop the model from publishing. Note: Task type determines whether address or va_addres is used.
va_address#
uuid_128 btmesh_conf_task_model_pub_t::va_address
The virtual address to publish to. Note: Task type determines whether address or va_addres is used.
appkey_index#
uint16_t btmesh_conf_task_model_pub_t::appkey_index
The application key index to use for the published messages.
credentials#
uint8_t btmesh_conf_task_model_pub_t::credentials
Friendship credential flag. If zero, publication is done using normal credentials. If one, it is done with friendship credentials, meaning only the friend can decrypt the published message and relay it forward using the normal credentials. The default value is 0.
period_ms#
uint32_t btmesh_conf_task_model_pub_t::period_ms
Publication period in milliseconds. Note that the resolution of the publication period is limited by the specification to 100 ms up to a period of 6.3 s, 1 s up to a period of 63 s, 10 s up to a period of 630 s, and 10 minutes above that. Maximum period allowed is 630 minutes.
retransmit_count#
uint8_t btmesh_conf_task_model_pub_t::retransmit_count
Publication retransmission count. Valid values range from 0 to 7.
retransmit_interval_ms#
uint16_t btmesh_conf_task_model_pub_t::retransmit_interval_ms
Publication retransmission interval in millisecond units. The range of value is 50 to 1600 ms, and the resolution of the value is 50 milliseconds.