Reply To: device discovery 2017-12-22T09:35:31+00:00

HOME Forums Gateways Raspberry Pi device discovery Reply To: device discovery

Anonymous
Post count: 259

Hi,
The answer is yes!

You will want to send Read Attributes for the Basic Cluster. Try the following:

1. Send Node_GetEndPointDescriptors. The ZBPServer will poll the device for all EndPoints, Clusters and the Attributes.
2. Then you can check which Attributes exist in the Basic Cluster and read them with the Node_ClusterCommand. Here’s an example of reading the Model ID of the device:

ZBP_Node
Node_ClusterCommand

146 //u8Mode
f81f //device address
1 //endpoint
0 //cluster id (Basic = 0x0000)
0 //Command Id (Read Attributes = 0x00)
[1,0,5] //Payload. [Number of Attributes, AttributeID1 higher byte, AttributeID1 lower byte, …..]

10903

Let me know how it goes.