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.
Many of the examples in the Sun documentation use Vector for storing the list of listeners, which addresses part of the problem, but it doesn't address the whole problem.
Sun的文档中的许多示例使用Vector保存侦听器列表,它解决了部分问题,但是没有解决全部问题。
3
If the serial interface is not able to generate an interrupt, set this value to any unused interrupt vectoraddress.