Migrate phone bluetooth sensor to new data stream
parent
6d06d2b1eb
commit
0e96f39599
|
@ -192,6 +192,30 @@ Stream columns named `FLAG_TO_MUTATE` means they are extracted based on the `MUT
|
|||
Same as ANDROID
|
||||
|
||||
|
||||
??? info "PHONE_BLUETOOTH"
|
||||
|
||||
=== "ANDROID"
|
||||
|
||||
**RAPIDS_COLUMN_MAPPINGS**
|
||||
|
||||
| RAPIDS column | Stream column |
|
||||
|----------------------|---------------------|
|
||||
| TIMESTAMP | timestamp |
|
||||
| DEVICE_ID | device_id |
|
||||
| BT_ADDRESS | bt_address |
|
||||
| BT_NAME | bt_name |
|
||||
| BT_RSSI | bt_rssi |
|
||||
|
||||
**MUTATION**
|
||||
|
||||
- **COLUMN_MAPPINGS** (None)
|
||||
- **SCRIPTS** (None)
|
||||
|
||||
=== "IOS"
|
||||
|
||||
This sensor is not supported by iOS devices.
|
||||
|
||||
|
||||
??? info "PHONE_CONVERSATION"
|
||||
|
||||
=== "ANDROID"
|
||||
|
|
|
@ -46,6 +46,17 @@ This is a description of the format RAPIDS needs to process data for the followi
|
|||
| BATTERY_SCALE | An integer that denotes the maximum battery level |
|
||||
|
||||
|
||||
??? info "PHONE_BLUETOOTH"
|
||||
|
||||
| RAPIDS column | Description |
|
||||
|--------------------|---------------------------------------------------------------------------|
|
||||
| TIMESTAMP | An UNIX timestamp (13 digits) when a row of data was logged |
|
||||
| DEVICE_ID | A string that uniquely identifies a device |
|
||||
| BT_ADDRESS | MAC address of the device’s Bluetooth sensor |
|
||||
| BT_NAME | User assigned name of the device’s Bluetooth sensor |
|
||||
| BT_RSSI | The RSSI dB to the scanned device |
|
||||
|
||||
|
||||
??? info "PHONE_CONVERSATION"
|
||||
|
||||
| RAPIDS column | Description |
|
||||
|
|
|
@ -81,6 +81,18 @@ PHONE_BATTERY:
|
|||
SCRIPTS:
|
||||
- "src/data/streams/mutations/phone/aware/battery_ios_unification.R"
|
||||
|
||||
PHONE_BLUETOOTH:
|
||||
ANDROID:
|
||||
RAPIDS_COLUMN_MAPPINGS:
|
||||
TIMESTAMP: timestamp
|
||||
DEVICE_ID: device_id
|
||||
BT_ADDRESS: bt_address
|
||||
BT_NAME: bt_name
|
||||
BT_RSSI: bt_rssi
|
||||
MUTATION:
|
||||
COLUMN_MAPPINGS:
|
||||
SCRIPTS: # List any python or r scripts that mutate your raw data
|
||||
|
||||
PHONE_CONVERSATION:
|
||||
ANDROID:
|
||||
RAPIDS_COLUMN_MAPPINGS:
|
||||
|
|
|
@ -26,6 +26,13 @@ PHONE_BATTERY:
|
|||
- BATTERY_LEVEL
|
||||
- BATTERY_SCALE
|
||||
|
||||
PHONE_BLUETOOTH:
|
||||
- TIMESTAMP
|
||||
- DEVICE_ID
|
||||
- BT_ADDRESS
|
||||
- BT_NAME
|
||||
- BT_RSSI
|
||||
|
||||
PHONE_CONVERSATION:
|
||||
- TIMESTAMP
|
||||
- DEVICE_ID
|
||||
|
|
Loading…
Reference in New Issue