bristlemouth / bm_protocol

Primary Bristlemouth firmware repository
https://www.bristlemouth.org/
Apache License 2.0
10 stars 7 forks source link

Refactor/remove sensor controller timer #108

Closed victorsowa12 closed 4 months ago

victorsowa12 commented 4 months ago

I removed the sensorController's 30s timer and moved the task notification to topology_sampler. Now we will sample for sensors 5 seconds after BUS ON and this will decrease the latency between start-up time and the time SOFT/RBR data makes it into SENS_IND.log on Spotter.

here is an example where on boot we can see that we sampled for sensors right after the first topology sample (where we assembled/printed the network cbor map every time on boot!):

Screenshot 2024-03-11 at 2 35 30 PM