esp_ble_mesh_msg_ctx_t struct
Message sending context. This structure is associated with struct bt_mesh_msg_ctx in mesh_access.h
Fields
NetKey Index of the subnet through which to send the message.
AppKey Index for message encryption.
Destination address of a received message. Not used for sending.
RSSI of a received message. Not used for sending.
Opcode of a received message. Not used for sending.
Received TTL value. Not used for sending.
Security credentials of a received message. Not used for sending.
Tag of a received message. Not used for sending.
Force sending reliably by using segment acknowledgement.
Size of TransMIC when sending a Segmented Access message.
TTL, or ESP_BLE_MESH_TTL_DEFAULT for default TTL.
Security credentials used for sending the message.
Tag used for sending the message.
Model corresponding to the message, no need to be initialized before sending message.
Indicate if the message is sent by a node server model, no need to be initialized before sending message.
Examples
esp_ble_mesh_msg_ctx_t is referenced by 7 libraries and example projects: