maximkulkin / esp-homekit-demo

Demo of Apple HomeKit accessory server library
MIT License
808 stars 233 forks source link

Multiple accessories in one device #360

Closed kodfelt closed 4 years ago

kodfelt commented 4 years ago

Hello,

I am trying to add two accessories to one device, but my code do not compile. This how i have defined homekit_accessory_t:

Skärmavbild 2020-06-17 kl  22 15 36

And this is the only errormessage i get:

Skärmavbild 2020-06-17 kl  22 15 03

Ive been stuck for a while, if anyone have any suggestions i would be very thankful.

Fredrik

maximkulkin commented 4 years ago

At line 298 you have NULL which is not supposed to be there.