Ahh, I just looked up the port numbers - port 1883 is the one for MQTT.
Are you sure you did the line sudo apt-get install mosquitto mosquitto-clients bluetooth bluez libbluetooth-dev libudev-dev and it succeeded? It's possible if you didn't do an update before then the command might have failed.
You could try it again now without problems.
The important bit is installing mosquitto - the MQTT server.
If everything works, you should be able to run the command mosquitto_pub -h localhost -t hello -m world without errors.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ahh, I just looked up the port numbers - port 1883 is the one for MQTT.
Are you sure you did the line
sudo apt-get install mosquitto mosquitto-clients bluetooth bluez libbluetooth-dev libudev-dev
and it succeeded? It's possible if you didn't do an update before then the command might have failed.You could try it again now without problems.
The important bit is installing
mosquitto
- the MQTT server.If everything works, you should be able to run the command
mosquitto_pub -h localhost -t hello -m world
without errors.