Understanding on how to work with Channels
I have some difficulties to understand the purpose of ZPS_tsAplZdpMgmtNwkUpdateReq() versusZPS_vNwkNibSetChannel()
I can understand the purpose of ZPS_tsAplZdpMgmtNwkUpdateReq() when using 'scanning' mechanism, but what about chencg the radio channel use ?
Is that something we can do on the fly ? what will happen to the object, will they switch to the new radio channel ?
ZigBee pro stack / version 4170
Still I have trouble to understand the purpose of :
ZPS_vNwkNibSetChannel versus ZPS_eAplZdpMgmtNwkUpdateRequest (with the change/update flag) ?
Hello,
When using the ZPS_eAplZdpMgmtNwkUpdateRequest in the coordinator, it will modify the coordinator and it will send a message to the rest of the devices to move to that channel.
Regards,
Estephania
Ok. I did test, and unfortunately this doesn't behave as you stated on Dec. 17th. When switching to a new channel, I'm not receiving any more messages from devices. I need to re-do the pairing !
Last but not least if what you say would work, how will the coordinator send to the rest of the devices which are on 'battery' and Receive-on-Idle off !
Hello,
I was not able to locate this API (ZPS_vNwkNibSetChannel()) in the software stack, nonetheless, I believe that what you are looking for it's the following API ZPS_teStatus ZPS_eAplZdpMgmtNwkUpdateRequest , could you please check it (page 341) and verify it works for you? Also, there are more details and information on how to use it.
Regards,
Estephania
Thanks for your response. My question was more related to Channel Management, and I wonder if there is a way to move an existing running network from one channel to an other channel due to disturbances. Is that something which is done automaticaly and transparently by the ZigBee Pro stack ?
Hello,
No, you need to call the API I mentioned, that it's not done automatically.
By any chance, have you tried using the ZPS_eAplZdpMgmtNwkUpdateRequest API?
Regards,
Estephania
Whe using ZPS_eAplZdpMgmtNwkUpdateRequest and setting channel with the 'update' flag ( 0xFE as scanDuration), this indeed change the Channel, no doubt on that.
However , All my existing Network Zigbee (for instance all end devices) are not talking to the controller anymore !
So while I could understand that we can using this at setup phase, then on run rate this seems not to be possible .
Am I'm missing something ? Should I do something more ?
So far, I play with APP_eZdpMgmtNetworkUpdateReq for scanning the network and looking for the interference level. i'll try to play with the 'Change' Flag.
My question in that case is will the objects connected will move to the new channel or will I have to re-pair all of them ?