device discovery 2013-12-22T14:36:32-07:00

HOME Forums Gateways Raspberry Pi device discovery

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Anonymous
    Post count: 19
    #40401 |

    I was wondering, does the api support device discovery features such as reporting of frequency band, manufacturer ID, power source, current level,…?
    And if so, how can I query for this information?

    Post count: 259

    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:


    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, …..]


    Let me know how it goes.

    Post count: 19

    cool. Thanks. I’ll give that I try.

    Post count: 19

    yep, that worked ok. It took me a little longer cause I had included my device incorrectly.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.