12 #ifndef _ASTARTE_PAIRING_H_
13 #define _ASTARTE_PAIRING_H_
25 const char *credentials_secret;
Astarte types and defines.
astarte_err_t
Astarte return codes.
Definition: astarte.h:28
astarte_err_t astarte_pairing_get_credentials_secret(const struct astarte_pairing_config *config, char *out, size_t length)
get the credentials secret.
astarte_err_t astarte_pairing_get_mqtt_v1_broker_url(const struct astarte_pairing_config *config, char *out, size_t length)
get the Astarte MQTT v1 broker URL.
astarte_err_t astarte_pairing_register_device(const struct astarte_pairing_config *config)
register a device.
astarte_err_t astarte_pairing_get_mqtt_v1_credentials(const struct astarte_pairing_config *config, const char *csr, char *out, size_t length)
obtain a new Astarte MQTT v1 certificate.
Definition: astarte_pairing.h:20