从WiFi Sensor读取RSSI [英] To read RSSI from WiFi Sensor
问题描述
请帮助我如何用Java编写代码来读取WiFi传感器的接收信号强度指示器。
我尝试使用套接字编程这样做,但我所有的尝试都没有得到我想要的。现在我在寻找J2me我可能会得到很好的答案,但我发现我可能需要一些建议。
谢谢
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
推荐答案
您使用的是Windows吗? WlanAPI应该能够告诉您从WiFi接口收到的这些信息,因此您需要确保计算机上的WiFi接口支持您需要的任何频段。您需要围绕本机API构建自己的包装器。
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.
这篇关于从WiFi Sensor读取RSSI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!