BLE Suite text/menu issues
In the BLE Suite, all firmware versions it's on, the green hint text (select/left/right navigation etc) breaks through the border box on the horizontal axis.
Then the screen on which you choose a target, the selection box moves off the screen.
This has been reproduced every time after restarts and fresh installs.
I've only got a Cardputer ADV so can't confirm if any other devices experience it.
All text should be bound to the width minus border box. When selecting a target, the devices should move into/replace the one in the selection box as the cardputer screen is tiny.
UPDATE:
- I modified the "scanner" section so the discovered devices show up correctly, and,
- The y position vals of the scanning screen text to space out more evenly.
REMOVED CODE FROM HERE AS THE FULL BLE.CPP IS AVAILABLE IN MY FORK
https://github.com/TurbulentGoat/DEV_Firmware-BLE_Suite_Update/blob/dev/src/modules/ble/BLE_Suite.cpp
Tried submitting a pull request but I'm not a contributor. So here it is.
Proposed Changes
Out of curiosity I have been seeing if I'm able to fix some small bugs I found in the UI. So far I have been concentrating on the BLE Suite as it was the only one which jumped out at me with mistakes. My proposed changes are:
- The green navigation text breaks through the border box on the horizontal axis.
- I partially split it to a new line.
- The target select screen, the discovered devices do not show in the selection box.
- By making maxVisibleDevices = 1 and adjusting the box size it makes the selection work, and look a lot neater.
- The attack selection menu was crowded.
- I adjusted the tft.setCursor(,) for each of the lines to align them nicely.
- General spacing of lines of text is unbalanced.
- Similar to the above. just adjusting relative to tftWidth and tftHeight to keep it dynamic.
- The BLE Suite version number was almost off the bottom of the screen.
- Again, same as above.
- 30 seconds was a long time to wait while it scanned ACTIVE_SCAN_TIME and PASSIVE_SCAN_TIME
- Set the scans to 10 seconds each.
Types of Changes
Mostly just UX/UI changes but the device selection broke the experience completely before.
Verification
I was told to do a pull request to see if you would like to keep this code, if it will help make your lives a little easier without having these small, frustrating changes that take up a ton of time.
Testing
I've been building the FW between major changes and testing on my Cardputer ADV. I do not have other devices to test it on.
Linked Issues
User-Facing Change
Yes, UI changes.
release-note
Further Comments
Before:
Since fixes:
Decided to create a fork as I can't create a pull request (tbh I don't really use github so there might be better ways).
This is the file I'm working on: https://github.com/TurbulentGoat/DEV_Firmware-BLE_Suite_Update/blob/dev/src/modules/ble/BLE_Suite.cpp
The bin: https://github.com/TurbulentGoat/DEV_Firmware-BLE_Suite_Update/releases
Examples:
Fixed the nav hints at the bottom of the select device screen
Fixed on 1.16. Issue automatically closed after release