Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
BLE:使用 Android / iOS 读取长特征值
对于正常的特征读取 仅读取 MTU 大小 20 字节 的数据 我的客户将提供更大尺寸 超过 100 字节 的特征 我看到 BLE 提供了 长读取 功能 可以读取直到达到特征的大小 https bluegiga zendesk com ent
Android
ios
bluetoothlowenergy
androidbluetooth
iosbluetooth
三星Android BLE多次读/写
在 Samsung 4 2 到 4 3 BLE 应用程序迁移指南中 http developer samsung com ble http developer samsung com ble 它说 堆栈和 F W 的同步性质没有受到影响 那
Android
Bluetooth
bluetoothlowenergy
androidbluetooth
characteristics
Android:自动重新连接 BLE 设备
我的目标是让 Android 设备重新连接到之前连接过的 BLE 设备无需用户干预与经典 BT 配对设备的操作方式相同 甚至可以通过电源循环工作 BTLE 设备的想法之一是节省服务 绑定和启用状态 以便重新连接非常快并且在外设上消耗很少的功
Android
bluetoothlowenergy
androidbluetooth
扫描大量BLE标签
我一直在寻找在一次扫描中扫描大量 BLE 标签 StickNFind 的可能性 我注意到 当我扫描 10 秒时 我可以轻松检测到大约 20 个 BLE 当我将扫描间隔增加到 30 秒左右并尝试扫描大量 BLE 标签时 例如200 个标签 我
bluetoothlowenergy
androidbluetooth
如何在 Android 中强制蓝牙 LE“正常工作”配对
我有一个运行 GATT 服务器的嵌入式系统 我尝试通过 Android 连接该服务器 任务很简单 连接到 GATT 服务器 导航特征并验证读 写功能 问题是当我尝试连接 Android 应用程序时 它尝试与 Passkey 而不是 Just
Android
Bluetooth
bluetoothlowenergy
androidbluetooth
对于 Android Nexus 5,调用 getBluetoothService() 时无需使用 BluetoothManagerCallback
我将实现一个模块 用于通过蓝牙从 Android 智能手机向 HC 06 发送命令 当执行时 出现以下异常 并且找不到标题所示的错误消息的线索 请问修改方法可以吗 异常日志消息 07 29 13 51 37 701 W BluetoothA
androidbluetooth
connectiontimeout
SPP
BroadcastReceiver 和 ACTION_BOND_STATE_CHANGED 在 Android 9.0 中部分工作
我试图通过广播接收器捕获与 android 的配对过程中的事件 看起来 BluetoothDevice BOND BONDING是有效的 但是BluetoothDevice BOND BONDED not 在旧的 Android 版本中 此
Android
androidbluetooth
检查用户是否授予访问附近设备的权限
我正在阅读文档here https developer android com guide topics connectivity bluetooth permissions用于专门针对 Android 12 的 Android 附近权限
Android
kotlin
androidpermissions
androidbluetooth
Android12
Oreo (8.1) 中的设备蓝牙地址
我需要获取设备的蓝牙MAC地址 在 Android 6 之前 这很简单BluetoothAdapter getDefaultAdapter getAddress 之后我们不得不使用一个简单的解决方法 String macAddress an
Android
Bluetooth
androidbluetooth
如何从蓝牙 LE 设备获取数据
我有一台支持蓝牙 LE 的蓝牙条形码扫描仪 我试图在扫描时从中获取条形码信息 我可以正常连接onServicesDiscovered被叫到我的BluetoothGattCallback但我不知道从那里该做什么 通过经典的蓝牙连接 您将获得I
Android
bluetoothlowenergy
androidbluetooth
蓝牙连接无需配对
连接蓝牙设备的正常方式是通过配对 我们需要以非正常方式连接到设备 仅使用蓝牙 MAC 地址 我们不希望系统提示输入 PIN 我们知道该设备支持此技术 但我们找不到在 Android 上执行此操作的方法 缩写代码如下所示 String mac
Android
Bluetooth
androidbluetooth
通过蓝牙打印机 Android 打印 Pdf 文件
在我的项目中需要通过蓝牙打印机打印Pdf文件 我写了一个代码通过pdf打印 它对于文本来说很好 但我想在蓝牙打印机上打印PDF文件 我的打印文本的java代码 Override public void onCreate Bundle sav
Android
Bluetooth
androidbluetooth
androidprintframework
如何检查与设备的蓝牙连接是否已断开?
我想知道我与设备的蓝牙连接何时断开 我发现这个来检查 IntentFilter filter1 new IntentFilter BluetoothDevice ACTION ACL CONNECTED IntentFilter filte
Android
androidbluetooth
在 Android 上同时与多个 BLE 设备进行稳健通信
尽管没有记录 但使用 Android BLE api 的传统观点是 某些操作 例如读 写特性和描述符 应该一次完成一个 尽管某些设备比其他设备更宽松 但是 我不清楚此策略是否应仅适用于单个连接 还是适用于所有活动连接 我听说最好一次启动与一
Android
bluetoothlowenergy
androidbluetooth
使用蓝牙耳机启动语音识别无法正常工作
我需要使用具有语音识别功能的蓝牙耳机 在 S3 S4 和 Samsung Grand 等某些设备上几乎可以正常工作 然而 当我在 Nexus 7 上尝试同样的操作时 我得到了 BluetoothHeadsetServiceJni Faile
Android
androidbluetooth
bluetoothsco
Android 蓝牙 connect() 抛出错误
我有一个项目要求 其中我们有一个包含两个组件的产品 一个 Android 平板电脑和一个 PCB 包含 RN42 蓝牙芯片 这两个组件位于塑料外壳内 因此总是彼此靠近 这两个组件设备最初会配对一次 因此配对信息将永远存在于平板电脑中 Pro
Java
Android
Bluetooth
SocketException
androidbluetooth
Secure.getString(mContext.getContentResolver(), "bluetooth_address") 在 Android O 中返回 null
当我尝试通过这种方式获取 Android O 设备上的蓝牙地址时 private String getBlutoothAddress Context mContext Check version API Android BluetoothA
Java
Android
androidpermissions
androidbluetooth
android80oreo
BLE扫描记录说明
我正在尝试获取UUID Major Minor IDs从以以下形式收到的 BLE 广告中byte 我已经使用了建议的代码here https stackoverflow com questions 22016224 ble obtain u
Android
Bluetooth
bluetoothlowenergy
androidbluetooth
Android 中订阅 BLE 指示的示例
我已连接到蓝牙设备 我能够使用读取特征 mGatt readCharacteristic getMiliService getCharacteristic uuid 但我无法注册某个特征的指示 我尝试过的 boolean flag1 m G
Android
Bluetooth
bluetoothlowenergy
androidbluetooth
预配对蓝牙设备
我希望能够预先配对蓝牙设备 以避免用户在使用应用程序时感到困惑的步骤 我发现有一项专利用于预配对蓝牙设备的系统 方法和装置 http www google com patents US20070123166 我正在考虑将一组 Android
Android
androidbluetooth
Pairing
1
2
3
4
»