adv_packet_t

nRF5 SDK for Mesh v5.0.0

The structure defining the contents of an advertisement packet. More...

#include <advertiser.h>

Public Member Functions

packet_t packet __attribute__ ((aligned(WORD_SIZE)))
 Advertisement packet going on air. More...
 

Data Fields

nrf_mesh_tx_token_t token
 TX token, set by the application. More...
 
struct {
   uint8_t   repeats
 Number of times the packet should be transmitted on each channel. More...
 
} config
 

Detailed Description

The structure defining the contents of an advertisement packet.

Definition at line 65 of file advertiser.h.

Member Function Documentation

◆ __attribute__()

packet_t packet adv_packet_t::__attribute__ ( (aligned(WORD_SIZE))  )

Advertisement packet going on air.

Field Documentation

◆ token

nrf_mesh_tx_token_t adv_packet_t::token

TX token, set by the application.

May be used to identify the packet in the TX complete callback.

Definition at line 68 of file advertiser.h.

◆ repeats

uint8_t adv_packet_t::repeats

Number of times the packet should be transmitted on each channel.

Definition at line 72 of file advertiser.h.