The FlowMeter class in tcp.py was ported from serial to TCP/IP and works ok. The FlowController class, which subclasses FlowMeter, was copied over and never modified.
Through luck, the positional arguments line up if instancing FlowController from Python code, except address is never passed and therefore defaults to A. However, this luck does not hold when using the command line.
The
FlowMeter
class intcp.py
was ported from serial to TCP/IP and works ok. TheFlowController
class, which subclassesFlowMeter
, was copied over and never modified.Through luck, the positional arguments line up if instancing
FlowController
from Python code, exceptaddress
is never passed and therefore defaults toA
. However, this luck does not hold when using the command line.