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§
- Message
TooShort - 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