jacdac.wssk
Submodules
Package Contents
Classes
Defines a binary protocol for IoT devices to talk to DeviceScript gateway over encrypted websockets. |
- class jacdac.wssk.WsskClient(bus: jacdac.bus.Bus, role: str)
Bases:
jacdac.bus.Client
- Defines a binary protocol for IoT devices to talk to DeviceScript gateway over encrypted websockets.
This is not used as a regular Jacdac service.
Implements a client for the WSSK service.
- set_streaming(status: jacdac.wssk.constants.WsskStreamingType) None
Enable/disable forwarding of all Jacdac frames, exception reporting, and dmesg streaming.
- ping_device(payload: bytes) None
Send from gateway when it wants to see if the device is alive. The device currently only support 0-length payload.