Reading RSSI using MANET MANGER

111 views
Skip to first unread message

Hana'a AL-Theiabat

unread,
Feb 11, 2014, 2:29:15 AM2/11/14
to spa...@googlegroups.com
,Hii all

I have just interested in the Manet Manger APP, actually it is wonderful  
But I have some questions:

I have noticed that all the built on app and depend on Manet needs to be the Manet app as require running in the device  -- 
?mmmm do we have to be like this the process 
what about the RSSI - received signal strength ---
>> how to measure this RSSI between peers ?
okay, I mean when A send to B
then B has capability to measure the RSSI coming from A
Any idea ? about this ?

THANKS in advance

Jeffrey Robble

unread,
Feb 11, 2014, 12:14:47 PM2/11/14
to spa...@googlegroups.com
Hi Hana'a,

Yes, all Manet apps (Manet Visualizer, Manet Voice Chat, etc.) depend on the Manet Service that is installed with the Manet Manager app. The Manet Service puts the device in ad-hoc mode, which is necessary. 

In general, the Manet Service uses the OLSR routing protocol. OLSR uses a link quality metric instead of the RSSI. 

You can obtain a list of peers by using ManetHelper.sendPeersQuery() and handling the ManetObserver.onPeersUpdated() callback. Each peer is represented by a Node object and has an "edges" set. Each edge represents a link between two peers. Each edge has a "cost" value that is currently set to Infinity. In the future we'd like to make that equal to the OLSR link quality metric.

- stoker


--
You received this message because you are subscribed to the Google Groups "Smart Phone Ad-Hoc Networks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spandev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hana'a AL-Theiabat

unread,
Feb 11, 2014, 1:36:06 PM2/11/14
to spa...@googlegroups.com
Thanks Stoker for your response :)

As I understand from your answer that there is feature at the MANET to measure the RSSI between peers ? right ?

another thing I want to ask, when you said that you can see the info for all peers, and get the edge info 
But what about this situation:

node A send message to node B, then at the A node side I need just to get the info for the received message node which is B
As I ask earlier in my question that I need to measure the RSSI of the received message from B at A node.

So is there any chance to access MANET library at the C files which there is iw and iwconfige AP used,  and these As I know from Linux that there exist features to measure RSSI.


THANKS IN ADVANCE

Teco Boot

unread,
Feb 11, 2014, 2:25:18 PM2/11/14
to spa...@googlegroups.com
olsrv2 has data rate measurement.

olsrd (v1) has experimental rssi feedback, you have to enable and recompile.
see README-LINUX_NL80211.txt for details.

switch to olsrd list if you have more interest in olsrd.

Teco

Hana'a AL-Theiabat

unread,
Feb 11, 2014, 2:54:02 PM2/11/14
to spa...@googlegroups.com
Hello Teco,

Thanks for your reply,

Please, I have some questions: 
where to get the OLSRD version 2 ?
I see from Span GitHub this folder for olsrd

where is the src for Android  I can't see the Android project to import in Eclipse.

and what about this  README-LINUX_NL80211.txt ,, where can I see this file ?

 the last question, is the olsrd the same behavior of MANET, I mean the flexibility and the Adhoc connection,
And you said that there is exist RSSI measuring feature. Right ? 

Teco Boot

unread,
Feb 11, 2014, 4:46:38 PM2/11/14
to spa...@googlegroups.com
olsr.org.
It exists, but alfa and not fully tested. Better: not tested.
On Android, you have to check if it works well or compile well.

Please switch to olsrd mailing list.

Teco

Hana'a AL-Theiabat

unread,
Feb 12, 2014, 4:38:48 PM2/12/14
to spa...@googlegroups.com
Hello stoker,

you said that MANET offer the Cost between edges, and suppose they infinity from now
but when connect some devices and see the Routing info 
there are variable value for the Cost and they vary not fixed

So what does this Cost represent ?



بتاريخ الثلاثاء، 11 فبراير، 2014 UTC+2 7:14:47 م، كتب stoker:

Hana'a AL-Theiabat

unread,
Feb 12, 2014, 4:41:03 PM2/12/14
to spa...@googlegroups.com
Hello Teco

mmm  I have used this before, and it didn't work with me
is there any chance to modify MANET to measure RSSI ?
to access the low level C files ?

Jeffrey Robble

unread,
Feb 12, 2014, 5:15:18 PM2/12/14
to spa...@googlegroups.com
Hi Hana’a,

Sorry, no. The Manet Manager doesn’t measure the RSSI. The Manet Manager measures link quality, which is related to the number of dropped packets over a link between peers:


The Android framework supports getting the RSSI:

That code will not work with the Manet Manager for two reasons. 

1. The Manet Manager does not use the Android framework to control the Wi-Fi. It works at a lower native level. 

2. That code provides the RSSI between the phone and an access point. There are no access points in a mesh network, only peer nodes.


The Manet Manager uses iwconfig. Not all iwconfig features are supported. I don’t believe that it shows RSSI in ad-hoc mode. It would need to show the RSSI for each peer to be useful. I don’t think it does that.

- stoker

Hana'a AL-Theiabat

unread,
Feb 12, 2014, 5:29:18 PM2/12/14
to spa...@googlegroups.com
THANKS Stoker,

I know there is WIFI MANGER at android API  to measure the  RSSI toward the access point. but as you said this is not my point 
I need to measure it between peers.

Regarding MANET, they use iwconfig , but I see in their files they also support iw , right ?
I think there is way to use the iw or commands at low level to access the kernel,
why not to access the low level and add this feature to MANET ? 
what do you think ?

Jeffrey Robble

unread,
Feb 13, 2014, 6:15:10 PM2/13/14
to spa...@googlegroups.com
The Manet Manger currently doesn't use iw. In the future we'd like to switch to iw instead of iwconfig because iwconfig is old and outdated. We haven't made the switch yet. One of the reasons is because we want to continue supporting older devices that don't have iw.


--

rohit patil

unread,
Oct 28, 2014, 1:26:13 AM10/28/14
to spa...@googlegroups.com

hello,
I have implemented code to get rssi value from wifi, it works fine with wifi n hotspot, but when this code is integrated with manet manager application, it gives an error "unexceptionally closed", instead of wifi service I used manet service from span but still it gives same error....
reply soon....
Reply all
Reply to author
Forward
0 new messages