#ring-buffer #coap #serial #coap-message #scrollback #no-alloc

no-std coap-scroll-ring-server

An CoAP handler for read access to a scroll-ring

2 unstable releases

0.2.0 Jan 16, 2024
0.1.0 Feb 13, 2023

#6 in #coap-message

Download history 375/week @ 2024-10-20 58/week @ 2024-10-27 113/week @ 2024-11-03 51/week @ 2024-11-10 172/week @ 2024-11-17 87/week @ 2024-11-24 43/week @ 2024-12-01 306/week @ 2024-12-08 91/week @ 2024-12-15 4/week @ 2024-12-22 2/week @ 2024-12-29 153/week @ 2025-01-05 19/week @ 2025-01-12 139/week @ 2025-01-19 13/week @ 2025-01-26 58/week @ 2025-02-02

231 downloads per month
Used in 2 crates (via coap-message-demos)

MIT/Apache

36KB
457 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.

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


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.

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.

Dependencies

~4MB
~77K SLoC