mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-07 04:36:11 +00:00
refactor: remove ping from NearbyScreen, rely on auto-advert for presence
Ping sent empty messages appearing in target's chat history, and RTT measurement never worked for direct sendMessage() calls. Removed all ping state machinery and registerExpectedAck(); detail view now shows node info only (lat/lon/dist/bearing/type). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
09ac455806
commit
083ddac85c
@@ -176,13 +176,6 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
void registerExpectedAck(uint32_t expected_ack) {
|
||||
if (!expected_ack) return;
|
||||
expected_ack_table[next_ack_idx].msg_sent = millis();
|
||||
expected_ack_table[next_ack_idx].ack = expected_ack;
|
||||
expected_ack_table[next_ack_idx].contact = nullptr;
|
||||
next_ack_idx = (next_ack_idx + 1) % EXPECTED_ACK_TABLE_SIZE;
|
||||
}
|
||||
|
||||
#if ENV_INCLUDE_GPS == 1
|
||||
void applyGpsPrefs() {
|
||||
|
||||
Reference in New Issue
Block a user