* new PAYLOAD_TYPE_MULTIPART

* experimental double ACK's (at each hop), sent 300ms apart (direct mode only)
This commit is contained in:
Scott Powell 2025-06-23 01:14:08 +10:00
parent 9df3c8c663
commit b1ca3d1eb1
6 changed files with 181 additions and 38 deletions

View file

@ -72,6 +72,7 @@ class BaseChatMesh : public mesh::Mesh {
ConnectionInfo connections[MAX_CONNECTIONS];
mesh::Packet* composeMsgPacket(const ContactInfo& recipient, uint32_t timestamp, uint8_t attempt, const char *text, uint32_t& expected_ack);
void sendAckTo(const ContactInfo& dest, uint32_t ack_hash);
protected:
BaseChatMesh(mesh::Radio& radio, mesh::MillisecondClock& ms, mesh::RNG& rng, mesh::RTCClock& rtc, mesh::PacketManager& mgr, mesh::MeshTables& tables)