jacdac.proto_test
Submodules
Package Contents
Classes
This is test service to validate the protocol packet transmissions between the browser and a MCU. |
- class jacdac.proto_test.ProtoTestClient(bus: jacdac.bus.Bus, role: str)
Bases:
jacdac.bus.Client
- This is test service to validate the protocol packet transmissions between the browser and a MCU.
Use this page if you are porting Jacdac to a new platform.
Implements a client for the Protocol Test service.
- property rw_i8_u8_u16_i32 Optional[Tuple[int, int, int, int]]
A read write i8, u8, u16, i32 register.,
- property ro_i8_u8_u16_i32 Optional[Tuple[int, int, int, int]]
A read only i8, u8, u16, i32 register.. Mirrors rw_i8_u8_u16_i32.,
- property ro_u8_string Optional[Tuple[int, str]]
A read only u8, string register.. Mirrors rw_u8_string.,
- on_e_bool(handler: jacdac.bus.EventHandlerFn) jacdac.bus.UnsubscribeFn
An event raised when rw_bool is modified
- on_e_u32(handler: jacdac.bus.EventHandlerFn) jacdac.bus.UnsubscribeFn
An event raised when rw_u32 is modified
- on_e_i32(handler: jacdac.bus.EventHandlerFn) jacdac.bus.UnsubscribeFn
An event raised when rw_i32 is modified
- on_e_string(handler: jacdac.bus.EventHandlerFn) jacdac.bus.UnsubscribeFn
An event raised when rw_string is modified
- on_e_bytes(handler: jacdac.bus.EventHandlerFn) jacdac.bus.UnsubscribeFn
An event raised when rw_bytes is modified
- on_e_i8_u8_u16_i32(handler: jacdac.bus.EventHandlerFn) jacdac.bus.UnsubscribeFn
An event raised when rw_i8_u8_u16_i32 is modified
- on_e_u8_string(handler: jacdac.bus.EventHandlerFn) jacdac.bus.UnsubscribeFn
An event raised when rw_u8_string is modified