Bluetooth
1. Introduction
The Luckfox Omni3576 is equipped with the AIC8800D80 module, supporting 2.4GHz/5GHz Wi-Fi 6 and BT 5.2/BLE Bluetooth.
2. Bluetooth Configuration on Desktop System
Click the Bluetooth icon in the top-right corner of the desktop.
Click
searchto search for Bluetooth devices.Select the device you want to connect to and click pair.
Click
√to trust the device.
Right-click on the trusted device and select "Connect." The Bluetooth icon in the top-right corner will turn green, indicating a successful connection.
3. Bluetooth Connection via Terminal
The bluetoothctl tool is required for Bluetooth communication in the terminal.
General Connection:
root@luckfox:/home/luckfox# bluetoothctl
[bluetooth]# default-agent
[bluetooth]# power on # Turn on Bluetooth
[bluetooth]# scan on # Scan for Bluetooth devices
[bluetooth]# trust 12:11:32:DE:A3:03 # Trust the Bluetooth device
[bluetooth]# pair 12:11:32:DE:A3:03
[bluetooth]# connect 12:11:32:DE:A3:03 # Connect to Bluetooth device
[M1]# exit用安卓手机连接开发板蓝牙。
bluetoothctl # Open the bluez Bluetooth tool
power on # Start the Bluetooth device
pairable on # Set to pairing mode
discoverable on # Set to discoverable mode
agent on # Start the agent
default-agent # Set the current agent as default
discoverable on # Enable discoverable mode- The phone will prompt you to pair with the development board. Click "Pair" on the phone, then enter
yesin the terminal window to complete the pairing with the phone.
root@luckfox:/# bluetoothctl
Agent registered
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# discoverable on
Changing discoverable on succeeded
[CHG] Controller 44:37:0B:72:30:08 Discoverable: yes
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[NEW] Device BC:6A:D1:44:B7:87 2805047123的Redmi Note 9 Pro
Request confirmation
[agent] Confirm passkey 506154 (yes/no): yes
[CHG] Device BC:6A:D1:44:B7:87 Bonded: yes
...
...
[CHG] Device BC:6A:D1:44:B7:87 ServicesResolved: yes
[CHG] Device BC:6A:D1:44:B7:87 Paired: yes
Authorize service
[agent] Authorize service 0000111e-0000-1000-8000-00805f9b34fb (yes/no): yes
Authorize service
[agent] Authorize service 0000110d-0000-1000-8000-00805f9b34fb (yes/no): yes
[CHG] Device BC:6A:D1:44:B7:87 UUIDs: 00001105-0000-1000-8000-00805f9b34fb
...
...
[2805047123的Redmi Note 9 Pro]#- The phone will prompt you to pair with the development board. Click "Pair" on the phone, then enter