ESP32 subfolders
mars000 opened this issue · 3 comments
mars000 commented
Do you have an example of how I can publish and subscribe to a specific topic and subtopic.
its not clear from your existing examples how i can do this.
galz10 commented
Hey mars, check out this link Wiki Link it might help with what you're looking for.
mars000 commented
Thanks.
Any idea of how do I subscribe to a specific topic from say ESP32 device ?
From: Gal Zahavi <notifications@github.com>
Sent: Friday, 14 August 2020 03:43
To: GoogleCloudPlatform/google-cloud-iot-arduino <google-cloud-iot-arduino@noreply.github.com>
Cc: mars000 <mars000@gmail.com>; Author <author@noreply.github.com>
Subject: Re: [GoogleCloudPlatform/google-cloud-iot-arduino] ESP32 subfolders (#185)
Hey mars, check out this link Wiki Link <https://github.com/GoogleCloudPlatform/google-cloud-iot-arduino/wiki/How-to-push-to-a-specific-topic%3F> it might help with what you're looking for.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#185 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEURLD5RXPDAM77GYA2QTCTSAQQZBANCNFSM4PY7JETA> . <https://github.com/notifications/beacon/AEURLD5IQJ2XEDHEQF3U6GTSAQQZBA5CNFSM4PY7JETKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFATIYAQ.gif>
galz10 commented
To subscribe to a specific topic, once you're connected to IoT Core you can call mqttClient.subscribe(topic). You can check out the Gateway example in the complex folder. The gateway example subscribes to topics of different devices.