sensor 发送扫描请求scanReq.maxResults = 8;就无法入网,回调无结果
scanReq.maxResults = 0; 只能扫描到信道一个信道。
user5322468:
433而言,8个信道,8个collector每个使用一个信道,不能重复使用
Felix ZF:
scanReq.maxResults = 0;/* Expecting beacon notifications */
讲这个参数设置为0时,每收到一个beacon就会来一次notification
user5322468:
回复 Felix ZF:
那这个参数为其他表示什么?每收到一个beacon就会来一次notification,这如何判断的出最“干净的信道”
Felix ZF:
回复 user5322468:
设置成0,则不会往PAN descriptors list里记录,每次收到beacon立即notify
设置成非0值,按如下执行。
When a device is ready to join a non-beacon network, it must first perform an active scan broadcasting a beacon request. After receiving the beacon request, the non-beacon PAN coordinators in the radio range of the device respond with their beacons. When the scan is complete, TI 15.4-Stack calls the registered callback of type ApiMac_scanCnfFp_t with the PAN descriptors of the beacons it has received during the scan to the device application. The device application examines the PAN descriptors and selects a coordinator.