阅读蓝牙RSSI在Android的BLE接近简介 [英] Reading Bluetooth RSSI for BLE proximity profile in Android

查看:286
本文介绍了阅读蓝牙RSSI在Android的BLE接近简介的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发Android的蓝牙低耗能接近轮廓并在有关RSSI一个问题我已经迷迷糊糊。

I am currently developing Bluetooth Low Energy proximity profile for Android and I have stumbled upon an issue regarding RSSI.

为了使接近轮廓的工作,我必须接受RSSI数据与已连接的设备每隔一小段时间。

In order to make proximity profile work I have to receive RSSI data with already connected device every short period.

正如我做了一些研究,我理解它有可能获得蓝牙RSSI设备发现过程中。这并没有为我工作作为从设备不连接后公布。

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.

反过来被挖掘到HCI水平和使用的BlueZ。这似乎是pretty的低水平。有没有人有任何的经验吗?

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?

有没有人见过在Android上开发出了接近个人资料?

Has anyone seen a proximity profile developed on Android?

推荐答案

您可以得到的数据和放大器; RSSI的设备扫描回调。参阅的BluetoothLeGatt样品

You can get the data & RSSI in device scan call back. Refer to the BluetoothLeGatt sample.

这篇关于阅读蓝牙RSSI在Android的BLE接近简介的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆