LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   correct Signal Strength parameter to display it in GUI ? (https://www.linuxquestions.org/questions/programming-9/correct-signal-strength-parameter-to-display-it-in-gui-4175458176/)

b56r1 04-15-2013 04:33 AM

correct Signal Strength parameter to display it in GUI ?
 
I have 3G USB dongle connected to my LFS system. I'm able to get the signal strength information(RSSI, BER) through 'AT+CSQ' AT command. I want to display this information in GUI(Graphical User Interface). What is the valid method to show this information ? I mean should i convert RSSI to dbM and show in GUI? What is the best way to show accurate signal strength in GUI? I have no clue on how to proceed further.

Hoag 04-17-2013 04:40 PM

People expect the bar to show a percentage.

RSSI isn't strictly defined, some chipsets (e.g. Atheros) have a 7-bit range, 0-127. Some of them (e.g. Cisco) return 0-100, etc.

So just find out what the range is for this chipset, convert it to a percentage if it's not already 0-100, and fill a bar appropriately. For added flair, change the color of the bar based on the % value.


All times are GMT -5. The time now is 12:09 AM.