[BitCloud] CS_ZDO_SECURITY_STATUS

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hello,
is it possible to rewrite the CS_ZDO_SECURITY_STATUS value without recompiling? I want to switch from high security to standard or no security. (stack is compiled with high security)

I tried to set value 3 (no preconfigured network key) and did a leave and rejoin but the after that the CS_ZDO_SECURITY_STATUS returned to be 1 (preconfigured tc link key).

So question is, is this a compile time only value?

Last Edited: Fri. Oct 16, 2015 - 02:31 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

manuelp wrote:
So question is, is this a compile time only value?

CS_ZDO_SECURITY_STATUS can be changed at run time, but for the high security library it must be preconfigured link or master key. In high security mode network key is always distributed by the trust center.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ah ok cool i hope i get this to work... havent figured out why the CS_ZDO_SECURITY_STATUS value is not used in rejoin, need a little bit more debugging in my app.