diff --git a/functions/at_commands.py b/functions/at_commands.py index 6eb6b9c..50769d4 100644 --- a/functions/at_commands.py +++ b/functions/at_commands.py @@ -13,10 +13,10 @@ def set_configs(port="/dev/ttyUSB2", baudrate=115200): ser.write(b'AT+QNWPREFCFG="nr5g_band",78\r') response = ser.readlines() print(response) - ser.write(b'AT+QNWPREFCFG="mode_pref",NR5G\r') + ser.write(b'AT+QNWPREFCFG="mode_pref",NR5G\r') # reset: AT+QNWPREFCFG="mode_pref",AUTO response = ser.readlines() print(response) - ser.write(b'AT+QNWPREFCFG="roam_pref",1\r') + ser.write(b'AT+QNWPREFCFG="roam_pref",1\r') # reset: AT+QNWPREFCFG="roam_pref",255 response = ser.readlines() print(response) ser.close() diff --git a/scripts/gnb2.yaml b/scripts/gnb2.yaml index cec6527..19bdd40 100644 --- a/scripts/gnb2.yaml +++ b/scripts/gnb2.yaml @@ -21,7 +21,7 @@ cu_cp: cell_cfg: - # 627000 - 3405, 627334 - 10, 628334 - 3425, 629668 - 3445, 651668 - 3775 + # 627000 - 3405, 627334 - 3410, 628334 - 3425, 629668 - 3445, 651668 - 3775 dl_arfcn: 627334 # ARFCN of the downlink carrier (center frequency). band: 78 # The NR band. channel_bandwidth_MHz: 20 # Bandwith in MHz. Number of PRBs will be automatically derived. diff --git a/scripts/iqzmq.py b/scripts/iqzmq.py index 217339c..8a6bec1 100644 --- a/scripts/iqzmq.py +++ b/scripts/iqzmq.py @@ -25,6 +25,7 @@ def send_0mq(args): leftover = None start_time = time.perf_counter() + print(f"Starting at {start_time}...") while True: received = 0 @@ -79,7 +80,7 @@ def send_0mq(args): zmq_socket.send(complex_values.tobytes(), copy=False) # Zero-copy send end_time = time.perf_counter() - print(f"Publish time: {end_time-start_time:.4f}s") + # print(f"Publish time: {end_time-start_time:.4f}s") start_time = end_time