EasyBluetooth icon indicating copy to clipboard operation
EasyBluetooth copied to clipboard

一款iOS BLE蓝牙调试工具,非常简单容易,也可以作为一个蓝牙库,快速集成和开发。 可以两步搞定蓝牙开发操作。 第一步连接设备,第二步特征读写数据。

Results 11 EasyBluetooth issues
Sort by recently updated
recently updated
newest added

在写数据时,2018-01-14 18:55:23.309848+0800 EasyBlueTooth[732:135403] 写 特征的回调: FFE1 error:Error Domain=CBATTErrorDomain Code=3 "Writing is not permitted." UserInfo={NSLocalizedDescription=Writing is not permitted.} 2018-01-14 18:55:23.310513+0800 EasyBlueTooth[732:135403] -- Error Domain=CBATTErrorDomain Code=9 "(null)"

iOS 11 系统, iPhone X ,搜索不到周边外社怎么回事呢,跑demo也搜索不到外设

遇到蓝牙的问题很多,准备建个群一块讨论,感兴趣的话,大家可以加我QQ: 929097264

设备断开连接,在“connectDeviceWithPeripheral:(EasyPeripheral *)peripheral callback:(blueToothConnectCallback)callback”方法中获取到回调,在获取断开的时候,在调用该方法去重连,收不到回调

用lightblue订阅特征发送命令,收到一次回调,但是用easybluetooth时收到两次回调,我们是连接了两个一样的设备,是什么原因导致的呢

@chenliangloveyou 里面空的,这玩意到底要怎么搞啊

老哥,[_bleManager writeDataWithPeripheral:self.peripheral serviceUUID:@"0xFFE0" writeUUID:@"0xFFE1" data:D callback:nil]; 传nil好像不管用 看到代码这里选择TYPE CBCharacteristicWriteType writeType = callback ? CBCharacteristicWriteWithResponse : CBCharacteristicWriteWithoutResponse ;

![image](https://user-images.githubusercontent.com/12026835/31774657-e849fc06-b518-11e7-958b-084a2b33c5f3.png) autoConnectAfterDisconnect 我设置断线重连为NO,回调的错误码是bluetoothErrorStateDisconnect重新开启设备还是能自动重连,设置YES回调的是bluetoothErrorStateDisconnectTring, 我看源代码逻辑有没看出问题 ![image](https://user-images.githubusercontent.com/12026835/31774836-73f7c86e-b519-11e7-9af0-e8537387d3b5.png) 重开设备有时一直回调这个方法,已经连接成功隔几秒又走一次又提示连接成功,无限循环了,根本停不下来 #pragma mark - connect peripheral - (void)centralManager:(CBCentralManager *)central didConnectPeripheral:(CBPeripheral *)peripheral { EasyLog_R(@"蓝牙连接上一个设备:%@ , %@",peripheral,peripheral.identifier); EasyPeripheral *existedP = nil ; for (NSString *tempIden in [self.connectedDeviceDict...