Hello everyone, I am working with arduino UNO and the WiFly module ( precisely this one
I'd want to setups a wifi ad-hoc network of arduinos, where every one knows the RSSI of each others. This because I need that every wifi node could guess the distance of the other ones (of course without physical barriers between them).
I have started creating the ad hoc network from my arduino and connecting two wifi end point (just two wifi cards from my pc) with it.
I have seen that the WiFly module provides the command "show rssi" that works properly but only from one end point at once: if I connect one card to the arduino and I call "show rssi" many times, it gives me the correct rssi from the card that I have just connected, but when I connect the second one and from the arduino I call "show rssi" many times, it gives me the rssi from this second one all the times.
If I disconnect and reconnect again the first card to the arduino, with "show rssi" I get the rssi from the first card (so the just connected one).
You can see that I am able to connect them with the arduino, send and get packets to/from the network, and get the correct rssi from the wifi cards, but I can't find a way to distinguish them.
Now I am guessing if what I need is feasible and what happens in the network when I connect/reconnect a wifi card in the ad-hoc network, because the arduino seems like to "switch" the card for the rssi retrieval.
Can someone help me?