mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
update README and fix quick message / melody naming collision
- Expand README: ringtone editor now documents two melody slots, full note spec, and melody assignment to DM/channel notifications; settings section lists DM Melody and Channel Melody options; context menu description updated with melody override detail - Rename quick reply template labels from M1-M10 to Q1-Q10 to avoid ambiguity with melody slot identifiers M1/M2 - Increase DM message history buffer from 32 to 64 entries Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
12
README.md
12
README.md
@@ -10,7 +10,7 @@ View and send messages using the on-screen keyboard or predefined quick replies.
|
||||
|
||||
Press Enter on a message to open it in fullscreen. Navigate between messages with left (newer) and right (older).
|
||||
|
||||
Hold Enter on a message or channel to open a context menu: change per-channel notification settings (overrides the global sound setting) or mark messages as read.
|
||||
Hold Enter on a message or channel to open a context menu: change per-channel notification settings (mute, follow global, or force-on) and per-channel melody override (follow global, Melody 1, or Melody 2), or mark messages as read.
|
||||
|
||||
### Settings Screen
|
||||
|
||||
@@ -23,7 +23,9 @@ All settings are saved to flash and restored on next boot.
|
||||
- Clock seconds (show/hide — hiding reduces display refresh from 1 s to 60 s)
|
||||
- **Sound**
|
||||
- Buzzer: On / Off / **Auto** — Auto mode silences the device while connected via Bluetooth, and re-enables sound when the connection drops
|
||||
- Volume
|
||||
- Volume (1–5; preview tone plays on each change)
|
||||
- DM Melody — notification sound for incoming private messages: built-in, Melody 1, or Melody 2
|
||||
- Channel Melody — notification sound for incoming channel messages: built-in, Melody 1, or Melody 2
|
||||
- **Home Pages** — toggle visibility of individual home screen pages
|
||||
- **Radio**
|
||||
- TX power
|
||||
@@ -36,7 +38,7 @@ All settings are saved to flash and restored on next boot.
|
||||
- Show all DMs or favourites only
|
||||
- Show all room servers or favourites only
|
||||
- **Messages**
|
||||
- Edit up to 10 quick reply templates
|
||||
- Edit up to 10 quick reply templates (Q1–Q10)
|
||||
|
||||
### Clock Screen
|
||||
|
||||
@@ -60,9 +62,9 @@ A blinking **A** indicator appears in the status bar while Auto-Advert is active
|
||||
|
||||
#### Ringtone Editor
|
||||
|
||||
A step sequencer for composing custom ringtones stored on the device. Supports up to 32 notes with adjustable pitch, octave, duration, and BPM. Playback preview is available directly from the editor menu.
|
||||
A step sequencer for composing custom notification melodies stored on the device. Two independent melody slots are available — **Melody 1** and **Melody 2** — switchable from within the editor. Each melody supports up to 32 notes with adjustable pitch (C–B + pause), octave (4–7), duration (whole / half / quarter / eighth), and BPM (60 / 90 / 120 / 150 / 180). Playback preview is available directly from the editor.
|
||||
|
||||
> Custom ringtones as per-channel or per-contact notification sounds are planned for a future update.
|
||||
Melodies can be assigned as notification sounds per message type (DM / channel) in Settings, and individually overridden per channel or per contact from the message screen context menu.
|
||||
|
||||
#### Auto-Reply Bot
|
||||
|
||||
|
||||
@@ -416,7 +416,7 @@ class SettingsScreen : public UIScreen {
|
||||
} else if (isMsgSlot(item)) {
|
||||
int slot = msgSlotIndex(item);
|
||||
char label[5];
|
||||
snprintf(label, sizeof(label), "M%d:", slot + 1);
|
||||
snprintf(label, sizeof(label), "Q%d:", slot + 1);
|
||||
display.print(label);
|
||||
const char* tmpl = (p && p->custom_msgs[slot][0]) ? p->custom_msgs[slot] : "(empty)";
|
||||
display.drawTextEllipsized(VAL_X - 20, y, display.width() - VAL_X + 18, tmpl);
|
||||
@@ -667,7 +667,7 @@ class QuickMsgScreen : public UIScreen {
|
||||
|
||||
// DM_HIST
|
||||
struct DmHistEntry { uint8_t prefix[4]; uint8_t outgoing; char text[80]; };
|
||||
static const int DM_HIST_MAX = 32;
|
||||
static const int DM_HIST_MAX = 64;
|
||||
DmHistEntry _dm_hist[DM_HIST_MAX];
|
||||
int _dm_hist_head, _dm_hist_count;
|
||||
int _dm_hist_sel, _dm_hist_scroll;
|
||||
|
||||
Reference in New Issue
Block a user