2

I have added a custom characteristic to a service using the HomeKit Simulator. However when I add it, despite I include the manufactorer description, a UUID is shown instead of the description.

How can I display the description instead?

The first characteristic is a standard one ("On/Off": boolean). The other ones are custom.

enter image description here

mm24
  • 9,280
  • 12
  • 75
  • 170

2 Answers2

1

Until now the HomeKit Accessory Simulator (1.1) cannot be configured to show manufacturer description, as you want to.

At least in version 1.1 custom services can be attached and achieve a corresponding name, that the developer is able to distinguish. Characteristics can still not be named and remains a UUID mess. But as far as I know, this version (1.1) is only rolled out to MFi participants.

Custom Service Creation Wizard 1.1

  • Thanks! Where did you find this confirmation? Is there an official apple doc stating this? – mm24 Apr 21 '15 at 10:46
  • MFi participants gets brand new information and tools from apple regarding HAP, like the beta versions of HomeKit Accessory Simulator. – user3623183 Apr 21 '15 at 11:11
0

You can add a manufacturer description to the characteristic.

enter image description here

Then after you add it will show like this

enter image description here

In your app, you can check first if there is a manufacturer description like this

let manufacturerDescription = characteristic.metadata?.manufacturerDescription
Maria
  • 4,471
  • 1
  • 25
  • 26