Share radio2 raw transport for Ethernet and negotiated direct LoRa OTA

This commit is contained in:
mikecarper committed 2026-10-15 11:05:21 -07:00
1 parent e57ab1309f
commit 23c9648789
77 files changed
+7061 -260

No files matched your search

+7 -3
View File
@@ -487,9 +487,13 @@ int main(int argc, char** argv) {
f.advance(2000);
f.finishTimingTest(8428);
assert(f.radio.p.switchBudgetUs()==9271);
assert(f.radio.p.preamble(0,32)==128);
assert(strstr(f.cmd("get radio2.timing"),"WARN need >128: radio"));
assert(strstr(f.cmd("get radio2.status"),"WARN need >128: radio"));
assert(f.radio.p.preamble(0,32)==168);
assert(!strstr(f.cmd("get radio2.timing"),"WARN need >"));
assert(!strstr(f.cmd("get radio2.status"),"WARN need >"));
f.finishTimingTest(40000);
assert(f.radio.p.preamble(0,32)==512);
assert(strstr(f.cmd("get radio2.timing"),"WARN need >512: radio"));
assert(strstr(f.cmd("get radio2.status"),"WARN need >512: radio"));
}
{
Fixture f;