-
Notifications
You must be signed in to change notification settings - Fork 64
PlatformIO based sample for ESP8266 #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…new sample is to show how developers can use the Azure Embedded C SDK with Platform IO.
…sample. It includes a separated folder structure between the Arduino and PlatformIO IDE samples with an updated readme for running the PlatformIO sample. This new sample also includes some changes on how the MQTT client id is generated for it to work both with Azure IoT Hub and IoT Edge.
@danewalton would it be possible to add this sample for PlatformIO to this repo? Sorry for tagging you, I just noticed that no reviewers were added. |
Hi @niswitze , thanks for the PR. This message is just to acknowledge your submission. We did not have a chance to review your PR yet, but we will work on it soon. Thanks. |
Thanks @ewertons. Please let me know if I need to make any updates before the PR can be fully reviewed. |
@niswitze please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
Hey, |
Pretty cool
From: KhubaibAli95 ***@***.***>
Sent: Tuesday, June 25, 2024 2:42 AM
To: Azure/azure-sdk-for-c-arduino ***@***.***>
Cc: Eric Wolz ***@***.***>; Mention ***@***.***>
Subject: Re: [Azure/azure-sdk-for-c-arduino] PlatformIO based sample for ESP8266 (PR #10)
Hey,
I am using modem to connect my ESP32 with Azure IoT Hub. I am using the example Iot_Hub_ESP32 and i add all my credentials but it is giving me the error of "Failed generating encoded signed signature". I add all credentials like my Iot Hub Url, primary connection string. I also try to use Azure IoT Explorer but still same error. It couldn't even generate the SAS token.
Than i tried to use the functions for generating SAS token separately in separate code. I werer able to generate the SAS token but than i am not able to initialize the mqtt client. It gives back trace and ESP32 is restarted again and again. I could n't understand what is the problem why the built-in example is unable to generate the SAS token and second if i am able to generate the SAS token why i couldn't able to initialize the mqtt client. Kindly Please guide me about this i am waiting for the reply.
-
Reply to this email directly, view it on GitHub<#10 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AI5PLYJ6WP7UNQ2FUKVSFWTZJE3N5AVCNFSM6AAAAABJ3OYVSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGQ2DMOJWG4>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
But i am facing the problem. when I run the example of IoT_Hub_ESP32 it
gives me an error "Failed generating encoded signed signature". I add all
credentials like my Iot Hub URL and primary connection string. I also try
to use Azure IoT Explorer but I still had the same error. It couldn't even
generate the SAS token.
Then i tried to use the functions for generating SAS tokens separately in
separate code. I were able to generate the SAS token but then I could not
initialize the MQTT client. It gives backtrace and ESP32 is restarted again
and again. I couldn't understand why the problem is why the built-in
example is unable to generate the SAS token and second if i am able to
generate the SAS token why i couldn't able to initialize the mqtt client.
Kindly Please guide me about this i am waiting for the reply.
…On Wed, Jun 26, 2024 at 12:30 AM Eric Wolz ***@***.***> wrote:
Pretty cool
From: KhubaibAli95 ***@***.***>
Sent: Tuesday, June 25, 2024 2:42 AM
To: Azure/azure-sdk-for-c-arduino ***@***.***>
Cc: Eric Wolz ***@***.***>; Mention ***@***.***>
Subject: Re: [Azure/azure-sdk-for-c-arduino] PlatformIO based sample for
ESP8266 (PR #10)
Hey,
I am using modem to connect my ESP32 with Azure IoT Hub. I am using the
example Iot_Hub_ESP32 and i add all my credentials but it is giving me the
error of "Failed generating encoded signed signature". I add all
credentials like my Iot Hub Url, primary connection string. I also try to
use Azure IoT Explorer but still same error. It couldn't even generate the
SAS token.
Than i tried to use the functions for generating SAS token separately in
separate code. I werer able to generate the SAS token but than i am not
able to initialize the mqtt client. It gives back trace and ESP32 is
restarted again and again. I could n't understand what is the problem why
the built-in example is unable to generate the SAS token and second if i am
able to generate the SAS token why i couldn't able to initialize the mqtt
client. Kindly Please guide me about this i am waiting for the reply.
-
Reply to this email directly, view it on GitHub<
#10 (comment)>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AI5PLYJ6WP7UNQ2FUKVSFWTZJE3N5AVCNFSM6AAAAABJ3OYVSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGQ2DMOJWG4
>.
You are receiving this because you were mentioned.Message ID:
***@***.******@***.***>>
—
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASML4MRFMXRGONQM4ACHE3LZJHVRZAVCNFSM6AAAAABJ3OYVSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJQGEYDONZVHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This PR includes a sample project for PlatformIO for the ESP8266 sample that works with both Azure IoT Hub and IoT Edge.