|
|
发表于 2025-1-2 19:51:22
|
显示全部楼层
来自 上海
You can adjust the MTO periodic time of the Coordinator by following these steps,
1. set NWK_NIB().concentratorDiscoveryTime to the new value as needed, the unit is seconds.
2. call the zb_routeDiscReq() function to restart the MTO periodic timer.
- nlme_routeDisc_req_t req;
- req.dstAddrMode = ZB_ADDR_NO_ADDR;
- req.dstAddr = 0xFFFC;
- req.radius = NWK_NIB().concentratorRadius;
- req.noRouteCache = NWK_ROUTE_RECORD_TABLE_SIZE ? FALSE : TRUE;
- zb_routeDiscReq(&req);
复制代码 |
|