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

demandé il y a un an643 vues
1 réponse
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
EXPERT
Greg_B
répondu il y a un an
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions