在清单2中可以看出,每当发现新的蓝牙设备,我就把它加入Vector并显示远程设备的友好名称和蓝牙地址。
As you can see in Listing 2, whenever a new Bluetooth device is discovered, I just add it to a Vector and display the friendly name and Bluetooth address of the remote device.
当一个设备配对后,设备的基本信息(例如设备名称、类、MAC地址)将被保存,并且可以使用蓝牙接口进行访问。
When a device is paired, the basic information about that device (such as the device name, class, and MAC address) is saved and can be read using the Bluetooth APIs.
支持独特的蓝牙MAC地址。
应用推荐