diff options
author | jaseg <git@jaseg.de> | 2020-11-26 18:03:41 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2020-11-26 18:03:41 +0100 |
commit | 0a03b84e1756b36d014a83f685da1950a8e8361e (patch) | |
tree | 3dbccdee1a6fb091aa8ffaeafddb7d0a4617f829 /prototype/fw/src/microcobs.h | |
parent | e6157913bb91947ee467c502f45842d1dab3f662 (diff) | |
download | ihsm-0a03b84e1756b36d014a83f685da1950a8e8361e.tar.gz ihsm-0a03b84e1756b36d014a83f685da1950a8e8361e.tar.bz2 ihsm-0a03b84e1756b36d014a83f685da1950a8e8361e.zip |
Add cobs decoder
Diffstat (limited to 'prototype/fw/src/microcobs.h')
-rw-r--r-- | prototype/fw/src/microcobs.h | 1 |
1 files changed, 1 insertions, 0 deletions
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__ */ |