• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GATT cache clear
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GATT cache clear


  • Subject: Re: GATT cache clear
  • From: Matthias Ringwald <email@hidden>
  • Date: Mon, 06 Feb 2017 19:45:54 +0100

Hi Nick

What happens if you send the service changed notification just before doing the restart?

Another idea: you could try to keep the attribute handles between updates and maybe reserve "space" between the services to allow for additional characteristics. 

Sent from my iPhone

On 6 Feb 2017, at 19:38, Nick Brook <email@hidden> wrote:

Hi,

After completing an OTA firmware update to my device, the device restarts and iOS reconnects. If the GATT attributes change in the update, reconnection sometimes fails as iOS is using a cache of the attributes from before the update. Currently our solution is asking the user to turn Bluetooth off and on – not ideal.

Is there any way to force iOS to clear this cache? I can’t use the Service Changed characteristic (0x2a05) in the Generic Attribute Service (0x1801) as the service ‘changes' when the device is disconnected.

Thanks

Nick Brook
Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >GATT cache clear (From: Nick Brook <email@hidden>)

  • Prev by Date: GATT cache clear
  • Next by Date: Re: GATT cache clear
  • Previous by thread: GATT cache clear
  • Next by thread: Re: GATT cache clear
  • Index(es):
    • Date
    • Thread