* structure for "bluetooth" feature data.
*/
typedef struct {
- uint scanTime; /* Total time spent by the resource in (scan) mode during the session */
uint connectedTime; /* Total time spent by the resource in (connected) mode during the session */
uint rxTime; /* Total time spent by the resource in (RX) mode during the session */
uint txTime; /* Total time spent by the resource in (TX) mode during the session */
bluetooth_record->startTime = battery_data.session_start_time;
bluetooth_record->stopTime = battery_data.session_end_time;
- bluetooth_record->scanTime = battery_data.session_scan_time;
bluetooth_record->connectedTime = battery_data.session_connected_time;
bluetooth_record->rxTime = battery_data.rx_time;
bluetooth_record->txTime = battery_data.tx_time;
_I("BT usage data for battery monitor");
_I("startTime: %ld", bluetooth_record->startTime);
_I("stopTime: %ld", bluetooth_record->stopTime);
- _I("scanTime: %u", bluetooth_record->scanTime);
_I("connectedTime: %u", bluetooth_record->connectedTime);
/* Getting app data */
* structure for "bluetooth" feature data.
*/
typedef struct {
- uint scanTime; /**< Total time spent by the resource in (scan) mode during the session */
uint connectedTime; /**< Total time spent by the resource in (connected) mode during the session */
uint rxTime; /**< Total time spent by the resource in (RX) mode during the session */
uint txTime; /**< Total time spent by the resource in (TX) mode during the session */