opendroneid / receiver-android

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

Combine signals from BT, NaN and Beacon if originating from the same drone #87

Open friissoren opened 1 year ago

friissoren commented 1 year ago

The ESP32 HW is capable of transmitting BT4, BT5, NaN and Beacon simultaneously. This will show up as three separate drones in the list view though.

For Bluetooth, the receiver code can use the MAC address of the BT4 signals and match against the MAC address of the BT5 signals and combine the two. This happens already in the Android driver layers somewhere. This is not possible to combine with Wi-Fi. The Android NaN API doesn’t even give out the MAC address (just some auto-generated unique number) and the Beacon MAC is unlikely to be the same as the BT MAC. It seems that the NaN number doesn’t even stay fixed.

Try to see if it is possible for the app to scan e.g. the serial IDs and combine the received signals from BT, NaN and Beacon into a single drone item.

Tissy commented 1 year ago

Has there been any update on this please?