AVR-IoT WG Add Multiple Subscription

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

Hi, recently I bought a AVR-IoT WG card. All sample work properly with my personal google account, but I don't understand how to catch (I mean subscribe), other then the config, also the events and commands. By default I can sub only 1 topic. I have tried to modify the SUBSCRIBE costant to 2 and put an Index in the function that make the subscription, but I got only the first one(config). Can sombody give me a tip how to modify the sample code in order to made multiple subscription?

Thank you.