Since I am using mbedos libraries to test the device I am going to paste all the commands that are executed to see if the library does something wrong.
This commands I think aren’t doing nothing particularly dangerous, they should only extract some info from the module.
TX: AT+CMEE=1<cr>
RX: OK<cr><ln>
TX: AT+CFUN=1<cr>
RX: OK<cr><ln>
TX: AT+CGMI<cr>
RX: <cr><ln>Quectel<cr><ln><cr><ln>OK<cr><ln>
TX: AT+CGMM
RX: <cr><ln>BC95GJB-02-STD<cr><ln><cr><ln>OK<cr><ln>
TX: AT+CGMR
RX: <cr><ln>SSB,V150R100C10B200SP1<cr><ln><cr><ln>SECURITY_A,V150R100C20B300SP7<cr><ln><cr><ln>PROTOCOL_A,V150R100C20B300SP7<cr><ln><cr><ln>APPLICATION_A,V150R100C20B300SP7<cr><ln><cr><ln>SECURITY_B,V150R100C20B300SP7<cr><ln><cr><ln>RADIO,Hi2115_RF0<cr><ln><cr><ln>OK<cr><ln>
TX: AT+CRTDCP=1<cr>
RX: <cr><ln>OK<cr><ln>
The following command is not working, In the code I made it possible for everything to work even if the command fails, since it is failing for whatever reason it shouldn’t make any changes
TX: AT+CCIOTOPT=1,1,1<cr>
RX: <cr><ln>+CME ERROR: 50<cr><ln>
TX: AT+CGDCONT?<cr>
RX: <cr><ln>+CGDCONT:1,“NONIP”,“<REDACTED_APN_URL>”,0,0,0<cr><ln><cr><ln>OK<cr><ln>
I think here the code tries to reset the settings of the radio, but it seems to not be supported
TX: AT+CGDCONT=0<cr>
RX: <cr><ln>+CME ERROR: 4<cr><ln>
TX: AT+CGDCONT=1,“NONIP”,“<REDACTED_APN_URL>”<cr>
RX: <cr><ln>OK<cr><ln>
TX: AT+CIPCA=3,1<cr>
RX: <cr><ln>OK<cr><ln>
TX: AT+NCONFIG=“AUTOCONNECT”,“TRUE”<cr>
RX: <cr><ln>OK<cr><ln>
TX: AT+COPS?<cr>
RX: <cr><ln>+COPS:0,2,“22201”<cr><ln><cr><ln>OK<cr><ln>
TX: AT+CEREG=2<cr>
RX: <cr><ln>OK<cr><ln>
TX: AT+CGACT?<cr>
RX: <cr><ln>+CGACT:1,0<cr><ln><cr><ln>OK<cr><ln>
TX: AT+CGATT?<cr>
RX: <cr><ln>+CGATT:1<cr><ln><cr><ln>OK<cr><ln>
TX: AT+CSQ<cr>
RX: <cr><ln>+CSQ:14,99<cr><ln><cr><ln>OK<cr><ln>
TX: AT+CSQ<cr>
RX: <cr><ln>+CSQ:14,99<cr><ln><cr><ln>OK<cr><ln>
I think that this is the result of the connection to the network and it is saying “Registered, home network”.
TX: AT+CEREG?<cr>
RX: <cr><ln>+CEREG:2,1,9128,0AB49BA1,9<cr><ln><cr><ln>OK<cr><ln>
TX: AT+CSQ<cr>
RX: <cr><ln>+CSQ:14,99<cr><ln><cr><ln>OK<cr><ln>
TX: AT+CGDCONT?
RX: <cr><ln>+CGDCONT:1,“NONIP”,“<REDACTED_APN_URL>”,0,0,0<cr><ln><cr><ln>OK<cr><ln>
TX: AT+CGACT?<cr>
RX: <cr><ln>+CGACT:1,0<cr><ln><cr><ln>OK<cr><ln>
TX: AT+CGACT=1,1<cr>
RX: <cr><ln>OK<cr><ln>
Here the device sends data, but the result code tells that the operation is not supported. I tried it with both quotation marks on and off.
TX: AT+CSODCP=1,4,“54455354”<cr>
RX: <cr><ln>+CME ERROR: 4<cr><ln>
This is what is happening from the execution of the code I am writing, If the issue lies in the command sequence I can try to fix it and I could also open an issue on mbedos.