Minimal code implementing an UniquID node. It can be used to add UniquID functionalities to the AWS IoT C sdk.
Please refer to the README in the repo for further informations.
Copy in the "certs" directory the CA certificates chain to authenticate the aws-mqtt-proxy and the uniquid mqtt broker. The file must be named rootCA.crt
The device will try to connect to the proxy every 10 seconds, for this reason an error message will be reported until you create an UniquID Contract between the C device and the AWS-IOT-UNIQUID-AUTHORIZER to bind these two components.
Only when both the components will receive the contract from the blockchain, the device will be able to connect.