1. Prepare IoT Hub and Device for this example 1.1. Developer PC - Generate Device self-signed certificates [MUST] Please follow up tutorial-x509-self-sign At last stage, you need to run the following command for making .pem file: openssl x509 -in prov_device1.crt -out prov_device1.pem -outform PEM For your reference, prepare example log as below: Notice! device ID = "W5100S_EVB_PICO_PROV_X509" ..
1. Prepare IoT Hub and Device for this example 1.1. Developer PC - Generate Device self-signed certificates [MUST] Please follow up tutorial-x509-self-sign For your reference, prepare example log as below: Notice! device ID = "W5100S_EVB_PICO_X509" MINGW64 ~ $ mkdir certi MINGW64 ~ $ cd certi/ MINGW64 ~/certi $ openssl genpkey -out device1.key -algorithm RSA -pkeyopt rsa_keygen_bits:2048 .........
1. Prepare IoT Hub and Device for this example 1.1. Azure portal [MUST] Same as 1.1. Azure portal in _1_APP_TELEMETRY_manual.md 1.2. Developer PC 1.2.1. SDK setting In the following pico-azure-iot-sdk-c/application/main.c source file, find the line similar to this and replace it as you want: (...) // The application you wish to use should be uncommented // //#define APP_TELEMETRY #define APP_C2D..
1. Prepare IoT Hub and Device for this example 1.1. Azure portal In Azure portal, you need to create a device and get the connection string informations as below: This example uses symmetric key You copy the key string,"Primary Connection String" and paste the string into your code as decribed in next section. 1.2. Developer PC 1.2.1. SDK setting In the following pico-azure-iot-sdk-c/application..