Hi all,

I'm a OpenWrt newbie (and programming in general), but I have few questions:

I want my first computer (android device actualy) to send periodicaly udp's frames to 5 WRT54GL with openWrt. This works well with a java program

Then I want my 5 WRT54GL to receive the UDP frames, calculate their signal strenth, the get the data part of the udp frame and send a new udp frame with a new data :"old-data + signal strenth".

Finaly a second computer will get these new frames and annalyse them to localise the firsyt computer in the wifi network. (it aloso works well with a java program)



So my problem is :
1) How can I create a udp listener in the WRT54GL to get the initial frames?
        // I think I should put a C++ program in /home, with a C++ udp listener, is that right? I have never used C++ but I shouldn't be      so hard


2) How can I get the signal strenth from this frame?
     // I found the "wl rssi $REMOTE_WIFI_MAC", but can I put this command in the middle od the C++ program? and can I foud a way to avoid the  $REMOTE_WIFI_MAC since I dont want to create a database with all the wireless devices of the network.
2) How can I send a new frame?


by advance, thank you