Research breakthrough possible @S-Logix pro@slogix.in

Office Address

Social List

Execution Steps to Run CoAP Protocol in Contiki-NG

 Execute the CoAP Protocol in Contiki-NG

Contiki-NG Simulator to Execute the CoAP Protocol for IoT Networks

  • 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.
  • Open Vmware workstation player
Step-2
  • Now click contiki-NG in desktop winndow.
  • Now click contiki-NG in desktop winndow
Step-3
  • Then open file at location contiki-ng/examples/coap
  • Then open file at location contiki-ng
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
  • Server.cooja TARGET
Step-5
  • Now the simulation window will open
  • Now the simulation window will open
Step-6
  • Add server,client and border-router mote types.
  • Add server,client and border-router mote types.
  • 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
  • TARGET=sky connect-router-cooja
Step-8
  • Now border router will connect to coap-server.
  • Now border router will connect to coap-server.
Step-9
  • Run the simulation.
  • Run the simulation.
Output
  • Output of the simulation