theheraldproject/herald-for-android

Log RSSI prevalence data

Closed this issue · 1 comments

As part of the study into Bluetooth proximity self calibration. Log observed RSSIs across all (not just Herald) Bluetooth mobile phone (not apple TV etc.) devices by frequency, summarising by (for example) 15 minute intervals.

May also want to store the min/max and profiles for each encountered device in those time periods. (So we also get a view at the nearby device level, and not just the population level).

Include TxPower if possible too.

sensor(didMeasure, fromTarget) in ContactLog in the demo app (NOT production apps) on Android will already log all raw RSSI, and the associated bluetooth mac address. Only currently supports Bluetooth RSSI not TxPower. An additional TxPower invocation of this method would resolve this, and be compatible with existing log files. Alternatively, update the BluetoothProx to include both values in a single CSV line (likely more akin to what a developer would expect).

Will test this out later, and create an analysis R script in the herald-analysis project too.