-
Notifications
You must be signed in to change notification settings - Fork 0
/
grgsm-livemon-limesdr.grc
638 lines (635 loc) · 12.7 KB
/
grgsm-livemon-limesdr.grc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
options:
parameters:
author: Piotr Krysik
category: Custom
cmake_opt: ''
comment: ''
copyright: ''
description: 'Interactive monitor of a single C0 channel with analysis performed
by Wireshark (command to run wireshark: sudo wireshark -k -f udp -Y gsmtap -i
lo)'
gen_cmake: 'On'
gen_linking: dynamic
generate_options: qt_gui
hier_block_src_path: '.:'
id: grgsm_livemon
max_nouts: '0'
output_language: python
placement: (0,0)
qt_qss_theme: ''
realtime_scheduling: ''
run: 'True'
run_command: '{python} -u {filename}'
run_options: prompt
sizing_mode: fixed
thread_safe_setters: ''
title: Gr-gsm Livemon
window_size: 1024, 768
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [16, 11]
rotation: 0
state: enabled
blocks:
- name: fc_slider
id: variable_qtgui_range
parameters:
comment: ''
gui_hint: ''
label: Frequency
min_len: '100'
orient: Qt.Horizontal
rangeType: float
start: 800e6
step: 2e5
stop: 1990e6
value: fc
widget: counter_slider
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [304, 11]
rotation: 0
state: enabled
- name: gain_slider
id: variable_qtgui_range
parameters:
comment: ''
gui_hint: ''
label: Gain
min_len: '100'
orient: Qt.Horizontal
rangeType: float
start: '0'
step: '0.5'
stop: '100'
value: gain
widget: counter
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [192, 11]
rotation: 0
state: enabled
- name: ppm_slider
id: variable_qtgui_range
parameters:
comment: ''
gui_hint: ''
label: PPM Offset
min_len: '100'
orient: Qt.Horizontal
rangeType: float
start: '-150'
step: '0.1'
stop: '150'
value: ppm
widget: counter
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [440, 11]
rotation: 0
state: enabled
- name: args
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: Device Arguments
short_id: ''
type: ''
value: '""'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [872, 11]
rotation: 0
state: enabled
- name: blocks_rotator_cc_0
id: blocks_rotator_cc
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
phase_inc: -2*pi*shiftoff/samp_rate
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [256, 300]
rotation: 0
state: enabled
- name: blocks_socket_pdu_0_0
id: blocks_socket_pdu
parameters:
affinity: ''
alias: ''
comment: ''
host: 127.0.0.1
maxoutbuf: '0'
minoutbuf: '0'
mtu: '10000'
port: serverport
tcp_no_delay: 'False'
type: TCP_SERVER
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1632, 295]
rotation: 0
state: enabled
- name: blocks_socket_pdu_0_1
id: blocks_socket_pdu
parameters:
affinity: ''
alias: ''
comment: ''
host: collector
maxoutbuf: '0'
minoutbuf: '0'
mtu: '1500'
port: collectorport
tcp_no_delay: 'False'
type: TCP_SERVER
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1504, 295]
rotation: 0
state: enabled
- name: collector
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: IP or DNS name of collector point
short_id: ''
type: ''
value: ''
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1240, 7]
rotation: 0
state: enabled
- name: collectorport
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: UDP port number of collector
short_id: ''
type: ''
value: '4729'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1240, 95]
rotation: 0
state: enabled
- name: fc
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: GSM channel's central frequency
short_id: f
type: eng_float
value: 901.8e6
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [624, 11]
rotation: 0
state: enabled
- name: gain
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: gain
short_id: g
type: eng_float
value: '30'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [552, 11]
rotation: 0
state: enabled
- name: gsm_bcch_ccch_demapper_0
id: gsm_bcch_ccch_demapper
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
timeslot_nr: '0'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [896, 284]
rotation: 0
state: enabled
- name: gsm_clock_offset_control_0
id: gsm_clock_offset_control
parameters:
affinity: ''
alias: ''
comment: ''
fc: fc_slider-shiftoff
maxoutbuf: '0'
minoutbuf: '0'
osr: osr
samp_rate: samp_rate
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [552, 411]
rotation: 180
state: enabled
- name: gsm_control_channels_decoder_0
id: gsm_control_channels_decoder
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1264, 289]
rotation: 0
state: enabled
- name: gsm_control_channels_decoder_0_0
id: gsm_control_channels_decoder
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1264, 345]
rotation: 0
state: enabled
- name: gsm_decryption_0
id: gsm_decryption
parameters:
a5_version: '1'
affinity: ''
alias: ''
comment: ''
k_c: '[]'
maxoutbuf: '0'
minoutbuf: '0'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1104, 333]
rotation: 0
state: enabled
- name: gsm_input_0
id: gsm_input
parameters:
affinity: ''
alias: ''
comment: ''
fc: fc_slider-shiftoff
maxoutbuf: '0'
minoutbuf: '0'
osr: '4'
ppm: ppm-int(ppm)
samp_rate_in: samp_rate
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [488, 305]
rotation: 0
state: enabled
- name: gsm_message_printer_1
id: gsm_message_printer
parameters:
affinity: ''
alias: ''
comment: ''
prepend_fnr: 'False'
prepend_frame_count: 'False'
prepend_string: '""'
print_gsmtap_header: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1776, 302]
rotation: 0
state: enabled
- name: gsm_receiver_0
id: gsm_receiver
parameters:
affinity: ''
alias: ''
cell_allocation: '[arfcn.downlink2arfcn(fc)]'
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_streams: '1'
osr: '4'
tseq_nums: '[]'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [672, 289]
rotation: 0
state: enabled
- name: gsm_sdcch8_demapper_0
id: gsm_sdcch8_demapper
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
timeslot_nr: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [896, 340]
rotation: 0
state: enabled
- name: import_0
id: import
parameters:
alias: ''
comment: ''
imports: from math import pi
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1016, 11]
rotation: 0
state: enabled
- name: import_1
id: import
parameters:
alias: ''
comment: ''
imports: from grgsm import arfcn
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1016, 60]
rotation: 0
state: enabled
- name: limesdr_source_0
id: limesdr_source
parameters:
affinity: ''
alias: ''
allow_tcxo_dac: '0'
analog_bandw_ch0: 5e6
analog_bandw_ch1: 5e6
calibr_bandw_ch0: 5e6
calibr_bandw_ch1: 5e6
ch_align: 'False'
channel_mode: '0'
comment: ''
dacVal: '125'
digital_bandw_ch0: '0'
digital_bandw_ch1: '0'
filename: ''
gain_dB_ch0: '30'
gain_dB_ch1: '30'
lna_path_ch0: '255'
lna_path_ch1: '2'
maxoutbuf: '0'
minoutbuf: '0'
nco_freq_ch0: '0'
nco_freq_ch1: '0'
oversample: '0'
rf_freq: fc_slider-shiftoff
samp_rate: samp_rate
serial: ''
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [8, 300]
rotation: 0
state: enabled
- name: osr
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: OverSampling Ratio
short_id: ''
type: intx
value: '4'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1088, 7]
rotation: 0
state: enabled
- name: ppm
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: ppm
short_id: p
type: eng_float
value: '0'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [712, 11]
rotation: 0
state: enabled
- name: qtgui_freq_sink_x_0
id: qtgui_freq_sink_x
parameters:
affinity: ''
alias: ''
alpha1: '1.0'
alpha10: '1.0'
alpha2: '1.0'
alpha3: '1.0'
alpha4: '1.0'
alpha5: '1.0'
alpha6: '1.0'
alpha7: '1.0'
alpha8: '1.0'
alpha9: '1.0'
autoscale: 'False'
average: '1.0'
axislabels: 'True'
bw: samp_rate
color1: '"blue"'
color10: '"dark blue"'
color2: '"red"'
color3: '"green"'
color4: '"black"'
color5: '"cyan"'
color6: '"magenta"'
color7: '"yellow"'
color8: '"dark red"'
color9: '"dark green"'
comment: ''
ctrlpanel: 'False'
fc: fc_slider
fftsize: '1024'
freqhalf: 'True'
grid: 'False'
gui_hint: ''
label: Relative Gain
label1: ''
label10: ''
label2: ''
label3: ''
label4: ''
label5: ''
label6: ''
label7: ''
label8: ''
label9: ''
legend: 'True'
maxoutbuf: '0'
minoutbuf: '0'
name: '""'
nconnections: '1'
showports: 'True'
tr_chan: '0'
tr_level: '0.0'
tr_mode: qtgui.TRIG_MODE_FREE
tr_tag: '""'
type: complex
units: dB
update_time: '0.10'
width1: '1'
width10: '1'
width2: '1'
width3: '1'
width4: '1'
width5: '1'
width6: '1'
width7: '1'
width8: '1'
width9: '1'
wintype: firdes.WIN_BLACKMAN_hARRIS
ymax: '10'
ymin: '-140'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [488, 187]
rotation: 0
state: enabled
- name: samp_rate
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: samp_rate
short_id: s
type: eng_float
value: '10000000.052982'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [16, 115]
rotation: 0
state: enabled
- name: serverport
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: UDP server listening port
short_id: ''
type: ''
value: '4729'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1400, 7]
rotation: 0
state: enabled
- name: shiftoff
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: Frequency Shiftoff
short_id: o
type: eng_float
value: 400e3
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [784, 11]
rotation: 0
state: enabled
connections:
- [blocks_rotator_cc_0, '0', gsm_input_0, '0']
- [blocks_rotator_cc_0, '0', qtgui_freq_sink_x_0, '0']
- [blocks_socket_pdu_0_0, pdus, gsm_message_printer_1, msgs]
- [gsm_bcch_ccch_demapper_0, bursts, gsm_control_channels_decoder_0, bursts]
- [gsm_clock_offset_control_0, ctrl, gsm_input_0, ctrl_in]
- [gsm_control_channels_decoder_0, msgs, blocks_socket_pdu_0_1, pdus]
- [gsm_control_channels_decoder_0_0, msgs, blocks_socket_pdu_0_1, pdus]
- [gsm_decryption_0, bursts, gsm_control_channels_decoder_0_0, bursts]
- [gsm_input_0, '0', gsm_receiver_0, '0']
- [gsm_receiver_0, C0, gsm_bcch_ccch_demapper_0, bursts]
- [gsm_receiver_0, C0, gsm_sdcch8_demapper_0, bursts]
- [gsm_receiver_0, measurements, gsm_clock_offset_control_0, measurements]
- [gsm_sdcch8_demapper_0, bursts, gsm_decryption_0, bursts]
- [limesdr_source_0, '0', blocks_rotator_cc_0, '0']
metadata:
file_format: 1