end node on synchronous star LoRa network.

Dependencies:   SX127x sx12xx_hal TSL2561

Embed: (wiki syntax)

« Back to documentation index

sMcpsReqConfirmed Struct Reference

sMcpsReqConfirmed Struct Reference

#include <LoRaMacSingle.h>

Data Fields

uint8_t fPort
void * fBuffer
uint16_t fBufferSize
uint8_t NbTrials

Detailed Description

LoRaMAC MCPS-Request for a confirmed frame

Definition at line 673 of file LoRaMacSingle.h.


Field Documentation

void* fBuffer

Pointer to the buffer of the frame payload

Definition at line 685 of file LoRaMacSingle.h.

uint16_t fBufferSize

Size of the frame payload

Definition at line 689 of file LoRaMacSingle.h.

uint8_t fPort

Frame port field. Must be set if the payload is not empty. Use the application specific frame port values: [1...223]

LoRaWAN Specification V1.0.1, chapter 4.3.2

Definition at line 681 of file LoRaMacSingle.h.

uint8_t NbTrials

Uplink datarate, if ADR is off

Number of trials to transmit the frame, if the LoRaMAC layer did not receive an acknowledgment. The MAC performs a datarate adaptation, according to the LoRaWAN Specification V1.0.1, chapter 19.4, according to the following table:

Transmission nb | Data Rate ----------------|----------- 1 (first) | DR 2 | DR 3 | max(DR-1,0) 4 | max(DR-1,0) 5 | max(DR-2,0) 6 | max(DR-2,0) 7 | max(DR-3,0) 8 | max(DR-3,0)

Note, that if NbTrials is set to 1 or 2, the MAC will not decrease the datarate, in case the LoRaMAC layer did not receive an acknowledgment

Definition at line 714 of file LoRaMacSingle.h.