Compare commits

..
Author SHA1 Message Date
Ben Meadors f6423aca76 Fix code block formatting in copilot instructions 2026-05-09 13:38:19 -05:00
Ben Meadors fc5670cdad Remove tests for uninitialized PacketHistory state due to undefined behavior 2026-05-09 13:19:48 -05:00
Ben Meadors ba81da8de0 Add NodeDB layout v25 documentation and migration guidelines 2026-05-09 12:56:00 -05:00
Ben Meadors 3ca23400ef Change pointer types for mesh node references to const in multiple applets 2026-05-09 12:27:08 -05:00
Ben Meadors b3497cf688 Change pointer type for mesh node in set_favorite function 2026-05-09 11:34:54 -05:00
copilot-swe-agent[bot]andthebentern c873833123 Fix cppcheck style warnings
Agent-Logs-Url: https://github.com/meshtastic/firmware/sessions/e60287ba-4ece-46e0-83d8-a6d89664c0bb

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2026-05-09 15:08:23 +00:00
copilot-swe-agent[bot]andthebentern 3c569f6672 Fix latest review compile follow-ups
Agent-Logs-Url: https://github.com/meshtastic/firmware/sessions/5198da01-ec4c-4c16-8a09-68b8e6d5d410

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2026-05-09 13:44:21 +00:00
Ben Meadors c12a3916ea Trunk 2026-05-09 08:25:48 -05:00
Ben Meadors abbcb57958 Fixes 2026-05-09 08:24:18 -05:00
copilot-swe-agent[bot]andthebentern a0daaf6b5c Fix remaining NodeDB review issues
Agent-Logs-Url: https://github.com/meshtastic/firmware/sessions/c76b9a5a-7244-4fbc-9ef0-98091d8caaea

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2026-05-09 12:45:51 +00:00
Ben Meadors 589634c18d Extract legacy NodeDatabase migration 2026-05-09 07:41:00 -05:00
Ben MeadorsandCopilot Autofix powered by AI 37b3becdcd Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-09 07:38:48 -05:00
Ben Meadors 51e9696f11 Trunk 2026-05-09 06:51:41 -05:00
copilot-swe-agent[bot]andthebentern 796d4552f9 Address review validation nits
Agent-Logs-Url: https://github.com/meshtastic/firmware/sessions/6b1d6cf6-ed6b-43b6-95cb-8e141757664e

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2026-05-09 02:23:46 +00:00
copilot-swe-agent[bot]andthebentern ebc5b63035 Fix NodeDB review follow-ups
Agent-Logs-Url: https://github.com/meshtastic/firmware/sessions/6b1d6cf6-ed6b-43b6-95cb-8e141757664e

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2026-05-09 02:18:57 +00:00
Ben Meadors f9ab2b2cc0 Merge branch 'develop' into nodedb-shrink 2026-05-08 20:16:33 -05:00
Ben Meadors 093bc49a73 Develop ref 2026-05-08 20:16:08 -05:00
Ben Meadors 36827d6207 Refactor node mute handling to use dedicated functions for clarity and consistency 2026-05-07 12:23:48 -05:00
Ben Meadors ef02cd1dd1 Merge branch 'develop' into nodedb-shrink 2026-05-07 12:12:34 -05:00
Ben Meadors a2a0417596 Regen 2026-05-07 09:11:49 -05:00
Ben Meadors f5c2c99150 2.8: NodeDB refactor to decouple satellite entries and decrease size 2026-05-07 08:37:56 -05:00
3 changed files with 3 additions and 10 deletions
+1 -8
View File
@@ -731,15 +731,8 @@ void setup()
#elif defined(USE_SH1107_128_64)
screen_model = meshtastic_Config_DisplayConfig_OledType_OLED_SH1107; // keep dimension of 128x64
#else
if (config.display.oled != meshtastic_Config_DisplayConfig_OledType_OLED_AUTO) {
if (config.display.oled != meshtastic_Config_DisplayConfig_OledType_OLED_AUTO)
screen_model = config.display.oled;
// Fix: update geometry for SH1107 128x128 selected via menu
if (screen_model == meshtastic_Config_DisplayConfig_OledType_OLED_SH1107_128_128) {
screen_geometry = GEOMETRY_128_128;
screen_model = meshtastic_Config_DisplayConfig_OledType_OLED_SH1107; // normalize
}
}
#endif
#endif
+1 -1
View File
@@ -2298,7 +2298,7 @@ bool NodeDB::updateUser(uint32_t nodeId, meshtastic_User &p, uint8_t channelInde
meshtastic_ClientNotification *cn = clientNotificationPool.allocZeroed();
cn->level = meshtastic_LogRecord_Level_WARNING;
cn->time = getValidTime(RTCQualityFromNet);
snprintf(cn->message, sizeof(cn->message), warning, p.long_name);
sprintf(cn->message, warning, p.long_name);
service->sendClientNotification(cn);
}
return false;
+1 -1
View File
@@ -329,7 +329,7 @@ ErrorCode Router::send(meshtastic_MeshPacket *p)
cn->reply_id = p->id;
cn->level = meshtastic_LogRecord_Level_WARNING;
cn->time = getValidTime(RTCQualityFromNet);
snprintf(cn->message, sizeof(cn->message), "Duty cycle limit exceeded. You can send again in %d mins", silentMinutes);
sprintf(cn->message, "Duty cycle limit exceeded. You can send again in %d mins", silentMinutes);
service->sendClientNotification(cn);
meshtastic_Routing_Error err = meshtastic_Routing_Error_DUTY_CYCLE_LIMIT;