To read RSSI from WiFi Sensor

老子叫甜甜 提交于 2019-12-01 12:47:24

问题


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


回答1:


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.




回答2:


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++ ...



来源:https://stackoverflow.com/questions/7142485/to-read-rssi-from-wifi-sensor

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!