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.

Controling radio on/off state in z-stack joining process

Other Parts Discussed in Thread: CC2530

Hi.

 

I'm using CC2530 and Z-Stack-2.3.0.-1.4.0.

Is it possible to somehow take control over radio on/off process while device is ZigBee Router and is in "join" state?

I have noticed that, when device is in said mode (periodically sending beacons to detect neighboring routers or coordinator) it turns off radio right after it finishes one network scan and turns it back on before doing new scan. Idle time (with no radio activity) is determined with BEACON_REQUEST_DELAY, BEACON_REQ_DELAY_MASK and time needed for scan process itself. When radio is switched off, consumption of cc2530 is significantly reduced. For application I am developing it is critical that mcu power consumption don't vary more than +/-20%, which is satisfied for other working modes except this one.

I can see that network scan is initiated by NLME_NetworkDiscoveryRequest( zgDefaultChannelList, zgDefaultStartingScanDuration ) function call and radio on/off process is controlled somewhere in nwk_event_loop and macEventLoop which are functions distributed within libraries.


Thanks in advance,

Dejan.