From 0a03b84e1756b36d014a83f685da1950a8e8361e Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 26 Nov 2020 18:03:41 +0100 Subject: Add cobs decoder --- prototype/fw/src/microcobs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'prototype/fw/src/microcobs.h') diff --git a/prototype/fw/src/microcobs.h b/prototype/fw/src/microcobs.h index 774a27b..05ae45e 100644 --- a/prototype/fw/src/microcobs.h +++ b/prototype/fw/src/microcobs.h @@ -11,5 +11,6 @@ struct sg_entry { ssize_t cobs_encode_sg(const struct sg_entry input[], uint8_t *output, size_t output_len); ssize_t cobs_encode(const uint8_t *input, size_t input_len, uint8_t *output, size_t output_len); +ssize_t cobs_decode(const uint8_t *input, size_t input_len, uint8_t *output, size_t output_len); #endif /* __MICROCOBS_H__ */ -- cgit