HAP.HAPSessionTransport (HAP v0.1.0) View Source

Implements cleartext TCP transport with optional chacha20_poly1305 encryption as mandated by section 6.5.2 of the HomeKit Accessory Protocol specification

Link to this section Summary

Functions

Helpful in tests when we need to act as the iOS Controller in a HAP Session

Returns true iff the current process is in an encrypted session

Link to this section Functions

Link to this function

connect(host, port, opts)

View Source

Helpful in tests when we need to act as the iOS Controller in a HAP Session

Returns true iff the current process is in an encrypted session