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...
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 =...
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...
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...
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...
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...
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...
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...
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...
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?
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...
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...
Hi All,
I've implemented a simple MQTT messaging system. with a B4J producer app and an Android consumer app to notify the user of an event.
Just for the record. It is exceptionally simple to get it going. Thnx to all who contributed to the libraries.
Does anyone know how the mobile operators...
Not exactly a tutorial or Android-only, but a hint to the community for those who like playing with home automation stuff, and possibly for others as well. I happened across this very nice device (IMHO): https://www.tindie.com/products/nicethings/hugo-esp8266-4-button-wifi-remote/ and couldn't...
Hi all
When I log in, my database module returns a map with user data.
I think of ABMaterial as a B4J app and put these data into a Process_Globals variable.
My friend think it is neccessary to put the user data in a session cookie.
Who is right ?
Also I would like to initialize a Mqtt...
Looking for advice, I`ve been trying an app using MQTT over wifi. I have a strong wifi signal all the way out at 600+m (clear line of sight), but I`m losing connection to the MQTT Broker at about 150m?
I`m sending about 10KB on data at a time, and the Broker is responding back with about 2KB of...
Looking for advice, I`ve been trying an app using MQTT over wifi. I have a strong wifi signal at 600+m, but I`m losing connection to the MQTT Broker at about 150m?
I`m sending about 10KB on data at a time, and the Broker is responding back with about 2KB of data. I`m unable to reconnect...
The B4R rMQTT library is based on the well known Arduino PubSubClient library written by Nick O'Leary. It's a subset of this library - with the most important/used methods wrapped. I do have a scenario that requires some of the additional methods to be wrapped as well. Specifically:
boolean...
Hi All,
I have a question that I am unable to implement in an example so seeking assistance.
The problem:
I have an mqtt app that is working perfectly fine; and working good in the background until it is killed, so for sure no other messages are being received or sent since the Starter service...
Hello,
I am now trying the chat MQTT example by Erel, but it shows (on B4A) that a library of MQTT and MQTT broker is missing.
I didn't find any MQTT library for B4A...
Does anybody know how to download the MQTT library for B4A?
Thanks in advance
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.