B4J Library jMQTT - Official MQTT client

Discussion in 'B4J Libraries & Classes' started by Erel, Oct 19, 2015.

Thread Status:
Not open for further replies.
  1. Erel

    Erel Administrator Staff Member Licensed User

    Attached Files:

    Kiffi, DonManfred, koaunglay and 8 others like this.
  2. narek adonts

    narek adonts Well-Known Member Licensed User

    Any channce for iOS?
     
  3. Erel

    Erel Administrator Staff Member Licensed User

  4. rboeck

    rboeck Well-Known Member Licensed User

    I think, it could be an interesting idea, to use (optional) MQTT for b4a bridge - we would get some interesting features: simultan distribution to many devices, no need to care about ip adresses. On the negative side i see that only one device can be an debug device and the transmission speed is not the same as in direct tcp socket connection.
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    Mark Turney likes this.
  6. coslad

    coslad Well-Known Member Licensed User

    Hi , the mqtt client doesn't supports keep alive parameter, will it implemented ?
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    Why do you think that it is not supported? A ping is sent every 60 seconds.
     
  8. coslad

    coslad Well-Known Member Licensed User

    I mean that it is not possible to change the keep alive timing, sometimes 60 seconds are too much and sometimes is too short
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    It is possible. Start a new thread in the questions forum and I'll show you how it can be done.
     
  10. madru

    madru Active Member Licensed User

    any change to get a actual version of paho into the library?
     
  11. Erel

    Erel Administrator Staff Member Licensed User

    The current version is based on paho v1.02.
     
  12. madru

    madru Active Member Licensed User

    1.02 is outdated 1.2 is the latest with ws & was support :)



    THX
     
    Last edited: Jun 19, 2018
    Don Oso likes this.
  13. Don Oso

    Don Oso Member Licensed User

    I think that this Wrapper and all othres will be on GitHub in order to be maintained by de B4X community, many librarys goes unmaintained like this one , jpdf and others.
     
  14. coslad

    coslad Well-Known Member Licensed User

    Maybe Erel should search a easiest way to wrap an Android Java library into b4a, this is the only one limit I find into the b4x product. Come on Erel !
     
  15. Erel

    Erel Administrator Staff Member Licensed User

    It would have been updated if anyone had reported a single issue with the current version.
     
  16. madru

    madru Active Member Licensed User

    understood, I never identified real operational issues.

    But a few ... with this release:
    message numbering with QoS >0 does not work - always zero.
    no WS suport
    no WSS support
     
  17. Erel

    Erel Administrator Staff Member Licensed User

    We already discussed it in the past: https://www.b4x.com/android/forum/threads/mqtt-messagid.81834

    Based on the last comment there it was not fixed and I still don't understand why you need it.

    There is very good support for WebSockets in all B4X platforms. For now there is no plan to add MQTT over WebSockets.

    Anyway, this is not the place to post feature requests. You can start new threads in the wishlist forum. Do know that I will ignore requests that are not properly explained with real use cases.
     
Thread Status:
Not open for further replies.
Loading...
  1. 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.
    Dismiss Notice