Closed cynex0 closed 5 months ago
requested review from @alexkhval
In GitLab by @schexi on May 7, 2024, 13:02
added 17 commits
main
In GitLab by @alexkhval on May 7, 2024, 13:53
Commented on terminal/terminal.ino line 247
8192 is a magic number and should be defined as a macro
In GitLab by @alexkhval on May 7, 2024, 13:53
Commented on app/src/main/java/se/gu/wiomote/activities/remote/Remote.java line 42
Is this a temporary config implementation?
In GitLab by @alexkhval on May 7, 2024, 13:53
Commented on app/src/main/java/se/gu/wiomote/activities/remote/Remote.java line 64
Magic numbers should be fixed. Also the code seems repetitive, is there a way to make it more robust?
In GitLab by @alexkhval on May 7, 2024, 13:53
Commented on app/src/main/java/se/gu/wiomote/activities/remote/RemoteRecyclerAdapter.java line 70
Magic number
In GitLab by @alexkhval on May 7, 2024, 13:53
Commented on app/src/main/java/se/gu/wiomote/activities/Setup.java line 129
Nice code reusage
In GitLab by @alexkhval on May 7, 2024, 13:53
Commented on app/src/main/java/se/gu/wiomote/configurations/Configuration.java line 58
Don't forget to mention the format in the documentation
In GitLab by @alexkhval on May 7, 2024, 13:53
Commented on app/src/main/java/se/gu/wiomote/network/WioMQTTClient.java line 39
Nice use of constants!
In GitLab by @alexkhval on May 7, 2024, 13:53
App connection to the WIO terminal tested, occasional bugs occur when the app does not send any MQTT messages on a button press. Additionally a bug on a terminal side occurs when it does not receive the messages and the terminal needs to be restarted. Needs to be fixed on a separate branch.
Overall nice implementation of the mobile device control! :thumbsup:
Yes, will be replaced by the device selection feature that is not a part of this issue.
In GitLab by @albu-razvan on May 7, 2024, 13:55
Commented on app/src/main/java/se/gu/wiomote/activities/remote/Remote.java line 64
You could make a list with every view, id and published message, but for this context it doesn't make sense since we'll already have a predefined button to command map later on.
In GitLab by @albu-razvan on May 7, 2024, 13:55
Commented on app/src/main/java/se/gu/wiomote/activities/remote/RemoteRecyclerAdapter.java line 70
This will be replaced by the size of the custom configuration button list.
In GitLab by @albu-razvan on May 7, 2024, 14:19
Commented on terminal/terminal.ino line 247
We'll add a definition in the next commits.
In GitLab by @alexkhval on May 7, 2024, 14:19
approved this merge request
In GitLab by @alexkhval on May 7, 2024, 14:19
mentioned in commit 890867a1e39ed81473efebd2c851a8baa7c860f0
Merges 17-mobile-control -> main
Closes #17