Closed uriel-kluk closed 4 years ago
Hi, azure-iot-sdk-c - https://github.com/Azure/azure-iot-sdk-c/tree/1.3.8 digital client code - https://github.com/Azure/azure-iot-sdk-c/tree/76393ea9e407bb5ea9a181f223f5b37f510a1acc/digitaltwin_client
I have also faced the same issue for "Properties", using the auto generated code stub. Any clue regarding this would be helpful.
Microsoft support helped me to discover the issue. Kudos to @Ishu.
The branch public_preview_pnp
handles the callbacks for the twin differently from what the CodeGen expects.
I updated my project using the public_preview
branch and now the reported properties work fine.
I strongly suggest deprecating the public_preview_pnp
branch. or at least add a big message in the documentation. For developers, if you attended the PnP workshops, we started with the wrong branch switch over :)
Indeed thanks @ishu for help on this one.
@uriel-kluk - could you let me know where you heard to use public-preview-pnp
, either in docs or from presenters? The public-preview
branch is one we strongly recommend customers use for most development. public-preview-pnp
is our advance working branch which is still good (it runs against gates for checkins) but is out ahead and in particular will break things for code-gen.
Hi @jspaith
On April 8, 2019 we got invited to participate in the PnP Private preview. We worked on a FreeRTOS and mBed TLS so we couldn't use the vkpkg solution. I don't want to blame anyone and it is possible that we misinterpret the instructions from private to public preview
But these were our original links.:
I am only sharing to ensure other developers don't start from the public_preview_pnp
branch.
This issue can be closed :)
Thanks so much for taking the time to chat with us last week. I wanted to follow-up with the links to try our PnP Private Preview. We will have a Public Preview in the upcoming months.
I will make sure you get access to the following: https://github.com/Azure/Azure-IoT-PnP-Preview
To access Private Preview on Central visit: https://aka.ms/iotc-demo
Central documentation can be found here: https://github.com/Azure/Azure-IoT-PnP-Preview/tree/master/Central
Please let me know if you have any questions or feedback!
@uriel-kluk - appreciate you not wanting to blame anyone :) - I don't want to, either.
I've opened https://github.com/Azure/azure-iot-sdk-c/issues/1447 to track making our docs clearer.
Thanks for followup here.
John
@ShanmathiP, @uriel-kluk, @jspaith, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey
1147
Created my template and stub my code with CodeGen but getting the 400 error when sending the reported properties.
Commands, Telemetry and Desired properties are working