EasyManua.ls Logo

NXP Semiconductors UM11490 - Extract the Link Key for Remote Bluetooth Classic;Bluetooth LE Devices

NXP Semiconductors UM11490
88 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
5.1.3 Extract the Link Key for remote Bluetooth Classic/Bluetooth LE devices
Follow these steps to get the link key for paired Bluetooth Classic/Bluetooth LE devices:
Get the information for Bluetooth Classic and/or Bluetooth LE devices
root@imx8mqevk:~# cat /var/lib/bluetooth/<DUT BD Address>/<Remote BD
Address>/info
Example - Get the Link Key for a Bluetooth device
root@imx8mqevk:~# cat /var/lib/bluetooth/00:50:43:24:34:F7/
B4:F5:00:31:CB:4E/info
[LinkKey]
Key=7CC2A6C9AA14F799F9E596B90FC973BC
Type=8
PINLength=0
Example - Get the Long Term Key for a Bluetooth LE device
root@imx8mqevk:~# cat /var/lib/bluetooth/00:50:43:24:34:F7/
D4:18:20:A0:48:5F/info
[LongTermKey]
Key=AA3E7062B5B9415F9F27A5010690412A
Authenticated=0
EncSize=16
EDiv=10551
Rand=730759945871301339
UM11490 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 2 — 29 January 2021
82 / 88

Table of Contents

Related product manuals