Seeed-Solution / SenseCAP-Decoder

22 stars 7 forks source link

Use flat structure for data #5

Open jpmeijers opened 11 months ago

jpmeijers commented 11 months ago

The nested structure for parsed payloads are unnecessary and difficult to use. Please use a flat structure for the parsed fields. Here is an excellent example of a parser for the T1000: https://www.aeq-web.com/seeed-sensecap-t1000-lorawan-gps-tracker-ttn-payload-decoder/?lang=en

Wlanfr3ak commented 9 months ago

+1

jruys commented 3 months ago

+1 - The LoWTrack app and TTN's own device location reporting don't work with this decoder. The one linked above seems to output a flat structure works fine.

(edit: looks like there's a PR open for this - https://github.com/Seeed-Solution/SenseCAP-Decoder/pull/1)