bug: V/43339
btdev: Traverse and display detailed information of BLE or BR/EDR devices.
- Usage Example:
(gdb) btdev -t br
Traversing BR/EDR device lists and outputting detailed info...
Device Name: *****
Alias: *****'s*****
Bluetooth Address: A8:9C:ED:1F:F0:16
ACL Handle: 0x0000
Connection State: Unknown Connection State
Bond State: Unknown Bond State
--------- End of Device Info ---------
Device Name: Xiaomi Watch ****
Alias: Xiaomi Watch ****
Bluetooth Address: 14:16:9E:B3:93:5D
ACL Handle: 0x0000
Connection State: Unknown Connection State
Bond State: Unknown Bond State
--------- End of Device Info ---------
Device Name: vela-****
Alias: vela-****
Bluetooth Address: 00:1A:7D:DA:71:11
ACL Handle: 0x0000
Connection State: Unknown Connection State
Bond State: Unknown Bond State
--------- End of Device Info ---------
- Options:
- -t, --type: Specify the device type to traverse (le for BLE, br for BR/EDR).
Signed-off-by: zhongzhijie1 <zhongzhijie1@xiaomi.com>