Changes between Version 53 and Version 54 of node-contiki
- Timestamp:
- Oct 7, 2010, 9:44:05 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
node-contiki
v53 v54 223 223 #define MAC_CONF_DRIVER sicslowmac_driver[[BR]] 224 224 225 5. Copy sensei-example/ folder from svn (node-contiki/examples/sensei-example) to 226 contiki-2.4/examples/ 225 5. Copy sensei-example/ folder from svn (node-contiki/examples/sensei-example) to contiki-2.4/examples/ 227 226 228 227 * /Sensei-WP5$ cp -r node-contiki/examples/sensei-example ../contiki2.4/examples/ … … 255 254 1. If you do not have any one these packages, install them first. 256 255 257 $ sudo apt-get install g++ libssl-dev libxml2-dev256 *$ sudo apt-get install g++ libssl-dev libxml2-dev 258 257 259 258 2. Install socket++ library 260 259 261 $cd gateway/lib/Socket-2.3.7262 gateway/lib/Sockets-2.3.7$ make clean263 gateway/lib/Sockets-2.3.7$ make264 gateway/lib/Sockets-2.3.7$ sudo make install260 *$cd gateway/lib/Socket-2.3.7 261 *gateway/lib/Sockets-2.3.7$ make clean 262 *gateway/lib/Sockets-2.3.7$ make 263 *gateway/lib/Sockets-2.3.7$ sudo make install 265 264 266 265 3. Disable IPv6 firewall 267 $sudo ip6tables –F266 *$sudo ip6tables –F 268 267 269 268 4. Compile gateway code 270 269 271 gateway$ make270 *gateway$ make 272 271 273 272 * In case of errors in the compilation process: … … 291 290 5. Run the SENSEI gateway. 292 291 293 gateway$ ./bin/sensei-gateway -p 8000 -s sensei-oulu.broker.freenet6.net -d oulu.fi -w island292 *gateway$ ./bin/sensei-gateway -p 8000 -s sensei-oulu.broker.freenet6.net -d oulu.fi -w island 294 293 295 294 6. Leave gateway running in the terminal. Turn 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, in this tutorial it was set between 3 and 5 seconds. Gateway prints the resource description when it is received.