BLE GPS data more decimal places

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
cbis99
 
Posts: 9
Joined: Mon Jan 23, 2017 8:50 am

BLE GPS data more decimal places

Post by cbis99 »

I am using the Bluefruit LE Friend to get GPS location data from my I-Phone using Bluefruit connect. It works good but I saw somewhere that the longitude and latitude data is good to 4 decimal places. I would like to get more accuracy. I see in the "packetparser.cpp" the program uses "parsefloat" function and assigns the vales as floats. Could the be written as double variable instead to get more decimal locations and accuracy? Could parsedouble be used or something similar? Thankyou

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

Return to “Wireless: WiFi and Bluetooth”