mqtt

  1. 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...
  2. 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...
  3. J

    Android Question MQTT Cellphone Network cost

    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...
  4. W

    Android Tutorial Hugo - ESP8266 4-button WiFi remote

    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...
  5. janderkan

    B4J Question ABMaterial - Global variables

    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...
  6. james_sgp

    Android Question MQTT lost connection, with good Wifi Signal

    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...
  7. james_sgp

    UDP over MQTT Loosing Packets?

    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...
  8. M

    Wish MQTT Enhancement - Include BeginPublish,EndPublish,Write methods

    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...
  9. A

    Android Question [Resolved] JMQTT /Static receiver

    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...
  10. A

    Android Question MQTT library for B4A

    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
  11. M

    MQTT B4A Developer project

    We have the need for a developer to write a library to communicate with some MQTT based home automation equipment. Would need to be able to start immediately and have proven experience in writing library’s and communicating with MQTT based equipment. There is a number of devices we would like to...
  12. pompierecattivo

    B4J Question jMQTT error, paho version.

    Hello, sorry for my bad english and also for my basic knowledge about code writing. I've got a crash on my app using jMQTT library. I've read by erel that the library haven't update since today because it's stable. In my case the error (quite difficult for me to intercept it) on debug window...
  13. A

    Android Question MQTT with CA file

    HI, I'm developing a MQTT client and I would like to know how to connect with a broker using a certificate file. The connection must use mqtts/tls protocol. Thanks
  14. CanguroCode

    B4J Question How to use 'wait for' in a Mqtt Class

    I have a mqtt class for broker connection, send messages and receive messages. The logic that I use is: 1. Client publish message to topic: "mytopic" 2. In the other side an Script is subscribed to the topic: "mytopic" 3. As soon as the message is received, the script publishes in: "response"...
  15. alimanam3386

    Android Question what is the best protocol for an app with 1m users

    Hi guys, Imagine an application you want to create for/with 1 million users. What protocol do you use for this volume of connections? my options for server side are : WebSocket ( jServer library - b4j ) MQtt ( I run a broker or MqttClient ) Node JS ( my knowledge is weak about it ) What do...
Top