BLE Tx App / BLE Rx Filtering. (#1543)

BLE TX app creation
BLE RX and TX app improvements
This commit is contained in:
Netro 2023-11-01 06:46:41 -04:00 committed by GitHub
parent 62307b93d7
commit dceb7255b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 1402 additions and 34 deletions

View file

@ -57,6 +57,7 @@ class AlphanumView : public TextEntryView {
const char* const keys_upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ, .";
const char* const keys_digit = "1234567890()'`\"+-*/=<>_\\!?, .";
const char* const keys_symbl = "!@#$%^&*()[]'`\"{}|:;<>-_~?, .";
const char* const keys_hex = "1234567890ABCDEF ";
struct key_set_t {
const char* name;
@ -64,9 +65,10 @@ class AlphanumView : public TextEntryView {
const char* shifted;
};
const key_set_t key_sets[2] = {
const key_set_t key_sets[3] = {
{"abc", keys_lower, keys_upper},
{"123", keys_digit, keys_symbl}};
{"123", keys_digit, keys_symbl},
{"hex", keys_hex, keys_hex}};
int16_t focused_button = 0;
uint32_t mode = 0; // Letters.