coap-scroll-ring-server

Crates.iocoap-scroll-ring-server
lib.rscoap-scroll-ring-server
version0.2.0
sourcesrc
created_at2023-02-13 00:59:55.76385
updated_at2024-01-16 22:21:15.171594
descriptionAn CoAP handler for read access to a scroll-ring
homepage
repositoryhttps://gitlab.com/chrysn/scroll-ring
max_upload_size
id783599
size21,170
(chrysn)

documentation

https://docs.rs/coap-scroll-ring-server/

README

coap-scroll-ring-server

An implemenmtation of a [coap_handler::Handler] around a [scroll_ring::Buffer]

Usage

Wrap a buffer (typically some tasks's linear text output) through BufferHandler::new(&buf) and place it .at(&["output"], ...) some CoAP handler tree.

Examples

This crate comes with no example, but the coap-message-demos crate makes ample use of it for its logging adapter.

Tools

In the tools/ directory of this crate there is a Python script, which should be useful for speedy collection of a ring buffer server's output.

License: MIT OR Apache-2.0

Commit count: 13

cargo fmt