Add home scan frequency controls and BPQ radio transmission pause
This commit is contained in:
1 parent
0c0a716985
commit
9bb62cf731
10 files changed
+47
-5
No files matched your search
@@ -25,3 +25,7 @@ test('forwarding starts configured peers only, serializes native context, preven
|
||||
});
|
||||
|
||||
test('outgoing FBB count requires remote turn acknowledgement after acceptance',()=>{const prefix='261016 10:00:00 |N0TEST Connecting to BBS N0TEST\n261016 10:00:01 >N0TEST FA B N9DEMO EU BBS 1_N9DEMO 100\n261016 10:00:02 <N0TEST FS +';assert.equal(forwardingHistory(prefix,'N0TEST')[0].sent,0);assert.equal(forwardingHistory(prefix+'\n261016 10:00:05 <N0TEST FF','N0TEST')[0].sent,1);assert.equal(forwardingHistory(prefix.replace('FS +','FS -')+'\n261016 10:00:05 <N0TEST FF','N0TEST')[0].sent,0);});
|
||||
|
||||
test('TX suspension rejects radio forwarding before native commands and preserves Internet sync',async()=>{
|
||||
const calls=[],f=new Forwarding({root:'',ports:[]},async(url,opts)=>{calls.push([url,opts]);return 'ok';},()=>({txSuspended:true}));f.profiles=async()=>[{call:'N0TEST',configured:true,transport:'Radio'},{call:'RMS',configured:true,transport:'Internet'}];f.logs=async()=>'';f.context=async()=>'fixture';await assert.rejects(f.start('N0TEST'),/sospese/);assert.equal(calls.length,0);await f.start('RMS');assert.equal(calls.length,2);
|
||||
});
|
||||
Reference in new issue
Block a user