micromed_io.tcp.decode_tcp_note_packet#

micromed_io.tcp.decode_tcp_note_packet(packet: bytearray)#

Decode the Micromed tcp markers packet.

Parameters:
packetbytearray

The tcp packet to decode.

Returns:
tuple

trigger_sample: the sample when the marker is received trigger_value: trigger value