IPhone: how to erase / erase bluetooth 4.0 data

I have some problems with my Bluetooth Low Energy application, sometimes I can’t connect to my device (described in the stream).

I need to erase all saved data from previous connections before starting the application, and as far as I know, this can only be done by rebooting the phone. Is there any other way, preferably programmatically, to do this?

thank

+5
source share
1 answer

I have the same problem and I found steps to reproduce it.

It plays back 100% when you transfer data to the periphery with

[peripheral writeValue:x forCharacteristic:y type:CBCharacteristicWriteWithoutResponse];

. BLE, . ,

[peripheral writeValue:x forCharacteristic:y type:CBCharacteristicWriteWithResponse];

...

, , , , ...

, , , - .

, .

+3

All Articles