Changes between Version 21 and Version 22 of node-contiki


Ignore:
Timestamp:
Sep 16, 2010, 1:40:26 PM (14 years ago)
Author:
ikram
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • node-contiki

    v21 v22  
    276276It is assumed that the bridge is working as background process on the system. Do the following steps to run the gateway.
    277277
    278 If you do not have any one these packages, install them first.
     278* If you do not have any one these packages, install them first.
    279279
    280280{{{
     
    295295
    296296}}}
     297
     298* In case of errors in the compilation process:
     299{{{
     300        /gateway$ cd src/
     301        /gateway/src/$ nano Makefile
     302
     303>> Remove local/ from libxml2 path: Change
     304
     305INCLUDES = -I/usr/local/include/Sockets -I./plugin-skeleton -I./libBWS -I/usr/local/include/libxml2
     306
     307to
     308
     309INCLUDES = -I/usr/local/include/Sockets -I./plugin-skeleton -I./libBWS
     310-I/usr/include/libxml2
     311}}}
     312
     313Save Makefile and try to make gateway again
     314
     315{{{
     316/gateway$ ./bin/sensei-gateway -p 8000 -s sensei-oulu.broker.freenet6.net -d oulu.fi -w island
     317}}}
     318
     319* Last command starts the gateway, keep it running in the terminal.
     320
     321Turn on the node(s) that you programmed in Section 3.5. Node sends its resource description after it receives router advertisements. This time depends on radvd.conf settings, usually between 5 and 15 seconds. Gateway prints the resource description when it is received.
     322
     323== Test the SENSEI Components over the Web ==
     324
     325Open a browser; be sure that your browser supports IPv6 address.
     326
     327Test the following URL: You can see all the available resources available at this address. [http://sensei-oulu.broker.freenet6.net:8000]
     328
     329To access the available resource; use the following address, e.g.,
     330{{{
     331http://sensei-oulu.broker.freenet6.net:8000/0212-7400-10c5-51f7/p/rssi
     332Where, 0212-7400-10c5-51f7 is the EUI-64 address of the node.
     333}}}
     334
     335**p – Parameter resource
     336**a – Actuator resources
     337**s – Sensor resources
     338
     339
     340