Project

General

Profile

Actions

Bug #57

open

Channel creation/physical settings order matters

Added by Vincenzo Cimino 3 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
06/11/2026
Due date:
% Done:

0%

Estimated time:

Description

In test_uwtdma.tcl, this works fine:

# block 1
set channel [new Module/UnderwaterChannel]
set propagation [new MPropagation/Underwater]
set data_mask [new MSpectralMask/Rect]
$data_mask setFreq              $opt(freq)
$data_mask setBandwidth         $opt(bw)
$data_mask setPropagationSpeed  $opt(propagation_speed)


#block2
Module/UW/PHYSICAL  set BitRate_                    $opt(bitrate)
Module/UW/PHYSICAL  set AcquisitionThreshold_dB_    15.0 
Module/UW/PHYSICAL  set RxSnrPenalty_dB_            0
Module/UW/PHYSICAL  set TxSPLMargin_dB_             0
Module/UW/PHYSICAL  set MaxTxSPL_dB_                $opt(txpower)
Module/UW/PHYSICAL  set MinTxSPL_dB_                10
Module/UW/PHYSICAL  set MaxTxRange_                 200
Module/UW/PHYSICAL  set PER_target_                 0    
Module/UW/PHYSICAL  set CentralFreqOptimization_    0
Module/UW/PHYSICAL  set BandwidthOptimization_      0
Module/UW/PHYSICAL  set SPLOptimization_            0
Module/UW/PHYSICAL  set debug_                      0

But if you switch the order of #block1 and #block2 the link 0->1 and 0->2 doesn't work anymore (no packets are received).

No data to display

Actions

Also available in: Atom PDF