Astarte device API for Zephyr
0.7.2
Astarte device SDK for Zephyr RTOS
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
c
d
e
h
i
m
n
o
p
r
t
u
Variables
a
c
d
e
h
i
m
n
o
p
r
t
u
Files
File List
Globals
All
a
Functions
a
Typedefs
Enumerations
Enumerator
a
Macros
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
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
22
#include "
astarte_device_sdk/astarte.h
"
23
#include "
astarte_device_sdk/result.h
"
24
26
#define ASTARTE_PAIRING_CRED_SECR_LEN 44
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
44
astarte_result_t
astarte_pairing_register_device
(
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.h
Astarte types and defines.
astarte_pairing_register_device
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_result_t
Astarte Device SDK return codes.
Definition
result.h:31
result.h
Astarte result types.
include
astarte_device_sdk
pairing.h
Generated by
1.12.0