Device Leaves and broadcasts leave but unit doesn't pick it up

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Guys,

 

I have a network of devices and if I a unit leaves on its own accord (not being initiated from the coordinator) I have no way of knowing at this stage if it has left the network.

 

As such I found an event in the Atmel Event list (BC_EVENT_DEVICE_LEFT) and is described as:

 /*! The event is raised on the trust center when a remote device leaves the
      network. Event's data: ExtAddr_t; the extended address of the device that
      leaves the network. */

 

However, it doesn't appear to ever be called. Has anyone else ever had experience dealing with handling the Leave message from nodes? Perhaps you know a way to actually handle this or a reason mine isn't working?

 

Chars,

Ryan.