Module host

Source
Expand description

Wrap messages

Message send between host (computer, phone) connected using either USB or BLE

These are not part of Overline specification

When application wants to send messages to overline node, it it supposed to use this library for correct communication - especially Message::as_frames method is crucial for communication to work as it makes sure the messages is COBS encoded AND split to maximum size frames suitable for the node’s serial interface

Modules§

codec

Structs§

MessageReader

Enums§

Error
Message
Possible commands send over host protocol
ParseMessageError
StatusCode

Constants§

DEFAULT_MAX_MESSAGE_QUEUE_LENGTH
MAX_MESSAGE_LENGTH
RAWIQ_DATA_LENGTH
RAWIQ_SAMPLING_FREQ

Functions§

calculate_cobs_overhead
Computed as

Type Aliases§

HostMessageVec