NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
bt_mesh_msg_ctx Struct Reference

#include <msg.h>

Public Attributes

uint16_t net_idx
 
uint16_t app_idx
 
uint16_t addr
 
uint16_t recv_dst
 
int8_t recv_rssi
 
uint8_t recv_ttl
 
bool send_rel
 
uint8_t send_ttl
 

Detailed Description

Message sending context.

Member Data 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.

◆ 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.