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:
@@ -40,7 +40,7 @@ custom PCB; pick it in `menuconfig -> micrOBU firmware -> Board`.
|
||||
- **Unsigned transmission.** Niklas Dathe's station signs everything. A request with GN security
|
||||
profile 1 (or 0 while the station is configured `security = 0`) goes out unsigned with
|
||||
`geonet.c`'s header and the position of the last PoTi (`Station::unsecured_request`), from a
|
||||
random locally administered MAC drawn at every STATION_CONFIGURE. The app's "Sign outgoing
|
||||
random locally administered MAC drawn at every STATION_CONFIGURE, or the MAC the phone names in the 16-octet STATION_CONFIGURE (address_configuration 0), which also sets the address of signed frames: a ride rotates it with the pseudonym, the CAM pinger keeps one. The app's "Sign outgoing
|
||||
messages" setting decides per message. It bypasses the BLE collision guard's queue but not the
|
||||
guard itself.
|
||||
- **Radio polled from configure on**, not from the first PoTi, so the 16-frame queue never overflows
|
||||
|
||||
Reference in New Issue
Block a user