MultiTech / libmDot-Custom

Fork of libmDot-custom by Jason Reiss

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 ChannelGroup
 ChannelGroup 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 393 of file Lora.h.


Field Documentation

uint8_t AckAttempts

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

Definition at line 401 of file Lora.h.

uint8_t ADREnabled

Enable adaptive datarate.

Definition at line 403 of file Lora.h.

int8_t AntennaGain

Antenna Gain.

Definition at line 410 of file Lora.h.

uint8_t CADEnabled

Enable listen before talk/channel activity detection.

Definition at line 404 of file Lora.h.

uint8_t ChannelGroup

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

Definition at line 400 of file Lora.h.

uint8_t Class

Operating class of device.

Definition at line 395 of file Lora.h.

uint8_t DisableCRC

Disable CRC on uplink packets.

Definition at line 412 of file Lora.h.

Disable Encryption.

Definition at line 411 of file Lora.h.

uint8_t EUI[8]

Network ID or AppEUI.

Definition at line 396 of file Lora.h.

uint8_t JoinDelay

Number of seconds to wait before 1st RX Window.

Definition at line 398 of file Lora.h.

Offset for datarate for first window.

Definition at line 415 of file Lora.h.

Datarate for second window.

Definition at line 417 of file Lora.h.

uint32_t JoinRx2Frequency

Frequency used in second window.

Definition at line 416 of file Lora.h.

uint8_t Key[16]

Network Key or AppKey.

Definition at line 397 of file Lora.h.

uint8_t Mode

PUBLIC, PRIVATE or PEER_TO_PEER network mode.

Definition at line 394 of file Lora.h.

uint8_t RepeaterMode

Limit payloads to repeater compatible sizes.

Definition at line 405 of file Lora.h.

uint8_t Retries

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

Definition at line 402 of file Lora.h.

uint8_t RxDelay

Number of seconds to wait before 1st RX Window.

Definition at line 399 of file Lora.h.

uint8_t TxDatarate

Datarate for P2P transmit.

Definition at line 408 of file Lora.h.

uint32_t TxFrequency

Frequency for P2P transmit.

Definition at line 409 of file Lora.h.

uint8_t TxPower

Default radio output power in dBm.

Definition at line 406 of file Lora.h.

uint8_t TxPowerMax

Max transmit power.

Definition at line 407 of file Lora.h.