0

Sim800L Fona how works HTTP POST with AT command
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Sim800L Fona how works HTTP POST with AT command

by Giack on Wed Jan 06, 2021 12:29 pm

Hi nice people,

I'm a new entusiast amateur.
I interested to buy Adafruit FONA - Mini Cellular GSM Breakout uFL Version.
But first of all I want to try some futeres with my gsm modul SIM800l by other brand.
I'm trying the Adafruit service before to investing time and money in this personal project for a weather station and Adafruit products.

My question and difficulties are:

How can set up the comunication between Adafruit io cloud service and gprs with At command?
I read the Adafruit Api doc but I can't understand.

Some kind person can help me?

Giack
 
Posts: 3
Joined: Tue Dec 15, 2020 11:34 am

Re: Sim800L Fona how works HTTP POST with AT command

by brubell on Fri Jan 08, 2021 11:24 am

Check out one of our FONA + Adafruit IO projects for more info about how they work together: https://learn.adafruit.com/geofencing-w ... dafruit-io

How can set up the comunication between Adafruit io cloud service and gprs with At command?

The Adafruit IO Arduino and Adafruit MQTT arduino libraries work with the Adafruit FONA library.


I read the Adafruit Api doc but I can't understand.

Specifically what are you confused about?

brubell
 
Posts: 1435
Joined: Fri Jul 17, 2015 10:33 pm

Re: Sim800L Fona how works HTTP POST with AT command

by Giack on Sun Jan 10, 2021 5:38 am

Hi Brubell,

The hardest point to understand is this section and its explanation:

HTTP section
Create Data subsection
Post request

How can I integrate the code of Adafruit in mine, I don't understand Arduino and cURL too.
In the attachment there is the screenshot of hard point to understand to me.
For my level is too uncomment.

Thank you for any advice and your precius time.
Attachments
Cattura.JPG
Cattura.JPG (23.13 KiB) Viewed 163 times

Giack
 
Posts: 3
Joined: Tue Dec 15, 2020 11:34 am

Re: Sim800L Fona how works HTTP POST with AT command

by brubell on Mon Jan 11, 2021 10:37 am

I suggest using the Adafruit MQTT Arduino library to simplify this. There's a code example of usage with FONA here: https://github.com/adafruit/Adafruit_MQ ... t_fona.ino

brubell
 
Posts: 1435
Joined: Fri Jul 17, 2015 10:33 pm

Re: Sim800L Fona how works HTTP POST with AT command

by Giack on Thu Jan 14, 2021 1:22 pm

Thankyou. I fixed some issue.
But I try to post more than two feed, exactly five, but the serial monitor show me a failed value to post the sensor value to io cloud.
The sensor works well.
There is some limitation to the connection?

Giack
 
Posts: 3
Joined: Tue Dec 15, 2020 11:34 am

Re: Sim800L Fona how works HTTP POST with AT command

by brubell on Fri Jan 15, 2021 10:39 am

But I try to post more than two feed, exactly five, but the serial monitor show me a failed value to post the sensor value to io cloud.


Could you copy and paste the error from the serial monitor and the output of io.adafruit.com/monitor here?

brubell
 
Posts: 1435
Joined: Fri Jul 17, 2015 10:33 pm

Please be positive and constructive with your questions and comments.