libgs_ops.scheduling.CommsPass.add_communication¶
-
CommsPass.add_communication(comm, **kwargs)[source]¶ Add a communication to the pass.
The communication can be supplied either as a string of HEX-pairs, as a bytearray, or as a Communications object.
If a HEX string or a bytearray is supplied, it will be converted to a Communication object internally
Parameters: - comm – The communication to add (either a hex string
"AB-CD-01-...", aCommunicationobject or anActionobject - **kwargs – Extra arguments passed to
Communicationconstructor in case comm is a hex string.
Returns: None
- comm – The communication to add (either a hex string