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.

CC2530: 修改通道之后终端连不上网络,状态为DEV_NWK_DISC

Part Number: CC2530


修改了默认通道,协调器和终端都修改了,在f8wConfig.cfg设置为

-DDEFAULT_CHANLIST=0x04000000// 26 - 0x1A

.......

//-DDEFAULT_CHANLIST=0x00000800 // 11 - 0x0B

但是结果终端连接不上网络,任务启动不了。

断点调试发现

case ZDO_STATE_CHANGE:
GenericApp_NwkState = (devStates_t)(MSGpkt->hdr.status);

这里的时候GenericApp_NwkState的值为DEV_NWK_DISC。

请问是哪里有问题吗?