botletics / SIM7000-LTE-Shield

Botletics SIM7000 LTE CAT-M1/NB-IoT Shield for Arduino
https://www.botletics.com/products/sim7000-shield
GNU General Public License v3.0
478 stars 216 forks source link

SIM7000 : HTTP over SSL not working using NB-IOT #222

Open AbdelTechD opened 3 years ago

AbdelTechD commented 3 years ago

I have trouble connecting to httpbin.org using HTTPS with an nb-iot simcard. In fact, AT+SHCONN returns ERROR. However with LTE-M and 2G networks everything works fine with the same AT commands.

Has anyone faced this problem before? The only difference is setting the nb-iot in stead of LTE-M by this command "AT+CMNB=2"

Here are the commands AT+CNACT=1,"my.nb.apn"
OK

AT+CNACT=1
OK
+APP PDP: ACTIVE

AT+CSSLCFG="convert",2,"certificate.crt"
OK

AT+SHSSL=1,"" Or AT+SHSSL=1,"certificate.crt"
OK

AT+SHCONF="URL","https://www.httpbin.org"
OK

AT+SHCONF="BODYLEN",1024
OK

AT+SHCONF="HEADERLEN",350
OK

AT+SHCONF="IPVER",0
OK

AT+SHCONF="TIMEOUT",30
OK

AT+SHCONN

ERROR

I use the onboard microUSB for AT interface.

akshayb302 commented 3 years ago

Hey, I am facing the same problem AT+SHCONN returns ERROR. I am facing problem with 2G networks. You mentioned that 2G is working for you, can you please help me out. I am using SIM7070G module and PDN activation is same as mentioned in the HTTP application note, but I still cant figure out the problem. op-6

Thanks for your help.