* fix for reusing transient/anon contacts only
Цей коміт міститься в:
Scott Powell
2026-06-01 19:04:42 +10:00
джерело d9df8307ca
коміт bc5d648204
3 змінених файлів з 24 додано та 9 видалено
+9 -1
Переглянути файл
@@ -2186,7 +2186,15 @@ void MyMesh::checkSerialInterface() {
&& !_serial->isWriteBusy() // don't spam the Serial Interface too quickly!
) {
ContactInfo contact;
if (_iter.hasNext(this, contact)) {
bool found = false;
while (_iter.hasNext(this, contact)) {
if (contact.type != ADV_TYPE_NONE) {
found = true;
break;
}
}
if (found) {
if (contact.lastmod > _iter_filter_since) { // apply the 'since' filter
writeContactRespFrame(RESP_CODE_CONTACT, contact);
if (contact.lastmod > _most_recent_lastmod) {