Http post json to thingspeak from Arduino using GPRS via GSM module

조회 수: 4 (최근 30일)
Shivani
Shivani 2023년 1월 7일
댓글: Christopher Stapels 2023년 5월 25일
I need to send bulk data from my arduino device via Quectel M66 GSM module. I succedded sending data using the GET method but for bulk data I am trying to json data using POST method. But after establishing the connection when I post the data I get an error. I am following examples on this page https://in.mathworks.com/help/thingspeak/bulkwritejsondata.html
The problem is the GSM module sends module specific error code and does not speficy the 40x or 50x error. So I am not able to pinpoint the error. I am attaching the commands sent by my device. Please guide.
  댓글 수: 3
AirQo Data
AirQo Data 2023년 5월 24일
I can make a bulk post is similar structure but upto 5 entries. The server returns error when more than 5 entries are made. Interesting thing is all works well if i use a client class embedded library like tinyGSM
Christopher Stapels
Christopher Stapels 2023년 5월 25일
What do you mean by "use a client class embedded library like tinyGSM". And does that mean you aren't limited by 5 entries if you use this other library?

댓글을 달려면 로그인하십시오.

답변 (1개)

Christopher Stapels
Christopher Stapels 2023년 5월 25일
My guess on the five entries limit is the size of the data buffer used in your communication library. (either the arduino or the GSM.)

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 ThingSpeak에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by