package
0.0.0-20240312183520-85d1d43b8a8b
Repository: https://github.com/mctofu/homekit.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

DeviceByID searches for a device with the provided deviceID and returns it if found.
Discover searches for HomeKit accessory devices on the network for up to searchDuration.
NewAccessoryClient returns a new AccessoryClient using IP transport.
NewHomeKitSecureDialer returns a new HomeKitSecureDialer suitable for use between controller c and accessory a.
NewIPDialer returns a default IPDialer that returns a basic connection.
NewRandomControllerConfig returns a new config with random keys and a random id.
NewSetupClient returns a new SetupClient for ip accessible accessories.
NewVerifyClient returns a new VerifyClient suitable for performing pair-verify between accessory a and controller c.

# Constants

No description provided by the author
No description provided by the author

# Structs

AccessoryClient allows interaction with a HomeKit accessory.
AccessoryConnectionConfig captures information needed to communicate with a paired accessory.
AccessoryDevice is information about a discovered HomeKit accessory.
AccessoryPairingConfig contains accessory details needed to perform a pairing.
AddPairingRequest specifies an additional controller that should be added to an accessory's pairings.
CharacteristicReadRequest identifies a single characteristic to be read.
CharacteristicReadResponse is the result of reading a single characteristic.
CharacteristicsReadRequest identifies a list of characteristics to read as well as options to control what fields are returned for each characteristic.
CharacteristicsWriteRequest specifies multiple characteristics to write values to.
CharacteristicWriteRequest specifies a single characteristic to write a value to as well as other optional settings.
CharacteristicWriteResponse is the result of a write to a single characteristic.
ControllerIdentity captures required identifying details for a controller.
HomeKitSecureDialer negotiates a secure connection with an accessory using the pair-verify procedure.
IPConnectionInfo identifies a HomeKit accessory on an ip network.
ListPairingResponse describes a controller pairing returned from the ListPairings call.
RawAccessory captures information related to an accessory of a HomeKit accessory.
SetupClient negotiates an initial pairing between a controller and an accessory.
VerifyClient sets up a secure session between a controller and accessory.

# Interfaces

IPTransport provides http client capabilities.

# Type aliases

FeatureFlags captures Bonjour TXT feature flags.
IPDialer establishes a network connection.
PairingMethod identifies the pairing method needed to pair the device.
StatusFlags captures Bonjour TXT status flags.