Serial Interface

The SerialMessagesInterface class allows to send and receive messages to and from a serial device.

See the tutorial to learn how to use it.

class pprzlink.serial.SerialMessagesInterface(callback, verbose=False, device='/dev/ttyUSB0', baudrate=115200, msg_class='telemetry', interface_id=0)[source]
run()[source]

Thread running function

send(msg, sender_id=None, receiver_id=0, component_id=0)[source]

Send a message over a serial link