Question
a) Download the file sheet4_ex1.zip from StudIP and extract its content into new directory under examples. After understanding the code of both the server and
a) Download the file sheet4_ex1.zip from StudIP and extract its content into new directory under examples. After understanding the code of both the server and the client, create a new COOJA simulation with one server mote (with ID 1) and two clients (with IDs 2 and 3) making sure that all nodes are within the transmission range of each other as depicted in Figure 1. Start the simulation and verify that the server mote can receive messages from only one of the clients. How can this be, even though all are within wireless range of each other? How can you change the server.c code to allow reception of packets from any mote. Hint: You may find the comments in the header file net/ipv6/simple-udp.h useful. Submit your modified code for the server.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started