rssi

Bluetooth scan C#

此生再无相见时 提交于 2019-12-04 21:28:36
I'm developing a C# WinForms app on Windows 10. I want to perform a Bluetooth environment scan and get devices list all around the PC. I also want the RSSI of each device. I have tried 32feet library but I can't access RSSI. Have you a solution or should I migrate to WPF/UWP? ok, I have found a solution here . You first have to install Windows10 development kit. Then in your project you have to add this library: C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmd Or you can install the "UwpDesktop" NuGet Package. This works with Console app, Winforms, WPF and UWP. Here is a

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

穿精又带淫゛_ 提交于 2019-12-04 17:42:55
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? 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 delegate with didUpdateValueForCharacteristic periodly. Second, set readRSSI function in

Reading Bluetooth RSSI for BLE proximity profile in Android

霸气de小男生 提交于 2019-12-04 09:55:44
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 experience with that? Has anyone seen a proximity profile

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

陌路散爱 提交于 2019-12-04 03:41:40
问题 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

Is there a way to explicitly control WiFi scan intervals in Android?

一个人想着一个人 提交于 2019-12-04 02:46:44
I am doing my Master thesis at the moment on WiFi positioning and in order to test my algorithms I needed to collect some data. To do this I have written a short and very simple program for Android which simply collects the RSSI for all availible access points found by each scan and saves them to file. I have set up a BroadcastReceiver that listens on the event WifiManager.SCAN_RESULTS_AVAILABLE_ACTION and I use a Timer , here called tim, to initiate scans with a WifiManager , called wifi as follows: tim.schedule(new TimerTask(){ @Override public void run(){ wifi.startScan(); } }, 0, 1000);

how to find Signal Strength of connected bluetooth devices

被刻印的时光 ゝ 提交于 2019-12-03 20:14:52
In one of my applications, I need to display all the wi-fi and Bluetooth devices which are paired to my mobile, and their signal strengths. With wi-fi, it's okay for me to display signal strength (RSSI). But I have a problem with the Bluetooth. I searched for some method which is suitable for this task; I found one method: intent.getShortExtra(BluetoothDevice.EXTRA_RSSI, Short.MIN_VALUE); But it is displaying only the new device RSSI which is not paired to my mobile. Is there any idea for getting all Bluetooth devices RSSI? Brad Hein For bluetooth RSSI, you can read RSSI for connected devices,

Trying to use the AT command with an Huawei E3531

依然范特西╮ 提交于 2019-12-03 17:23:05
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 and Idproduct doing an lsusb. -They I do a sudo modprobe usbserial vendor=0X"Idvendor" product=0X

read rssi of bluetooth low-energy beacon using bluez5

百般思念 提交于 2019-12-03 13:25:11
问题 I want to read the RSSI simultaneously of an bluetooth lowenergy beacon, on 2 bluetooth le usb adapters. I'm using a fedora 20 system with bluez 5 and the LogiLink BT0015 adapters (CSR chip). My code works like a charm when only one adapter is connected, but after connecting the second adapter i'm receiving input/output errors. Does anybody know what's wrong with the code? Is there another way to read out the RSSI? #include <rssi.h> #include <stdio.h> #include <string.h> #include <errno.h>

iOS / Too frequent rssi event from driver..?

梦想与她 提交于 2019-12-03 08:58:08
问题 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

read rssi of bluetooth low-energy beacon using bluez5

自古美人都是妖i 提交于 2019-12-03 03:30:30
I want to read the RSSI simultaneously of an bluetooth lowenergy beacon, on 2 bluetooth le usb adapters. I'm using a fedora 20 system with bluez 5 and the LogiLink BT0015 adapters (CSR chip). My code works like a charm when only one adapter is connected, but after connecting the second adapter i'm receiving input/output errors. Does anybody know what's wrong with the code? Is there another way to read out the RSSI? #include <rssi.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <bluetooth/bluetooth.h> #include <bluetooth/hci.h> #include <bluetooth/hci_lib.h> #include <time