Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
通过 BLE 传输大数据块的最佳方法
我是 BLE 的新手 希望您能够指出我正确的实施方法 我正在开发一个应用程序 其中外围 电池供电 设备不断聚合传感器读数 在移动端应用程序上会有一个 同步 按钮 按下按钮后 我想将外围设备中积累的所有传感器读数传输到移动应用程序 同步之间的
bluetoothlowenergy
corebluetooth
androidbluetooth
连接间隔 核心蓝牙
有没有办法通过Core Bluetooth更改连接间隔 我正在将数据块传输到外设 并且传输数据需要花费很多时间 我想减少这个时间 如果可以使用核心蓝牙从 iOS 写入或更新连接间隔 请告诉我 谢谢 仅通过将连接参数更新从外设发送到 iOS
iphone
ios
corebluetooth
iOS 7 弃用核心蓝牙
在 iOS 7 中 一些核心蓝牙内容现已被弃用 例如 CBUUIDGenericAccessProfileString 和 CBUUIDDeviceNameString 这苹果文档 state Deprecated There are no
ios7
corebluetooth
连接到 iBeacon
我可以使用以下命令扫描 iBeacons func locationManager manager CLLocationManager didRangeBeacons beacons AnyObject inRegion region CL
ios
swift
ibeacon
corebluetooth
如何检测iPhone是否连接到任何蓝牙设备?
我在 iOS 7 中发现了这个新的 API NSArray retrieveConnectedPeripheralsWithServices NSArray serviceUUIDs NS AVAILABLE NA 7 0 因此很清楚 如果
ios
iphone
ios7
Bluetooth
corebluetooth
扫描特定服务 CBUUID 时找不到外围设备
当我使用时 CBUUID uuid CBUUID UUIDWithString 1800 GAP DEBUG LOG CBUUID uuid CBUUID Generic Access Profile centralMan CBCentra
ios
corebluetooth
低功耗蓝牙广告可在 iOS 设置中发现
我有一个 iOS 应用程序 它使用 CBPeripheralManager 来实现外围设备 我用以下命令开始做广告 self peripheralManager startAdvertising CBAdvertisementDataLoc
ios
bluetoothlowenergy
corebluetooth
终止CBPeripheralManager端的连接
有没有推荐的方法CBPeripheralManager终止连接 到目前为止我发现的最好方法就是不响应动态值 然后 BLE 堆栈似乎会关闭连接 但这看起来相当粗糙 一定会有更好的办法 不 您无法从外围侧以明确的方式强行关闭连接 没有适用于它的
osxmavericks
corebluetooth
IOS:将字符串转换为十六进制数组
我有代表数据的字符串 我需要将这些数据转换为十六进制数组 通过使用十六进制数组数据 我可以将其传递给 CRC 以写入外设 我的字符串数据是这样的 NSString stringsdata helloworld1234567812345q 我
ios
Objectivec
nsstring
Hex
corebluetooth
CLBeaconRegion,如何关闭警告:打开蓝牙以允许*连接到配件
我们有一个项目正在使用 CoreLocation 区域来监视 iBeacon 区域在应用程序后台进入 退出 CLBeaconRegion CLRegion CLBeacon 等 当进入 CLBeacon iBeacon 区域时 CLLoca
ios
corebluetooth
clbeacon
clbeaconregion
IOS CoreBluetooth:BLE 断开连接时应用程序在后台运行
我试图在BLE断开连接时在后台运行我的应用程序 但是系统会在一段时间后杀死该应用程序 所以我阅读了苹果的文档 核心蓝牙编程指南 最后我在 iOS 应用程序的核心蓝牙后台处理 在后台执行长期操作 某些应用程序可能需要 使用核心蓝牙框架执行长期
ios
Bluetooth
corebluetooth
使用 BlueZ Stack 作为外围设备(广告商)
Goal 使用 BlueZ 和蓝牙 4LE 适配器创建一个外围设备 宣传 Hello World 的蓝牙等效项 我在哪里 我目前已经安装并下载了 BlueZ 堆栈 我可以使用 hci 工具来识别和查看蓝牙适配器 我已经对 hciconfig
Linux
Bluetooth
corebluetooth
bluetoothlowenergy
bluez
BLE 连接后未调用 didDiscoverServices
我正在使用需要验证的 BLE 设备 我使用的BLE代码如下 Pragma Bluetooth Methods func centralManagerDidUpdateState central CBCentralManager if cen
swift
xcode
bluetoothlowenergy
corebluetooth
iOS - CoreBluetooth didDiscoverPeripheral 未被调用
我在 Xcode 6 中制作了一个非常简单的 iOS 应用程序来尝试 CoreBluetooth 并与我的 Polar H6 心率监测器进行通信 由于某种原因 没有调用 didDiscoverPeripheral 方法 我在 StackOv
ios
xcode
iOS8
bluetoothlowenergy
corebluetooth
如何提高 BLE 应用程序的吞吐量?
我有一个作为中央设备的 Android 客户端 并且在我的 MAC 外设 上有一个应用程序 该中央设备连接到该应用程序并发送数据 此时 在调用 writeCharacteristic 后 我需要等待近 100ms 才能收到 onCharac
Android
Bluetooth
bluetoothlowenergy
corebluetooth
androidbluetooth
在 iOS 自定义键盘中使用时,iOS CoreBluetooth 状态不受支持
我想用CoreBluetoothiOS 键盘扩展中的 API 自定义键盘 然而 国家对于CBCentralManager不受支持 我使用的设备是 iPhone 6 它在容器应用程序中运行良好 这是否意味着CoreBluetoothAPI不能
ios
iphone
corebluetooth
customkeyboard
如何解码 BLE 广告数据
扫描 BLE 设备后 我调用以下方法 void centralManager CBCentralManager central didDiscoverPeripheral CBPeripheral peripheral advertisem
ios
Objectivec
bluetoothlowenergy
ibeacon
corebluetooth
当蓝牙设备在附近时唤醒 ios 应用程序
我正在后台运行核心蓝牙来扫描设备 它工作正常 当我手动退出应用程序时几乎停止 苹果文档指出 应用程序有时可以被外设唤醒 这可能会使它从挂起状态持续大约 10 秒左右 执行一些操作 然后返回挂起状态 Source https develope
ios
Objectivec
cocoatouch
corebluetooth
警告:不允许使用广告密钥“服务数据”
我正在开发 BLE 外设应用程序 根据要求 广告包中必须包含Service Data字段 我在Android中做到了这一点 数据包应该是这样的 0x16 是此处列出的服务数据字段https www bluetooth com specifi
ios
bluetoothlowenergy
corebluetooth
iosbluetooth
如何在 swift Xcode 中以编程方式绑定/配对蓝牙 LE 设备?
我目前正在尝试开发一个应用程序 允许用户通过单击按钮绑定到外围设备 并且将自动输入密码 是否可以使用 swift 以编程方式绑定和删除绑定 每当您尝试写入或读取 BLE 设备上的特征时 都会启动配对 但是 如果设备未设置为需要身份验证和 或
ios
swift
xcode
bluetoothlowenergy
corebluetooth
«
1
2
3
4
5
6
»