Other Parts Discussed in Thread: Z-STACK
Hello!
I use CC2538 & Z-Stack 3.0.2 as Coordinator.
I try over APP_CNF_BDB_SET_CHANNEL and ZB_WRITE_CONFIGURATION commands.
Can change Zigbee channel without reset settings?
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.
Try to refer to discussions in e2e.ti.com/.../820772
Hello!
I try send SREQ_ZDO_MGMT_NWK_UPDATE_REQ with different combinations of parameters, the command leaves successfully, but after restarting the coordinator, I read from it the Stur mask of channels. How to use this command?
I mean to try the following codes to switch channel.
// Switch channel
_NIB.nwkLogicalChannel = ZDNwkMgr_NewChannel;
ZMacSetReq( ZMacChannel, &ZDNwkMgr_NewChannel );
Thanks!
As I understand it, this is part of the code for the Zigbee module. But I am developing an application on an external MCU connecting to the CC2538 module via UART using the standard ZNP Serial API. Through it turns out you can’t do it?
As I Know, there is no ZNP/MT command for this. You can try to create your proprietary ZNP/MT command for this purpose if you really need it.
MGMT_NWK_UPDATE_REQ is used to change the channel after the network is active. The ZC would need to have NWK_MANAGER enabled.
If you only need to change the channel before the network is active, try SYS_OSAL_NV_WRITE with the NV ID of the channel mask (ZCD_NV_CHANLIST).