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

質問済み 1年前643ビュー
1回答
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
エキスパート
Greg_B
回答済み 1年前
  • 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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ