#coap #serial #scrollback

no-std coap-scroll-ring-server

An CoAP handler for read access to a scroll-ring

1 unstable release

0.1.0 Feb 13, 2023

#27 in #coap

33 downloads per month
Used in coap-message-demos

MIT/Apache

31KB
403 lines

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.

License: MIT OR Apache-2.0


lib.rs:

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.

Dependencies

~2–2.6MB
~58K SLoC