Aug 28, 2022 Replies: 4 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 B4X: GetIDFromTopic = Topic.SubString(10)'get UserId otherwise the way of writing on the chat is wrong. The attached examples are client. You can install it on multiple devices.Each app has a different id. Attachments B4JChatMqtt.zip B4JChatMqtt.zip 8.3 KB · Views: 1,112 B4AChatMqtt.zip B4AChatMqtt.zip 13.7 KB · Views: 1,218 Last edited: Sep 5, 2022 Click to expand...
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 B4X: GetIDFromTopic = Topic.SubString(10)'get UserId otherwise the way of writing on the chat is wrong. The attached examples are client. You can install it on multiple devices.Each app has a different id.
Luc Volders Member Aug 28, 2022 #2 I have a Raspberry Pi Zero running as an MQTT broker and going to try this. Thanks for sharing.
XorAndOr Active Member Licensed User Longtime User Aug 28, 2022 #3 Luc Volders said: I have a Raspberry Pi Zero running as an MQTT broker and going to try this. Thanks for sharing. Click to expand... The attached example B4J also works great on raspberry pi 3 with UI interface.
Luc Volders said: I have a Raspberry Pi Zero running as an MQTT broker and going to try this. Thanks for sharing. Click to expand... The attached example B4J also works great on raspberry pi 3 with UI interface.
sentechnologies Member Licensed User Aug 30, 2022 #4 I want to send continuous reading of speed sensor value through MQTT. so, i want to know how many messages can i able to send in a minute?
I want to send continuous reading of speed sensor value through MQTT. so, i want to know how many messages can i able to send in a minute?
XorAndOr Active Member Licensed User Longtime User Aug 30, 2022 #5 sentechnologies said: I want to send continuous reading of speed sensor value through MQTT. so, i want to know how many messages can i able to send in a minute? Click to expand... hi, sorry, I did not understand what it has to do with the chat example, however see here https://stackoverflow.com/questions...times-per-minute-mqtt-client-polls-the-server
sentechnologies said: I want to send continuous reading of speed sensor value through MQTT. so, i want to know how many messages can i able to send in a minute? Click to expand... hi, sorry, I did not understand what it has to do with the chat example, however see here https://stackoverflow.com/questions...times-per-minute-mqtt-client-polls-the-server