Documentation
¶
Overview ¶
Package qr implements the creation of QR code based Apple HomeKit® setup codes and the respective payloads.
Index ¶
- func CreateBoxedCode(setupCode hk.Code, setupID hk.ID, setupFlags hk.Flag, category hk.Category) (image.Image, error)
- func CreateCode(setupCode hk.Code, setupID hk.ID, setupFlags hk.Flag, category hk.Category) (image.Image, error)
- func CreatePayload(setupCode hk.Code, setupID hk.ID, setupFlags hk.Flag, category hk.Category) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBoxedCode ¶
func CreateBoxedCode(setupCode hk.Code, setupID hk.ID, setupFlags hk.Flag, category hk.Category) (image.Image, error)
CreateBoxedCode creates a QR code based Apple HomeKit® setup code that is placed inside a bordered box with the Apple HomeKit® logo and the setup code in plain text. These codes are usually found as stickers on MFi accessories.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.