Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_mesh_msg_ctx Struct Reference

Message sending context. More...

#include <msg.h>

Data Fields

uint16_t net_idx
 NetKey Index of the subnet to send the message on.
 
uint16_t app_idx
 AppKey Index to encrypt the message with.
 
uint16_t addr
 Remote address.
 
uint16_t recv_dst
 Destination address of a received message.
 
const uint8_tuuid
 Label UUID if Remote address is Virtual address, or NULL otherwise.
 
int8_t recv_rssi
 RSSI of received packet.
 
uint8_t recv_ttl
 Received TTL value.
 
bool send_rel
 Force sending reliably by using segment acknowledgment.
 
bool rnd_delay
 Send message with a random delay according to the Access layer transmitting rules.
 
uint8_t send_ttl
 TTL, or BT_MESH_TTL_DEFAULT for default TTL.
 

Detailed Description

Message sending context.

Field Documentation

◆ addr

uint16_t bt_mesh_msg_ctx::addr

Remote address.

◆ app_idx

uint16_t bt_mesh_msg_ctx::app_idx

AppKey Index to encrypt the message with.

◆ net_idx

uint16_t bt_mesh_msg_ctx::net_idx

NetKey Index of the subnet to send the message on.

◆ recv_dst

uint16_t bt_mesh_msg_ctx::recv_dst

Destination address of a received message.

Not used for sending.

◆ recv_rssi

int8_t bt_mesh_msg_ctx::recv_rssi

RSSI of received packet.

Not used for sending.

◆ recv_ttl

uint8_t bt_mesh_msg_ctx::recv_ttl

Received TTL value.

Not used for sending.

◆ rnd_delay

bool bt_mesh_msg_ctx::rnd_delay

Send message with a random delay according to the Access layer transmitting rules.

◆ send_rel

bool bt_mesh_msg_ctx::send_rel

Force sending reliably by using segment acknowledgment.

◆ send_ttl

uint8_t bt_mesh_msg_ctx::send_ttl

TTL, or BT_MESH_TTL_DEFAULT for default TTL.

◆ uuid

const uint8_t* bt_mesh_msg_ctx::uuid

Label UUID if Remote address is Virtual address, or NULL otherwise.


The documentation for this struct was generated from the following file: