ios - Updating CentralManagers list of services for a peripheral -
Core has been an issue with bluetooth under iOS. I am programming an OTA updater, and in a strange issue Running when I turn the device into OATU mode, it disconnects and advertises different services under the same device, the UIID is a problem, when I try to find services from the newly connected device Give me the old list of services Which is not valid anymore. A split part of the problem is that the CBPeripheral.name value is the name of the original device, but returned to the ad dictionary DidDiscoverPeripheral is correct, this is the new name. Central Administration: (CBC Central Manager *) Central Duscare Supplementary Peripheral: (CBParyfare *) Peripheral Adadata: (NSStripe *) Advertisement Data: RSISI (NSN * *) RSS {Advertising (for advertising ( ID key) {NSLog (@ "key:% @, value:% @ \ n", key, [addata objectForca: key]); } NSLog (@ "Disclaimed Peripheral with Identifier:% @, State:% D, Name:% @, Service:% @", [Peripheral Identifier], [Peripheral Stat...