Mesh packet transmission parameters. More...
#include <nrf_mesh.h>
Data Fields | |
| nrf_mesh_address_t | dst |
| Packet destination address. More... | |
| uint16_t | src |
| Address of the element the packet originates from (must be a unicast address). More... | |
| uint8_t | ttl |
| Time to live value for the packet, this is a 7 bit value. More... | |
| bool | force_segmented |
| See Bluetooth Mesh Profile Specification (MshPRFv1.0.1) section 3.7.5.2. | |
| nrf_mesh_transmic_size_t | transmic_size |
| Transport MIC Size selection. | |
| const uint8_t * | p_data |
| Points to the payload to be sent. More... | |
| uint16_t | data_len |
| Length of the payload being sent. More... | |
| nrf_mesh_secmat_t | security_material |
| Required for encryption. More... | |
| nrf_mesh_tx_token_t | tx_token |
| Token that can be used as a reference in the TX complete callback. More... | |
Detailed Description
Mesh packet transmission parameters.
- Note
- The message will be sent as a segmented message and reassembled on the peer side if one of the following conditions are true:
- The length of the message is greater than NRF_MESH_UNSEG_PAYLOAD_SIZE_MAX.
- The
force_segmentedfield is true. - The
transmic_sizeis NRF_MESH_TRANSMIC_SIZE_LARGE.
Definition at line 406 of file nrf_mesh.h.
Field Documentation
◆ dst
| nrf_mesh_address_t nrf_mesh_tx_params_t::dst |
Packet destination address.
Definition at line 409 of file nrf_mesh.h.
◆ src
| uint16_t nrf_mesh_tx_params_t::src |
Address of the element the packet originates from (must be a unicast address).
Definition at line 411 of file nrf_mesh.h.
◆ ttl
| uint8_t nrf_mesh_tx_params_t::ttl |
Time to live value for the packet, this is a 7 bit value.
Definition at line 413 of file nrf_mesh.h.
◆ p_data
| const uint8_t* nrf_mesh_tx_params_t::p_data |
Points to the payload to be sent.
Definition at line 419 of file nrf_mesh.h.
◆ data_len
| uint16_t nrf_mesh_tx_params_t::data_len |
Length of the payload being sent.
Definition at line 421 of file nrf_mesh.h.
◆ security_material
| nrf_mesh_secmat_t nrf_mesh_tx_params_t::security_material |
◆ tx_token
| nrf_mesh_tx_token_t nrf_mesh_tx_params_t::tx_token |
Token that can be used as a reference in the TX complete callback.
Definition at line 425 of file nrf_mesh.h.
- mesh/core/api/nrf_mesh.h