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

Office Address

Social List

How to send data between server and client using contiki-NG?

send data between server and client using contiki-NG

send data between server and client using contiki-NG

  • Description:
    In this example, UDP is implemented on top of RPL. An LLN comprises a UDP server, which accepts available packets, and several UDP clients, which send packets periodically to the server through single-hop or multi-hops. Using this sample, you will learn the basic idea of RPL and operate UDP communications easily without manipulating lower layer functions.
    Steps for the create the IoT network scenario
Step-1
  • Create a new mote
  • Create cooja mote1 for udp-server.c
    Create cooja mote1 for udp-server.c
Step-2
  • Create sky mote2 for udp-client.c
    Create sky mote2 for udp-client.c
Step-3
  • Data transmission
  • Data transmission
    Output of the transmited data