#5, First Floor, 4th Street , Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 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.

Step-2

  Now click contiki-NG in desktop winndow.

Step-3

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

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

Step-5

  Now the simulation window will open

Step-6

  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

Step-8

  Now border router will connect to coap-server.

Step-9

  Run the simulation.

Output