Skip to main content

TP3

TP3

Edit the code

code ~/iot-lab/parts/contiki/examples/iotlab/04-er-rest-example/er-example-client.c
# edit the code

Run commands

make TARGET=iotlab-m3
iotlab-node --flash er-example-client.iotlab-m3 -l lille,m3,142
# change ~/iot-lab/parts/contiki/apps/er-coap/er-coap-engine.c
# to activate debug
# re build server
make TARGET=iotlab-m3
iotlab-node --flash er-example-server.iotlab-m3 -l lille,m3,149
nc m3-149 20000
sudo tunslip6.py -v2 -L -a m3-30 -p 20000 2001:660:4403:0498::1/64


cd /senslab/users/riotp12/iot-lab/parts/contiki/examples/ipv6/rpl-border-router
make TARGET=iotlab-m3
iotlab-node --flash border-router.iotlab-m3 -l lille,m3,30

cd /senslab/users/riotp12/iot-lab/parts/contiki/examples/ipv6/http-server
make TARGET=iotlab-m3
#iotlab-node --flash http-server.iotlab-m3 -l lille,m3,31


lynx -dump [2001:660:4403:498::a389]
# we see the http server
# we try to contact the http server
lynx -dump [2001:660:4403:499::1656]

cd /senslab/users/riotp12/iot-lab/parts/contiki/examples/iotlab/04-er-rest-example
make TARGET=iotlab-m3
iotlab-node --flash er-example-client.iotlab-m3 -l lille,m3,32
iotlab-node --flash er-example-server.iotlab-m3 -l lille,m3,31


NodesUIDtype
m3-30.lille.iot-lab.infoa389router
m3-31.lille.iot-lab.info1954server
m3-32.lille.iot-lab.info3358client
m3-33.lille.iot-lab.info3158http-server