duggabe

pkt_rcv_strip.grc

Feb 13th, 2024
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.48 KB | None | 0 0
  1. options:
  2. parameters:
  3. author: Barry Duggan
  4. catch_exceptions: 'True'
  5. category: '[GRC Hier Blocks]'
  6. cmake_opt: ''
  7. comment: ''
  8. copyright: ''
  9. description: packet receive
  10. gen_cmake: 'On'
  11. gen_linking: dynamic
  12. generate_options: qt_gui
  13. hier_block_src_path: '.:'
  14. id: pkt_rcv_strip
  15. max_nouts: '0'
  16. output_language: python
  17. placement: (0,0)
  18. qt_qss_theme: ''
  19. realtime_scheduling: ''
  20. run: 'True'
  21. run_command: '{python} -u {filename}'
  22. run_options: prompt
  23. sizing_mode: fixed
  24. thread_safe_setters: ''
  25. title: pkt_rcv_strip
  26. window_size: (1000,1000)
  27. states:
  28. bus_sink: false
  29. bus_source: false
  30. bus_structure: null
  31. coordinate: [16, 12.0]
  32. rotation: 0
  33. state: enabled
  34.  
  35. blocks:
  36. - name: bpsk
  37. id: variable_constellation
  38. parameters:
  39. comment: ''
  40. const_points: '[-1-1j, -1+1j, 1+1j, 1-1j]'
  41. dims: '1'
  42. normalization: digital.constellation.AMPLITUDE_NORMALIZATION
  43. npwr: '1.0'
  44. precision: '8'
  45. rot_sym: '4'
  46. soft_dec_lut: None
  47. sym_map: '[0, 1, 3, 2]'
  48. type: bpsk
  49. states:
  50. bus_sink: false
  51. bus_source: false
  52. bus_structure: null
  53. coordinate: [448, 12.0]
  54. rotation: 0
  55. state: true
  56. - name: excess_bw
  57. id: variable
  58. parameters:
  59. comment: ''
  60. value: '0.35'
  61. states:
  62. bus_sink: false
  63. bus_source: false
  64. bus_structure: null
  65. coordinate: [352, 12.0]
  66. rotation: 0
  67. state: enabled
  68. - name: phase_bw
  69. id: variable
  70. parameters:
  71. comment: ''
  72. value: '0.0628'
  73. states:
  74. bus_sink: false
  75. bus_source: false
  76. bus_structure: null
  77. coordinate: [344, 76.0]
  78. rotation: 0
  79. state: true
  80. - name: samp_rate
  81. id: variable
  82. parameters:
  83. comment: ''
  84. value: '48000'
  85. states:
  86. bus_sink: false
  87. bus_source: false
  88. bus_structure: null
  89. coordinate: [184, 12]
  90. rotation: 0
  91. state: enabled
  92. - name: sps
  93. id: variable
  94. parameters:
  95. comment: ''
  96. value: '4'
  97. states:
  98. bus_sink: false
  99. bus_source: false
  100. bus_structure: null
  101. coordinate: [272, 76.0]
  102. rotation: 0
  103. state: enabled
  104. - name: thresh
  105. id: variable
  106. parameters:
  107. comment: ''
  108. value: '1'
  109. states:
  110. bus_sink: false
  111. bus_source: false
  112. bus_structure: null
  113. coordinate: [280, 12.0]
  114. rotation: 0
  115. state: enabled
  116. - name: usrp_rate
  117. id: variable
  118. parameters:
  119. comment: ''
  120. value: '768000'
  121. states:
  122. bus_sink: false
  123. bus_source: false
  124. bus_structure: null
  125. coordinate: [184, 76.0]
  126. rotation: 0
  127. state: true
  128. - name: analog_agc_xx_0
  129. id: analog_agc_xx
  130. parameters:
  131. affinity: ''
  132. alias: ''
  133. comment: ''
  134. gain: '1.0'
  135. max_gain: '2.0'
  136. maxoutbuf: '0'
  137. minoutbuf: '0'
  138. rate: 1e-4
  139. reference: '1.0'
  140. type: complex
  141. states:
  142. bus_sink: false
  143. bus_source: false
  144. bus_structure: null
  145. coordinate: [624, 156.0]
  146. rotation: 0
  147. state: true
  148. - name: blocks_file_sink_0
  149. id: blocks_file_sink
  150. parameters:
  151. affinity: ''
  152. alias: ''
  153. append: 'False'
  154. comment: ''
  155. file: ./output.tmp
  156. type: byte
  157. unbuffered: 'True'
  158. vlen: '1'
  159. states:
  160. bus_sink: false
  161. bus_source: false
  162. bus_structure: null
  163. coordinate: [1288, 692.0]
  164. rotation: 0
  165. state: enabled
  166. - name: blocks_repack_bits_bb_1_0
  167. id: blocks_repack_bits_bb
  168. parameters:
  169. affinity: ''
  170. alias: ''
  171. align_output: 'False'
  172. comment: MSB
  173. endianness: gr.GR_MSB_FIRST
  174. k: '1'
  175. l: '8'
  176. len_tag_key: '"packet_len"'
  177. maxoutbuf: '0'
  178. minoutbuf: '0'
  179. states:
  180. bus_sink: false
  181. bus_source: false
  182. bus_structure: null
  183. coordinate: [760, 532.0]
  184. rotation: 0
  185. state: true
  186. - name: blocks_throttle2_0
  187. id: blocks_throttle2
  188. parameters:
  189. affinity: ''
  190. alias: ''
  191. comment: ''
  192. ignoretag: 'True'
  193. limit: auto
  194. maximum: '0.1'
  195. maxoutbuf: '0'
  196. minoutbuf: '0'
  197. samples_per_second: samp_rate
  198. type: complex
  199. vlen: '1'
  200. states:
  201. bus_sink: false
  202. bus_source: false
  203. bus_structure: null
  204. coordinate: [432, 172.0]
  205. rotation: 0
  206. state: true
  207. - name: blocks_uchar_to_float_0_0
  208. id: blocks_uchar_to_float
  209. parameters:
  210. affinity: ''
  211. alias: ''
  212. comment: ''
  213. maxoutbuf: '0'
  214. minoutbuf: '0'
  215. states:
  216. bus_sink: false
  217. bus_source: false
  218. bus_structure: null
  219. coordinate: [240, 664.0]
  220. rotation: 180
  221. state: enabled
  222. - name: blocks_uchar_to_float_0_0_0
  223. id: blocks_uchar_to_float
  224. parameters:
  225. affinity: ''
  226. alias: ''
  227. comment: ''
  228. maxoutbuf: '0'
  229. minoutbuf: '0'
  230. states:
  231. bus_sink: false
  232. bus_source: false
  233. bus_structure: null
  234. coordinate: [592, 664.0]
  235. rotation: 0
  236. state: enabled
  237. - name: digital_constellation_decoder_cb_0
  238. id: digital_constellation_decoder_cb
  239. parameters:
  240. affinity: ''
  241. alias: ''
  242. comment: ''
  243. constellation: bpsk
  244. maxoutbuf: '0'
  245. minoutbuf: '0'
  246. states:
  247. bus_sink: false
  248. bus_source: false
  249. bus_structure: null
  250. coordinate: [784, 276.0]
  251. rotation: 0
  252. state: true
  253. - name: digital_correlate_access_code_xx_ts_0
  254. id: digital_correlate_access_code_xx_ts
  255. parameters:
  256. access_code: '"11100001010110101110100010010011"'
  257. affinity: ''
  258. alias: ''
  259. comment: ''
  260. maxoutbuf: '0'
  261. minoutbuf: '0'
  262. tagname: packet_len
  263. threshold: thresh
  264. type: byte
  265. states:
  266. bus_sink: false
  267. bus_source: false
  268. bus_structure: null
  269. coordinate: [424, 524.0]
  270. rotation: 0
  271. state: true
  272. - name: digital_costas_loop_cc_0
  273. id: digital_costas_loop_cc
  274. parameters:
  275. affinity: ''
  276. alias: ''
  277. comment: ''
  278. maxoutbuf: '0'
  279. minoutbuf: '0'
  280. order: '2'
  281. use_snr: 'False'
  282. w: phase_bw
  283. states:
  284. bus_sink: false
  285. bus_source: false
  286. bus_structure: null
  287. coordinate: [512, 280.0]
  288. rotation: 0
  289. state: enabled
  290. - name: digital_crc32_bb_0_0
  291. id: digital_crc32_bb
  292. parameters:
  293. affinity: ''
  294. alias: ''
  295. check: 'True'
  296. comment: ''
  297. lengthtagname: '"packet_len"'
  298. maxoutbuf: '0'
  299. minoutbuf: '0'
  300. packed: 'True'
  301. states:
  302. bus_sink: false
  303. bus_source: false
  304. bus_structure: null
  305. coordinate: [968, 524.0]
  306. rotation: 0
  307. state: true
  308. - name: digital_diff_decoder_bb_0
  309. id: digital_diff_decoder_bb
  310. parameters:
  311. affinity: ''
  312. alias: ''
  313. coding: digital.DIFF_DIFFERENTIAL
  314. comment: ''
  315. maxoutbuf: '0'
  316. minoutbuf: '0'
  317. modulus: '2'
  318. states:
  319. bus_sink: false
  320. bus_source: false
  321. bus_structure: null
  322. coordinate: [1008, 268.0]
  323. rotation: 0
  324. state: enabled
  325. - name: digital_fll_band_edge_cc_0
  326. id: digital_fll_band_edge_cc
  327. parameters:
  328. affinity: ''
  329. alias: ''
  330. comment: ''
  331. filter_size: '44'
  332. maxoutbuf: '0'
  333. minoutbuf: '0'
  334. rolloff: excess_bw
  335. samps_per_sym: sps
  336. type: cc
  337. w: phase_bw
  338. states:
  339. bus_sink: false
  340. bus_source: false
  341. bus_structure: null
  342. coordinate: [784, 136.0]
  343. rotation: 0
  344. state: enabled
  345. - name: digital_map_bb_0
  346. id: digital_map_bb
  347. parameters:
  348. affinity: ''
  349. alias: ''
  350. comment: ''
  351. map: '[0,1]'
  352. maxoutbuf: '0'
  353. minoutbuf: '0'
  354. states:
  355. bus_sink: false
  356. bus_source: false
  357. bus_structure: null
  358. coordinate: [280, 540.0]
  359. rotation: 0
  360. state: true
  361. - name: digital_symbol_sync_xx_0
  362. id: digital_symbol_sync_xx
  363. parameters:
  364. affinity: ''
  365. alias: ''
  366. comment: ''
  367. constellation: digital.constellation_bpsk().base()
  368. damping: '1.0'
  369. loop_bw: phase_bw
  370. max_dev: '1.5'
  371. maxoutbuf: '0'
  372. minoutbuf: '0'
  373. nfilters: '128'
  374. osps: '1'
  375. pfb_mf_taps: '[]'
  376. resamp_type: digital.IR_MMSE_8TAP
  377. sps: sps
  378. ted_gain: '1.0'
  379. ted_type: digital.TED_MUELLER_AND_MULLER
  380. type: cc
  381. states:
  382. bus_sink: false
  383. bus_source: false
  384. bus_structure: null
  385. coordinate: [176, 300.0]
  386. rotation: 0
  387. state: true
  388. - name: epy_block_0
  389. id: epy_block
  390. parameters:
  391. _source_code: "import numpy as np\nfrom gnuradio import gr\nimport pmt\nimport\
  392. \ base64\n\nclass blk(gr.sync_block):\n def __init__(self):\n gr.sync_block.__init__(\n\
  393. \ self,\n name='EPB: Decode Packet', # will show up\
  394. \ in GRC\n in_sig=None,\n out_sig=None)\n self.message_port_register_in(pmt.intern('msg_in'))\n\
  395. \ self.message_port_register_out(pmt.intern('msg_out'))\n self.set_msg_handler(pmt.intern('msg_in'),\
  396. \ self.handle_msg)\n\n def handle_msg(self, msg):\n _debug = 2 \
  397. \ # set to zero to turn off diagnostics\n try:\n buff\
  398. \ = pmt.to_python(pmt.cdr(msg))\n except Exception as e:\n \
  399. \ gr.log.error(\"Error with message conversion: %s\" % str(e))\n \
  400. \ return\n b_len = len (buff)\n\n if (buff[0] == 37): # preamble\
  401. \ or postamble\n if ((buff[4] == 35) and (b_len < 52)): # filename\n\
  402. \ if (_debug == 2):\n print (\"buff =\", buff,\
  403. \ b_len)\n i = 8\n rcv_fn = []\n \
  404. \ while (i < b_len):\n fn_ch = np.frombuffer(buff[i], dtype=np.uint8)\n\
  405. \ rcv_fn.append(chr(fn_ch))\n i += 1\n\
  406. \ if (_debug == 2):\n print (\"rcv_fn =\"\
  407. , rcv_fn)\n\n else:\n # decode Base64\n data =\
  408. \ base64.b64decode(buff)\n if (_debug == 1):\n print\
  409. \ (\"data =\", data)\n pdu = pmt.cons(pmt.PMT_NIL, pmt.init_u8vector(len(data),list(data)))\n\
  410. \ self.message_port_pub(pmt.intern('msg_out'), pdu)\n\n"
  411. affinity: ''
  412. alias: ''
  413. comment: ''
  414. maxoutbuf: '0'
  415. minoutbuf: '0'
  416. states:
  417. _io_cache: '(''EPB: Decode Packet'', ''blk'', [], [(''msg_in'', ''message'', 1)],
  418. [(''msg_out'', ''message'', 1)], '''', [])'
  419. bus_sink: false
  420. bus_source: false
  421. bus_structure: null
  422. coordinate: [1104, 632.0]
  423. rotation: 180
  424. state: true
  425. - name: pdu_pdu_to_tagged_stream_0
  426. id: pdu_pdu_to_tagged_stream
  427. parameters:
  428. affinity: ''
  429. alias: ''
  430. comment: ''
  431. maxoutbuf: '0'
  432. minoutbuf: '0'
  433. tag: packet_len
  434. type: byte
  435. states:
  436. bus_sink: false
  437. bus_source: false
  438. bus_structure: null
  439. coordinate: [1056, 708.0]
  440. rotation: 0
  441. state: true
  442. - name: pdu_tagged_stream_to_pdu_0
  443. id: pdu_tagged_stream_to_pdu
  444. parameters:
  445. affinity: ''
  446. alias: ''
  447. comment: ''
  448. maxoutbuf: '0'
  449. minoutbuf: '0'
  450. tag: packet_len
  451. type: byte
  452. states:
  453. bus_sink: false
  454. bus_source: false
  455. bus_structure: null
  456. coordinate: [1200, 540.0]
  457. rotation: 0
  458. state: true
  459. - name: qtgui_const_sink_x_0
  460. id: qtgui_const_sink_x
  461. parameters:
  462. affinity: ''
  463. alias: ''
  464. alpha1: '1.0'
  465. alpha10: '1.0'
  466. alpha2: '1.0'
  467. alpha3: '1.0'
  468. alpha4: '1.0'
  469. alpha5: '1.0'
  470. alpha6: '1.0'
  471. alpha7: '1.0'
  472. alpha8: '1.0'
  473. alpha9: '1.0'
  474. autoscale: 'False'
  475. axislabels: 'True'
  476. color1: '"blue"'
  477. color10: '"red"'
  478. color2: '"red"'
  479. color3: '"red"'
  480. color4: '"red"'
  481. color5: '"red"'
  482. color6: '"red"'
  483. color7: '"red"'
  484. color8: '"red"'
  485. color9: '"red"'
  486. comment: 0,2,1,2
  487. grid: 'False'
  488. gui_hint: 0,2,1,2
  489. label1: ''
  490. label10: ''
  491. label2: ''
  492. label3: ''
  493. label4: ''
  494. label5: ''
  495. label6: ''
  496. label7: ''
  497. label8: ''
  498. label9: ''
  499. legend: 'True'
  500. marker1: '0'
  501. marker10: '0'
  502. marker2: '0'
  503. marker3: '0'
  504. marker4: '0'
  505. marker5: '0'
  506. marker6: '0'
  507. marker7: '0'
  508. marker8: '0'
  509. marker9: '0'
  510. name: '""'
  511. nconnections: '1'
  512. size: '1024'
  513. style1: '0'
  514. style10: '0'
  515. style2: '0'
  516. style3: '0'
  517. style4: '0'
  518. style5: '0'
  519. style6: '0'
  520. style7: '0'
  521. style8: '0'
  522. style9: '0'
  523. tr_chan: '0'
  524. tr_level: '0.0'
  525. tr_mode: qtgui.TRIG_MODE_FREE
  526. tr_slope: qtgui.TRIG_SLOPE_POS
  527. tr_tag: '""'
  528. type: complex
  529. update_time: '0.10'
  530. width1: '1'
  531. width10: '1'
  532. width2: '1'
  533. width3: '1'
  534. width4: '1'
  535. width5: '1'
  536. width6: '1'
  537. width7: '1'
  538. width8: '1'
  539. width9: '1'
  540. xmax: '2'
  541. xmin: '-2'
  542. ymax: '2'
  543. ymin: '-2'
  544. states:
  545. bus_sink: false
  546. bus_source: false
  547. bus_structure: null
  548. coordinate: [784, 332.0]
  549. rotation: 0
  550. state: enabled
  551. - name: qtgui_freq_sink_x_0
  552. id: qtgui_freq_sink_x
  553. parameters:
  554. affinity: ''
  555. alias: ''
  556. alpha1: '1.0'
  557. alpha10: '1.0'
  558. alpha2: '1.0'
  559. alpha3: '1.0'
  560. alpha4: '1.0'
  561. alpha5: '1.0'
  562. alpha6: '1.0'
  563. alpha7: '1.0'
  564. alpha8: '1.0'
  565. alpha9: '1.0'
  566. autoscale: 'False'
  567. average: '1.0'
  568. axislabels: 'True'
  569. bw: samp_rate
  570. color1: '"blue"'
  571. color10: '"dark blue"'
  572. color2: '"red"'
  573. color3: '"green"'
  574. color4: '"black"'
  575. color5: '"cyan"'
  576. color6: '"magenta"'
  577. color7: '"yellow"'
  578. color8: '"dark red"'
  579. color9: '"dark green"'
  580. comment: 0,0,1,2
  581. ctrlpanel: 'False'
  582. fc: '0'
  583. fftsize: '1024'
  584. freqhalf: 'True'
  585. grid: 'False'
  586. gui_hint: 0,0,1,2
  587. label: Relative Gain
  588. label1: ''
  589. label10: ''''''
  590. label2: ''''''
  591. label3: ''''''
  592. label4: ''''''
  593. label5: ''''''
  594. label6: ''''''
  595. label7: ''''''
  596. label8: ''''''
  597. label9: ''''''
  598. legend: 'True'
  599. maxoutbuf: '0'
  600. minoutbuf: '0'
  601. name: '""'
  602. nconnections: '1'
  603. norm_window: 'False'
  604. showports: 'False'
  605. tr_chan: '0'
  606. tr_level: '0.0'
  607. tr_mode: qtgui.TRIG_MODE_FREE
  608. tr_tag: '""'
  609. type: complex
  610. units: dB
  611. update_time: '0.10'
  612. width1: '1'
  613. width10: '1'
  614. width2: '1'
  615. width3: '1'
  616. width4: '1'
  617. width5: '1'
  618. width6: '1'
  619. width7: '1'
  620. width8: '1'
  621. width9: '1'
  622. wintype: window.WIN_BLACKMAN_hARRIS
  623. ymax: '10'
  624. ymin: '-140'
  625. states:
  626. bus_sink: false
  627. bus_source: false
  628. bus_structure: null
  629. coordinate: [1072, 116.0]
  630. rotation: 0
  631. state: enabled
  632. - name: qtgui_time_sink_x_0_0
  633. id: qtgui_time_sink_x
  634. parameters:
  635. affinity: ''
  636. alias: ''
  637. alpha1: '1.0'
  638. alpha10: '1.0'
  639. alpha2: '1.0'
  640. alpha3: '1.0'
  641. alpha4: '1.0'
  642. alpha5: '1.0'
  643. alpha6: '1.0'
  644. alpha7: '1.0'
  645. alpha8: '1.0'
  646. alpha9: '1.0'
  647. autoscale: 'False'
  648. axislabels: 'True'
  649. color1: blue
  650. color10: dark blue
  651. color2: red
  652. color3: green
  653. color4: black
  654. color5: cyan
  655. color6: magenta
  656. color7: yellow
  657. color8: dark red
  658. color9: dark green
  659. comment: 1,2,1,2
  660. ctrlpanel: 'False'
  661. entags: 'True'
  662. grid: 'False'
  663. gui_hint: 1,2,1,2
  664. label1: ''
  665. label10: ''
  666. label2: ''
  667. label3: ''
  668. label4: ''
  669. label5: ''
  670. label6: ''
  671. label7: ''
  672. label8: ''
  673. label9: ''
  674. legend: 'True'
  675. marker1: '-1'
  676. marker10: '-1'
  677. marker2: '-1'
  678. marker3: '-1'
  679. marker4: '-1'
  680. marker5: '-1'
  681. marker6: '-1'
  682. marker7: '-1'
  683. marker8: '-1'
  684. marker9: '-1'
  685. name: Correlate Output
  686. nconnections: '1'
  687. size: '256'
  688. srate: samp_rate
  689. stemplot: 'False'
  690. style1: '1'
  691. style10: '1'
  692. style2: '1'
  693. style3: '1'
  694. style4: '1'
  695. style5: '1'
  696. style6: '1'
  697. style7: '1'
  698. style8: '1'
  699. style9: '1'
  700. tr_chan: '0'
  701. tr_delay: '0.0'
  702. tr_level: '0.1'
  703. tr_mode: qtgui.TRIG_MODE_TAG
  704. tr_slope: qtgui.TRIG_SLOPE_POS
  705. tr_tag: '"packet_len"'
  706. type: float
  707. update_time: '0.10'
  708. width1: '1'
  709. width10: '1'
  710. width2: '1'
  711. width3: '1'
  712. width4: '1'
  713. width5: '1'
  714. width6: '1'
  715. width7: '1'
  716. width8: '1'
  717. width9: '1'
  718. ylabel: Amplitude
  719. ymax: '1.1'
  720. ymin: '-0.1'
  721. yunit: '""'
  722. states:
  723. bus_sink: false
  724. bus_source: false
  725. bus_structure: null
  726. coordinate: [760, 636.0]
  727. rotation: 0
  728. state: enabled
  729. - name: qtgui_time_sink_x_0_2
  730. id: qtgui_time_sink_x
  731. parameters:
  732. affinity: ''
  733. alias: ''
  734. alpha1: '1.0'
  735. alpha10: '1.0'
  736. alpha2: '1.0'
  737. alpha3: '1.0'
  738. alpha4: '1.0'
  739. alpha5: '1.0'
  740. alpha6: '1.0'
  741. alpha7: '1.0'
  742. alpha8: '1.0'
  743. alpha9: '1.0'
  744. autoscale: 'False'
  745. axislabels: 'True'
  746. color1: blue
  747. color10: dark blue
  748. color2: red
  749. color3: green
  750. color4: black
  751. color5: cyan
  752. color6: magenta
  753. color7: yellow
  754. color8: dark red
  755. color9: dark green
  756. comment: 1,0,1,2
  757. ctrlpanel: 'False'
  758. entags: 'True'
  759. grid: 'False'
  760. gui_hint: 1,0,1,2
  761. label1: ''
  762. label10: ''
  763. label2: ''
  764. label3: ''
  765. label4: ''
  766. label5: ''
  767. label6: ''
  768. label7: ''
  769. label8: ''
  770. label9: ''
  771. legend: 'True'
  772. marker1: '-1'
  773. marker10: '-1'
  774. marker2: '-1'
  775. marker3: '-1'
  776. marker4: '-1'
  777. marker5: '-1'
  778. marker6: '-1'
  779. marker7: '-1'
  780. marker8: '-1'
  781. marker9: '-1'
  782. name: Correlate input
  783. nconnections: '1'
  784. size: '256'
  785. srate: samp_rate
  786. stemplot: 'False'
  787. style1: '1'
  788. style10: '1'
  789. style2: '1'
  790. style3: '1'
  791. style4: '1'
  792. style5: '1'
  793. style6: '1'
  794. style7: '1'
  795. style8: '1'
  796. style9: '1'
  797. tr_chan: '0'
  798. tr_delay: '0.0'
  799. tr_level: '0.2'
  800. tr_mode: qtgui.TRIG_MODE_FREE
  801. tr_slope: qtgui.TRIG_SLOPE_POS
  802. tr_tag: '"packet_len"'
  803. type: float
  804. update_time: '0.10'
  805. width1: '1'
  806. width10: '1'
  807. width2: '1'
  808. width3: '1'
  809. width4: '1'
  810. width5: '1'
  811. width6: '1'
  812. width7: '1'
  813. width8: '1'
  814. width9: '1'
  815. ylabel: Amplitude
  816. ymax: '1.1'
  817. ymin: '-0.1'
  818. yunit: '""'
  819. states:
  820. bus_sink: false
  821. bus_source: false
  822. bus_structure: null
  823. coordinate: [40, 636.0]
  824. rotation: 180
  825. state: enabled
  826. - name: rational_resampler_xxx_0
  827. id: rational_resampler_xxx
  828. parameters:
  829. affinity: ''
  830. alias: ''
  831. comment: ''
  832. decim: (int)(usrp_rate/samp_rate)
  833. fbw: '0'
  834. interp: '1'
  835. maxoutbuf: '0'
  836. minoutbuf: '0'
  837. taps: '[]'
  838. type: ccc
  839. states:
  840. bus_sink: false
  841. bus_source: false
  842. bus_structure: null
  843. coordinate: [240, 156.0]
  844. rotation: 0
  845. state: true
  846. - name: virtual_sink_0
  847. id: virtual_sink
  848. parameters:
  849. alias: ''
  850. comment: ''
  851. stream_id: rx1
  852. states:
  853. bus_sink: false
  854. bus_source: false
  855. bus_structure: null
  856. coordinate: [1072, 68.0]
  857. rotation: 0
  858. state: true
  859. - name: virtual_sink_0_0
  860. id: virtual_sink
  861. parameters:
  862. alias: ''
  863. comment: ''
  864. stream_id: r1
  865. states:
  866. bus_sink: false
  867. bus_source: false
  868. bus_structure: null
  869. coordinate: [1208, 276.0]
  870. rotation: 0
  871. state: true
  872. - name: virtual_source_0
  873. id: virtual_source
  874. parameters:
  875. alias: ''
  876. comment: ''
  877. stream_id: rx1
  878. states:
  879. bus_sink: false
  880. bus_source: false
  881. bus_structure: null
  882. coordinate: [16, 356.0]
  883. rotation: 0
  884. state: true
  885. - name: virtual_source_2
  886. id: virtual_source
  887. parameters:
  888. alias: ''
  889. comment: ''
  890. stream_id: r1
  891. states:
  892. bus_sink: false
  893. bus_source: false
  894. bus_structure: null
  895. coordinate: [120, 540.0]
  896. rotation: 0
  897. state: true
  898. - name: zeromq_sub_source_0
  899. id: zeromq_sub_source
  900. parameters:
  901. address: tcp://127.0.0.1:49201
  902. affinity: ''
  903. alias: ''
  904. bind: 'False'
  905. comment: USRP sample rate = 768kHz
  906. hwm: '-1'
  907. key: ''
  908. maxoutbuf: '0'
  909. minoutbuf: '0'
  910. pass_tags: 'False'
  911. timeout: '100'
  912. type: complex
  913. vlen: '1'
  914. states:
  915. bus_sink: false
  916. bus_source: false
  917. bus_structure: null
  918. coordinate: [16, 148.0]
  919. rotation: 0
  920. state: true
  921.  
  922. connections:
  923. - [analog_agc_xx_0, '0', digital_fll_band_edge_cc_0, '0']
  924. - [blocks_repack_bits_bb_1_0, '0', digital_crc32_bb_0_0, '0']
  925. - [blocks_throttle2_0, '0', analog_agc_xx_0, '0']
  926. - [blocks_uchar_to_float_0_0, '0', qtgui_time_sink_x_0_2, '0']
  927. - [blocks_uchar_to_float_0_0_0, '0', qtgui_time_sink_x_0_0, '0']
  928. - [digital_constellation_decoder_cb_0, '0', digital_diff_decoder_bb_0, '0']
  929. - [digital_correlate_access_code_xx_ts_0, '0', blocks_repack_bits_bb_1_0, '0']
  930. - [digital_correlate_access_code_xx_ts_0, '0', blocks_uchar_to_float_0_0_0, '0']
  931. - [digital_costas_loop_cc_0, '0', digital_constellation_decoder_cb_0, '0']
  932. - [digital_costas_loop_cc_0, '0', qtgui_const_sink_x_0, '0']
  933. - [digital_crc32_bb_0_0, '0', pdu_tagged_stream_to_pdu_0, '0']
  934. - [digital_diff_decoder_bb_0, '0', virtual_sink_0_0, '0']
  935. - [digital_fll_band_edge_cc_0, '0', qtgui_freq_sink_x_0, '0']
  936. - [digital_fll_band_edge_cc_0, '0', virtual_sink_0, '0']
  937. - [digital_map_bb_0, '0', blocks_uchar_to_float_0_0, '0']
  938. - [digital_map_bb_0, '0', digital_correlate_access_code_xx_ts_0, '0']
  939. - [digital_symbol_sync_xx_0, '0', digital_costas_loop_cc_0, '0']
  940. - [epy_block_0, msg_out, pdu_pdu_to_tagged_stream_0, pdus]
  941. - [pdu_pdu_to_tagged_stream_0, '0', blocks_file_sink_0, '0']
  942. - [pdu_tagged_stream_to_pdu_0, pdus, epy_block_0, msg_in]
  943. - [rational_resampler_xxx_0, '0', blocks_throttle2_0, '0']
  944. - [virtual_source_0, '0', digital_symbol_sync_xx_0, '0']
  945. - [virtual_source_2, '0', digital_map_bb_0, '0']
  946. - [zeromq_sub_source_0, '0', rational_resampler_xxx_0, '0']
  947.  
  948. metadata:
  949. file_format: 1
  950. grc_version: v3.11.0.0git-652-g5547874b
Add Comment
Please, Sign In to add comment