opendroneid / receiver-android

Example Android receiver application for unmanned aircraft Remote ID
Apache License 2.0
186 stars 61 forks source link

Fix logging of payload raw bytes #30

Closed friissoren closed 2 years ago

friissoren commented 3 years ago

At the start of the log, the payload raw bytes are not all present in the log data. The data clearly was present, since the parsed data in the log shows the values. But for the raw byte dump, the length is only slowly increasing with 2 or 3 bytes at a time until it reaches the full length.

It is possible this is specific to message pack messages.

This behavior has been observed in logs of WiFi Beacon transmitted data, but it is quite possible it exists also for other transmission types. I.e. the problem is probably somewhere in the application logging code.