diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 1381bb27a..ff02c992c 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -16,15 +16,16 @@
-
-
+
+
+
+
-
@@ -49,7 +50,7 @@
-
+
@@ -96,6 +97,9 @@
+
+
+
@@ -117,18 +121,23 @@
-
- file://$PROJECT_DIR$/src/mesh/StreamAPI.cpp
- 20
-
- file://$PROJECT_DIR$/src/mesh/wifi/WiFiServerAPI.cpp53
+
+ file://$PROJECT_DIR$/src/mesh/wifi/WiFiServerAPI.cpp
+ 37
+
+
+
+
+
+
+
diff --git a/docs/software/TODO.md b/docs/software/TODO.md
index f10e4bcc3..cbd32ca03 100644
--- a/docs/software/TODO.md
+++ b/docs/software/TODO.md
@@ -4,6 +4,7 @@ You probably don't care about this section - skip to the next one.
## before next release
+* sendtext busted in portduino, due to bytetime calculations
* don't store User admin or position broadcasts in the ToPhone queue
* DONE tcp stream problem in python+pordtuino, server thinks client dropped when client DID NOT DROP
* TCP mode for android, localhost is at 10.0.2.2
diff --git a/src/mesh/RadioInterface.cpp b/src/mesh/RadioInterface.cpp
index abdd3c146..24cb8d732 100644
--- a/src/mesh/RadioInterface.cpp
+++ b/src/mesh/RadioInterface.cpp
@@ -112,6 +112,8 @@ uint32_t RadioInterface::getPacketTime(MeshPacket *p)
/** The delay to use for retransmitting dropped packets */
uint32_t RadioInterface::getRetransmissionMsec(const MeshPacket *p)
{
+ assert(shortPacketMsec); // Better be non zero
+
// was 20 and 22 secs respectively, but now with shortPacketMsec as 2269, this should give the same range
return random(9 * shortPacketMsec, 10 * shortPacketMsec);
}
diff --git a/src/mesh/RadioInterface.h b/src/mesh/RadioInterface.h
index 31842935a..778ce2510 100644
--- a/src/mesh/RadioInterface.h
+++ b/src/mesh/RadioInterface.h
@@ -212,13 +212,6 @@ class SimRadio : public RadioInterface
{
public:
virtual ErrorCode send(MeshPacket *p);
-
- // methods from radiohead
-
- /// Initialise the Driver transport hardware and software.
- /// Make sure the Driver is properly configured before calling init().
- /// \return true if initialisation succeeded.
- virtual bool init() { return true; }
};
/// Debug printing for packets