Changes between Version 6 and Version 7 of ZigbeeGateway


Ignore:
Timestamp:
Sep 19, 2010, 6:13:05 PM (14 years ago)
Author:
Sensei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZigbeeGateway

    v6 v7  
    127127[[Image(zb2senseigw_connection.JPG, 50%, center)]]
    128128 On the upper side, appears the type of connection to the Zigbee island. The "**USB**" is through a dongle and the "**IP**" through an external concentrator. The "**IP/Ch**" select box contains the Zigbee channel for USB or the connection name (see [#Configuration <netConn> idNet in Configuration]) for IP. The button "**Connect**" and "**Disconnect**" allows to attach or detach to the Zigbee island.
     129
    129130The connection process takes a while, firtsly it engages in the Zigbee island. Secondly it discovers the nodes and resources. The node list appears on the "**Tree of nodes**" tree box.
     131
    130132Details of a node selected in the tree box are shown on the right side of the screen:
    131133* Short and MAC address, father node (for sleeping nodes).
     
    137139For every sensor, actuator or counter (sensor) additional details are shown in the corresponding tags on the "**Node Description**"
    138140
    139 
    140141The upper side tags are used for debugging. It contains traces about orders receives from SENSEI, events receives from WS&AN, and commands that can be raised manually to the island.
    141142
    142143== Troubleshooting ==
    143 **UNDER CONSTRUCTION**
     144**Appears the message error //"Error while connecting to Zigbee dongle"//:** Ensure that a zigbee dongle is properly inserted in the PC. Ensure that no other application is using the dongle. Remove and insert again.
     145
     146**The gateway do not connect to the Zigbee net:** Ensure that you have enter right extender PAN id, password, and channel frequency.
     147
     148**Not all the resources appear in the "tree list":** Ensure you have properly dimensioned the timeout variables in the configuration file according with the nodes latency. It can also happen that nodes have profiles or attributes not recognize by this version of application.
     149
     150**No publish the resources in the Resource Directory:** Ensure the proxy variables are properly adjusted depending on your internet connection, and the resource directory URL is properly adjusted.
    144151
    145152== Mobility ==
     
    190197This Gateway uses a REST interface for iterate with the Zigbee island. This interface is defined here (**PUT LINK** to the xml specification).
    191198Each resource has its one URL, which format is "//**BASE_URL/nodeMAC/X/number**//"
    192 * nodeMAC is the node MAC address in hexadecimal capital letters (16 characters).
    193 * X is the letter "s" for a sensor or "a" for an actuator.
    194 * number is the number of sensor or actuator, starting with "0".
     199* //nodeMAC// is the node MAC address in hexadecimal capital letters (16 characters).
     200* //X// is the letter "s" for a sensor or "a" for an actuator.
     201* //number// is the number of sensor or actuator, starting with "0".
    195202
    196203Over this URL the following operations can be done:
     
    201208A POST http method over the resource URL is used for adding a new subscription. In this case it should be add at the end of the resource URL the subscription identity: 
    202209"//**BASE_URL/nodeMAC/X/number/SubscriptionID**//"
    203 * SubscriptionID is whatever text allowed in the URL names.
     210* SubscriptionID is whatever text allowed in the URL names. The xml format for a subscription is **(PUT A LINK TO XML SUBSCRIPTION FORMAT)**
    204211
    205212A PUT http method over this subscription URL is used for modify it.
    206 A GET http method over this subscription URL returns the subscription xml information
    207 A DELETE http method over this subscription URL is used for deleting it
     213A GET http method over this subscription URL returns the subscription xml information.
     214A DELETE http method over this subscription URL is used for deleting it.
    208215A POST http method over this subscription URL returns an error.
    209216