Skip to content

MQTT Feature#137

Open
rplankenhorn wants to merge 13 commits intoKegbot:masterfrom
rplankenhorn:feature/mqtt
Open

MQTT Feature#137
rplankenhorn wants to merge 13 commits intoKegbot:masterfrom
rplankenhorn:feature/mqtt

Conversation

@rplankenhorn
Copy link
Contributor

This adds support for MQTT for communicating with the Kegboard.

Kegbot/kegboard-particle#8

@rplankenhorn rplankenhorn force-pushed the feature/mqtt branch 2 times, most recently from 7b56ca2 to 06c833e Compare September 25, 2025 00:50
@patfreeman
Copy link
Collaborator

Tried this a while back, but failed to get it running on Android 15/16. Retried today on Android 11 and still getting the same crash about Fragments. Any suggestions for this?

02-01 17:37:02.594  2383  2383 E AndroidRuntime: FATAL EXCEPTION: main
02-01 17:37:02.594  2383  2383 E AndroidRuntime: Process: org.kegbot.app, PID: 2383
02-01 17:37:02.594  2383  2383 E AndroidRuntime: java.lang.IllegalStateException: Fragment null must be a public static class to be  properly recreated from instance state.
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at android.app.BackStackRecord.doAddOp(BackStackRecord.java:429)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at android.app.BackStackRecord.add(BackStackRecord.java:409)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at android.app.DialogFragment.show(DialogFragment.java:239)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at org.kegbot.app.setup.SetupSelectBackendFragment$2.onClick(SetupSelectBackendFragment.java:72)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at android.view.View.performClick(View.java:7448)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at android.widget.CompoundButton.performClick(CompoundButton.java:144)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at android.view.View.performClickInternal(View.java:7425)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at android.view.View.access$3600(View.java:810)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at android.view.View$PerformClick.run(View.java:28305)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:938)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:223)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7664)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
02-01 17:37:02.594  2383  2383 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

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.

2 participants