Low-Level API
You probably shouldn’t use this.
Contains the messy details of communicating with a pixels die.
- class nat20.link.PixelLink(client: BleakClient)[source]
All the messy details of communicating with a Pixels die.
Not really meant to be user-accessible.
- property address
- property is_connected
- async send_and_wait(msg: Message, respcls: type[R]) R [source]
Sends a message and waits for the response.
Returns the response.
- async wait(msgcls: type[R]) R [source]
Waits for a given message.
Note that if you want to send and receive a response, you should use
send_and_wait()
, it has better async properties.