Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

How to push to a specific topic?

Gal Zahavi edited this page Jul 1, 2020 · 1 revision

To publish to a specific topic, you will need to first create this topic in PubSub.

Then you can use publishTelemetry(String subfolder, String data) to publish the data.

You would use this function as follows:

publishTelemetry("/topic-name","Data");