I’m new in contiki os and Cooja simulator i want to know how i can sense the network so
- If there is two nodes start communication
- The third node catch the communication and know the IP address for the sender.
I found and try this code but what should i add to check the network and the channel do the sensing
if(NETSTACK_RADIO().channel_clear()) {
printf("channel not busy\n");
} else {
printf("channel busy\n");
}