Hi, I am a student and I have a question. I’ve downloaded https://github.com/loovee/aws_mbedtls_mqtt tutorial and edited aws_paho_shadow example to upload RFID tag to AWS IoT Thing Shadow. I have managed to upload the tutorial based on the touch sensor and LED Bar to AWS IoT successfully, but when I edited it to upload RFID data from RFID reader, it shows the
“An error occurred in the loop.”
It means NONE_ERROR != rc, can someone explain to me what does NONE_ERROR != rc mean?
Attached with this is my edited aws_paho_shadow for uploading RFID data to AWS Thing Shadow.
Can anyone help me with this code and explain to me what went wrong? Is the actuator and the callback needed to update shadow? Because no matter how many attempts I have tried, I did not manage to succeed in uploading the tag to AWS Iot. Please help.
aws_shadow.ino (10.1 KB)