Hi,I have tried to write some characters like device name for BLE device. When I called
Code:
grantPermissionCharacter?.service.peripheral.writeValue(data1, for: grantPermissionCharacter!, type: CBCharacteristicWriteType.withResponse)
Suddenly my device thrown error: MISUSE and device got disconnected. After data LED lights on device not working and device not getting connect with iOS device. any help appreciated.