Skip to content

Add MQTT-Support#46

Merged
hajoha merged 46 commits intorel/0.6from
feature/mqtt-support
Apr 25, 2025
Merged

Add MQTT-Support#46
hajoha merged 46 commits intorel/0.6from
feature/mqtt-support

Conversation

@hajoha
Copy link
Copy Markdown
Contributor

@hajoha hajoha commented Jan 12, 2025

Add

  • support for MQTT
    • set MQTT Server via GUI
    • control app via MQTT

Changes

  • refactor iPerf3 Workers, now using the RemoteWorkManager API
  • for each iPerf3 run following Workers are called: Iperf3ExecutorWorker.java, Iperf3MonitorWorker, Iperf3ToLineProtocolWorker. And if configured also the InfluxDB2xUploadWorker is called.
  • introducted standized directory structure:
    • omnt/iperf3/raw/ - for the raw JSON data generated by iPerf3
    • omnt/iperf3/lp/ - lineprotocol files which are generated from the raw file
    • omnt/ping/raw - for the raw ping output
    • omnt/ping/lp - lineprotocol files which are genearted from the raw file
  • GUI update

BREAKING CHANGES

  • since the RemoteWorkManager API of Android requires you to anounce those Workers via Manifest, the total number of parallel iPerf3 tests is limited to four.

@hajoha hajoha marked this pull request as draft January 12, 2025 17:51
# Conflicts:
#	app/build.gradle
#	app/src/main/AndroidManifest.xml
#	app/src/main/java/de/fraunhofer/fokus/OpenMobileNetworkToolkit/MainActivity.java
#	app/src/main/res/values/strings.xml
hajoha added 17 commits April 2, 2025 16:07
# Conflicts:
#	app/src/main/java/de/fraunhofer/fokus/OpenMobileNetworkToolkit/Ping/PingService.java
#	app/src/main/java/de/fraunhofer/fokus/OpenMobileNetworkToolkit/SettingPreferences/LoggingSettingsFragment.java
@hajoha hajoha changed the base branch from main to rel/0.6 April 25, 2025 11:20
@hajoha hajoha marked this pull request as ready for review April 25, 2025 11:33
@hajoha hajoha mentioned this pull request Apr 25, 2025
3 tasks
@hajoha hajoha merged commit a38f9db into rel/0.6 Apr 25, 2025
PeterHasse added a commit that referenced this pull request Jun 20, 2025
* update gradle to 8.9.1

* udpate version number to 0.6 / 6

* fix FEATURE_TELEPHONY_CDMA crash (#51)

* add explanation on active and passive measurements raised in #53 (comment)

* Add MQTT-Support (#46)

* add dep for MQTT lib

* add basic setup for MQTT config

* add basic infrastructure for MQTT

* remove double setupLocalFile() call

* update MQTTService

* add Service Type

* receive last will exactly once

* fix typo

* move device name setting to main Setting preference and force user to set it before using Logging/MQTT

* remove UUID generation

* update LoggingFragment

* fix monitoring of status

* get basic iPerf3 working

* add basic progressbar

* add basic progressbar

* update progressbar based on current interval from iperf3

* bump build sdk to 36

* added proguard rules for hivemq

* added proguard rules for netty

* supress all the warnings comming in from mqtt libs. We shoudl look for a diffrent implmentation ...

* update missing SPDX-FileCopyrightText (#55)

* update ping

* add repeat button

* fix minor bug

* Bump gradle and lib versions.

* fix minor bug

* update depencies

* fixed warning by removing duplicate entry in manifest

* removed deprecated CDMA network type and related classes in favor of WCDMA

* Improve Signal Strength UI: real-world mapping, color-coding & labels

* cleaned up signal strength bar code

* add repeat button

* futher refactored level bar code. Added bar to cell information card

* added wifi information to the quick view

* implement repeat functionality

* fix fragment view

* fix togglebutons

* fix togglebutton

* fix repeat button color

* Cleanup commit in preparation for the 06 release

* fixed wrong hex value for orange

* clean up navgraph, added custom back button handler to navigate back to home instead of back in stack

* minimal rework to make linter happy

* also catch back action on home screen

* fix iperf layout

* hide iperf runner buttons for now

---------

Co-authored-by: Peter Hasse <peter.hasse@fokus.fraunhofer.de>
Co-authored-by: mohsin.nisar1 <mohsin.nisar@digitalturbine.com>
Co-authored-by: derpeter <derpeter@users.noreply.github.com>
@hajoha hajoha deleted the feature/mqtt-support branch July 21, 2025 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant