Amazing technological breakthrough possible @S-Logix pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

Simulation Steps to implement CoAP using Sky motes in Cooja Simulation

Sky motes in CoAP on cooja simulation

Implementing CoAP Protocol on Contiki Cooja Simulator

Description:

   Tmote Sky is a mote platform for extremely low power, high data-rate sensor network applications. It has integrated sensors, radio, antenna, microcontroller, and programming capabilities.

Step-1

   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.

How to implement Sky motes in CoAP on cooja simulation
Step-2

  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.

Open a cooja network simulator
Step-3

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

Sky mote information about compilation
Step-4

   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.

Start the network simulator