CoreBluetooth: Attempt to write to device
问题 I have a connected & paired up Bluetooth LE bracelet (Service ID: FF20), which have 2 characteristics: 0xFF21 : Write without Response 0xFF22 : Notify Now I try to write data via CoreBluetooth Framework to 0xFF21 with the following code: I defined 2 constants at header file: #define TRANSFER_SERVICE_UUID @"FF20" #define TRANSFER_SERVICE_CHARACTERISTIC_UUID @"FF21" .m - (void)viewDidLoad { [super viewDidLoad]; _centralManager = [[CBCentralManager alloc] initWithDelegate:self queue:nil]; } -