This file defines APIs, types and data structures used for cbor format coding.
More...
#include <stdint.h>
Go to the source code of this file.
|
|
| int32_t | cbor_set_null (uint8_t *buffer, uint16_t *offset) |
| |
| int32_t | cbor_set_array_of_data (uint8_t *buffer, uint32_t value, uint16_t *offset) |
| |
| int32_t | cbor_set_unsigned_integer (uint8_t *buffer, uint32_t value, uint16_t *offset) |
| |
| int32_t | cbor_set_signed_integer (uint8_t *buffer, int32_t value, uint16_t *offset) |
| |
| int32_t | cbor_set_byte_string (uint8_t *buffer, uint32_t value, uint16_t *offset) |
| |
| void | cbor_set_map_tag (uint8_t *buffer, uint8_t map_number, uint16_t *offset) |
| |
| int32_t | cbor_set_map_unsigned_type (uint8_t *buffer, uint32_t key_data_item, uint32_t value_data_item, uint16_t *offset) |
| |
| int32_t | cbor_set_map_signed_type (uint8_t *buffer, uint32_t key_data_item, int32_t value_data_item, uint16_t *offset) |
| |
| int32_t | cbor_set_map_byte_string_type (uint8_t *buffer, uint32_t key_data_item, const uint8_t *value_data_item, uint16_t value_data_item_len, uint16_t *offset) |
| |
This file defines APIs, types and data structures used for cbor format coding.
- Author
- Infineon Technologies AG
Definition in file cbor.h.
◆ cbor_set_array_of_data()
| int32_t cbor_set_array_of_data |
( |
uint8_t * |
buffer, |
|
|
uint32_t |
value, |
|
|
uint16_t * |
offset |
|
) |
| |
◆ cbor_set_byte_string()
| int32_t cbor_set_byte_string |
( |
uint8_t * |
buffer, |
|
|
uint32_t |
value, |
|
|
uint16_t * |
offset |
|
) |
| |
◆ cbor_set_map_byte_string_type()
| int32_t cbor_set_map_byte_string_type |
( |
uint8_t * |
buffer, |
|
|
uint32_t |
key_data_item, |
|
|
const uint8_t * |
value_data_item, |
|
|
uint16_t |
value_data_item_len, |
|
|
uint16_t * |
offset |
|
) |
| |
◆ cbor_set_map_signed_type()
| int32_t cbor_set_map_signed_type |
( |
uint8_t * |
buffer, |
|
|
uint32_t |
key_data_item, |
|
|
int32_t |
value_data_item, |
|
|
uint16_t * |
offset |
|
) |
| |
◆ cbor_set_map_tag()
| void cbor_set_map_tag |
( |
uint8_t * |
buffer, |
|
|
uint8_t |
map_number, |
|
|
uint16_t * |
offset |
|
) |
| |
◆ cbor_set_map_unsigned_type()
| int32_t cbor_set_map_unsigned_type |
( |
uint8_t * |
buffer, |
|
|
uint32_t |
key_data_item, |
|
|
uint32_t |
value_data_item, |
|
|
uint16_t * |
offset |
|
) |
| |
◆ cbor_set_null()
| int32_t cbor_set_null |
( |
uint8_t * |
buffer, |
|
|
uint16_t * |
offset |
|
) |
| |
◆ cbor_set_signed_integer()
| int32_t cbor_set_signed_integer |
( |
uint8_t * |
buffer, |
|
|
int32_t |
value, |
|
|
uint16_t * |
offset |
|
) |
| |
◆ cbor_set_unsigned_integer()
| int32_t cbor_set_unsigned_integer |
( |
uint8_t * |
buffer, |
|
|
uint32_t |
value, |
|
|
uint16_t * |
offset |
|
) |
| |