added CBOR description for queries

This commit is contained in:
merlokk 2018-11-21 20:11:41 +02:00
commit 979a14d978
5 changed files with 43 additions and 16 deletions

View file

@ -21,7 +21,7 @@
#define cbor_check_if(r) if ((r) != CborNoError) {return r;} else
#define cbor_check(r) if ((r) != CborNoError) return r;
extern int TinyCborPrintFIDOPackage(uint8_t cmdCode, uint8_t *data, size_t length);
extern int TinyCborPrintFIDOPackage(uint8_t cmdCode, bool isResponse, uint8_t *data, size_t length);
extern int JsonToCbor(json_t *elm, CborEncoder *encoder);
#endif /* __CBORTOOLS_H__ */