Hi, I am trying to connect my M5Stack to the AWS service using MQTT protocol. I tried various possible ways and had no good results.
A similar problem was already discussed in the forum but not resolved.
It was mentioned that the problem could be the policy associated with the object, in my object I used the following policy:
Previously I was able to connect the same device by programming it from the arduino IDE. In that case I used the same format for designing the object policy, which would seem to indicate that this is not the problem.
In the figure there is a simple example, which should send one message per second.
From the AWS console, in the test tab it is not possible to subscribe with the topic corresponding to the messages sent by the device.
From the monitoring section in the console it is visualized that the connection between the device and AWS seems to be made.
Somebody could help me? In order to advance my project, I need to first achieve this communication with the kit.