Comments (8)
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.
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.
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.
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.
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.
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.
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.
Comment by sumnerboy12 from Monday Jan 13, 2014 at 08:55 GMT
Happy to help!
from android.
Related Issues (20)
- 'locatorPriority' setting no longer exposed in the configurations HOT 8
- . HOT 1
- Unable to connect to HTTP endpoint using TLS HOT 11
- Cannot use "mock location" HOT 11
- Failing to connect to MQTT server with TLS (but Recorder succeeds) [Trust anchor for certification path not found] HOT 4
- MQTT Client Certificate "forgotten" when going into preferences
- support offline maps mapforge
- OwnTracks 2.5 sometimes doesn't get last reported locations on startup HOT 2
- No continuous position updating for OwnTracks 2.5 HOT 29
- Can't disable persistent notification HOT 6
- Version 2.5.0 on Android not showing list of friends (not even its own device) HOT 13
- Region Departing/Entering Notification Not Working HOT 7
- Can't enter negative numbers in longitude field on the region add activity
- LWT messages no longer contain `tst` timestamp in 2.5.0 HOT 1
- Trigger "t" causes Unknown message type on Android HOT 21
- [Feature Request] Add Options To Stop Tracking in Airplane and Battery Saver Mode HOT 6
- Background updates not working since V2.5.0 HOT 2
- Exposing bearing to the location messages HOT 4
- Does not respond to MQTT payload when screen is off and app not in foreground HOT 1
- Significant change mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android.