Data structure of the state_changed event.
Public Attribute Documentation#
elem_index#
uint16_t sl_btmesh_evt_mbt_server_state_changed_s::elem_index
The server model element index.
new_state#
uint8_t sl_btmesh_evt_mbt_server_state_changed_s::new_state
The new state
0: Inactive, not expecting any transfer
1: Waiting for the BLOB transfer to start
2: Waiting for a new block to start
3: Waiting for chunks of the current block
4: The BLOB has been transferred successfully
5: Timeout occurred and the transfer is suspended
block_number#
uint16_t sl_btmesh_evt_mbt_server_state_changed_s::block_number
The index number of the current block.
chunk_size#
uint16_t sl_btmesh_evt_mbt_server_state_changed_s::chunk_size
The current block is divided into chunks of this size.