![]()  | 
        
           Wirepas SDK
           
         | 
        
Go to the source code of this file.
Functions | |
| static unsigned short | encode_half (double val) | 
| static double | decode_half (unsigned short half) | 
| CborError | _cbor_value_extract_number (const uint8_t **ptr, const uint8_t *end, uint64_t *len) | 
| CborError | _cbor_value_prepare_string_iteration (CborValue *it) | 
| CborError | _cbor_value_get_string_chunk (const CborValue *value, const void **bufferptr, size_t *len, CborValue *next) | 
Enumerations | |
| enum | CborMajorTypes {  UnsignedIntegerType = 0U, NegativeIntegerType = 1U, ByteStringType = 2U, TextStringType = 3U, ArrayType = 4U, MapType = 5U, TagType = 6U, SimpleTypesType = 7U }  | 
| enum | CborSimpleTypes {  FalseValue = 20, TrueValue = 21, NullValue = 22, UndefinedValue = 23, SimpleTypeInNextByte = 24, HalfPrecisionFloat = 25, SinglePrecisionFloat = 26, DoublePrecisionFloat = 27, Break = 31 }  | 
| enum | {  SmallValueBitLength = 5U, SmallValueMask = (1U << SmallValueBitLength) - 1, Value8Bit = 24U, Value16Bit = 25U, Value32Bit = 26U, Value64Bit = 27U, IndefiniteLength = 31U, MajorTypeShift = SmallValueBitLength, MajorTypeMask = (int) (~0U << MajorTypeShift), BreakByte = (unsigned)Break | (SimpleTypesType << MajorTypeShift) }  | 
Macros | |
| #define | CBOR_INTERNAL_API | 
| #define | CBOR_PARSER_MAX_RECURSIONS 1024 | 
| CborError _cbor_value_extract_number | ( | const uint8_t ** | ptr, | 
| const uint8_t * | end, | ||
| uint64_t * | len | ||
| ) | 
| CborError _cbor_value_get_string_chunk | ( | const CborValue * | value, | 
| const void ** | bufferptr, | ||
| size_t * | len, | ||
| CborValue * | next | ||
| ) | 
      
  | 
  static | 
Definition at line 86 of file cborinternal_p.h.
      
  | 
  static | 
Definition at line 52 of file cborinternal_p.h.
| anonymous enum | 
| Enumerator | |
|---|---|
| SmallValueBitLength | |
| SmallValueMask | |
| Value8Bit | |
| Value16Bit | |
| Value32Bit | |
| Value64Bit | |
| IndefiniteLength | |
| MajorTypeShift | |
| MajorTypeMask | |
| BreakByte | |
Definition at line 140 of file cborinternal_p.h.
| enum CborMajorTypes | 
| Enumerator | |
|---|---|
| UnsignedIntegerType | |
| NegativeIntegerType | |
| ByteStringType | |
| TextStringType | |
| ArrayType | |
| MapType | |
| TagType | |
| SimpleTypesType | |
Definition at line 112 of file cborinternal_p.h.
| enum CborSimpleTypes | 
| Enumerator | |
|---|---|
| FalseValue | |
| TrueValue | |
| NullValue | |
| UndefinedValue | |
| SimpleTypeInNextByte | |
| HalfPrecisionFloat | |
| SinglePrecisionFloat | |
| DoublePrecisionFloat | |
| Break | |
Definition at line 128 of file cborinternal_p.h.
| #define CBOR_INTERNAL_API | 
Definition at line 100 of file cborinternal_p.h.
| #define CBOR_PARSER_MAX_RECURSIONS 1024 | 
Definition at line 104 of file cborinternal_p.h.