Write value into characteristics is not persistent

时间:2017-10-12 10:14:36

标签: ios bluetooth bluetooth-lowenergy ibeacon core-bluetooth

Using CoreBlueTooth I write some hex value into a writable characteristics of the peripheral. peripheral:didWriteValueForCharacteristic:error gets called with no error. Also I am able to see the newly written value in the characteristics while debugging with breakpoint. But as soon as the connection is cancelled or I stop running the app, the characteristics value is reverted to the default value. Is there anything else I need to do to retain the value in the characteristics ?.

0 个答案:

没有答案