Pair aBluetoothDevice and Retrieve theBluetoothDevice Address
You can pair the Bluetooth®device to your host computer and retrieve the Bluetooth device address or serial port based on your operating system. Before you pair, make sure that the Bluetooth device is connected to the Arduino®board and is powered properly.
检索BluetoothAddress forWindows
Find theBluetoothAddress for HC-05 and HC-06
UnderControl Panel, open theDevices and Printerssection.
Right-click on the HC-05 or HC-06 Bluetooth device, and selectProperties.
Click theHardwaremenu, and then clickProperties.
Click theDetailsmenu, and then select thePropertyas
Bluetooth Device Address
. TheValueis the Bluetooth address of the device.Enter the Bluetooth device address on the
arduinosetup
interface and clickNextto configure the device.
检索BluetoothAddress forMac
Find theBluetoothAddress for HC-05 and HC-06
Before your pair HC-05 and HC-06 Bluetooth devices to your Mac, right-click onPairunderOpen Bluetooth Preferencesin the Bluetooth menu. You see the Bluetooth address of your device.
Enter the Bluetooth device address without dashes as an hexadecimal string on the
arduinosetup
interface, and clickNextto configure the device.