Forum >SIM808 Shield, Arduino Mega, http POST
SIM808 Shield, Arduino Mega, http POST

Hi there!
I'm trying to communicate with my server and send some data to store in the database.
The tutorial shows a GET example, can anynone with experience help me?
EDIT:
"char http_cmd[] = "GET /media/uploads/mbed_official/hello.txt HTTP/1.0\r\n\r\n";"
how can I modify the request?
2018-06-01 08:05:22 i already tried the mega. i even tried it with lcd, keypad, and servo. its work perfectly. but when i tried the example on wiki is not working. i don't know whats the problem is. and btw my shield is still working when i paired it with uno
nurmiadhanisak55

2018-06-01 08:05:22 i already tried the mega. i even tried it with lcd, keypad, and servo. its work perfectly. but when i tried the example on wiki is not working. i don't know whats the problem is. and btw my shield is still working when i paired it with uno
nurmiadhanisak55

2018-05-31 23:23:47 Have you test if the Mega is good? and are all the examples in wiki not working?
robert.chen

2018-05-31 23:23:47 Have you test if the Mega is good? and are all the examples in wiki not working?
robert.chen

2018-05-30 21:21:49 I used a Mega and Sim808 shield, they work well, did you add an external power and can you use another Mega to try.
robert.chen

2018-05-30 21:21:49 I used a Mega and Sim808 shield, they work well, did you add an external power and can you use another Mega to try.
robert.chen

2018-05-30 07:47:05 hello britneygill0215 and miguel.biancol, i'm sorry for intruding. may i know your code? actually i'm using sim808 and arduino meg, but i got sim808 init error. when i'm using arduino uno it's work perfectly. i don't know what the problem is. also may i know how you get the longitude in minus? i'm sorry i'm beginner and i have my last school project now.
nurmiadhanisak55

2018-05-30 07:47:05 hello britneygill0215 and miguel.biancol, i'm sorry for intruding. may i know your code? actually i'm using sim808 and arduino meg, but i got sim808 init error. when i'm using arduino uno it's work perfectly. i don't know what the problem is. also may i know how you get the longitude in minus? i'm sorry i'm beginner and i have my last school project now.
nurmiadhanisak55

2017-08-15 05:57:05 Here is the response I am getting back from the recv:
AT
AT+CFUN=1
AT+CPIN?
AT+CGNSPWR=1
AT+CGNSTST=1
Open the GPS power success
latitude :42.48662
longitude :-83.29399
AT+CSTT="wholesale","",""
AT+CIICR
AT+CIFSR
Sim808 join network error
AT+CSTT="wholesale","",""
AT+CIICR
AT+CIFSR
IP Address is 21.216.41.135
waiting to fetch...
AT+CIPSEND=166
Recv: 544 bytes: 5,184.1,M,-34.1,M,,*6C
$GPGLL,4229.1977,N,08317.6395,W,135054.000,A,A*4C
$GPGSA,A,3,07,30,28,11,,,,,,,,,2.37,2.15,0.99*0C
$GPGSV,2,1,08,30,71,232,30,11,63,090,27,28,59,314,28,07,47,170,29*7D
$GPGSV,2,2,08,17,32,239,,08,27,054,,13,20,299,19,15,03,326,*78
$GPRMC,135054.000,A,4229.1977,N,08317.6395,W,0.13,125.72,140817,,,A*71
$GPVTG,125.72,T,,M,0.13,N,0.23,K,A*3D
$GPGGA,135055.000,4229.1977,N,08317.6395,W,1,4,2.15,184.1,M,-34.1,M,,*6D
$GPGLL,4229.1977,N,08317.6395,W,135055.000,A,A*4D
$GPGSA,A,3,07,30ß?®§‡}íô[}ÿüm7³<ý4X)
britneygill0215
AT
AT+CFUN=1
AT+CPIN?
AT+CGNSPWR=1
AT+CGNSTST=1
Open the GPS power success
latitude :42.48662
longitude :-83.29399
AT+CSTT="wholesale","",""
AT+CIICR
AT+CIFSR
Sim808 join network error
AT+CSTT="wholesale","",""
AT+CIICR
AT+CIFSR
IP Address is 21.216.41.135
waiting to fetch...
AT+CIPSEND=166
Recv: 544 bytes: 5,184.1,M,-34.1,M,,*6C
$GPGLL,4229.1977,N,08317.6395,W,135054.000,A,A*4C
$GPGSA,A,3,07,30,28,11,,,,,,,,,2.37,2.15,0.99*0C
$GPGSV,2,1,08,30,71,232,30,11,63,090,27,28,59,314,28,07,47,170,29*7D
$GPGSV,2,2,08,17,32,239,,08,27,054,,13,20,299,19,15,03,326,*78
$GPRMC,135054.000,A,4229.1977,N,08317.6395,W,0.13,125.72,140817,,,A*71
$GPVTG,125.72,T,,M,0.13,N,0.23,K,A*3D
$GPGGA,135055.000,4229.1977,N,08317.6395,W,1,4,2.15,184.1,M,-34.1,M,,*6D
$GPGLL,4229.1977,N,08317.6395,W,135055.000,A,A*4D
$GPGSA,A,3,07,30ß?®§‡}íô[}ÿüm7³<ý4X)

2017-08-15 05:57:05 Here is the response I am getting back from the recv:
AT
AT+CFUN=1
AT+CPIN?
AT+CGNSPWR=1
AT+CGNSTST=1
Open the GPS power success
latitude :42.48662
longitude :-83.29399
AT+CSTT="wholesale","",""
AT+CIICR
AT+CIFSR
Sim808 join network error
AT+CSTT="wholesale","",""
AT+CIICR
AT+CIFSR
IP Address is 21.216.41.135
waiting to fetch...
AT+CIPSEND=166
Recv: 544 bytes: 5,184.1,M,-34.1,M,,*6C
$GPGLL,4229.1977,N,08317.6395,W,135054.000,A,A*4C
$GPGSA,A,3,07,30,28,11,,,,,,,,,2.37,2.15,0.99*0C
$GPGSV,2,1,08,30,71,232,30,11,63,090,27,28,59,314,28,07,47,170,29*7D
$GPGSV,2,2,08,17,32,239,,08,27,054,,13,20,299,19,15,03,326,*78
$GPRMC,135054.000,A,4229.1977,N,08317.6395,W,0.13,125.72,140817,,,A*71
$GPVTG,125.72,T,,M,0.13,N,0.23,K,A*3D
$GPGGA,135055.000,4229.1977,N,08317.6395,W,1,4,2.15,184.1,M,-34.1,M,,*6D
$GPGLL,4229.1977,N,08317.6395,W,135055.000,A,A*4D
$GPGSA,A,3,07,30ß?®§‡}íô[}ÿüm7³<ý4X)
britneygill0215
AT
AT+CFUN=1
AT+CPIN?
AT+CGNSPWR=1
AT+CGNSTST=1
Open the GPS power success
latitude :42.48662
longitude :-83.29399
AT+CSTT="wholesale","",""
AT+CIICR
AT+CIFSR
Sim808 join network error
AT+CSTT="wholesale","",""
AT+CIICR
AT+CIFSR
IP Address is 21.216.41.135
waiting to fetch...
AT+CIPSEND=166
Recv: 544 bytes: 5,184.1,M,-34.1,M,,*6C
$GPGLL,4229.1977,N,08317.6395,W,135054.000,A,A*4C
$GPGSA,A,3,07,30,28,11,,,,,,,,,2.37,2.15,0.99*0C
$GPGSV,2,1,08,30,71,232,30,11,63,090,27,28,59,314,28,07,47,170,29*7D
$GPGSV,2,2,08,17,32,239,,08,27,054,,13,20,299,19,15,03,326,*78
$GPRMC,135054.000,A,4229.1977,N,08317.6395,W,0.13,125.72,140817,,,A*71
$GPVTG,125.72,T,,M,0.13,N,0.23,K,A*3D
$GPGGA,135055.000,4229.1977,N,08317.6395,W,1,4,2.15,184.1,M,-34.1,M,,*6D
$GPGLL,4229.1977,N,08317.6395,W,135055.000,A,A*4D
$GPGSA,A,3,07,30ß?®§‡}íô[}ÿüm7³<ý4X)

2017-08-09 17:24:11 Any way you can post more than the top code? And possibly a break down of what your code means?
I am literally working on the same thing
britneygill0215
I am literally working on the same thing

2017-08-09 17:24:11 Any way you can post more than the top code? And possibly a break down of what your code means?
I am literally working on the same thing
britneygill0215
I am literally working on the same thing
