Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FXAS21002 FXOS8700Q
cn_cbor Struct Reference
A CBOR value. More...
#include <cn-cbor.h>
Data Fields | |
cn_cbor_type | type |
The type of value. | |
cn_cbor_flags | flags |
Flags used at parse time. | |
int | length |
Number of children. | |
struct cn_cbor * | first_child |
The first child value. | |
struct cn_cbor * | last_child |
The last child value. | |
struct cn_cbor * | next |
The sibling after this one, or NULL if this is the last. | |
struct cn_cbor * | parent |
The parent of this value, or NULL if this is the root. | |
const uint8_t * | bytes |
CN_CBOR_BYTES. | |
const char * | str |
CN_CBOR_TEXT. | |
int64_t | sint |
CN_CBOR_INT. | |
uint64_t | uint |
CN_CBOR_UINT. | |
double | dbl |
CN_CBOR_DOUBLE. | |
unsigned long | count |
for use during parsing |
Detailed Description
A CBOR value.
Definition at line 87 of file cn-cbor.h.
Field Documentation
struct cn_cbor* first_child |
struct cn_cbor* last_child |
int length |
Generated on Tue Jul 12 2022 20:21:05 by
