rssi

Scapy - retrieving RSSI from WiFi packets

人走茶凉 提交于 2020-01-10 19:49:39
问题 I'm trying to get RSSI or signal strength from WiFi packets. I want also RSSI from 'WiFi probe requests' (when somebody is searching for a WiFi hotspots). I managed to see it from kismet logs but that was only to make sure it is possible - I don't want to use kismet all the time. For 'full time scanning' I'm using scapy. Does anybody know where can I find the RSSI or signal strength (in dBm) from the packets sniffed with scapy? I don't know how is the whole packet built - and there are a lot

Convert RSSI to distance

自闭症网瘾萝莉.ら 提交于 2020-01-05 10:28:14
问题 how to convert RSSI to distance?. i have three coordinate RFID reader : Reader1(0,0). reader2(0,8), reader3(8,5). Transponder get RSSI, 156 from reader1, 115 from reader2 and 124 from reader3. how i can get distance between Transponder to reader1, reader2 and reader3? also coordinate of Transponder. Signal strength from RFID Reader is 0-255. 255 if so close, 0 if so far. i got RSSI formula from internet, but i confused to translate the parameters of A and NAi. can u help me? thx u :-) 回答1:

Convert RSSI to distance

不羁岁月 提交于 2020-01-05 10:27:19
问题 how to convert RSSI to distance?. i have three coordinate RFID reader : Reader1(0,0). reader2(0,8), reader3(8,5). Transponder get RSSI, 156 from reader1, 115 from reader2 and 124 from reader3. how i can get distance between Transponder to reader1, reader2 and reader3? also coordinate of Transponder. Signal strength from RFID Reader is 0-255. 255 if so close, 0 if so far. i got RSSI formula from internet, but i confused to translate the parameters of A and NAi. can u help me? thx u :-) 回答1:

Linux Bluetooth l2ping with signal strength (without connecting?)

走远了吗. 提交于 2020-01-03 15:10:03
问题 For any Linux BlueZ/BT experts here: I'm looking for a way to "ping" known BT devices (known BDADDR) and if they are in range I'd like to know the approximate signal strength. I know that I could first run l2ping, then establish a connection to the device and finally check the rssi or link quality if the connection worked without pairing first. However what I'm looking for is a way of getting the signal strength without connecting to the device first. Perfect would be a signal strength

Linux Bluetooth l2ping with signal strength (without connecting?)

我的未来我决定 提交于 2020-01-03 15:09:44
问题 For any Linux BlueZ/BT experts here: I'm looking for a way to "ping" known BT devices (known BDADDR) and if they are in range I'd like to know the approximate signal strength. I know that I could first run l2ping, then establish a connection to the device and finally check the rssi or link quality if the connection worked without pairing first. However what I'm looking for is a way of getting the signal strength without connecting to the device first. Perfect would be a signal strength

i schedule a Timer to read RSSI using readRSSI function ,but the timer stops when my app go into background

旧城冷巷雨未停 提交于 2020-01-01 18:12:34
问题 I schedule a Timer to read RSSI using readRSSI function ,but the timer stops when my app go into background. Maybe there is a good method to get RSSI value from peripheral's notification when app comes into background . But I don't know how to do. Could anybody help me? Anyone has a better method? 回答1: I have got the same problem, and I have two idea. 1. First, you should have some service that got corebluetooth delegate periodly. F or my example, I have a battery service that I can got

Trying to use the AT command with an Huawei E3531

非 Y 不嫁゛ 提交于 2020-01-01 05:50:09
问题 I want to read the RSSI of my Huawei E3531. So I found some documentations that show an easy way to get those informations using the AT command. The problem is that I can't even connect to my Huawei E3531. I mean, it works really well as a modem. I have a good connection. But when I am looking for the device in dev, I just find 2 devices ("sdb" and "sgm") which seem to be 2 disc, but nothing to do with serial port. So I tried somethin I found: -After I plugged the Huawei, I find the Idvendor

How to get SSID and RSSI for Win7 using C#

妖精的绣舞 提交于 2019-12-30 09:55:07
问题 I am very new to Win7 and WMI. Please advice me where to see for active access point from WiFi and how to get ssid/rssi for each access point. I have use: ManagementClass mc = new ManagementClass("root\\WMI", "MSNdis_80211_ServiceSetIdentifier", null); ManagementObjectSearcher searcher1 = new ManagementObjectSearcher(@"root\wmi","SELECT * FROM MSNdis_80211_BSSIList"); but I got 0 results. Is this class support Win7? Anybody can help? 回答1: I had a similar problem where I needed to get the SSID

C#Json转DataTable

人盡茶涼 提交于 2019-12-30 03:50:45
需求:有一个log文件,需要整理成Excel,日志文件里面的数据都是json字符串 思路是,把Json字符串转换成DataTable,然后导出到Excel 在网上找了一些资料,整理了以下三种类型的Json 一、Json转换DataTable 1.处理简单Json: [{"mac":"20:f1:7c:c5:cd:80","rssi":"-86","ch":"9"},{"mac":"20:f1:7c:c5:cd:85","rssi":"-91","ch":"9"}] /// <summary> /// Json 字符串 转换为 DataTable数据集合 /// </summary> /// <param name="json"></param> /// <returns></returns> public static DataTable ToDataTableTwo(string json) { DataTable dataTable = new DataTable(); //实例化 DataTable result; try { JavaScriptSerializer javaScriptSerializer = new JavaScriptSerializer(); javaScriptSerializer.MaxJsonLength = Int32.MaxValue; /

How to update wifi RSSI values without a click button

岁酱吖の 提交于 2019-12-25 04:19:23
问题 Basically, I can list the values of RSSI in a ListView through a SimpleAdapter. public class ActivityListarRedes extends MainActivity { @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.listar_redes); List<Map<String, String>> l = listaRedes(); String[] from = { "ExampleId", "ExampleName" }; int[] to = { android.R.id.text1, android.R.id.text2 }; SimpleAdapter ad = new