如题:
// Register for a test endpoint
afRegister( &sampleTemperatureSensor_TestEp );
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.
如题:
// Register for a test endpoint
afRegister( &sampleTemperatureSensor_TestEp );
SAMPLETEMPERATURESENSOR_ENDPOINT 本身就是个宏定义,按照规定可以选择的数值为1-240,你自己的应用想怎么定义就怎么定义。ti的例子上貌似也说了这个值是1-240里面随便选的。也就是可以自定义240个endpoint。0是zdo,255是端口广播,241~254是保留。