2

I am developing a client application in swift that reads some values from a ble peripheral.

The thing is that after a firmware update on the peripheral, the app stops receiving notifications from characteristics that are marked as notification.

In order to bypass this behaviour I have to manually forget the ble peripheral from the settings in my iPhone.

Is that normal behaviour or am I missing something here?

gkaimakas
  • 574
  • 3
  • 17
  • 1
    If the device resets after a firmware upgrade you probably need to disconnect, reconnect and set up the notification again – Paulw11 Dec 19 '16 at 10:15
  • Firmware updates happen when the peripheral is not connected to the app. This is a work in progress so we are updating the firmware manually. – gkaimakas Dec 19 '16 at 10:31
  • Are you pairing with the peripheral? – Paulw11 Dec 19 '16 at 10:36
  • Yes, the first time that a connection is established, iOS asks me to pair with the device. Then when the firmware is updated, I have to forget the device and pair again. – gkaimakas Dec 19 '16 at 11:38
  • 1
    It sounds like the firmware flashing process is invalidating the pairing keys on the device and then iOS has invalid keys until you delete and re-pair the device. – Paulw11 Dec 19 '16 at 11:47
  • can i do anything from within the app to fix it or is it a firmware issue? – gkaimakas Dec 19 '16 at 12:04
  • It sounds like a firmware issue to me – Paulw11 Dec 19 '16 at 12:21

0 Answers0