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

Re: Changing peripheral services


  • Subject: Re: Changing peripheral services
  • From: Nick Brook <email@hidden>
  • Date: Mon, 27 Feb 2017 20:47:33 +0000

Does anybody have any insight on this?

Many thanks

Nick

On 24 Feb 2017, at 13:42, Nick Brook <email@hidden> wrote:

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

References: 
 >Changing peripheral services (From: Nick Brook <email@hidden>)

  • Prev by Date: Changing peripheral services
  • Previous by thread: Changing peripheral services
  • Index(es):
    • Date
    • Thread