firmware icon indicating copy to clipboard operation
firmware copied to clipboard

BLE Suite text/menu issues

Open TurbulentGoat opened this issue 5 months ago • 5 comments

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.

IMG_20260704_204954460.jpg

IMG_20260704_205222763.jpg

TurbulentGoat avatar Jul 04 '26 13:07 TurbulentGoat

UPDATE:

  1. I modified the "scanner" section so the discovered devices show up correctly, and,
  2. 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

Image Image

TurbulentGoat avatar Jul 04 '26 20:07 TurbulentGoat

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:

  1. The green navigation text breaks through the border box on the horizontal axis.
  • I partially split it to a new line.
  1. 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.
  1. The attack selection menu was crowded.
  • I adjusted the tft.setCursor(,) for each of the lines to align them nicely.
  1. General spacing of lines of text is unbalanced.
  • Similar to the above. just adjusting relative to tftWidth and tftHeight to keep it dynamic.
  1. The BLE Suite version number was almost off the bottom of the screen.
  • Again, same as above.
  1. 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

Issue #2612

User-Facing Change

Yes, UI changes.

release-note

Further Comments

Before: before_bruce2 before_bruce

Since fixes: bruce

TurbulentGoat avatar Jul 05 '26 06:07 TurbulentGoat

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:

Image Image Image

TurbulentGoat avatar Jul 06 '26 14:07 TurbulentGoat

Fixed the nav hints at the bottom of the select device screen

Screenshot_20260707-001820.png

TurbulentGoat avatar Jul 06 '26 16:07 TurbulentGoat

Fixed on 1.16. Issue automatically closed after release

github-actions[bot] avatar Jul 24 '26 01:07 github-actions[bot]