V2EX = way to explore V2EX 是一个关于分享和探索的地方
This topic created in 3716 days ago, the information mentioned may be changed or developed.
从蓝牙配对到 bluetoothsocket 连接,收发数据。
如何设计一个用户操作配对的界面流程, socket 掉线检测和重连的功能。
bluetoothsocket 只有阻塞的接口, connect 没有 timeout 会一直阻塞,感觉很不好使,
还有 bluetoothsocket 在 4.2 以下的 isConnected 总是返回 false 这种坑.