aboutsummaryrefslogtreecommitdiffstats
path: root/grc/misc_utils/gsm_clock_offset_corrector_tagged.xml
blob: bcec98e8451061ef22ec53e02fff1497f46e8bfb (plain)
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
<block>
  <name>Clock Offset Corrector Tagged</name>
  <key>gsm_clock_offset_corrector_tagged</key>
  <import>import grgsm</import>
  <make>grgsm.clock_offset_corrector_tagged(
    fc=$fc,
    samp_rate_in=$samp_rate_in,
    ppm=$ppm,
    osr=$osr
)</make>
  <callback>set_fc($fc)</callback>
  <callback>set_ppm($ppm)</callback>
  <callback>set_samp_rate_in($samp_rate_in)</callback>
  <callback>set_osr($osr)</callback>
  <param>
    <name>fc</name>
    <key>fc</key>
    <value>936.6e6</value>
    <type>raw</type>
  </param>
  <param>
    <name>ppm</name>
    <key>ppm</key>
    <value>0</value>
    <type>raw</type>
  </param>
  <param>
    <name>samp_rate_in</name>
    <key>samp_rate_in</key>
    <value>1625000.0/6.0*4.0</value>
    <type>raw</type>
  </param>
  <param>
    <name>OSR</name>
    <key>osr</key>
    <value>osr</value>
    <type>raw</type>
  </param>
  <sink>
    <name>ctrl</name>
    <type>message</type>
    <optional>1</optional>
  </sink>
  <sink>
    <name>in</name>
    <type>complex</type>
    <vlen>1</vlen>
  </sink>
  <source>
    <name>out</name>
    <type>complex</type>
    <vlen>1</vlen>
  </source>
  <doc>Piotr Krysik
Clock offset corrector with blocks that use tags to switch offsets
  </doc>
</block>