Module cmd_lora

Module cmd_lora 

Source

Structs§

LoraPacketStatusRsp
Response for GetLoraPacketStatus command
LoraRxStatsRsp
Response for GetLoraRxStats command

Enums§

AddrLen
Number of bytes (0..8) used in address filtering. 0=no address filtering
ExitMode
Action taken after CAD
HeaderType
Header type selection
Ldro
Low Data Rate Optimisation. Enable for high Spreading factor to increase tolerance to clock drift.
LoraBw
Bandwidth selection
LoraCr
Coding rate
LoraFilter
Configure extra filtering (for fractional bandwidth)
Sf
Spreading factor
TimeoutFormat
Format selection for symbols parameter: either an integer number of symbol or a floating point representation (exponent on 3 MSB bits with mantissa on 5 LSB bits) Exponent has a resolution of 2 with an offset meaning the mantisse is multiplied by 2^(n+1)
TimingSyncMode
TX Sync function

Functions§

config_lora_preamble_modulation_adv_cmd
Configures the LoRa phase modulation demodulation during preamble feature. If enabled, for TX the preamble will have a phase modulation overlayed to the LoRa modulation
config_lora_preamble_modulation_cmd
Configures the LoRa phase modulation demodulation during preamble feature. If enabled, for TX the preamble will have a phase modulation overlayed to the LoRa modulation
get_lora_packet_status_req
Gets the status of the last received packet. Status is updated at the end of a reception (RxDone or CadDone irqs)
get_lora_rx_stats_req
Gets the internal statistics of the received packets. Statistics are reset on a POR, sleep without memory retention and the command ResetRxStats
set_lora_address_cmd
Sets the address for LoRa RX address filtering
set_lora_blanking_cmd
Configures the LoRa Tx synchronization using dio
set_lora_cad_cmd
Set device into RX CAD mode (LoRa). The Channel Activity Detection searches for the presence of LoRa preamble symbols. Parameters must be previously set using SetLoraCadParams
set_lora_cad_params_cmd
Configure LoRa CAD mode parameters. Sets up Channel Activity Detection which searches for presence of LoRa preamble symbols
set_lora_modulation_params_cmd
Sets the LoRa modulation parameters. FW configures respective modem registers. Will return CMD_FAIL in the status of the next command, if the packet type is not LoRa
set_lora_packet_params_cmd
Sets the packet parameters for the LoRa packets. FW configures according modem registers
set_lora_side_det_syncword_extended_cmd
Extended version of the SetLoraSideDetSyncword command to set all 10bits of the syncwords
set_lora_synch_timeout_cmd
Configure LoRa modem to search for a detect for N symbols. N can be given as number, or as mantissa/exponent. SymbolNum 0x00 means no timeout
set_lora_syncword_cmd
Sets the LoRa syncword. Default value is 0x12. Examples: Public Network: 0x34, Private Network: 0x12
set_lora_syncword_extended_cmd
Extended version of the SetLoraSyncword command to set all 10bits of the syncword
set_lora_tx_sync_cmd
Configures the LoRa Tx synchronization using dio