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

How to Implement COAP Communication using z1 Platform in Cooja Simulator?

COAP communication using z1 platform in cooja simulator

Steps for Implementing the COAP Communication using z1 Platform in Cooja Simulator

Description:

   The Z1 module is a general-purpose development platform for wireless sensor networks (WSN) . It is specifically designed for research and development activities. It is a platform compatible with the successful Tmoteā„¢-family motes with several enhancements that offers roughly a 2x performance in several aspects.

Step-1

   Open the file and fix the server address for Z1motes in client file Location:

   home/ contiki/ examples/ er-rest-examples/er-example-client.c

implement COAP communication using z1 platform in cooja simulator
Step-2

   Open - Contiki Cooja Network
simulator.

  Create a new simulation(ctrl+ n)

   Create modes with Z1 modes
for all three files

   border-router.c, er-example
server.c, er-example client.c.

   Open motes menu >> add motes
>> create new motes type >> Z1 motes

  To see more information
about Z1 hardware platform after
create a simulation,

   Right click on motes >>
mote tools for Z1 >> mote information
>>mote type information

Open - Contiki Cooja Network simulator
Step-3

  Change directories in terminal:

   contiki/ examples/ ipv6/
rpl-border-router.

   Now connect the router with
server.

   make connect-router-cooja

   Compilation cmds: make TARGET=z1

..After connect the server.

Change directories in terminal
Step-4
start the simulation

After completion of network simulation check transactions in motes output terminal.And also we can save the output.

start the simulation