Comments (1)
Over the past week, I have made some progress on this front but am still not able to successfully use GET or POST requests with HTTPS. I realized that my firmware and drivers must not be up to date, as EFS Explorer was not properly recognizing the SIMCOM module. After proceeding with the setup steps found here and here, I resolved this issue and was able to ensure that the necessary certificates for SSL connections were saved to the "customer" folder in the alternate file system. The current status of my firmware is displayed below:
---> AT+CGMR
<--- Revision:1351B03SIM7000A
<--- OK
This was the main modification that allowed AT+SHCONN
to work for me, though I am now receiving status code 404
on attempts to execute GET requests with AT+SHREQ
. Attached below is the snippet of the AT Commands I have used so that others may attempt to replicate this issue / potentially aid in debugging. I am using PuTTY to send AT Commands to the SIM7000A via serial connection.
<--- +CFUN: 1
<--- +CPIN: READY
<--- SMS Ready
---> AT
<--- OK
---> AT+CNACT=1, "hologram"
<--- OK
<--- +APP PDP: ACTIVE
---> AT+CNACT?
<--- +CNACT: 1,"xx.xxx.xx.xxx"
<--- OK
---> AT+CSSLCFG="convert",2,"dweet.crt"
<--- OK
---> AT+CCLK?
<--- +CCLK: "80/01/06, 00:01:31-12"
<--- OK
---> AT+CCLK="22/12/25, 12:00:00-12"
<--- OK
---> AT+CMEE=2
<--- OK
---> AT+CSSLCFG="sni",1,"dweet.io"
<--- OK
---> AT+CSSLCFG="sslversion",0,3
<--- OK
---> AT+SHSSL=1,""
<--- OK
---> AT+SHCONF="HEADERLEN",350
<--- OK
---> AT+SHCONF="BODYLEN",1024
<--- OK
---> AT+SHCONF="URL","https://dweet.io"
<--- OK
---> AT+SHCONF?
<--- +SHCONF:
<--- URL: https://dweet.io:443
<--- TIMEOUT: 60
<--- BODYLEN: 1024
<--- HEADERLEN: 350
<--- POLLCNT: 15
<--- POLLINTMS: 500
<--- IPVER: 0
<--- OK
---> AT+SHCONN
<--- OK
---> AT+SHCHEAD
<--- OK
---> AT+SHAHEAD="Content-type","application/json"
<--- OK
---> AT+SHAHEAD="User-Agent","curl/7.47.0"
<--- OK
---> AT+SHAHEAD="Cache-control","no-cache"
<--- OK
---> AT+SHAHEAD="Connection","keep-alive"
<--- OK
---> AT+SHAHEAD="Accept","*/*"
<--- OK
---> AT+SHSTATE?
<--- +SHSTATE: 1
<--- OK
---> AT+SHREQ="https://dweet.io:443/get/latest/dweet/for/thingname",1
<--- OK
<--- +SHREQ: "GET", 404, 0
<--- +SHSTATE: 0
I haven't seen others with issues about status code 404
when using AT+SHREQ
, so I was hoping that someone may have some intuition on potential debugging approaches. Interestingly, AT+SHCONN
does not work if I specify AT+SHSSL=1,"dweet.crt"
in place of AT+SHSSL=1,""
, making me think that there is still some issue with the certificate that is preventing me from successfully passing a GET request to dweet.io
over HTTPS. But, given that I have only recently begun working with AT Commands and encryption security protocols, this could be totally off the mark.
Would be interested to see what ideas people have to offer! And I hope that this may help someone with issues down the line. I will keep updating this thread until I get HTTPS working.
from sim7000-lte-shield.
Related Issues (20)
- has anyone used sim7070g ? HOT 1
- Lilygo ESP32 board with SIM7000G - Core 1 panic'ed HOT 1
- Sim7000 HTTPS HOT 3
- Can change IMEI numbers. HOT 2
- Json Formatting issue sending over http post request
- MQTT dosent publish corektly
- latest botletics sim7000 demo compilation/ uno/mega esp32 boards i guess its only hours old !!!!! HOT 2
- LTE_Demo While statements blocking code HOT 3
- AT+SMSTATUS and SMCONF throws ERROR- SIM7000C MQTT
- SIM7070G Firmware updates and changelogs
- SIM7070G AT+SHCONN problem HOT 1
- "Download Failed!,Partition diff!" Error Updating to 1351B04SIM7000A_20200824
- SIM7000G DTR crash
- Couldn't find fona HOT 2
- MQTT stops working after 12 days or so
- HTTP-601 - Arduino Nano HOT 4
- SIM7000E new firmware 1351B09SIM7000E.zip
- Amazon AWS MQTTs Connection Issue HOT 4
- SIM7000E fails to run HTTPS request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sim7000-lte-shield.