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

posta un anno fa644 visualizzazioni
1 Risposta
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
ESPERTO
Greg_B
con risposta un anno fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande