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.

android app连接keyfob notify方法同时读取多个characteristic值的问题



我现在已经可以以notify方法获得某一个characteristic的实时改变值,但是当我想以这种方法获得几个characteristic的值时,就不行了。因为android里的回调函数是同一个,我在回调函数里加入了判断,怕有冲突,也试过用不同的线程来完成不同的characteristic,但是还是只能触发最先一个characteristic的onNotify方法,是不是在同一时刻只能有一个characteristic的onNotify方法生效?