I am using a BLE device (https://www.adafruit.com/product/1697) that I use to print data to an app. I can successfully connect the BLE to the app and receive the data but the result however gets chopped up.
What I am sending is a lat, lng value (that I gather with a library called TinyGPS++ http://arduiniana.org/libraries/tinygpsplus/) and the code looks like this:
BTLEserial.Print::print(gps.location.lat(), 8);
BTLEserial.print (", ");
BTLEserial.Print::print(gps.location.lng(), 8);
So for example if the latitude is: 32.12345678
, it comes like this to the app: 3
, new row, 2
, new row etc.
So my question is, how can I adjust my code to make sure it does not send the result chopped up but instead sends it's complete value?