Search found 27 matches

by rhbroberg
Fri Feb 19, 2016 8:10 am
Forum: RePhone
Topic: GPSv2 inaccuracy
Replies: 30
Views: 25017

Re: GPSv2 inaccuracy

this test code shows the good and bad value being generated; you can confirm by running any constant you use with the website above to convert from that format to the decimal format. int main() { char *longitude = "07218.57692"; int Data = 0; // BAD! for (int i=2; i< 10; i++) { if (i == 5) continue;...
by rhbroberg
Fri Feb 19, 2016 2:45 am
Forum: RePhone
Topic: GPSv2 inaccuracy
Replies: 30
Views: 25017

Re: GPSv2 inaccuracy

It looks like the gps NMEA string parsing is done here https://github.com/WayenWeng/Xadow_GPS_v2.git The parsing/math in this file is incorrect: https://github.com/WayenWeng/Xadow_GPS_v2/blob/master/xadow_phone_gps_v2/Sources/gps.c When I run my longitude through the algorithm used in that file, it ...
by rhbroberg
Thu Feb 18, 2016 10:51 pm
Forum: RePhone
Topic: GPSv2 inaccuracy
Replies: 30
Views: 25017

Re: GPSv2 inaccuracy

The GPS library with the rephone only returns decimal values from the gps - I'm not sure what you mean by raw values, unless you mean the NMEA strings which are captured and converted by the library itself. I will instrument the underlying library to print out those strings directly for comparison
by rhbroberg
Thu Feb 18, 2016 6:20 am
Forum: RePhone
Topic: GPSv2 inaccuracy
Replies: 30
Views: 25017

GPSv2 inaccuracy

After a full cold start I am able to replicate this problem: I am in the Eastern United States, and the gps coordinates for my location (when the gps has full view of the sky and reports 8 satellites found) are correct for latitude but off by 0.665 (decimal) in longitude (at least 60 miles from wher...
by rhbroberg
Thu Feb 11, 2016 3:44 am
Forum: RePhone
Topic: https_test test program not working
Replies: 4
Views: 1882

Re: https_test test program not working

I got it to work; I was too impatient. The first time a URL is sent out (https, not http), it takes a good 15 seconds to process; the library call sends every request out with the same request Id, so if you make another request before the first one comes back, the first one is cancelled. So starting...
by rhbroberg
Fri Feb 05, 2016 11:45 pm
Forum: RePhone
Topic: https_test test program not working
Replies: 4
Views: 1882

Re: https_test test program not working

Notice in my original post that I already have the serial output working and verified with a different demo, so I understand the configuration for the correct console output. Instrumenting the https_test demo code with additional output does show my debugging lines, so it's not as simple as the cons...
by rhbroberg
Fri Feb 05, 2016 9:44 am
Forum: RePhone
Topic: https_test test program not working
Replies: 4
Views: 1882

https_test test program not working

I have a t-mobile SIM card which has a data plan on it (verified by using the SIM card in an android phone). I built and ran the traceable dog collar demo, which works - so I know that my rephone recognizes my SIM card - I can text it and call it, and I see output on the serial console. However, whe...