android icon indicating copy to clipboard operation
android copied to clipboard

Get configuration for monitoring mode in HTTP mode (Android)

Open hyteoo opened this issue 5 years ago • 5 comments

I am using HTTP mode on Android. Maybe I'm missing something, but how can I retrieve the monitoring mode of a device that just sent a location update? I want to query the app's monitoring mode for my logic but noting wored so far.

I tried with {"_type":"cmd","action":"dump"}. However that doesn't trigger any action from the Android app.

hyteoo avatar Oct 17 '19 08:10 hyteoo

Which topic are you publishing to? Have you used the ../cmd branch, and are you publishing with QoS>0 ?

jpmens avatar Nov 09 '19 20:11 jpmens

I am using HTTP mode on Android. No MQTT involved here. I am returning the cmd together with the HTTP response.

hyteoo avatar Nov 12 '19 06:11 hyteoo

I'm sorry; you did say "HTTP".

I'll have to defer to @growse or @binarybucks

jpmens avatar Nov 12 '19 08:11 jpmens

The dump command is not implemented at the moment

binarybucks avatar Nov 12 '19 13:11 binarybucks

Got it. In that case Is there a way to retrieve the monitoring mode through HTTP?

hyteoo avatar Nov 12 '19 14:11 hyteoo