It describes how to use the USB HID protocol to discover a HID class device's feature set and how a Bluetooth device can support HID services using the L2CAP layer.
它描述了如何使用USB HID协议来发现HID类设备的特征集与蓝牙设备能如何使用L2 CAP层来支持HID服务。
If getDefaultAdapter() returns null, then the device does not support Bluetooth and your story ends here.
如果 BluetoothAdapter返回为null,那么设备不支持蓝牙而你的故事将在此结束。
应用推荐