I have successfully tested the curiosity_pic32mzef example with the PIC32MZ2048EFM100 microcontroller.
The project is sent to update a shadow document up to 20 times and this can be seen reflected in the change of state of a led diode.
But when I send my JSON from the client console to change the state of the led, there are occasions that nothing happens, others it works wonderfully and it is supposedly the correct way to do it as in the following image:
It is not a problem of the microcontroller, because with a button I have also added a process so that again it changes the shadow document and it does it without problems.
Any comment or suggestion is welcome