Add station-only WiFi UDP bridge with eight authenticated peers

This commit is contained in:
mikecarper committed 2026-10-22 12:20:43 -07:00
1 parent 7bc3aeb234
commit 5e25faa3d0
45 files changed
+2699 -35

No files matched your search

+5 -1
View File
@@ -168,7 +168,11 @@ StaticPoolPacketManager::StaticPoolPacketManager(int pool_size)
}
mesh::Packet* StaticPoolPacketManager::allocNew() {
return unused.removeByIdx(0); // just get first one (returns NULL if empty)
auto* packet = unused.removeByIdx(0); // NULL if empty.
#if defined(WITH_UDP_BRIDGE)
if (packet) packet->udp_bridge_ingress = false;
#endif
return packet;
}
void StaticPoolPacketManager::free(mesh::Packet* packet) {