11. cc_uart

11.1. Communication Channel Via Uart

module

cc_uart

synopsis

Uart communication channel

class pykiso.lib.connectors.cc_uart.CCUart(serialPort, baudrate=9600, **kwargs)[source]

UART implementation of the coordination channel.

constructor

_cc_close()[source]

Close the channel.

_cc_open()[source]

Open the channel.

_cc_receive(timeout=1e-05, raw=False)[source]

How to receive something from the channel.

Parameters
  • timeout – Time to wait in second for a message to be received

  • raw – send raw message without further work (default: False)

Returns

message.Message() - If one received / None - If not

_cc_send(msg)[source]

Sends the message on the channel.

Parameters
  • msg – Message to send out

  • raw – send raw message without further work (default: False)

exception pykiso.lib.connectors.cc_uart.IncompleteCCMsgError(value)[source]