GithubHelp home page GithubHelp logo

atakmqttplugin's Introduction

MQTT ATAK Plugin Example

This is a demo plugin for ATAK showing MQTT functionality witin the plugin.

The plugin starts the paho MQTT service through the Plugin Lifecycle class and then sets up the client connection once the plugin ui has been opened. Once the UI has opened the plugin will publish any COT event over MQTT to the public Hive MQTT Broker under the testtopic/atak topic.

Disclaimer!

I spent a good amount of time developing in a Android AVD device running ATAK On the x86_64 API 26 image. Everything works fine in this build and on that OS. However I migrated an intall to a Samsung S9 Tactical Edition it it fails to start the MQTT service in the background. It appears that this may be related to a change in background service handling within Android, for which the Paho MQTT client hasnt been updated, there are several comments surrounding this. If anyone manages to fix this please push a change and let me know!

atakmqttplugin's People

Contributors

simon-ballantyne-online avatar simon-xisystems avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

45clouds

atakmqttplugin's Issues

Android Eclipse Paho MQTT service failed

Hi there,

I am able to compile and load the plugin to ATAK app on target Android device Samsung S8.
I do see the same problem as you mentioned in your README , unable to start the paho client service.

2021-09-07 16:17:15.326 3835-4200/? W/ActivityManager: Unable to start service Intent { cmp=com.atakmap.app.civ/org.eclipse.paho.android.service.MqttService } U=0: not found

Could you confirm if it's the same problem ?

Also I have another question ,
I was able to load and run successfully few other paho android client(version 3.0) examples (like one listed below) ,
https://github.com/zsasko/mqtt-android-sample.
But I don't understand the reason for failure seen in ATAK Mqtt plugin.
I appreciate if you could share your feedback regarding this issue.

Thank you !

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.