Crate coap_gatt_utils

Crate coap_gatt_utils 

Source
Expand description

Implementation utilities for CoAP-over-GATT (draft-amsuess-core-coap-over-gatt-02)

Right now, this contains the message format parsing and serialization, largely fulled by coap_message_utils, given that most of the message format is just a rehash of the universal CoAP option-extension-data-ff-payload scheme.

Structs§

MessageTooShort
Error type for trying to parse a zero-length message

Functions§

parse
Return a readable message version of data received over CoAP-over-GATT.
parse_mut
Like parse, but take data from a mutable slice, and keep the message writable
write
Dress up a writable buffer of a constant size as a writable CoAP message

Type Aliases§

ReadMessage
ReadWriteMessage
WriteMessage