• 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
Changing peripheral services
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing peripheral services


  • Subject: Changing peripheral services
  • From: Nick Brook <email@hidden>
  • Date: Fri, 24 Feb 2017 13:42:21 +0000

When I want to change the characteristics in a service on a CBPeripheralManager, should I simply add a characteristic to the array of the service or do I need to republish (remove then add) the service?

If the answer is that I need to republish the service, I get errors that ‘Services/characteristics can only be added once’. So I instead create new service and characteristic objects, remove the old services and re-add. Is this correct?

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

  • Follow-Ups:
    • Re: Changing peripheral services
      • From: Nick Brook <email@hidden>
  • Prev by Date: BLE Scan response while in background
  • Next by Date: Re: Changing peripheral services
  • Previous by thread: BLE Scan response while in background
  • Next by thread: Re: Changing peripheral services
  • Index(es):
    • Date
    • Thread