目录

How do I enable a service module HAR to obtain data from the host HAP?

To pass data from a HAP to a HAR, the HAR should expose methods that the HAP can call. The HAP calls these methods to pass required data to the HAR, achieving data transfer.