F fanfalveto Active Member Licensed User Longtime User Oct 28, 2018 #1 I have 2 mobile applications with two users and the b4j application with another user (users created in cloudmqtt.com). Is it possible to send messages from user to user? one to one, not one at all? client.Publish2("all", CreateMessage(Body),2,True) Click to expand... runs ok one to all client.Publish2("movil", CreateMessage(Body),2,True) Click to expand... don´t send message to movil user thnak you
I have 2 mobile applications with two users and the b4j application with another user (users created in cloudmqtt.com). Is it possible to send messages from user to user? one to one, not one at all? client.Publish2("all", CreateMessage(Body),2,True) Click to expand... runs ok one to all client.Publish2("movil", CreateMessage(Body),2,True) Click to expand... don´t send message to movil user thnak you
Erel B4X founder Staff member Licensed User Longtime User Oct 29, 2018 #2 You are confusing the topic name and the MQTT user name. They are not related. Each MQTT client can subscribe to any number of topics. You can subscribe to a topic based on your user name. This will allow you to send messages to the "user name topic". Upvote 0
You are confusing the topic name and the MQTT user name. They are not related. Each MQTT client can subscribe to any number of topics. You can subscribe to a topic based on your user name. This will allow you to send messages to the "user name topic".
F fanfalveto Active Member Licensed User Longtime User Nov 1, 2018 #3 Thank you I will read more about it to see if I can fix it Upvote 0