RAK811 Lora Tracker test_gps() never called in section main()
I try your RAK811 Tracker with your soft
the void test_gps... is here but in the section main(), it is never called.
How do you init the gps ?
What do you preconize. ?
Or send the source of the original bin send with your product from factory.
because this https://github.com/RAKWireless/RAK811_BreakBoard/blob/master/src/apps/classA/main.c
isn't the same program.
Thanks a lot.
GpsGetLatestGpsPositionDouble() give not data
GpsGetLatestGpsPositionBinary () give data
GpsGetLatestGpsAltitude( ); give data
GpsGetLatestGpsPositionDouble() give data !!
Please send the source of your RAK811_GPS_DemoKit
Thanks a lot.
with this doc it's better
Sample Application Payload Calculation for Longitude/Latitude
Payload => 00 19 F6 352BBA A94C20 FFFF
19H => 2510
Temp = 25/2 = 12.5 oC
FFH => 100 %
F6H => 96.5 %
longitude = A94C20H => 1109507210
longitudinal coordinate = -360 + (longitude10 x 180/(223))
longitudinal coordinate = -121.93
latitude = 352BBAH = 348460210
latitude coordinate = (latitude10 x 90/(223-1))
latitude coordinate = 37.39
Hello, we will fix the gps issue in CoIDE project, It may be the printf can not printf float.
We updated this project, the problem is mainly due to CoIDE's printf function does not support float data printing, so we removed the GPS print information.
We tested the new project and can receive GPS data on the TTN.
@rakadmin I just tested with the new project and I have no GPS information on my TTN. All others data is here but no payload for port #0 and #2
Is your GPS antenna connected? Can you check your GPS module is good?
@rakadmin GPS connected and brand new
Are you testing outdoors?
could you please publish the PayloadFormat-DECODER you're using for all ports?
with the new version (original GPS positioned at the window) I get
17:40:21 5 4 dev id:rak811_tracker_01 payload:0371000000000000
17:39:58 4 3 dev id:rak811_tracker_01 payload:026701220403019A
17:37:50 3 2 dev id:rak811_tracker_01 payload:0188073CB5014DA200C990
@ursm do you ask me for ?
@rakadmin tested outdoor during 4 hours and nothing data about gps. My Gps is 1575.42 MHz and I am from Canada
@ursm Payload Format pleace see ：https://mydevices.com/cayenne/docs/lora/#lora-cayenne-low-power-payload.
Port Please see the “PrepareTxFrame” function of open source code.
My Gps is 1575.42 MHz and I am from Canada
Can you take a picture of your device to me?
Do I need to activate something in the project code ? Thanks to let me know, we try to find the problem @rakadmin
BTW I don't have batt level infos posted on TTN. is missing