Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOMEKIT_SERVICE_DOORBELL not found #205

Closed
drbugfinder opened this issue Jul 28, 2022 · 0 comments
Closed

HOMEKIT_SERVICE_DOORBELL not found #205

drbugfinder opened this issue Jul 28, 2022 · 0 comments

Comments

@drbugfinder
Copy link

Hi,

I just wanted to test the HOMEKIT_SERVICE_DOORBELL to create a simple doorbell. Unfortunately it cannot be found:

In file included from /Documents/Arduino/libraries/Arduino-HomeKit-ESP8266-1.4.0/src/homekit/homekit.h:4,
                 from /Documents/Arduino/DoorControl-Sprechanlage/homekit.c:1:
/Documents/Arduino/libraries/Arduino-HomeKit-ESP8266-1.4.0/src/homekit/types.h:252:34: error: 'HOMEKIT_SERVICE_HOMEKIT_SERVICE_DOORBELL' undeclared here (not in a function); did you mean 'HOMEKIT_SERVICE_SERVICE_LABEL'?
  252 |     &(homekit_service_t) { .type=HOMEKIT_SERVICE_ ## _type, ##__VA_ARGS__ }
      |                                  ^~~~~~~~~~~~~~~~
/Documents/Arduino/libraries/Arduino-HomeKit-ESP8266-1.4.0/src/homekit/types.h:246:11: note: in expansion of macro 'HOMEKIT_SERVICE'
  246 |         ##__VA_ARGS__ \
      |           ^~~~~~~~~~~
/Documents/Arduino/DoorControl-Sprechanlage/homekit.c:35:5: note: in expansion of macro 'HOMEKIT_ACCESSORY'
   35 |     HOMEKIT_ACCESSORY(.id=1, .category=homekit_accessory_category_video_door_bell, .services=(homekit_service_t*[]) {
      |     ^~~~~~~~~~~~~~~~~

#define HOMEKIT_SERVICE_DOORBELL HOMEKIT_APPLE_UUID3("121")

Can you please have a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant