fota lib for mdot

Dependents:   UQ_LoraWAN

Embed: (wiki syntax)

« Back to documentation index

NetworkConfig Struct Reference

NetworkConfig Struct Reference

Network configuration. More...

#include <Lora.h>

Data Fields

uint8_t Mode
 PUBLIC, PRIVATE or PEER_TO_PEER network mode.
uint8_t Class
 Operating class of device.
uint8_t EUI [8]
 Network ID or AppEUI.
uint8_t Key [16]
 Network Key or AppKey.
uint8_t JoinDelay
 Number of seconds to wait before 1st RX Window.
uint8_t RxDelay
 Number of seconds to wait before 1st RX Window.
uint8_t FrequencySubBand
 FrequencySubBand used for US915 hybrid operation 0:72 channels, 1:1-8 channels ...
uint8_t AckAttempts
 Number of attempts to send packet and receive an ACK from server.
uint8_t Retries
 Number of times to resend a packet without receiving an ACK, redundancy.
uint8_t ADREnabled
 Enable adaptive datarate.
uint8_t CADEnabled
 Enable listen before talk/channel activity detection.
uint8_t RepeaterMode
 Limit payloads to repeater compatible sizes.
uint8_t TxPower
 Default radio output power in dBm.
uint8_t TxPowerMax
 Max transmit power.
uint8_t TxDatarate
 Datarate for P2P transmit.
uint32_t TxFrequency
 Frequency for P2P transmit.
int8_t AntennaGain
 Antenna Gain.
uint8_t DisableEncryption
 Disable Encryption.
uint8_t DisableCRC
 Disable CRC on uplink packets.
uint8_t JoinRx1DatarateOffset
 Offset for datarate for first window.
uint32_t JoinRx2Frequency
 Frequency used in second window.
uint8_t JoinRx2DatarateIndex
 Datarate for second window.

Detailed Description

Network configuration.

Definition at line 414 of file Lora.h.


Field Documentation

uint8_t AckAttempts

Number of attempts to send packet and receive an ACK from server.

Definition at line 422 of file Lora.h.

uint8_t ADREnabled

Enable adaptive datarate.

Definition at line 424 of file Lora.h.

int8_t AntennaGain

Antenna Gain.

Definition at line 431 of file Lora.h.

uint8_t CADEnabled

Enable listen before talk/channel activity detection.

Definition at line 425 of file Lora.h.

uint8_t Class

Operating class of device.

Definition at line 416 of file Lora.h.

uint8_t DisableCRC

Disable CRC on uplink packets.

Definition at line 433 of file Lora.h.

Disable Encryption.

Definition at line 432 of file Lora.h.

uint8_t EUI[8]

Network ID or AppEUI.

Definition at line 417 of file Lora.h.

FrequencySubBand used for US915 hybrid operation 0:72 channels, 1:1-8 channels ...

Definition at line 421 of file Lora.h.

uint8_t JoinDelay

Number of seconds to wait before 1st RX Window.

Definition at line 419 of file Lora.h.

Offset for datarate for first window.

Definition at line 436 of file Lora.h.

Datarate for second window.

Definition at line 438 of file Lora.h.

uint32_t JoinRx2Frequency

Frequency used in second window.

Definition at line 437 of file Lora.h.

uint8_t Key[16]

Network Key or AppKey.

Definition at line 418 of file Lora.h.

uint8_t Mode

PUBLIC, PRIVATE or PEER_TO_PEER network mode.

Definition at line 415 of file Lora.h.

uint8_t RepeaterMode

Limit payloads to repeater compatible sizes.

Definition at line 426 of file Lora.h.

uint8_t Retries

Number of times to resend a packet without receiving an ACK, redundancy.

Definition at line 423 of file Lora.h.

uint8_t RxDelay

Number of seconds to wait before 1st RX Window.

Definition at line 420 of file Lora.h.

uint8_t TxDatarate

Datarate for P2P transmit.

Definition at line 429 of file Lora.h.

uint32_t TxFrequency

Frequency for P2P transmit.

Definition at line 430 of file Lora.h.

uint8_t TxPower

Default radio output power in dBm.

Definition at line 427 of file Lora.h.

uint8_t TxPowerMax

Max transmit power.

Definition at line 428 of file Lora.h.