rssi

Reading Bluetooth RSSI for BLE proximity profile in Android

匿名 (未验证) 提交于 2019-12-03 03:10:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am currently developing Bluetooth Low Energy proximity profile for Android and I have stumbled upon an issue regarding RSSI. In order to make proximity profile work I have to receive RSSI data with already connected device every short period. As I did some research I understand it is possible to get Bluetooth RSSI during device discovery. That doesn't work for me as the slave device doesn't advertise after connection. The other way round is digging down to HCI level and using BlueZ. It seems to be pretty low level. Has anyone had any

iOS / Too frequent rssi event from driver..?

匿名 (未验证) 提交于 2019-12-03 02:47:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: So my question came up looking an the console output of some iOS 7.0.x devices via iPhone Configuration Utility the other day. I was puzzled to see several indications that the WiFi daemon registers WiFi rssi activity out of the blue for no apparent reason (no background apps active / push messages pending and so on). These all appear as coupled records in the console in the form of: Mar xx xx:xx:xx iDevice wifid[xx] <Notice>: WiFi:[406330748.823677]: Mar xx xx:xx:xx iDevice wifid[xx] <Notice>: Too frequent(1.822344 secs) rssi event from

How to convert Wifi signal strength from Quality (percent) to RSSI (dBm)?

匿名 (未验证) 提交于 2019-12-03 01:06:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: How should I convert Wifi signal strength from a Quality in percentage, usually 0% to 100% into an RSSI value, usually a negative dBm number (i.e. -96db )? 回答1: Wifi Signal Strength Percentage to RSSI dBm Microsoft defines Wifi signal quality in their WLAN_ASSOCIATION_ATTRIBUTES structure as follows: wlanSignalQuality : A percentage value that represents the signal quality of the network. WLAN_SIGNAL_QUALITY is of type ULONG. This member contains a value between 0 and 100. A value of 0 implies an actual RSSI signal strength of -100

Scapy - retrieving RSSI from WiFi packets

匿名 (未验证) 提交于 2019-12-03 00:45:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: 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 of 'hex' values which I don't know how

RSSI影响因素

匿名 (未验证) 提交于 2019-12-02 23:36:01
1.自由空间损耗 电磁波在穿透任何介质时都会存在损耗,在空气中传播也会存在一定的能量损耗。计算公式如下:电磁波在穿透任何介质时都会存在损耗,在空气中传播也会存在一定的能量损耗。计算公式如下: Lbf=32.5+20lgF+20lgD (公式是在气温 25 度, 1 个大气压的理想情况的计算公式) Lbf :自由空间损耗( dB F :频率( MHz/GHz ) D: 距离( Km/m ) 2400MHz : Lbf=100+20lgD 5800MHz : Lbf=108+20lgD 由该公式可以得出,相同的距离, 5.8G 的衰减比 2.4G 的衰减高 8dB 。 下表为具体衰减情况 1 40 48 5 54 62 10 60 68 20 66 74 50 74 82 100 80 88 500 94 102 1000 160 168 由自由空间的损耗公式可以得出 相同的距离,频率越高,损耗越大,信号强度越小 相同的频率,距离越大,损耗越大,信号强度越小 2.接收信号强度计算 接收信号强度是指接收站设备接收到的无线信号强度。计算公式如下: RSSI= Pt+Gr+Gt-Lc-Lbf RSSI :接收信号强度 :发射功率 Gr :接收天线增益 :接收天线增益 Lc :电缆和线头的损耗 :自由空间损耗 举例:如果发射站与接收站两站点相距 100m ,设备发射功率 20dBm

Wifi Scanner which scans 20 times

半城伤御伤魂 提交于 2019-12-02 14:58:34
问题 I am trying to make wifi scanner for my project which does 20 scan when I hit the scan button. When I run the code its scans but I dont know it scans for 20 times or not and the RSSI value/wifi level keeps changing. In log it also says that you need to unregisterReciever. My MainActivity.java package com.example.scanner; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.text

How to get the RSSI of bluetooth device in real time in Android 4.3?

倖福魔咒の 提交于 2019-12-02 12:54:33
问题 I am developing an application where I have to connect to Bluetooth Low Energy device on Android 4.3. When I push the button, I can get the RSSI of the BLE device after connect to the device by using BluetoothLeService.readRemoteRssi(); But I want to get the RSSI in every second ?? I have try the Runnable, but it does't call the readRemoteRssi(); function in log. final Runnable runnable = new Runnable() { @Override public void run() { // TODO Auto-generated method stub mBluetoothLeService

How to get the RSSI of bluetooth device in real time in Android 4.3?

本秂侑毒 提交于 2019-12-02 07:19:33
I am developing an application where I have to connect to Bluetooth Low Energy device on Android 4.3. When I push the button, I can get the RSSI of the BLE device after connect to the device by using BluetoothLeService.readRemoteRssi(); But I want to get the RSSI in every second ?? I have try the Runnable, but it does't call the readRemoteRssi(); function in log. final Runnable runnable = new Runnable() { @Override public void run() { // TODO Auto-generated method stub mBluetoothLeService.readRemoteRssi(); mHandler.postDelayed(runnable, 1000); } }; Where should I type the BluetoothLeService

iOS 7 (non-jailbreak) Wi-Fi RSSI value

半腔热情 提交于 2019-12-01 21:23:47
问题 Is it possible to get Wi-Fi RSSI value on non-jailbroken iOS 7 device? I read about MobileWiFi.framework and Apple80211 functions and if I understand correct they don't work without jailbreak. I don't want to publish my app on AppStore, so PrivateAPI is allowed. 回答1: I can't find the original post from where this was taken but it worked for me on a jailed device running iOS 7.1 (doesn't work on iOS 8): #include <dlfcn.h> -(NSDictionary *)currentWiFiInfo { void *libHandle; void *airportHandle;

Bluetooth RSSI values are always in dBm in all Android devices?

会有一股神秘感。 提交于 2019-12-01 19:39:36
I'm new to Android and my app uses Bluetooth to receive data from a small load cell amplifier. While in some devices (Samsung ones) the BT signal strength (RSSI) vary as expected (from around -20, at short distance, to around -80, at 10m), in some others (one LG model, at least) the RSSI are quite weird, as around 200 (positive value!) at short distance. I'm supposing that LG phone is not giving RSSI values in dBm. In all cases Samsung tablets and LG phones were always connected to the same remote device (the amplifier sample that my customer is developing). Actually my question is if it is