【发布时间】:2015-06-17 00:05:52
【问题描述】:
我正在为 android wear Android Wear 4.4W 开发一个 android 应用程序。我正在通过智能手表中的 USB 直接调试应用程序(这就是我想要的方式 - 手机上没有配套应用程序)。该应用程序每 10 毫秒接收一次蓝牙消息。 10-20s后,抛出此错误-
01-01 21:10:22.683 E/bt-btm ( 826): btm_sec_disconnected - Clearing Pending flag
01-01 21:10:22.686 W/bt-btif ( 826): invalid rfc slot id: 4
我基本上是在使用这个代码-How to receive serial data using android bluetooth
我尝试发送此处提到的“保持活力”消息- Application using bluetooth SPP profile not working after update from Android 4.2 to Android 4.3 ,但这也不起作用。
我是否有任何错误或任何解决此问题的方法?
【问题讨论】: