Public broker hiveq and iot bit 1.6

hi i want to remote my led by my smartphone using the internet
so i used iot bit 1.6 and microbit v2
i connect to pubic broker (broker.dashboardmqtt.com)
but i don´t succeed to subscribe to my topic led despite i connect and i publish with mqtt dash android application
and also with my browser on my laptop i publish in the topic led and it works well
help please
thx in advance

Hi @naim ,

Nice to see you interested in MQTT and HiveMQ, welcome to the community.

What is the error that you see?

1 Like

hi the problem that i can´t publish or subscribe to my topic using mirobit and iot bit 1.6 despite my makecode code is correct
so i connect to the broker but i don´t succeed to subscribe to my topic despite i publish and i subscribe to my topic using dash mqtt android application
help please
thx in advance

@naim ,

What do you mean by: “so i connect to the broker but i don´t succeed to subscribe to my topic” ?

Please specify the following:

  • what command you run
  • what error you receive

Thanks,
Dasha from HiveMQ team

when i create my code by makecode i create if bloc to verify broker connection
that´s it