跟據例子代碼, 利用BDB Commissioning Modes 的 Finding and Binding後, 應該該怎樣做才可以unbind? 使end device 或 router 脫離 co-ordinator? 有代碼可以參考嗎? 謝謝
http://doc.iotlucker.com/zigbee/2063537
跟據例子代碼, 利用BDB Commissioning Modes 的 Finding and Binding後, 應該該怎樣做才可以unbind? 使end device 或 router 脫離 co-ordinator? 有代碼可以參考嗎? 謝謝
http://doc.iotlucker.com/zigbee/2063537
在finding and binding的情況下,unbind的動作是由End Device或Router要傳出調閱然後等待Co-ordinator回應而解除綁定。代碼例子如下:
//In End Device 及 Router中
emberAfFillCommandIdentifyClusterIdentifyQueryRequest(identifyTime); // send out the query
//In Co-ordinator
EmberAfStatus emberAfIdentifyClusterServerCommandIdentifyQueryResponseCallback(uint16_t identifyTime)
{
// Handle unbind request from the device.
}