Bleeding edge development version of the xDot library for mbed 5. This version of the library is not guaranteed to be stable or well tested and should not be used in production or deployment scenarios.

Dependents:   Dot-Examples Dot-AT-Firmware Dot-Examples TEST_FF1705 ... more

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.
uint16_t AdrAckLimit
 Number of uplinks without a downlink to allow before setting ADRACKReq.
uint16_t AdrAckDelay
 Number of downlinks to expect ADR ACK Response within.
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.
uint8_t PingPeriodicity
 Number of ping slots to open in a beacon interval (2^(7-PingPeriodicity))

Detailed Description

Network configuration.

Definition at line 338 of file Lora.h.


Field Documentation

uint8_t AckAttempts

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

Definition at line 346 of file Lora.h.

uint16_t AdrAckDelay

Number of downlinks to expect ADR ACK Response within.

Definition at line 350 of file Lora.h.

uint16_t AdrAckLimit

Number of uplinks without a downlink to allow before setting ADRACKReq.

Definition at line 349 of file Lora.h.

uint8_t ADREnabled

Enable adaptive datarate.

Definition at line 348 of file Lora.h.

int8_t AntennaGain

Antenna Gain.

Definition at line 357 of file Lora.h.

uint8_t CADEnabled

Enable listen before talk/channel activity detection.

Definition at line 351 of file Lora.h.

uint8_t Class

Operating class of device.

Definition at line 340 of file Lora.h.

uint8_t DisableCRC

Disable CRC on uplink packets.

Definition at line 359 of file Lora.h.

Disable Encryption.

Definition at line 358 of file Lora.h.

uint8_t EUI[8]

Network ID or AppEUI.

Definition at line 341 of file Lora.h.

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

Definition at line 345 of file Lora.h.

uint8_t JoinDelay

Number of seconds to wait before 1st RX Window.

Definition at line 343 of file Lora.h.

Offset for datarate for first window.

Definition at line 362 of file Lora.h.

Datarate for second window.

Definition at line 364 of file Lora.h.

uint32_t JoinRx2Frequency

Frequency used in second window.

Definition at line 363 of file Lora.h.

uint8_t Key[16]

Network Key or AppKey.

Definition at line 342 of file Lora.h.

uint8_t Mode

PUBLIC, PRIVATE or PEER_TO_PEER network mode.

Definition at line 339 of file Lora.h.

uint8_t PingPeriodicity

Number of ping slots to open in a beacon interval (2^(7-PingPeriodicity))

Definition at line 365 of file Lora.h.

uint8_t RepeaterMode

Limit payloads to repeater compatible sizes.

Definition at line 352 of file Lora.h.

uint8_t Retries

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

Definition at line 347 of file Lora.h.

uint8_t RxDelay

Number of seconds to wait before 1st RX Window.

Definition at line 344 of file Lora.h.

uint8_t TxDatarate

Datarate for P2P transmit.

Definition at line 355 of file Lora.h.

uint32_t TxFrequency

Frequency for P2P transmit.

Definition at line 356 of file Lora.h.

uint8_t TxPower

Default radio output power in dBm.

Definition at line 353 of file Lora.h.

uint8_t TxPowerMax

Max transmit power.

Definition at line 354 of file Lora.h.