How to determine from HCI logs what Bluetooth version/ technology (BR/EDR or LE) was actually used?

General Tech Technology & Software 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

The scenario: I have one device (Android Phone) that I can control and I want to analyse the Bluetooth capabilities of a different device of which I have limited control/ information - I can only accept/ reject pairing, but I don't known what versions or features are supported (this is that I want to find out).

Question: From the recorded HCI logs (in the Android Phone), can you determine what version/ technology was actually used in a successful pairing? In other words, how can you tell whether Bluetooth low energy was used or the Classic Bluetooth (BR/EDR)?

Note: I am not looking for:

  • the LMP advertisement of the "remote host" as this will only tell which Bluetooth version is supported (e.g. 4.1) but will not tell which technology is actually used

  • also, not looking for the remote extended features telling what technologies are supported (such as BR/EDR and LE) but without giving details about which technology is actually used

Thanks :)

profilepic.png
manpreet 2 years ago

If the LE link is set up, HCI LE Meta Event 0x3E with sub event LE Connection Complete 0x01 will be seen in the logs. See core spec v5 Vol 2, part E.
If pairing occurs over the LE link, then SMP PDUs related to pairing will be seen in the HCI logs as pairing occurs on the host. See core spec Vol 3, Part H. In LE, GATT is used to discover services of the remote device.

If the BR/EDR link is up, HCI Connection Complete event 0x03 will be seen in the logs. In BR/EDR, SDP is used to discover services of the remote device.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.