Is there any list of available AT commands for the CubeCell module?
CubeCell AT commands
We added the use AT command function as customerās requested:
The English version document will be fine tomorrow.
AT Command Value Notes
+LORAWAN=1 LoRaWAN 1, LoRa 0
+OTAA=1 OTAA -1, ABP-0
+Class=A Class A or C
+ADR=1 1 on 0 for off
+IsTxConfirmed=1 LoRaWAN ACK Message 1 on, 0 off.
+AppPort=2 The Application Port 2 for general APPs and 10 for TTN MAPPER.
+DutyCycle=60000 The time between transmission in mS. Typically, 15000 to 3600000
+ConfirmedNbTrials=8 The number of adaptive rate changes allowed.
+DevEui=??? Unique (OTAA Mode)
+AppEui=??? Unique (OTAA Mode)
+AppKey=??? Unique (OTAA Mode)
+NwkSKey=??? Unique (ABP Mode)
+Passkey=??? Unique (ABP Mode)
+DevAddr=??? Unique (ABP Mode)
+LPM=1 Low Power Mode
+ChipID=? get ChipID
+JOIN=1 start join
+DelCDKEY=1 to delete the CDKEY
+DefaultSet=1 to reset parameter to Default setting
found here:
Dear
I have another question: Is there any AT command or any other method to select the Band within the region?
I mean:
if you are in EU868, how can you select?:
band 1: 868.1 MHz,
band 2; 686.3 MHz
etc
BestRegards
Ramon
you can select the band only before compiling.
i have no CubeCell device here but perhabs this command can help:
Set Frequency Table +CFREQLIST
Command Type Command Format Response
Test Command AT+CFREQLIST=? +CFREQLIST:āULDLā,āmethodā,ānumberā,āfreqlistā
OK
Inquire command AT+CFREQLIST? +CFREQLIST:<ULDL>,<method>,<number>,<freqlist>
OK
Execute Command AT+CFREQLIST=<ULDL>,<method>,<number>,<freqlist>
OK or +CME ERROR:<err>
Parameters ULDL represents the frequency of TX or RX 1-UL; 2-DL;
Returns for different frequency device node, it is need to set the
frequency of download; but for same frequency device node,
it is not needed. Method represents the way of frequency
setting 1 ā frequency table is autogenerated according to the
start frequency and the number of chnanels. 2 ā set logical
channelās specific frequency respectivly Number represents the
number of channels, its value range is1~16. Please pay attention
to cooperate with the basestation. Freqlist is realted with the
method being setted. If method is 1, then the freqlist is the
start frequency and its unit is Hz; If method is 2, then the
freqlist may be more than one parameters, which is dependent on
the value of ānumberā, its unit is Hz too;
<err>ļ¼error codeļ¼refer detail from<AT command set for User Equipment
(UE)>
Example AT+CFREQLIST=1,2,8,475300000,475500000,475700000,475900000,
763000000,476500000,476700000,476900000
OK
Notice It is optional, it is designed to select from set frequency
mask and set frequency table.(Currently, the command is not
supported please use the AT+CFREQBANDMASK)
I can only select the region (EU868) before compiling. Thatās why I am asking this,
I will try what you suggest. It says that instead of AT+CFREQLIST I should use AT+CFREQBANDMASK
Do you know where I can find more on this command?
Thank you very much. This is what we needed
Set Frequency Band Mask +CFREQBANDMASK
Command Type Command Format Response
Test Command AT+CFREQBANDMASK=? +CFREQBANDMASK:āmaskā
OK
Inquire command AT+CFREQBANDMASK? +CFREQBANDMASK:<mask>
OK
Set Command AT+CFREQBANDMASK=<mask> OK
or
+CME ERROR:<err>
Parameters Returns <mask>ļ¼Network workable frequency band mask, there is
16 bit to 16 frequency groupļ¼refer detail from
<LoRaWAN join specifications>.
For exampleļ¼0-7 channelļ¼its mask is 0001ļ¼ 8-15 channel,
its mask is 0002ļ¼and so on.
<err>ļ¼error codeļ¼refer detail from<AT command set for
User Equipment (UE)>
Example AT+CFREQBANDMASK=0001
OK
Notice Need set it before the Join command.
Hi, there, here is the AT command list:
Hello Iām having problems at complilation with the LoRa.init() command. Here is the menssage:
WARNING: library LoRa claims to run on ASR650x-Arduino architecture(s) and may be incompatible with your current board which runs on CubeCell architecture(s).
WARNING: library RGB claims to run on ASR650x-Arduino architecture(s) and may be incompatible with your current board which runs on CubeCell architecture(s).
C:\Users\currogp96\Documents\Arduino\AT_COMMANDS\AT_COMMANDS.ino: In function āvoid loop()ā:
AT_COMMANDS:155:19: error: no matching function for call to āLoRaClass::init()ā
LoRa.init();
^
In file included from C:\Users\currogp96\Documents\Arduino\AT_COMMANDS\AT_COMMANDS.ino:2:0:
C:\Users\currogp96\AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.0.0\libraries\LoRa\src/LoRa_APP.h:31:8: note: candidate: void LoRaClass::init(uint32_t, uint8_t, uint32_t)
void init(uint32_t freq, uint8_t power,uint32_t datarate);
^
C:\Users\currogp96\AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.0.0\libraries\LoRa\src/LoRa_APP.h:31:8: note: candidate expects 3 arguments, 0 provided
exit status 1
no matching function for call to āLoRaClass::init()ā
I have the 1.0.0 Revision