You should notice that I iterated over the Vector of remote Bluetooth devices and searched for the services that exist on each device.
您应当注意到,我在远程蓝牙设备的Vector上迭代,搜索每个设备上存在的服务。
This creates a new tape device and adds it into a vector called scsi_tapes.
该函数会创建一种新磁带设备并将其添加到称为scsi _ tapes的向量。
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.
在清单2中可以看出,每当发现新的蓝牙设备,我就把它加入Vector并显示远程设备的友好名称和蓝牙地址。
应用推荐