Astarte device API for Zephyr 0.7.2
Astarte device SDK for Zephyr RTOS
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
pairing.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_PAIRING_H
8#define ASTARTE_DEVICE_SDK_PAIRING_H
9
24
26#define ASTARTE_PAIRING_CRED_SECR_LEN 44
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
45 int32_t timeout_ms, const char *device_id, char *out_cred_secr, size_t out_cred_secr_size);
46
47#ifdef __cplusplus
48}
49#endif
50
55#endif /* ASTARTE_DEVICE_SDK_PAIRING_H */
Astarte types and defines.
astarte_result_t astarte_pairing_register_device(int32_t timeout_ms, const char *device_id, char *out_cred_secr, size_t out_cred_secr_size)
Register a new device to Astarte.
astarte_result_t
Astarte Device SDK return codes.
Definition result.h:31
Astarte result types.