IoT Drivers  v3.3.0 (S2022)
Engineering in Software Technology
LoRa driver Return codes

Return codes from LoRa driver functions. More...

Collaboration diagram for LoRa driver Return codes:

Typedefs

typedef enum Lora_driver_returnCodes lora_driver_returnCode_t
 LoRA Driver return codes. More...
 

Enumerations

enum  Lora_driver_returnCodes {
  LORA_OK, LORA_ERROR, LORA_KEYS_NOT_INIT, LORA_NO_FREE_CH,
  LORA_SILENT, LORA_BUSY, LORA_MAC_PAUSED, LORA_DENIED,
  LORA_ACCEPTED, LORA_INVALID_PARAM, LORA_NOT_JOINED, LORA_INVALID_DATA_LEN,
  LORA_FRAME_COUNTER_ERR_REJOIN_NEEDED, LORA_MAC_TX_OK, LORA_MAC_RX, LORA_MAC_ERROR,
  LORA_UNKNOWN
}
 LoRA Driver return codes. More...
 

Detailed Description

Return codes from LoRa driver functions.

Typedef Documentation

◆ lora_driver_returnCode_t

LoRA Driver return codes.

These are the codes that can be returned from calls to the driver. For more documentation of these error codes see RN2483 LoRa Technology Module Command Reference User's Guide

Enumeration Type Documentation

◆ Lora_driver_returnCodes

LoRA Driver return codes.

These are the codes that can be returned from calls to the driver. For more documentation of these error codes see RN2483 LoRa Technology Module Command Reference User's Guide

Enumerator
LORA_OK 

Everything went well

LORA_ERROR 

An error occurred - the reason is not explained any further

LORA_KEYS_NOT_INIT 

The necessary keys are not initialized

LORA_NO_FREE_CH 

All channels are buzy

LORA_SILENT 

The module is in a Silent Immediately state

LORA_BUSY 

The MAC state of the module is not in an idle state

LORA_MAC_PAUSED 

The MAC is in PAUSED state and needs to be resumed back

LORA_DENIED 

The join procedure was unsuccessful (the module attempted to join the network, but was rejected)

LORA_ACCEPTED 

The join procedure was successful

LORA_INVALID_PARAM 

One of the parameters given is wrong

LORA_NOT_JOINED 

The network is not joined

LORA_INVALID_DATA_LEN 

If application payload length is greater than the maximum application payload length corresponding to the current data rate

LORA_FRAME_COUNTER_ERR_REJOIN_NEEDED 

If the frame counter rolled over - a rejoin is needed

LORA_MAC_TX_OK 

If up link transmission was successful and no down link data was received back from the server

LORA_MAC_RX 

If there is a downlink message is received on an uplink transmission

LORA_MAC_ERROR 

If transmission was unsuccessful, ACK not received back from the server

LORA_UNKNOWN 

An unknown error occurred that is not identified by this driver