You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Drone swarm detection verified end-to-end with a synthetic Remote ID broadcaster (recipe inside) #73
Not a bug report — recording that the swarm detector and the Remote ID decode path work end to end, and how it was driven, in case it is useful as a regression test.
What I ran
A small Windows tool that advertises synthetic ASTM F3411 Basic ID messages as BLE service data on 0xFFFA, cycling six distinct UAS IDs at about 4 seconds each. Each advertisement is one 25-byte message: [0x02 Basic ID/version 2][0x12 id_type 1 serial / ua_type 2 multirotor][20-byte UAS ID][3 reserved], sent as FF FA 0D <counter> <25 bytes> after the AD type byte.
On the phone: Settings → Drone monitoring with the defaults (5 new drones / 30 seconds).
Result
The dialog fired with "5 new drones in 30 seconds", details New drones 5 · Time 30 seconds · Bluetooth 5 · Wi-Fi 0, and the Live list filled with amber Remote ID rows reading "Drone broadcasting ASTM Remote ID".
The radio detail page decoded the bytes exactly as sent:
UA type: Helicopter / multirotor
UAS ID: 1596F3A1B2C3D4E5F6A7 (the first injected ID)
Matched signature: Remote ID
Notes: "Part of a drone swarm at 12:18 UTC" — the swarm mark stays on the radio after the episode ends
The sixth ID went in after the warning and joined the same episode rather than starting a second one, which matches mintingIdsStayOneEpisodeUntilAFullQuietGap.
Details that cost time, for anyone else trying this
Start the publisher on an STA thread. On an MTA thread every payload fails with E_INVALIDARG ("Value does not fall within the expected range"), including a 4-byte one, which sends you looking in the wrong place.
Do not set Advertisement.Flags = None. It produces a flags section with no bits, and the stack rejects the whole advertisement. Leave flags unset.
The 16-bit UUID goes on the air little-endian (FA FF), and declaring the UUID in ServiceUuids as well makes the advertisement invalid — the service data section carries it.
The full 29-byte payload (FF FA 0D ct 25-byte message) does fit in legacy advertising, as long as nothing else is added.
Practical read: this also means the swarm warning is easy to reproduce from a laptop. Remote ID is unauthenticated, so "5 new drones" is a presence alarm, not evidence.
Thanks for checking this and writing down how you drove it. That is how the swarm warning works. Five new UAS IDs in the window open one warning. Another ID while that episode is open joins it, instead of starting a second warning. The note on the radio stays after the dialog closes.
The next release adds a Remote ID aircraft report. Reports lists the aircraft this phone has heard over the last 14 days. One row is one aircraft. A pass is one visit, and the next pass starts after 20 minutes of quiet. The record keeps how long the visit lasted. When the broadcast includes a position, it also keeps the path, the altitude, the speed, and the course, and draws that track on a map.
The same test would be a good check of that. The six UAS IDs should show up as six aircraft. A Location message in the same broadcast is what fills the path.
Activity
OffGridPete commentedon Nov 23, 2026
Thanks for checking this and writing down how you drove it. That is how the swarm warning works. Five new UAS IDs in the window open one warning. Another ID while that episode is open joins it, instead of starting a second warning. The note on the radio stays after the dialog closes.
The next release adds a Remote ID aircraft report. Reports lists the aircraft this phone has heard over the last 14 days. One row is one aircraft. A pass is one visit, and the next pass starts after 20 minutes of quiet. The record keeps how long the visit lasted. When the broadcast includes a position, it also keeps the path, the altitude, the speed, and the course, and draws that track on a map.
The same test would be a good check of that. The six UAS IDs should show up as six aircraft. A Location message in the same broadcast is what fills the path.