I’m trying to connect to remote server via LTE module. And I have an issues.
PDP context is activated (No 1) and I got response
But when I’m trying to open connection module doesn’t response or gaves me an error. I.e.
if I send this: AT+QIOPEN:1,0,“TCP”,“xxx.xx.xx.xxx”,xxxxx - module don’t answer at all, no OK or error
If I send AT+QIOPEN:1,0,“TCP”,“xxx.xx.xx.xxx”,xxxxx,0,1 the response is +CME ERROR: 58
It is a “Bearer capability not available” - what that means?
Do you use a domain name or IP to connect?
If you use a domain name, check whether the domain name can be resolved
I’m using IP address of known server - I can connect to his socket from anoter test aplpications
Please provide the complete log
Hardware reset → LTE: RDY
Send: AT+CPIN? - Response: +CPIN: READY
Send: AT+CREG? - Response: +CREG: 0,1
Send: AT+CGREG=1 Respones: OK
Send: AT+CEREG? - Response: +CEREG: 0,1
Send: AT+QICSGP=1,1,“internet,”“,”" Response: OK
Send: AT+QIACT=1 Response: OK
Send: AT+QIACT? Response: +QIACT: 1,1,1,“100.87.46.112”
Send: AT+QIOPEN=1,0,"TCP","xxx.xx.xx.xx",xxxxx,0,0 Response: +CME ERROR: 58
if AT+QIOPEN=1,0,“TCP”,“google.pl”,80,0,0 is sent module doesn’t response - no return message of any kind
SIM card is active - I can connect to internet using mobile phone
Update: the same commands I sent to dev kit - it works, I can send data to echo server and receive them back
Module on my board have the same:
It is possible to corrupt module somehow using AT+CGQREQ/AT+CGEQREQ/AT+CGQMIN/AT+CGEQMIN ?
Solved. I had too short buffer for command - sent data was corrupted (only for open socket - other commands were ok)