Code Monkey home page Code Monkey logo

Comments (8)

jpmens avatar jpmens commented on August 15, 2024

Comment by jpmens from Monday Jan 13, 2014 at 07:23 GMT


my Android phone seems fine with an empty subscription value.

If you feel like starting your MQTT broker in debug mode, I think you'll see Android subscribes with a default of mqttitude/+/+ (the broker's debug log will show what the client is subscribing with).

from android.

jpmens avatar jpmens commented on August 15, 2024

Comment by jpmens from Monday Jan 13, 2014 at 07:25 GMT


If you want to work around the issue for the moment, you could set your wife's phone to subscribe to a topic branch you won't be using (e.g. "nothing/dear"); that way the phone won't be "pestered" :-)

from android.

jpmens avatar jpmens commented on August 15, 2024

Comment by sumnerboy12 from Monday Jan 13, 2014 at 07:26 GMT


Yep - noticed this just before actually - the field is empty but in light grey it shows mqttitude/+/+ - and I noticed my wife's location popping up. So yes, I can confirm the Android app still subscribes.

from android.

jpmens avatar jpmens commented on August 15, 2024

Comment by sumnerboy12 from Monday Jan 13, 2014 at 07:27 GMT


Yeah it is not a big issue for me - I am happy to have a subscription in there - but it took me a good hour of debugging to figure out what was going wrong so I figured it was worth noting here so Chris can have a look. Might cause others some headaches otherwise.

from android.

jpmens avatar jpmens commented on August 15, 2024

Comment by jpmens from Monday Jan 13, 2014 at 07:28 GMT


Yes, and that is good! We wanted it thusly. I think your use-case is rather special. :-)

from android.

jpmens avatar jpmens commented on August 15, 2024

Comment by sumnerboy12 from Monday Jan 13, 2014 at 07:32 GMT


Yep - happy with that, since I will disable auto-publishing on both apps once the geofence stuff is finished for Android.

from android.

jpmens avatar jpmens commented on August 15, 2024

Comment by ckrey from Monday Jan 13, 2014 at 08:42 GMT


Good you found that one!
I never thought of switching the subscription off...

The app tries to subscribe with a zero length Topic Filter and the server correctly reacts by closing the connection.

With 5.6, I will suppress the subscription if the the topic filter is specified as empty (zero length).

from android.

jpmens avatar jpmens commented on August 15, 2024

Comment by sumnerboy12 from Monday Jan 13, 2014 at 08:55 GMT


Happy to help!

from android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.