SAMD21 + Google IOT

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

 

I'm currently using the solution/project on github:  https://github.com/MicrochipTech/gcp-iot-core-examples with SAMD21 + WINC1510 + ATECC608A

I've also used AVR-IoT with the example avr-iot wg sensor node from atmel start.

 

There are 4 MQTT topics for devices to work with (this is all on device side, not Cloud side):

 

/devices/{device-id}/commands
/devices/{device-id}/config
/devices/{device-id}/state
/devices/{device-id}/events

 

So I've tested with the same project + registry + region in AVR-IoT and SAMD21 in both I subscribed to /devices/{device-id}/commands/# topic.
In AVR-IoT I receive the data sent from the command in the callback function, on SAMD21 the callback function is not even activated...

On the cloud, it says the command was sent successfully to the device but nothing shows up.

 

Is this some kind of bug from the library?  What's wrong?

 

Best regards,
Daniele