Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
蓝牙 API 状态有方法调用“isConnected()”,但是当我使用它时,它显示错误,表示此方法未定义用于蓝牙套接字。有专家可以指出应该如何使用“isConnected”吗?
这是代码:
do { count++; if (m_btSck.isConnected()) break; } while ((Connect(m_nRoboDev)!=0) && (count <15));