This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何知道主机现在的状态?



我通过GAPCentralRole_EstablishLink()建立连接,这个时候要是成功,我可以置一个标志位,表示状态为已连接,但是要是后面断开了,那我如何知道这个设备的状态呢?