How to implement Sky motes in CoAP on cooja simulation?

Description

To know about how to implement sky motes in CoAP and how to run in cooja network simulator.

   Open a file er-example-client.c
in at location:

  Contiki/ examples/
er-rest-examples

  And fix the server node address
in that file location to connect
border router.

  #define SERVER_NODE(ipaddr)uip_ip6addr
(ipaddr,0xfe80,0,0,0, 0x0212, 0x7402,
0x0002, 0x0202) // for sky mote.

4a

Open a cooja network
simulator

   Now create a nodes
in sky motes for ,

   Open motes menu >> add motes >>
create new motes type >>
sky mote

   Compilation command in terminal,

   For example sky motes: make
TARGET= sky

   Location:home/contiki/examples
/ipv6/rpl-border-router make c
onnect-router-cooja.

4b

   Sky mote information about compilation.
Right click >> mote information
(sky) >> mote type information

4c

   Start the network simulator

   Open the Contiki cooja network
simulator and create new
simulation.

   Create nodes with sky motes
for border router, server,
and client and enable required option
for simulation as we
discussed.

   Now connect the server
to router.

4d
Leave Comment

Your email address will not be published. Required fields are marked *

clear formSubmit