views:

97

answers:

2

If i change place of Laptop from p1 to p2 , i need function in C++ or Java to calculate the amount or number or power of signals came from router. This function will help me to find the different in (amount Or number Or power) between two position , THANKS.

( Note : i am so sorry about first questions , because i have bad english , and this Q came with translator with editing from me).

A: 

There is no portable function for that, because it differes HEAVILY across operating systems. In Linux, you can ioctl on the device file, on windows... no idea, sorry.

I think for these kind of questions, google is a good match - try searching for "wireless library java c++", or "c++ wifi strength", play around a bit.

LukeN
Ah, so the question is not how to calculate the signal strength yourself for some kind of simulation, but how to query the system for it?
Jefromi
Exactly. You HAVE the query the system for it, because it's the system's job to manage hardware, and if you need access to some details of that hardware, you have to ask the system!
LukeN
ahaaa !! ( in my language = i understand :D ) , ok , LukeN, Jefromi , Salgar , Kevin Panko , THANKS power (google) to interested and help me , sultan..( i will search , and waiting any new answer here)
sultan
@LukeN: I do understand that you have to ask the system. I misunderstood the question as asking for a simple physical formula - though unfortunately walls make it pretty hard to get even a good first-order approximation.
Jefromi
+1  A: 

This article shows how to query Windows' WMI to get information about Wi-Fi signal strength.

Kevin Panko
thanks brother Kevin Panko , i will see , and searching , again : thnks brother :)
sultan