Questions tagged as 'mqtt'

2
answers

Receiving wrong id

In the small project that I'm doing, the user enters his login and password. The system posts to a URL and checks the response. If you log in, it returns some things like user ID, email and everything. I need to get the user ID to be able to...
asked by 27.11.2018 / 13:28
0
answers

Arduino MQTT connection through file reading

In connection with the mqtt server using the PubSubClient library, I can connect normally using: #define servidor_mqtt "192.168.15.24" But this way I'm always going to use the same address for the broker. So, I made a program that reads...
asked by 28.06.2018 / 15:46
1
answer

How to get communication response using MQTT

I'm developing an application which uses the MQTT communication protocol, where my system sends a command to a certain device, my machine is receiving the command and changing the status. The problem is: how do I get feedback from my device? Bec...
asked by 27.07.2017 / 20:44
0
answers

Make MQTT SSL connection with CA signed server certificate

I need to sign up for an MQTT address, but I get an exception. As far as I know, I do not need to upload any certificates, just use the server's. What should I do? Code: public void connect() throws MqttException{ MqttConnectOptions opt...
asked by 28.11.2018 / 14:57
0
answers

MQTT ngx-mqtt angular / ionic

How can I have two connections open with distinct broker in the ionic, angular using ngx-mqtt or another lib.     
asked by 20.11.2018 / 14:56
0
answers

Error: 33 = got packets out of order

When I run the code, the serial monitor shows the temperature value, but then it does not send to the MQTT broker nor to the database, if you run the code separately, that is, one at a time it already sends or for the database or to the MQTT bro...
asked by 01.10.2018 / 19:46
0
answers

mqtt callback (char * topic, byte * payload, unsigned int length) esp8266

I'm using the mqtt communication protocol with esp8266 and there's this callback function it works great, but when I post a message with +120 characters it does not work, I wonder if I can increase the size of values I get send in this function...
asked by 16.05.2018 / 20:44
0
answers

Java and MQTT Broker

I'm learning to mess with broker and I'm trying to connect my java program to the online broker of shiftr.io and it's returning: Exception in thread "main" O cliente não está conectado (32104) at org.eclipse.paho.client.mqttv3.internal.Exc...
asked by 10.02.2018 / 23:11