Changes between Version 6 and Version 7 of ZigbeeGateway
- Timestamp:
- Sep 19, 2010, 6:13:05 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZigbeeGateway
v6 v7 127 127 [[Image(zb2senseigw_connection.JPG, 50%, center)]] 128 128 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 129 130 The 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 130 132 Details of a node selected in the tree box are shown on the right side of the screen: 131 133 * Short and MAC address, father node (for sleeping nodes). … … 137 139 For every sensor, actuator or counter (sensor) additional details are shown in the corresponding tags on the "**Node Description**" 138 140 139 140 141 The 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. 141 142 142 143 == 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. 144 151 145 152 == Mobility == … … 190 197 This Gateway uses a REST interface for iterate with the Zigbee island. This interface is defined here (**PUT LINK** to the xml specification). 191 198 Each resource has its one URL, which format is "//**BASE_URL/nodeMAC/X/number**//" 192 * nodeMACis the node MAC address in hexadecimal capital letters (16 characters).193 * Xis the letter "s" for a sensor or "a" for an actuator.194 * numberis 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". 195 202 196 203 Over this URL the following operations can be done: … … 201 208 A 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: 202 209 "//**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)** 204 211 205 212 A 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 213 A GET http method over this subscription URL returns the subscription xml information. 214 A DELETE http method over this subscription URL is used for deleting it. 208 215 A POST http method over this subscription URL returns an error. 209 216