Signal strength from RSSI of last packet received

Questions specifically regarding the WiShield 1.0 family driver.

Re: Signal strength from RSSI of last packet received

Postby John_Ryan » Mon Jun 14, 2010 8:16 pm

I've searched everywhere for rssi_max but there's nothing in the zerog 2100 documentation.

Provided max is known, then (reading / rssi_max x 100) equals "approximately" the signal strength percentage.

I'm assuming the rssi_max is 256, so our 130 / 136's is roughly 50 percent, give or take.

But its weird we're both getting 130 / 136 .. a coincidence perhaps?

When I get a moment I'll move the shield right in front of the router and see how that affects the reading.
John_Ryan
 
Posts: 155
Joined: Thu Jun 04, 2009 11:24 pm

Re: Signal strength from RSSI of last packet received

Postby spidermonkey04 » Tue Jun 15, 2010 10:59 am

Found it! The valid range for this number is 100-200. :D

Code: Select all
ROM FAR tRssiQuanta g_rssiTable[MAX_RSSI_TABLE_SZ] = { {200,181},
                                                       {180,161},
                                                       {160,141},
                                                       {140,121},
                                                       {120,100} };

But this still makes me wonder why it's 2 bytes. I saw something on the microchip site about LSI (Link State Indicator) plus I noticed ONE time that when my connection dropped, this RSSI number whas around 35,000. So maybe the first byte is this LSI? Back to the Docs...
---Jared
spidermonkey04
 
Posts: 66
Joined: Thu Oct 29, 2009 6:45 pm

Re: Signal strength from RSSI of last packet received

Postby John_Ryan » Tue Jun 15, 2010 9:41 pm

Superb!

So my 136 now translates to 68% - which is closer now to my belkin wireless utilities 81% signal strength.
John_Ryan
 
Posts: 155
Joined: Thu Jun 04, 2009 11:24 pm

Re: Signal strength from RSSI of last packet received

Postby GregEigsti » Wed Jun 16, 2010 11:20 am

Great work spidermonkey04! I really appreciate your work and followup on this! I'll implement the math to get a percentage value on the client side (Mac OS app) for the kitchen lighting project.

Thanks for contributing and for being a valuable asset to the forums!
Greg
Check out the wiki!
uIP Stack Docs
Compatible Access Point List
WiShield user contrib branch - DNS, DHCP, AP Scanning, bug fixes, etc.
SlackLab.org - My geek projects blog.
User avatar
GregEigsti
 
Posts: 1067
Joined: Sun Aug 02, 2009 5:23 pm
Location: Sammamish WA USA (near Seattle)
  • Website

Previous

Return to WiShield 1.0 Driver

Who is online

Users browsing this forum: No registered users and 1 guest