Fona 3G dos not work corektly with liberary

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mafofpv
 
Posts: 3
Joined: Fri Jul 08, 2022 6:56 am

Fona 3G dos not work corektly with liberary

Post by mafofpv »

i have a arduino pro mini 3,3V 8mhz. everything else works normal. i have sent sms to my phone. but the post command in the liberary dosent work. i have norrowed it down to one line in the code. this : fona.HTTP_POST_start(url, F("text/plain"), (uint8_t *) data, strlen(data), &statuscode, (uint16_t *)&length)

to be clear i am using the code provided på adafruit. in the adafruit fona liberary you have the test program. here i send W to the arduino and everything works so far. i have later added Serial.print to narow it down to that spesefic line. in the serial monitor this comes out:

loop bygner
FONA
delay ferdig

http://desk-webs-sink-193-90-75-150.loca.lt/in
****
---> AT+HTTPTERM
<--- ERROR
---> AT+HTTPINIT
<--- ERROR
Error

anny tips?
Attachments

[The extension ino has been deactivated and can no longer be displayed.]


Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”