bristlemouth / bm_protocol

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

adding support for sample type in the report encoder #77

Closed russelldeguzman closed 7 months ago

russelldeguzman commented 7 months ago

To support additional sensors (i.e. BM soft) when we need to know what type of sample to decode/bitpack on the Spotter. Therefore, I added a string at the top of each sample array to define what kind of samples are contained in the array.

On the Spotter side - I'll generalize a report builder decode library and account for this extra string member in the sample array.