diff options
author | Marcin Kraglak <marcin.kraglak@tieto.com> | 2014-11-21 12:16:42 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-11-24 15:25:45 +0100 |
commit | a3baeb16c29e5c34f51961918505debcd2acd4ec (patch) | |
tree | 93fae7c8d03ce1631c81f5418088696f148ddc26 /android/client | |
parent | 5a4765e668209baed98a2dccbaa2045e19e6421a (diff) | |
download | bluez-a3baeb16c29e5c34f51961918505debcd2acd4ec.tar.gz |
android/client: Print data from energy_info_cb
Diffstat (limited to 'android/client')
-rw-r--r-- | android/client/if-bt.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/android/client/if-bt.c b/android/client/if-bt.c index f74a56a75..f7382ef08 100644 --- a/android/client/if-bt.c +++ b/android/client/if-bt.c @@ -331,7 +331,12 @@ static void le_test_mode_cb(bt_status_t status, uint16_t num_packets) #if ANDROID_VERSION >= PLATFORM_VER(5, 0, 0) static void energy_info_cb(bt_activity_energy_info *energy_info) { - haltest_info("%s\n", __func__); + haltest_info("%s status=%s, ctrl_state=0x%02X, tx_time=0x%jx," + "rx_time=0x%jx, idle_time=0x%jx, energu_used=0x%jx\n", + __func__, bt_status_t2str(energy_info->status), + energy_info->ctrl_state, energy_info->tx_time, + energy_info->rx_time, energy_info->idle_time, + energy_info->energy_used); } #endif |