简体   繁体   English

如何在编程运行时找到我的设备连接到的连接接入点的信号强度和mac地址?

[英]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.

相关问题 如何获取连接到热点的设备的Wi-fi Mac地址并将其保存到数据库中? - How can i get the Wi-fi Mac Address of the device that are connected to my hotspot and save it to my database? 如何在Android中获取Wifi连接设备的MAC地址 - how to get MAC Address of Wifi connected device in android 如何获得有关连接到Android Phone的wifi信号强度的信息? - How do I information about signal strength of wifi connected to my Android Phone? 如何找到通过USB连接到android设备的台式机的IP地址 - How to find IP address of desktop pc which is connected to android device through USB 如何查找连接到套接字的Wi-Fi设备的MAC地址 - How to find the MAC address of Wi-Fi devices connected to socket 如何访问使用蓝牙连接的设备的电话簿? - How to get access to phone book of device which is connected using Bluetooth? 如何在android中准确扫描所有设备连接到wifi的IP和Mac地址? - How to scan IP and Mac address of all Device Connected to wifi in android accurately? 找到连接到同一Wifi网络的所有设备的MAC地址 - Find the MAC address of all devices connected to the same Wifi network 如何查找连接到服务器的客户端的IP地址? - How to find the IP Address of Client connected to Server? 使用 flutter 获取我的手机连接到的 wifi 路由器的 mac 地址 - Get mac address of the wifi router my phone is connected to, using flutter
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM