[BitCloud] Permit joining

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

hi,
my test setup contains a coordinator and enddevice using standard security.

The coordinator is compiled with CS_PERMIT_DURATION = 0x00 (so nobody is allowed to join the C network right?)

Unfortunately the enddevice joins into the network anyway. I can't figure out how to close the network, also tryed to use the NWK_PermitJoinRequest() and Mmgt_Permit_Joining_req with duration set to 0x00. The requests returns SUCCESS but enddevice still joins the network.

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

That's because Permit Joining actually permits (or denies) association. Devices still could rejoin (in case they fell off the network).

The only way to make secure network is to use preconfigured network key and share this key among all the allowed devices.

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 okay thanks, the test was about forcing nodes to join to specified devices only, i thought the association is made any time the node will join a network - i have to read more about this :)