waqasaps2 / gsm-shield-arduino

This library can be used with GSM shield
0 stars 0 forks source link

httpGET() always returns empty array, even though data has been read. #96

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
To reproduce the problem..
0. Using SIM900 breakout board with Arduino Micro
1. open GSM_GPRSLibrary_Client example
2. comment out the section in the loop
3. httpGET() returns bytes read, with an upper limit on resultlength, but 
nothing is returned inside of result.

Shouldn't "msg" contain the data that has been read from the website?

this is the resultant log I get:
---------------
>.
>.
>.
>Number of data received:
>50
>
>Data received:
----------------

Original issue reported on code.google.com by Matthias...@gmail.com on 21 Jan 2014 at 4:05

GoogleCodeExporter commented 8 years ago
I have fixed this issue on the migrated Github repo. Please see this commit: 
https://github.com/madmaze/GSM-GPRS-GPS-Shield/commit/52a903ea214b7720505083d013
762bfc703ee6ef

It has not been merged into the main repo, but this will happen in the coming 
days. 

I think we can close this issue.

Original comment by Matthias...@gmail.com on 27 Jan 2014 at 3:38