Whenever I Disconnect and try to connect. I am not receiving peripheralManagerIsReadyToUpdateSubscribers and first update only fails.
I am following the below steps
- Start Advertisement and establish connection with central.
- Now try to update value in queue. First one will be success and second update will fail. Then I will receive peripheralManagerIsReadyToUpdateSubscribers, Then i'll continue update again.
- Close connection with central, Remove services and start advertisement again and add services. Then i'll receive peripheralManager : didSubscribeToCharacteristic again and now If I try to update (updateValue:forCharacteristic:onSubscribedCentrals) always it fails and i'll never receive peripheralManagerIsReadyToUpdateSubscribers.
This behaviour is only with new iOS version 10.0.2. I am not facing this issue with older version of iOS like 9.3.3.