CubeCell AT commands

Is there any list of available AT commands for the CubeCell module?

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?

https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.hoperf.com/data/upload/back/20190419/ASR650X%20AT%20Command%20Introduction.pdf&ved=2ahUKEwjx2Yr5trrmAhVwMewKHYdBARMQFjAAegQIBxAC&usg=AOvVaw01oDqneXvO2PrU7HBM_p-0

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:

1 Like

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