#coap #serial #no-alloc #scrollback #scroll-ring

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

#39 in #coap

Download history 58/week @ 2024-12-31 105/week @ 2025-01-07 142/week @ 2025-01-14 21/week @ 2025-01-21 449/week @ 2025-02-04 952/week @ 2025-02-11 264/week @ 2025-02-18 258/week @ 2025-02-25 566/week @ 2025-03-04 341/week @ 2025-03-11 288/week @ 2025-03-18 461/week @ 2025-03-25 233/week @ 2025-04-01 169/week @ 2025-04-08

1,399 downloads per month
Used in 2 crates (via coap-message-demos)

MIT/Apache

36KB
457 lines

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.


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

Dependencies

~4MB
~84K SLoC