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.

BeagleBone如何获得设备状态Dev State



我看了BeagleBone网关的程序,发现RPCS_ZLL_getDeviceState在调用zllSocGetState(dstAddr, endpoint, addrMode);函数时并没有获得设备的状态,zllSocGetState函数调用write(serialPortFd,cmd,sizeof(cmd));将命令发给了USB Dongle,但Dongle并没有把设备状态返回过来,因此网关没有把state返回给app,请问如何才能获得device Sate呢