UDPTransport¶
This module imports the Kortex UDP Transport, which permits low-level communication with Link arms.
- class UDPTransport¶
Kortex Transport which communicates with Kortex devices over UDP (low-level API).
The normal usage is to create the transport, then pass it to the
RouterClient
as it is created, then connect the transport to the Kortex device. When the program reaches its end, you have to call “disconnect”.Usage :
transport = UDPTransport() router = RouterClient(transport) transport.connect("192.168.1.10") # Body of the code ... transport.disconnect()
Constructor for a UDPTransport.
No connection information is passed to this method, as the connection only happens on a call to the connect() method.
- connect(ip: str, port: int = 10001)¶
See
ITransportClient
base class for description.
- disconnect()¶
See
ITransportClient
base class for description.
- getMaxTxBufferSize()¶
See
ITransportClient
base class for description.