Please help me how to write a code in Java to read the Received Signal Strength Indicator from the WiFi sensor. I tried to do so using socket programming but all my tries weren't get what I want. now I am looking in J2me I may get good answer but I see i may need some advices. Thank you
请帮我如何用Java编写代码来读取WiFi传感器的接收信号强度指示器。我尝试使用套接字编程这样做,但我所有的尝试都没有得到我想要的。现在我在寻找J2me我可能会得到很好的答案,但我发现我可能需要一些建议。谢谢
2 个解决方案
#1
0
Are you using Windows? WlanAPI should be able to tell you this information which it receives from the WiFi interface so you want to make sure that the WiFi interface on your computer supports whatever bands you need. You neeed to build your own wrappers around the native APIs though.
你在使用Windows吗? WlanAPI应该能够告诉您从WiFi接口收到的这些信息,因此您需要确保计算机上的WiFi接口支持您需要的任何频段。您需要围绕本机API构建自己的包装器。
#2
0
there is an opensource project with the name PlaceLab which i used for reading the RSSI and BSSID of Access Point for my thesis.. At that time it was hosted at http://www.placelab.org but seems like it isn't accessible anymore but there a project page at SourceForge, here: http://sourceforge.net/projects/placelab/ from where I think you can get the Java wrapper and Spotter.dll with it's source written in C++ ...
有一个名为PlaceLab的开源项目,我用它来读取RSSI和Access Point的BSSID作为我的论文。当时它被托管在http://www.placelab.org但似乎无法访问在SourceForge上有一个项目页面,在这里:http://sourceforge.net/projects/placelab/我认为你可以从中获取Java包装器和Spotter.dll,其源代码是用C ++编写的...
#1
0
Are you using Windows? WlanAPI should be able to tell you this information which it receives from the WiFi interface so you want to make sure that the WiFi interface on your computer supports whatever bands you need. You neeed to build your own wrappers around the native APIs though.
你在使用Windows吗? WlanAPI应该能够告诉您从WiFi接口收到的这些信息,因此您需要确保计算机上的WiFi接口支持您需要的任何频段。您需要围绕本机API构建自己的包装器。
#2
0
there is an opensource project with the name PlaceLab which i used for reading the RSSI and BSSID of Access Point for my thesis.. At that time it was hosted at http://www.placelab.org but seems like it isn't accessible anymore but there a project page at SourceForge, here: http://sourceforge.net/projects/placelab/ from where I think you can get the Java wrapper and Spotter.dll with it's source written in C++ ...
有一个名为PlaceLab的开源项目,我用它来读取RSSI和Access Point的BSSID作为我的论文。当时它被托管在http://www.placelab.org但似乎无法访问在SourceForge上有一个项目页面,在这里:http://sourceforge.net/projects/placelab/我认为你可以从中获取Java包装器和Spotter.dll,其源代码是用C ++编写的...