Crates.io | flem-serial-rs |
lib.rs | flem-serial-rs |
version | 0.3.2 |
source | src |
created_at | 2023-10-03 15:47:23.231069 |
updated_at | 2023-12-14 19:23:44.448955 |
description | A serial port implementation of the FLEM protocol for host computers running Windows, Linux, or MacOS. |
homepage | |
repository | |
max_upload_size | |
id | 991173 |
size | 28,731 |
This library is meant to be an easy to use serial implementation of FLEM.
connect
subsequent times.ConnectionSettings
to include parity, stop bits, and flow control.update_connection_settings
to FlemSerial
to alter the connection settings.flem-serial-rs
to use the new flem::traits::Channel
, this is a breaking changeFLEM stands for Flexible, Lightweight, Embedded Messaging protocol. It is designed to work on embedded targets as well as host devices using a common codebase to encode and decode any type of data that can be converted to a byte array.
If you need to get data to and from an embedded target using UART communications, this is a candidate solution.
construct()
a packet, handle the packet, and transmit a response. Alternatively, the embedded target
can spontanesouly emit packet through events.flem_serial_example.rs
to list ports, connect
to a target port, send packets, and receive / handle packets.