HOME Forums Gateways USB-CID ZBPCID_AP specification

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • Anonymous
    Inactive
    Post count: 3

    Hi,

    I am trying to write simple application using ZBPCID serial API (http://smartenit.com/sandbox/downloads/ZBPCID_API.pdf)

    I setup USB-CID using instructions from http://wiki.smartenit.com/index.php?title=Using_Docklight
    – JEN_ClearNVM_and_Reset
    – ZB_SysStartNwk
    – JEN_OpenJoin

    I am not using docklight scripting, I am using serial api in my node.js application.
    – I have one ZBWDS sensor.
    – After command open join, and pressing buttons on sensor in order to join it to network I receive following data:

    so, the command is 0x101B = DEVICE JOINED as from ZBPCID_AP specification.
    – After this initial setup, when I activate sensor by distancing the magnet from the sensor I receive following data:

    where I can recognize 0x67AD as 16 bit sensor address, and after putting the magnet back to the sensor following:

    Byte on the position 14 is changing from 31 to 30 when opening/closing the magnet. The problem is I wasn’t able to
    find response in ZBPCID_AP specification which describes the data I am receiving. Actually, there are 16 commands
    starting with 0x1030, but none of them seems to correspondent to the data I am receiving.

    I am looking forward to any help on this matter.

    Thanks

    Anonymous
    Inactive
    Post count: 259

    Hi,

    02 10 30 0a 32 67 ad 02 05 00 00 64 31 04 84

    02 10 30 0a 32 67 ad 02 05 00 00 64 30 04 85

    The above two messages are Zone Status Change Notification commands from the IAS Zone Cluster. For more details please refer to the ZigBee Cluster Library and look up IAS Zone Cluster and the mentioned command.

    Here’s how I would parse the above command:
    02 ==> Start of Packet
    10 30 ==> Cluster Command
    0a ==> lenght
    32 ==> mode
    67 ad ==> address
    02 ==> endpoint
    05 00 ==> Cluster id (IAS Zone)
    00 ==> Commad ID
    payload ==> 64 30 04
    85 ==> crc

    Anonymous
    Inactive
    Post count: 3

    Hi,

    By “For more details please refer to the ZigBee Cluster Library and look up IAS Zone Cluster and the mentioned command.” you mean to look up ZigBee Alliance provided documentation available here http://www.zigbee.org/download/standards-zigbee-cluster-library/, or some documentation provided by smartenit, as I wasn’t able to find any?
    Also ZigBee cluster is something defined by standard and ZigBee Alliance, what I need in order to use it is serial API of “smartenit” device, as I wasn’t able to demistify the message from the specs provided http://smartenit.com/sandbox/downloads/ZBPCID_API.pdf . Please point me if I am wrong.
    How did you parse the command? I am still not able to find it in http://smartenit.com/sandbox/downloads/ZBPCID_API.pdf. Is there “updated version” of this spec?

    Is there any more detailed documentation for serial API interface to USB-CID beside http://smartenit.com/sandbox/downloads/ZBPCID_API.pdf ?

    Thanks

    Anonymous
    Inactive
    Post count: 259

    By “For more details please refer to the ZigBee Cluster Library and look up IAS Zone Cluster and the mentioned command.” you mean to look up ZigBee Alliance provided documentation available here http://www.zigbee.org/download/standards-zigbee-cluster-library/, or some documentation provided by smartenit, as I wasn’t able to find any?

    Yes I meant to look up ZigBee Alliance provided documentation available here http://www.zigbee.org/download/standards-zigbee-cluster-library/

    How did you parse the command? I am still not able to find it in http://smartenit.com/sandbox/downloads/ZBPCID_API.pdf. Is there “updated version” of this spec?

    It looks like the documentation for a CLUSTER COMMANDS RESPONSE, General format for commands to a cluster response is MISSING. We will update the document very soon. In the meanwhile you can proceed with parsing I detailed before.

    Is there any more detailed documentation for serial API interface to USB-CID beside http://smartenit.com/sandbox/downloads/ZBPCID_API.pdf ?

    No, that is the only serial Api document. You will however need to use the appropriate Zigbee Alliance provided documentation when needed. For example to know that 0x00 is the Zone_Status_Change_Notification Command. And then understanding the payload values: 0x6430 0x04

    Let me know if you have any other questions.

    Anonymous
    Inactive
    Post count: 3

    Hi Dhawal,

    Thank You very much for provided help and please post when You update documentation for serial API.

    Thanks!

    Anonymous
    Inactive
    Post count: 1

    By “For more details please refer to the ZigBee Cluster Library and look up IAS Zone Cluster and the mentioned command.” you mean to look up ZigBee Alliance provided documentation available here http://zigbee.org/non-menu-pages/zigbee … -download/, or some documentation provided by smartenit, as I wasn’t able to find any?

    Yes I meant to look up ZigBee Alliance provided documentation available here http://zigbee.org/non-menu-pages/zigbee%20…%20-download/

    The link doesn’t work. Could you please update this?
    thanks

    Anonymous
    Inactive
    Post count: 259

    You can just search in Google for “ZigBee Cluster Library”
    Here’s the updated link:
    http://www.zigbee.org/download/standards-zigbee-cluster-library/

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