Changes between Version 7 and Version 8 of NativeGateway
- Timestamp:
- Nov 4, 2010, 8:42:25 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NativeGateway
v7 v8 56 56 Command line options: 57 57 -p HTTPD port (default 8000) 58 -s HTTPD hostname for inserting in resource desciptions (default localhost)58 -s HTTPD hostname for inserting in resource desciptions as &ipaddress (default localhost) 59 59 60 60 The SENSEI HTTP server runs by default on port 8000. Just browse … … 70 70 == Sensei Plugin == 71 71 72 The SENSEI Plugin handles BinaryWSinterfaces to 6LoWPAN nodes. The plugin automatically collects published resource descriptions from nodes, registers them with HTTP resource access interfaces, and then handles proxy transformations in both directions.72 The SENSEI Plugin handles CoAP interfaces to 6LoWPAN nodes. The plugin automatically collects published resource descriptions from nodes, registers them with HTTP resource access interfaces, and then handles proxy transformations in both directions. 73 73 74 74 The plugin prepends HTTP resources with /node{ID} where ID is a generated unsigned integer. Thus a resource from a sensor node on URL /s/temp would be published as e.g. /node1/s/temp to the RD. There is a 1-1 mapping between each node{ID} and the IPv6 address of a 6LoWPAN node. … … 84 84 * /stats - XML output of statistics from the plugin 85 85 * /rd - List of all resource descriptions published by the plugin 86 * /localhost/s/temp - Test resource which always requests /s/temp from ::1 (for use with binaryWS_test)86 * /localhost/s/temp - Test resource which always requests /s/temp from ::1 87 87 88 88 === eRPI Interface === … … 143 143 Requests coming from the RAI interface are matched with registered URLs (registered from resource descriptions sent by nodes), and then as CoAP requests to the corresponding WSAN node and URL. The response is returned to the resource user. When caching is implemented a cache for each resource will be checked first before making a CoAP request. 144 144 145 Sensor nodes may also make binaryWSrequests outside the WSAN island (proxied to HTTP) by including a full FQDN URL (www.example.com/test) in the URL field of the CoAP request header. This feature is not yet supported.145 Sensor nodes may also make CoAP requests outside the WSAN island (proxied to HTTP) by including a full FQDN URL (www.example.com/test) in the URL field of the CoAP request header. This feature is not yet supported. 146 146 147 147 Sensor nodes may send evenets without a subscription to a notification collector on the gateway by POSTing to /notify[1]. The evenet is POSTed to a default event collection service on the SENSEI Management Web-page. The body may be any O&M content or even text/plain.