forked from RedhawkSDR/RTL2832U
-
Notifications
You must be signed in to change notification settings - Fork 1
/
RTL2832U.prf.xml
240 lines (240 loc) · 13.2 KB
/
RTL2832U.prf.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties PUBLIC "-//JTRS//DTD SCA V2.2.2 PRF//EN" "properties.dtd">
<properties>
<simple id="DCE:cdc5ee18-7ceb-4ae6-bf4c-31f983179b4d" mode="readonly" name="device_kind" type="string">
<description>This specifies the device kind</description>
<value>FRONTEND::TUNER</value>
<kind kindtype="allocation"/>
<kind kindtype="property"/>
<action type="eq"/>
</simple>
<simple id="DCE:0f99b2e4-9903-4631-9846-ff349d18ecfb" mode="readonly" name="device_model" type="string">
<description> This specifies the specific device</description>
<value>RTL2832U</value>
<kind kindtype="allocation"/>
<kind kindtype="property"/>
<action type="eq"/>
</simple>
<structsequence id="FRONTEND::tuner_status" mode="readonly" name="frontend_tuner_status">
<description>Status of each tuner, including entries for both allocated and un-allocated tuners. Each entry represents a single tuner.</description>
<struct id="FRONTEND::tuner_status_struct" name="frontend_tuner_status_struct">
<simple id="FRONTEND::tuner_status::agc" name="agc" type="boolean">
<description>Indicates if the tuner has Automatic Gain Control enabled.</description>
</simple>
<simple id="FRONTEND::tuner_status::allocation_id_csv" name="allocation_id_csv" type="string">
<description>Comma separated list of current Allocation IDs.</description>
</simple>
<simple id="FRONTEND::tuner_status::available_frequency" name="available_frequency" type="string">
<description>Available frequencies (Hz) in range (XX-YY) or csv (X,Y,Z) format. Do not put units in field.</description>
<units>Hz</units>
</simple>
<simple id="FRONTEND::tuner_status::available_gain" name="available_gain" type="string">
<description>Available gain (dB) in range (XX-YY) or csv (X,Y,Z) format. Do not put units in field.</description>
<units>dB</units>
</simple>
<simple id="FRONTEND::tuner_status::available_sample_rate" name="available_sample_rate" type="string">
<description>Available sample_rate (sps) in range (XX-YY) or csv (X,Y,Z) format. Do not put units in field.</description>
<units>sps</units>
</simple>
<simple id="FRONTEND::tuner_status::bandwidth" name="bandwidth" type="double">
<description>Current bandwidth in Hz</description>
<units>Hz</units>
</simple>
<simple id="FRONTEND::tuner_status::center_frequency" name="center_frequency" type="double">
<description>Current center frequency in Hz.</description>
<units>Hz</units>
</simple>
<simple id="FRONTEND::tuner_status::complex" name="complex" type="boolean">
<description>Indicates if the output data is complex.</description>
</simple>
<simple id="FRONTEND::tuner_status::enabled" name="enabled" type="boolean">
<description>Indicates if tuner is enabled, in reference to the output state of the tuner.</description>
</simple>
<simple id="FRONTEND::tuner_status::gain" name="gain" type="double">
<description>Current gain in dB.</description>
<units>dB</units>
</simple>
<simple id="FRONTEND::tuner_status::group_id" name="group_id" type="string">
<description>Unique ID that specifies a group of Device.</description>
</simple>
<simple id="FRONTEND::tuner_status::rf_flow_id" name="rf_flow_id" type="string">
<description>Specifies a certain RF flow to allocate against.</description>
</simple>
<simple id="FRONTEND::tuner_status::sample_rate" name="sample_rate" type="double">
<description>Current sample rate in samples per second.</description>
<units>sps</units>
</simple>
<simple id="FRONTEND::tuner_status::scan_mode_enabled" name="scan_mode_enabled" type="boolean">
<description>True if scan mode is enabled. False if Manual Tune is enabled</description>
</simple>
<simple id="FRONTEND::tuner_status::stream_id" name="stream_id" type="string">
<description>Stream ID associated with tuner/allocation</description>
</simple>
<simple id="FRONTEND::tuner_status::supports_scan" name="supports_scan" type="boolean">
<description>True if scan is supported</description>
</simple>
<simple id="FRONTEND::tuner_status::tuner_number" name="tuner_number" type="short">
<description>Physical tuner ID.</description>
</simple>
<simple id="FRONTEND::tuner_status::tuner_type" name="tuner_type" type="string">
<description>Example Tuner Types: TX, RX, CHANNELIZER, DDC, RX_DIGITIZER, RX_DIGTIZIER_CHANNELIZER</description>
</simple>
</struct>
<configurationkind kindtype="property"/>
</structsequence>
<struct id="FRONTEND::listener_allocation" mode="writeonly" name="frontend_listener_allocation">
<description>Allocates a listener (subscriber) based off a previous allocation </description>
<simple id="FRONTEND::listener_allocation::existing_allocation_id" name="existing_allocation_id" type="string">
<description></description>
</simple>
<simple id="FRONTEND::listener_allocation::listener_allocation_id" name="listener_allocation_id" type="string">
<description></description>
</simple>
<configurationkind kindtype="allocation"/>
</struct>
<struct id="FRONTEND::tuner_allocation" mode="writeonly" name="frontend_tuner_allocation">
<description>Frontend Interfaces v2.0 main allocation structure</description>
<simple id="FRONTEND::tuner_allocation::tuner_type" name="tuner_type" type="string">
<description>Example Tuner Types: TX, RX, CHANNELIZER, DDC, RX_DIGITIZER, RX_DIGTIZIER_CHANNELIZER</description>
</simple>
<simple id="FRONTEND::tuner_allocation::allocation_id" name="allocation_id" type="string">
<description>The allocation_id set by the caller. Used by the caller to reference the device uniquely</description>
</simple>
<simple id="FRONTEND::tuner_allocation::center_frequency" name="center_frequency" type="double">
<description>Requested center frequency.</description>
<value>0.0</value>
<units>Hz</units>
</simple>
<simple id="FRONTEND::tuner_allocation::bandwidth" name="bandwidth" type="double">
<description>Requested Bandwidth</description>
<value>0.0</value>
<units>Hz</units>
</simple>
<simple id="FRONTEND::tuner_allocation::bandwidth_tolerance" name="bandwidth_tolerance" type="double">
<description>Allowable Percent above requested bandwidth (ie - 100 would be up to twice)</description>
<value>10.0</value>
<units>percent</units>
</simple>
<simple id="FRONTEND::tuner_allocation::sample_rate" name="sample_rate" type="double">
<description>Requested sample rate. This can be ignored for such devices as analog tuners</description>
<value>0.0</value>
<units>sps</units>
</simple>
<simple id="FRONTEND::tuner_allocation::sample_rate_tolerance" name="sample_rate_tolerance" type="double">
<description>Allowable Percent above requested sample rate (ie - 100 would be up to twice)</description>
<value>10.0</value>
<units>percent</units>
</simple>
<simple id="FRONTEND::tuner_allocation::device_control" name="device_control" type="boolean">
<description>True: Has control over the device to make changes
False: Does not need control and can just attach to any currently tasked device that satisfies the parameters (essentually a listener)</description>
<value>true</value>
</simple>
<simple id="FRONTEND::tuner_allocation::group_id" name="group_id" type="string">
<description>Unique identifier that specifies a group of device. Must match group_id on the device</description>
</simple>
<simple id="FRONTEND::tuner_allocation::rf_flow_id" name="rf_flow_id" type="string">
<description>Optional. Specifies a certain RF flow to allocate against. If left empty, it will match all frontend devices.</description>
</simple>
<configurationkind kindtype="allocation"/>
</struct>
<structsequence id="available_devices" mode="readonly" name="available_devices">
<description>A list of the available RTL devices connected to the host</description>
<struct id="available_devices::rtl_device_struct" name="rtl_device_struct">
<description>An available rtl dongle connected to the localhost</description>
<simple id="available_devices::rtl::name" name="name" type="string">
<description>The name of the rtl dongle</description>
</simple>
<simple id="available_devices::rtl::vendor" name="vendor" type="string">
<description>The vendor of the rtl dongle</description>
</simple>
<simple id="available_devices::rtl::product" name="product" type="string">
<description>The product number of the rtl dongle</description>
</simple>
<simple id="available_devices::rtl::serial" name="serial" type="string">
<description>The serial number of the rtl dongle</description>
</simple>
<simple id="available_devices::rtl::index" name="index" type="ushort">
<description>The index of the rtl dongle</description>
</simple>
</struct>
<configurationkind kindtype="property"/>
</structsequence>
<struct id="target_device" mode="readwrite" name="target_device">
<description>Information used to specify a particular RTL device to target. All fields are optional. First device found that meets the specified criteria is selected.</description>
<simple id="target::name" name="name" type="string">
<description>The name of the rtl dongle</description>
<value></value>
</simple>
<simple id="target::serial" name="serial" type="string">
<description>The serial number of the rtl dongle</description>
<value></value>
</simple>
<simple id="target::index" name="index" type="short">
<description>The index of the rtl dongle (-1 if don't care)</description>
<value>-1</value>
</simple>
<simple id="target::vendor" name="vendor" type="string">
<description>The vendor of the rtl dongle</description>
<value></value>
</simple>
<simple id="target::product" name="product" type="string">
<description>The product number of the rtl dongle</description>
<value></value>
</simple>
<configurationkind kindtype="property"/>
</struct>
<struct id="current_device" mode="readonly" name="current_device">
<description>Information about the currently targeted rtl dongle</description>
<simple id="current::rtl::name" name="name" type="string">
<description>The name of the rtl dongle</description>
</simple>
<simple id="current::rtl::vendor" name="vendor" type="string">
<description>The vendor of the rtl dongle</description>
</simple>
<simple id="current::rtl::product" name="product" type="string">
<description>The product number of the rtl dongle</description>
</simple>
<simple id="current::rtl::serial" name="serial" type="string">
<description>The serial number of the rtl dongle</description>
</simple>
<simple id="current::rtl::index" name="index" type="ushort">
<description>The index of the rtl dongle</description>
</simple>
<configurationkind kindtype="property"/>
</struct>
<simple id="update_available_devices" mode="readwrite" name="update_available_devices" type="boolean">
<description>When set to true, the available_devices property will be updated with all available RTL devices found on the host.</description>
<value>False</value>
<kind kindtype="property"/>
<action type="external"/>
</simple>
<simple id="group_id" mode="readwrite" name="group_id" type="string" commandline="true">
<description>The group id for all tuners controlled by the device</description>
<value></value>
<kind kindtype="property"/>
<action type="external"/>
</simple>
<simple id="digital_agc_enable" mode="readwrite" name="digital_agc_enable" type="boolean">
<description>Sets the digital AGC mode of the RTL2832U chip, which is different from the gain mode of the tuner. Gain mode of the tuner is set using the tuner port setTunerAgcEnable function.</description>
<value>False</value>
<kind kindtype="property"/>
<action type="external"/>
</simple>
<simple id="frequency_correction" mode="readwrite" name="frequency_correction" type="short">
<description>Actual frequency correction value of the device.</description>
<value>0</value>
<units>ppm</units>
<kind kindtype="property"/>
<action type="external"/>
</simple>
<struct id="FRONTEND::scanner_allocation" mode="writeonly" name="frontend_scanner_allocation">
<description>Frontend Interfaces scanner allocation structure</description>
<simple id="FRONTEND::scanner_allocation::min_freq" name="min_freq" type="double"/>
<simple id="FRONTEND::scanner_allocation::max_freq" name="max_freq" type="double"/>
<simple id="FRONTEND::scanner_allocation::mode" name="mode" type="string"/>
<simple id="FRONTEND::scanner_allocation::control_mode" name="control_mode" type="string"/>
<simple id="FRONTEND::scanner_allocation::control_limit" name="control_limit" type="double"/>
<configurationkind kindtype="allocation"/>
</struct>
</properties>