Rotate the link-layer address with the pseudonym again
The app sends the pseudonym's MAC in the 16-octet STATION_CONFIGURE (address_configuration 0), the station uses it for unsigned frames too, and a different MAC reconfigures the station. A ride rotates it with the station ID; the bench CAM pinger keeps one. Without a MAC the station behaves as before (ticket-derived when signed, random when unsigned). tools/station_tx_test.py plays the phone over USB and reads the station's own raw capture (source MAC, signed or not, submitted and completed counts). Add the 16-octet form to the spec (revision 2), a firmware unit test and an app test. Fix the stale Connection texts.
This commit is contained in:
@@ -32,8 +32,20 @@ Still open:
|
||||
- [ ] The Connection settings text still says "the board only advertises while nothing uses its USB-C port"
|
||||
(the firmware no longer pauses advertising) and the card header says "ESP32-C5 (USB Serial)" while
|
||||
connected over Bluetooth.
|
||||
- [ ] Pseudonym rotation: the link has no MAC field any more, so the station ID rotates while the
|
||||
GN address stays the ticket's (see README).
|
||||
- [x] Pseudonym rotation (2026-11-11): the app sends the pseudonym MAC in the 16-octet STATION_CONFIGURE
|
||||
again; checked with `tools/station_tx_test.py` over USB and the station's own raw capture: a named MAC
|
||||
is the 802.11 source of signed and of unsigned frames; without one a signed frame carries the
|
||||
ticket-derived address and an unsigned one a random MAC. Still to see on a ride: the MAC changes at the
|
||||
rotation interval.
|
||||
- [ ] TX loss: over USB with BLE off 287 of 300 signed CAMs were heard by the COM3 listener (95.7 %) while
|
||||
the board reports 300 submitted and 300 completed, so about 4 % is lost on the air or in the listener
|
||||
even without BLE. The same 5 minutes over BLE from the phone is still to run (needs the phone paired to
|
||||
micrOBU-66AA first).
|
||||
- [ ] BLE with several boards: with no bond the app connects to the first micrOBU it hears. On the bench four
|
||||
advertise at -49 to -55 dBm (4AFA, 3FAA, A25E, 66AA) and it paired with the wrong one (4AFA). Pair the
|
||||
right board in Android's Bluetooth settings first, or add a choice to the app.
|
||||
- [ ] A phone whose bond is gone (it showed none after a Bluetooth toggle) gets a connect-then-drop loop from a
|
||||
board that still holds the bond: erase the board's NVS (`esptool erase-region 0x9000 0x15000`) and pair again.
|
||||
|
||||
### MAPEM decoder and traffic lights per lane (added 2026-10-28)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user