bristlemouth / bm_protocol

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

Feature/sc 194765/aanderaa app configs #23

Closed evanShap closed 1 year ago

evanShap commented 1 year ago

This PR includes:

🐛 the rtc value from the on-board aggregation is basically always 0, because the system starts the aggregation before the UTC fix from Spotter comes in. -> use rtc_end replace the hardcoded CURRENT_SAMPLE_PERIOD_MS with a config named "CURRENT_READING_INTERVAL_MS. Currently this is hard-coded to 2s, but we actually set them up for 1s... implement a baud rate configuration configify nSkipReadings configify readingIntervalMs configify payloadWdToS