mqtt

  1. T

    B4R Tutorial Node-Red MQTT controlling 8+8 digital Inp-Out and I2C ADC on ESP32

    Hi Here a sample program to control/monitor 8+8 digital Out-Inp, plus an I2C ADC. The program use the MQTT protocol. This program is an evolution of the previous one I posted. This version add the monitor of 8 digital Input and four analog input read by ADC (ADS1115).
  2. M

    iOS Question iMQTT - Error decompressing data

    Hi everyone i'm trying to use MQTT for the first time. I follwed this example. It connects succesfully but unfortuntely when I receive a message this error shows up Error occurred on line: 96 (B4XPage_Details) Error decompressing data Stack Trace: ( CoreFoundation...
  3. H

    Android Code Snippet [B4X] Audio Over MQTT

    Hi everyone, I attached simple example for streaming audio from B4A to B4J over internet using MQTT. Enjoy without limitations of Server/Client problems over internet such as ISP block. You can use this approach to create a lot of things such as Radio station, voice call, etc ...
  4. F

    Android Question Mqtt - javax.net.ssl.SSLProtocolException

    Hi, I have a problem with mqtt library version 1.01 I have to connect via ssl connection to my mosquitto server; I followed the tutorial at this link https://www.b4x.com/android/forum/threads/b4x-mqtt-ssl-and-self-signed-certificates.100973/#content, but I have these errors...
  5. G

    Android Question B4A & AWS MQTT Connection (IOT)

    Hello everyone! I must make an app (to be more specific 2 apps Android & IOS). I want to connect with AWS MQTT Broker, via MQTT protocol. I made a lot of tries to achieve a connection (first of all, and then publish-subscribe to a topic), with no success. Is there someone, who has used AWS, to...
  6. Pxs

    B4J Question MQTT Error: client connected (32100)

    Hello I'm using mqtt to subscribe a large number of topics, i noticed that sometimes i get the "Client connected (32100)" error. When this happens, the client disconnects without triggering the _disconnected event. This seems to happen sometimes when receiving multiple topics after...
  7. irhamnur00

    B4R Question ESP32 connected to Node-RED, but it can't receive a topic message input from the server

    I was just trying to make my first project with B4R. Also, I was a newbie in microcontroller programming. In this my first project, I make a dashboard in Node-RED to display a value from the ESP32 and to control the blue LED on ESP32. The value had been successfully sent, but until now the...
  8. bdunkleysmith

    B4J Question [SOLVED] Websocket connection to MQTT based API

    I am trying to connect to a data streaming API and below is an extract from the API documentation (in red italics). Connection to the message broker is made using a Websocket connection and the message broker makes use of the MQTT protocol. So my initial obstacle is that I understand that...
  9. amorosik

    B4J Question Windows ram problem with B4J mqtt client

    I have a program, made with B4J (ver. 8.50) which is active 24 hours a day on Windows 10 professional pc This program connects with a mqtt broker, Mosquitto, to 'read' the commands that some phones send, commands that must be executed on the pc The program works correctly, but using the Windows...
  10. amorosik

    Italian [B4A] Inviare file via Mqtt - come 'passare' il nome del file?

    Vorrei passare su pc un file di testo che si trova nella memoria Android Smartphone e pc comunicano via mqtt L'invio e la ricezione avvengono correttamente Ma, lato ricezione, uso questo codice: Private Sub mqtt_MessageArrived (Topic As String, Payload() As Byte) Dim out As OutputStream =...
  11. janderkan

    B4R Library Update to rMQTT internal library

    This updates the PubSubClient to v2.8 These functions have been added to B4R: IsConnected SetBufferSize SetKeepAlive SetSocketTimeout You must exchange the included folder and xml file in B4R folder: C:\Program Files (x86)\Anywhere Software\B4R I hope that this could be added to B4R, so it...
  12. amorosik

    Italian [B4A] Trasferire file di testo da Android a pc con programma B4J usando Mqtt

    Sto realizzando il trasferimento di file di testo da un'app Android verso pc Vedo che le vie classiche prevedono installazione server http oppure ftp sul pc, in ascolto ed in grado di ricevere il file Avendo gia' un progetto che utilizza mqttra Android e pc la comunicazione mqtt, mi chiedevo se...
  13. amorosik

    Italian Come rendere comunicazione app-pc via mqtt 'a prova di bomba' ?

    Qualche anno fa, Oracle ha usato il termine 'unbreakable' per il suo database Vero o non vero, sicuramente ha attirato l'attenzione Bon, tornando a noi, la domanda e': - come realizzare una comunicazione 'unbreakable' tra app Android e pc, via mqtt ? Cadute connettivita', riavvio server mqtt...
  14. amorosik

    Italian [B4X] MQTT - Che vantaggi ad acquistare servizio tipo CloudMqtt rispetto al classico Mosquitto e company?

    Sto sperimentando un po' con le comunicazioni via Mqtt Come server (o come broker) sto usando Mosquitto installato su uno dei pc della lan, con relativo instradamento sul router per farlo trovare anche da dispositivi esterni alla lan Vedo che esistono molti servizi che offrono il server Mqtt sia...
  15. amorosik

    Italian [B4X] Protocollo MQTT - quando si parla di 'broker' si intende il server Mqtt ?

    Sto cercando di realizzare la comunicazione via Mqtt tra diversi pc e diversi smartphone, la classica chat In tutti i post si parla di 'broker' Non ho ancora capito esattamente se per 'broker Mqtt' si intenda indicare il 'server Mqtt' Analogamente ad un server di database, il programma cui i...
  16. amorosik

    Italian [B4X] Mqtt vs Firebase Realtime vs notifiche push (Firebase Cloud Messaging)

    Per comunicare rapidamente da pc centrale a uno o piu' smartphone Android ho usato finora Firebase Realtime oppure le notifiche push Firebase Cloud Messaging Vedo che usando il sistema di messaggistica su server Mqtt sono realizzabili grossomodo le stesse funzionalita' Ci sarebbe pero' il...
  17. AKJammer

    B4J Question MQTT for SMS return Messages?

    Hey All, Before I get too far down this rabbit hole I figured I'd ask the community. I have a B4J project and have been able, with great help from everyone, to get outgoing SMS texting set up and working. I wasn't planning on having two way communication, but since I've got extra time...
  18. james_sgp

    Android Question MQTT between Android and ESP

    Hi, I`m trying to get the MQTT setup between an ESP board and B4A. I have tested the MQTT with Autodiscovery between two phones and works perfectly, however, I can`t get it to work with the ESP. The code on the ESP is waiting for topic and I don`t see how that is used in the B4A MQTT example?
  19. paris7162

    B4A Library MQTT Multiplayer Library

    This is a MQTT Multiplayer Library created by one of the best B4A library creators and member in the B4X Community. I use his libraries in all of my games. I didn’t write any of this code and I told him I would keep his identity private unless he wanted to reveal who he is. I use it to play a...
  20. N

    Android Question Receive data from MQTT broker into MQTT Android Client

    Hey guys, I am new to B4x. I have been watching videos recently and doing beginner programs but my main objective is to use B4a to create an app that receives data from MQTT broker myqtthub.com. The data later needs to recorded over time and represented on a graph. I'm looking for a template...
Top