[zb4osgi Dev] Registration of endpoints

Han Alink h.alink1 at chello.nl
Mon Mar 11 21:37:23 CET 2013


Hi all,

I wonder if somebody can help me out.

When a device is detected by the ZB4O software, an endpoint is registered on
the dongle for the communication with this new device. Also a binding is
made for the clusters on the device and the clusters on the dongle endpoint.

For the first device that is detected, the following AF_REGISTER command is
issued:

 

AF_REGISTER Packet:0xfe 0x1d 0x24 0x00 0x02 0x04 0x01 0x00 0x00 0x00 0x00
0x05 0x05 0x00 0x04 0x00 0x06 0x00 0x03 0x00 0x00 0x00 0x05 0x05 0x00 0x04
0x00 0x06 0x00 0x03 0x00 0x00 0x00 0x3e, checksum = 0x3e, error = false,
errorMessage = null

Note: endpoint 2 is registered on the dongle (clusters 0, 3, 4 and 6)

 

A device that is detected later on is handled in the same way:

 

AF_REGISTER Packet: length = 13, apiId = 0x24 0x00, full data = 0xfe 0x0d
0x24 0x00 0x03 0x04 0x01 0x00 0x00 0x00 0x00 0x01 0x0f 0x00 0x01 0x0f 0x00
0x2f, checksum = 0x2f, error = false, errorMessage = null

Note: endpoint 3 is registered on the dongle (cluster 15)

 

 

The ZDO_BIND_REQ messages "connect" the first device (cluster 6) to endpoint
2 and the second device (cluster 15) to endpoint 3.

Now "reporting" messages send by device 1 to endpoint 2 are handled by ZB4O,
the "reporting" messages send by device 2 to endpoint 3 are discarded.

 

Question : Is this expected behavior? Why is cluster 15 not registered on
endpoint 2 as well?

 

Regards,

Han

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zb4osgi.aaloa.org/pipermail/dev/attachments/20130311/f451b08c/attachment.html>


More information about the Dev mailing list