Missing hdop parameter

Issue:Missing hdop parameter on payload

Setup: Firmware 3.1.0.13, OTAA

at+version
OK3.1.0.13
at+get_config=device:status
OK.


===============Device Status List================
Board Core: S76G_B
MCU: STM32L073RZ
LoRa chip: SX1276

Battery Voltage = 3.667 V
Support Gps:true
gps_timeout: 100s
gps_format:GPS take six decimal places

Missing HDOP parameter on payload data report.
Please help on how I can get it.

This is a normal logļ¼I didnā€™t see your data include the wrong log.image

Thanks Nicholas,
I thing my question was not clear. What I mean is that I have configured the RAK7200 to send data to TTN and there Iā€™m using the decoder script that the RAKwireless web page setting documentation suggest. Decoded data only show latitude, longitude and altitude but not hdop parameter. Iā€™m trying to track the RAK7200 on the TNN mapper and use data to show gateway coverage.

Can i understand your meaning that there no other data other than GPS from TTN? l think it is the parsing script. l found you used GPS take six decimal places.


I have already put the script that TNN mapper suggests, and now the one that you suggest me too. They both make the GPS data available, but I understand that the one you send builds the object that TNN mapper expects, however I understand that the ā€œhdpoā€ parameter is still missing ā€¦ Check this out on the TNN mapper page:

Make sure you have a Payload decoder function enabled on the TTN Console that decodes the raw payload into a json object. The JSON object should contain the keys " latitude ", " longitude " and " altitude " and one of " hdop ", ā€œaccuracyā€ or ā€œsatsā€. When using the Cayenne LPP data format, the GPS coordinates will be decoded into a different JSON format, but this format is also supported. Cayenne LPP does not contain a GPS accuracy, and therefore this data will be considered as inferior and will carry less weight in calculation of coverage, and will be deleted first during data cleanup.

This is a copy of the decoded data using the script you suggested me:
{
ā€œDecodeDataHexā€: ā€œ018800de83c3fa9a4e58000245ae0802017cā€,
ā€œDecodeDataObjā€: {
ā€œbatteryā€: ā€œ3.80Vā€,
ā€œgpsā€: {
ā€œaltitudeā€: ā€œ1489.1mā€,
ā€œlatitudeā€: ā€œ14.582723Ā°ā€,
ā€œlongitudeā€: ā€œ-90.550696Ā°ā€
}
}
}

@fboesche - the 7200 does not transmit the hdop value - if you look at https://doc.rakwireless.com/rak7200-lora-tracker/analyzing-the-data-from-rak7200 you will see that it is using the Cayenne encoding format which doesnā€™t have explicit support for any GPS parameters other than latitude, longitude & altitude.

If someone can provide the source to the 7200, it should be possible to alter it to transmit data in a suitable format including hdop & fixes.

That said, rather than using Cayenne forma, you could use the 7200 coupled to the mobile app (Android or iOS). TTNMapper will pickup RSSI & SNR from the gateway meta data and the GPS data it needs via the app.

Nick, thank you very much for your comment.
It happens that I bought the RAK7200 for that purpose, but I admit that I did not take the time to investigate a little more about it before buying.
I will look for an application or a different way to take advantage of the RAK7200, which by the way I can see that the GPS that it has integrated is not as sensitive as I expected.
For my purpose of recording gataway coverage, I will continue to use my prototype based on a SparkFun SAMD21 board and the Android app. Thank you very much to all.

1 Like

Youā€™re using that frequency bandļ¼ŸI can use AS923 to get the data content, Can you give me the node log and TTN received data content?

@Nicholas, the 7200 does not give the hdop (horizontal dilution of precision) or number of satellites the GPS has a fix on that TTN Mapper needs - this is not a deficiency in the 7200 but unless you choose to change the firmware, thereā€™s nothing more to do.

ohļ¼Very sorryļ¼I misread your meaningļ¼RAK7200 can only read GPS, Acceleration, Gyroscope, Magnetometer and so on.This may not be what you needļ¼

Many thanks! Maybe I can use it sending GPS data to an app runing Google maps.

will this hdop parameter be added to the firmware in the future? thanks

This has been discussed in previous posts if you want to search for answers, but it seems unlikely.

If you need it for TTN Mapper, it will still work.

well, I made the preparations for the TTN Mapper on iOS

but the problems ā€¦ are varied

https://github.com/RAKWireless/RUI_LoRa_node_payload_decoder wonā€™t work by default, you need to Javascript massage the JSON like other thread here is showing (by removing the trailing char from lat/long/altitude)

Then the iOS app has bugs, it doesnā€™t show me anything, I have to toggle its radio buttons several times to make them ā€œworkā€ somehow, but my tracing is still not there and all counters are 0. But its connected: Production

Despite the fact that https://ttnmapper.org/advanced-maps/ shows some, maybe all of my data

So yeah.

Not quite working when you have to fiddle with all combinations of the vars above :frowning: