Module coap_message_demos::cbor[][src]

Expand description

This module demonstrates the use of coap_handler_implementations::SimpleCBORHandler

It is only present when built with alloc.

Structs

A demo struct with several members, all of which implement serde traits.

Helper struct that accesses a SimpleCBORHandler intrough an Arc<Mutex<_>>, thus allowing easiy simultaneous access.

Functions

Build a handler that gives access to a single MyCBOR object on two paths, and to the rest of the application

Build a handler that gives access to a single MyCBOR object