This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Hi,I have tried to write some characters like device name for BLE device. Suddenly my device thrown error: MISUSE and device got disconnected.

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.

Parents Reply Children
No Data
Related