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 :)

feita há um ano644 visualizações
1 Resposta
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
ESPECIALISTA
Greg_B
respondido há um ano
  • 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.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas