Skip to content

What is related to "context" in accessory/service definition ? #142

@simkard69

Description

@simkard69

Hello,

I wanted to know what is expected to be contained as "context" in these functions ?

  • homekit_service_t* hap_add_windowcovering_service(const char* szname, hap_callback cb, void* context)
  • homekit_service_t* hap_add_windowcovering_as_accessory(int acctype, const char* szname, hap_callback cb, void* context)

From documentation, we only have this information :

  • Every callback has the following parameters
  • characteristic
  • value
  • context (callback parameters)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions