Contents:
For conceptual usage, see:
Pgp2bSim
This Python API is implemented directly in PyRogue.
Sideband simulator using paired ZMQ sockets.
host (str) – Hostname or IP address.
str
port (int) – Base sideband port.
int
Set the callback for received sideband data.
cbFunc (Callable[[int | None, int | None], Any]) – Callback of the form cbFunc(opCode, remData).
Callable
None
Any
cbFunc(opCode, remData)
Send opCode and/or remData on the sideband channel.
opCode (int | None, default: None) – Operation code to send.
remData (int | None, default: None) – Remote data byte to send.