provision by claim in ESP32 with Arduino platform

0

Hello there AWS team!

I'm looking around for the correct way to provision my devices to AWS IoT core.

It seems provision by claim can do the trick, but I'm using ESP32 with the Arduino platform. That means I don't have access to ESP-IDF.

It is possible to do provision by claim in the Arduino environment? if so, can you share me the link or documentation about it

Thanks a lot in advance :)

preguntada hace un año644 visualizaciones
1 Respuesta
0

Hi Juan. Fleet provisioning by claim is performed over MQTT topics: https://docs.aws.amazon.com/iot/latest/developerguide/fleet-provision-api.html. You can implement this on top of pretty much any MQTT client if you elect not to use the AWS IoT Device SDK for Embedded C, although I do recommend you use that. The C SDK is highly portable and you can simply import only the libraries that you actually need. If you do elect to make your own implementation, I recommend you at least use the SDK implementation as a reference:

profile pictureAWS
EXPERTO
Greg_B
respondido hace un año
  • Hello Greg!, thanks a lot for your reply.

    As far as I know, I can't use AWS IoT SDK in the Arduino environment, or port the library. If I'm not correct, please let me know how can I do it.

    On the other hand, I'm using the reference example that you mentioned.

    I'm currently using a claim certificate installed on my device, and I'm connecting to AWS IoT. I'm able to see the device is being generated, but I'm not able to receive any response in $aws/certificates/create/json/accepted after I publish to $aws/certificates/create/json.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas