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 toolpower on # Start the Bluetooth devicepairable on # Set to pairing modediscoverable on # Set to discoverable modeagent on # Start the agentdefault-agent # Set the current agent as defaultdiscoverable 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:/# bluetoothctlAgent registered[bluetooth]# power onChanging power on succeeded[bluetooth]# pairable onChanging pairable on succeeded[bluetooth]# discoverable onChanging discoverable on succeeded[CHG] Controller 44:37:0B:72:30:08 Discoverable: yes[bluetooth]# agent onAgent is already registered[bluetooth]# default-agentDefault agent request successful[NEW] Device BC:6A:D1:44:B7:87 2805047123的Redmi Note 9 ProRequest 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: yesAuthorize service[agent] Authorize service 0000111e-0000-1000-8000-00805f9b34fb (yes/no): yesAuthorize 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