B4J Library [B4X] jMQTT - Official MQTT client - Erel    Apr 15, 2025   (24 reactions) Implementation of MQTT client based on the Paho open source project: http://www.eclipse.org/paho/
See this tutorial for more information: https://www.b4x.com/android/forum/threads/iot-mqtt-protocol.59471/
jMQTT v1.26 is compatible with B4J and B4A (older versions weren't compatible... B4A Tutorial [B4X] MQTT Chat Room - Erel    Nov 18, 2019   (43 reactions)   tags: B4X, MQTT, Chat Room It's time to learn how to use MQTT: https://www.b4x.com/android/forum/threads/59471/#content It is simple and powerful. In most cases MQTT is the best solution for low level networks. Low level.... In this example we implement a chat room with one or more users. The MQTT broker is embedded in the Android app (jMqttBroker library). The clients are Android, iOS or desktop apps. Any number... the soft keyboard changes. jMQTT library: https://www.b4x.com/android/forum/threads/59472/#content... Share My Creation [B4X] ShareYourSpot (GPS, FLP, MQTT) 0$ - Magma    Jun 27, 2024   (28 reactions) .. sharing them with MQTT Broker with AES Encryption...
What Exactly do that APP ?
- Get GPS Location using FLP (location get at background and foreground) and publish at MQTT Broker - at specific... B4A Tutorial [B4X] MQTT - Connect & Reconnect - Erel    Sep 27, 2021   (20 reactions)   tags: wait, B4J, B4A the connection has broken. It sends a "ping" request every 5 seconds to help the MQTT client recognize... the working variable to False. Sub ConnectAndReconnect Do While working If mqtt.IsInitialized Then mqtt.Close Do While mqtt.IsInitialized Sleep(100) Loop mqtt.Initialize("mqtt", "ssl://io.adafruit.com:8883", "B4X" & Rnd(0, 999999999)) Dim mo As MqttConnectOptions mo.Initialize(username, password) Log... B4A Library jMQTT - Official Android MQTT client - Erel    Feb 17, 2020   (14 reactions)   tags: Erel The B4J jMQTT library is fully compatible with B4A: https://www.b4x.com/android/forum/threads/59472/#content A tutorial about MQTT: MQTT Protocol Implementation of the same example is attached (you need to set the user name and password if you like to test it).... B4A Tutorial MQTT Chat with Auto Discovery - Erel    Jan 30, 2017   (28 reactions)   tags: B4a This is an extension to the MQTT chat room example: https://www.b4x.com/android/forum/threads/b4x-mqtt-chat-room.61568/#content It is a chat room where one of the devices acts as a server and the others as clients. https://www.b4x.com/basic4android/images/SS-2017-01-30_10.56.47.jpg The difference in this example is that the clients don't need to enter the server ip address. All devices listen to UDP packets on port 51049. The server broadcasts its ip address every second. It is done... B4A Question Mqtt chat network error - postasat    Mar 21, 2018 Hello, I have a problem using mqtt chat with autodiscovery. I use a tablet as server and phones as client in a mqtt chat with autodiscovery. Both are connected in the same wifi network but the wifi network have no internet connection. If the phone have wifi on and mobile data on, when I start connection, the phone/client can't find the tablet/server and I have success=false in a few time in the "Private Sub client_Connected (Success As Boolean)". If I turn off the phone mobile... B4A Example Dual Screen using MQTT - aeric    Jun 25, 2025   (10 reactions) An example of sending data from device A and display on device B screen using MQTT protocol..., not waiting to get spoon feed.
Update:
Version 2 add B4J projects and tested with jMQTT v1.26 and... B4A Code Snippet [B4X] MQTT SSL and Self Signed Certificates - Erel    Jan 1, 2019   (13 reactions)   tags: MQTT There are two client libraries: jMQTT for B4A and B4J and iMQTT for B4i. Both libraries support SSL connections. You just need to change the URI scheme to ssl:// instead of tcp://: mqtt.Initialize("mqtt", "ssl://127.0.0.1:17178", clientId) If the broker is using a self signed... As MqttConnectOptions mo.Initialize(user, password) TrustAll(mo) mqtt.Connect2(mo) 'Depends on JavaObject and jNet or Net libraries Sub TrustAll (mo As MqttConnectOptions) Dim SSLContext... B4A Example Chat Mqtt Over Internet Free Source Code B4A/B4J - XorAndOr    Sep 5, 2022   (18 reactions) Hi to all Based on this link https://www.b4x.com/android/forum/threads/b4x-cross-platform-chat-layout-example.112649/#content I have added MQTT. It's a simple example that I want to share with you Have fun improving it, perhaps adding a base64 security on the string etc. Note: if you change the topic name, remember to split the string GetIDFromTopic = Topic.SubString(10)'get UserId otherwise the way of writing on the chat is wrong. The attached examples are client. You can install... Page: 1   2   3   4   5   6   7   |