Astarte device API for Zephyr 0.8.0
Astarte device SDK for Zephyr RTOS
Loading...
Searching...
No Matches
object.h
Go to the documentation of this file.
1/*
2 * (C) Copyright 2024, SECO Mind Srl
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ASTARTE_DEVICE_SDK_OBJECT_H
8#define ASTARTE_DEVICE_SDK_OBJECT_H
9
25
39typedef struct
40{
42 const char *path;
46
47#ifdef __cplusplus
48extern "C" {
49#endif
50
59
69 astarte_object_entry_t entry, const char **path, astarte_data_t *data);
70
71#ifdef __cplusplus
72}
73#endif
74
79#endif /* ASTARTE_DEVICE_SDK_OBJECT_H */
Global Astarte includes and defines.
Definitions for Astarte base data type.
astarte_result_t astarte_object_entry_to_path_and_data(astarte_object_entry_t entry, const char **path, astarte_data_t *data)
Convert an Astarte object entry to an Astarte data and path.
astarte_object_entry_t astarte_object_entry_new(const char *path, astarte_data_t data)
Initialize an Astarte object entry.
astarte_result_t
Astarte Device SDK return codes.
Definition result.h:31
Astarte result types.
Base Astarte data type.
Definition data.h:127
Object entry data type.
Definition object.h:40
astarte_data_t data
data for the entry
Definition object.h:44
const char * path
Path for the entry.
Definition object.h:42