
Command Reference
2015-2018 Microchip Technology Inc.
DS40001784G-page 49
2.5.5.10
radio set mod <mode>
<mode>
: string representing the modulation method, either
lora
or
fsk
.
Response:
ok
if the modulation is valid
invalid_param
if the modulation is not valid
This command changes the modulation method being used by the module. Altering the
mode of operation does not affect previously set parameters, variables or registers.
FSK mode also allows GFSK transmissions when data shaping is enabled.
Example:
radio set mod lora
2.5.5.11
radio set prlen <preamble>
<preamble>
: decimal number representing the preamble length, from 0 to 65535.
Response:
ok
if the preamble length is valid
invalid_param
if the preamble length is not valid
This command sets the preamble length for transmit/receive.
Example:
radio set prlen 8
// Preamble length is 8.
2.5.5.12
radio set pwr <pwrOut>
<pwrOut>
: signed decimal number representing the transceiver output power, from -3
to 15.
Response:
ok
if the output power is valid
invalid_param
if the output power is not valid
This command changes the transceiver output power. However, note that the
transceiver is designed to transmit a maximum of +14 dBm. It is possible to set the
output power above the regulatory limits. This power setting allows some
compensation on the cable or transmission line loss. For more details on output power
please check the
RN2483 Low-Power Long-Range LoRa
®
Technology Transceiver
Module Data Sheet
.
Example:
radio set pwr 14
2.5.5.13
radio set rxbw <rxBandwidth>
<rxBandwidth>
: float representing the signal bandwidth, in kHz. Parameter values
can be: 250, 125, 62.5, 31.3, 15.6, 7.8, 3.9, 200, 100, 50, 25, 12.5,
6.3, 3.1, 166.7, 83.3, 41.7, 20.8, 10.4, 5.2, 2.6.
Response:
ok
if the signal bandwidth is valid
invalid_param
if signal bandwidth is not valid
This command sets the signal bandwidth when receiving.
Example:
radio set rxbw 250
// Signal bandwidth for receiving is 250
kHz.
2.5.5.14
radio set sf <spreadingFactor>
<spreadingFactor>
: string representing the spreading factor. Parameter values
can be:
sf7
,
sf8
,
sf9
,
sf10
,
sf11
or
sf12
.
Response:
ok
if the spreading factor is valid
invalid_param
if the spreading factor is not valid
This command sets the spreading factor used during transmission.
Example:
radio set sf sf7