[英]how to find the signal strength and mac address of the connected access point to which my device is connected at run time, programatically?
Im trying to identify the access point to which my device is connected and the signal strength of the connection. 我试图识别我的设备连接的接入点和连接的信号强度。 If you could suggest some libraries in java it would help a lot. 如果您可以在java中建议一些库,那将会有很大帮助。
FYI I looked around and found Access point class java doc http://docs.oracle.com/javame/config/cldc/opt-pkgs/api/accesspoint-3.3/com/oracle/mobile/io/accesspoint/package-summary.html 仅供参考,我环顾四周,找到了Access point class java doc http://docs.oracle.com/javame/config/cldc/opt-pkgs/api/accesspoint-3.3/com/oracle/mobile/io/accesspoint/package-summary html的
but couldn't find jar file to download. 但找不到要下载的jar文件。
If there is any other way in java ,suggestions are always welcomed (and this case needed :P ) 如果在java中有任何其他方式,建议总是受欢迎(这种情况需要:P)
In Linux, the RSSI does not traverse beyond the device driver (unless you use libpcap or a similar lib to capture in user-space). 在Linux中,RSSI不会遍历设备驱动程序(除非您使用libpcap或类似的lib在用户空间中捕获)。 Moreover, not all chips/drivers pass the RSSI to the Kernel. 而且,并非所有芯片/驱动程序都将RSSI传递给内核。
So, either capture some packets or (depending on your chip/driver) write a small Kernel module that captures the RSSI. 因此,要么捕获一些数据包,要么(取决于您的芯片/驱动程序)编写一个捕获RSSI的小内核模块。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.