Astarte Device SDK ESP32
ESP32 device SDK for the Astarte platform
astarte_bson.h File Reference

Astarte BSON manipulation functions. More...

#include "astarte.h"
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for astarte_bson.h:

Go to the source code of this file.

Functions

const void * astarte_bson_key_lookup (const char *key, const void *document, uint8_t *type)
 
void * astarte_bson_next_item (const void *document, const void *current_item)
 
const void * astarte_bson_first_item (const void *document)
 
const char * astarte_bson_key (const void *item)
 
const char * astarte_bson_value_to_string (const void *valuePtr, uint32_t *len)
 
const char * astarte_bson_value_to_binary (const void *valuePtr, uint32_t *len)
 
const void * astarte_bson_value_to_document (const void *valuePtr, uint32_t *len)
 
int8_t astarte_bson_value_to_int8 (const void *valuePtr)
 
int32_t astarte_bson_value_to_int32 (const void *valuePtr)
 
int64_t astarte_bson_value_to_int64 (const void *valuePtr)
 
double astarte_bson_value_to_double (const void *valuePtr)
 
bool astarte_bson_check_validity (const void *document, unsigned int fileSize)
 
int32_t astarte_bson_document_size (const void *document)
 

Detailed Description

Astarte BSON manipulation functions.