As mentioned earlier, Shiftr.io provides a free public broker which anyone can use. This broker is accessed at public.cloud.shiftr.io. Note that anyone else can potentially access your messages or even send you a message. If you want a private broker, you need to set up an account on Shiftr.io. To connect to the public broker we use the username “public” and the password “public”.
For client ID I have chosen “GSWA4E_ARM_Demo”, and for the topic I have chosen “fistbump”. You can change both of these to whatever you want. We will see how to use them in the code that follows.
Leave a Reply