B4J Question MQTT messagid

madru

Active Member
Licensed User
Longtime User
Hi,

looks like that the messagid is always set to 0 if subscribing > QoS=0, can somebody confirm and/or verify?



THX
 

Attachments

  • Untitled.png
    Untitled.png
    21 KB · Views: 228
  • Untitled1.png
    Untitled1.png
    145.6 KB · Views: 218

madru

Active Member
Licensed User
Longtime User
yes, the Paho native client shows the correct behaviour

Client mosqsub/6782-Asmo received PUBLISH (d0, q1, r0, m13, 'test', ... (5 bytes))
Client mosqsub/6782-Asmo sending PUBACK (Mid: 13)

I haven't verified if they are based on the library
 
Upvote 0

madru

Active Member
Licensed User
Longtime User
messageId is always set to 0, in the paho native client you can see the counting ID's correctly.

found an old thread with the same problem, .....not sure which version you have wrapped
 
Upvote 0
Top