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 Run CoAP Protocol in Contiki-NG?

Description

CoAP is a constrained application protocol. CoAP uses UDP as the underlying network protocol. CoAP is basically a client-server IOT protocol, where the client makes a request and the server sends a response to it.

To know about how to run CoAP application in Contiki-NG Cooja network simulator tool.

Step-1

Open Vmware workstation player and provide login password:user.

How to Run CoAP Protocol in Contiki-NG
Step-2

  Now click contiki-NG in desktop winndow.

Open Vmware workstation player and provide login password:user
Step-3

  Then open file at location contiki-ng/examples/coap

Now click contiki-NG in desktop winndow
Step-4

  Then Go for contiki-ng/examples/coap/coap-examples-server. Copy the path and paste into terminal window

  Next provide These two commands->make clean->make coap-example-server.cooja TARGET=cooja

open file at location contiki-ng/examples/coap
Step-5

  Now the simulation window will open

hen Go for contiki-ng
Step-6

  Add server,client and border-router mote types.

simulation window will open Add server,client and border-router mote types
Step-7

  Connect border-router to server.copy the path at file location:contiki-ng/examples/rpl-border-router.

  Then open another terminal window for connecting to server.Provide command->make TARGET=sky connect-router-cooja

Connect border-router to server.copy the path at file location
Step-8

  Now border router will connect to coap-server.

open another terminal window for connecting to server
Step-9

  Run the simulation.

Now border router will connect to coap-server
Output
Run the simulation