UCM-iMX95 Yocto Linux: Bluetooth

From Compulab Mediawiki
Revision as of 11:38, 4 December 2025 by Igor (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Bluetooth

The SoM features Bluetooth 5.3 BLE by Ezurio Sona™ NX611.


Admolition note.png Before working with Bluetooth, please ensure that Bluetooth antenna is connected to the SOM.

To start bluetoothctl use the following command:

bluetoothctl

To start the scan process use the following commands:

[bluetooth]# default-agent
[bluetooth]# power on
[bluetooth]# scan on

Bluetooth device should be turned on and visible. Its MAC-adress and name should appear in bluetoothctl in following format:

[CHG] Device AA:BB:CC:DD:EE:FF Name: Device_Name

To pair with the Bluetooth device use the following command:

pair AA:BB:CC:DD:EE:FF

Where AA:BB:CC:DD:EE:FF is MAC-adress of the Bluetooth device.

To quit bluetoothctl use the following command:

[Device_Name]# quit