Copyright 2022 WIZnet Co., Ltd. All rights reserved.
•
Create a thing object
Pay special attention to the Notes.
8
Provision the Device with credentials
You need to enter the root certificate, client certificate and private key that were downloaded
earlier.
Root certificate uses the RSA 2048 bit key, Amazon Root CA 1, and does not use the public key.
Device certificate and key can be set in 'mqtt_certificate.h' in 'WizFi360-EVB-Pico-AWS-
C/examples/aws_mqtt_demo/' directory.
uint8_t mqtt_root_ca[] =
"-----BEGIN CERTIFICATE-----\r\n"
"...\r\n"
"-----END CERTIFICATE-----\r\n";
uint8_t mqtt_client_cert[] =
"-----BEGIN CERTIFICATE-----\r\n"
"...\r\n"
"-----END CERTIFICATE-----\r\n";
uint8_t mqtt_private_key[] =
"-----BEGIN RSA PRIVATE KEY-----\r\n"
"...\r\n"
"-----END RSA PRIVATE KEY-----\r\n";