-
Notifications
You must be signed in to change notification settings - Fork 3
/
LoRaBluetoothSettings.fmx
337 lines (334 loc) · 12.4 KB
/
LoRaBluetoothSettings.fmx
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
inherited frmBluetoothSettings: TfrmBluetoothSettings
Caption = 'frmSettingsBase1'
DesignerMasterStyle = 0
inherited pnlMain: TPanel
inherited Panel1: TPanel
Size.Height = 537.000000000000000000
inherited Rectangle3: TRectangle
Size.Height = 529.000000000000000000
inherited Memo1: TMemo
Lines.Strings = (
'Set the frequency and mode to match that of your payload.'
''
'Set your receiver callsign to whatever you want to appear alongs' +
'ide the telemetry on the map. Generally this will be your ham r' +
'adio callsign, your name or school/project name.'#11
''
'The "Upload To Sondehub" button enables uploading of telemetry f' +
'rom the attached Bluetooth receiver to Sondehub.'
''
'The "Upload SSDV" button enables uploading of images from the Bl' +
'uetooth receiver to the SSDV server.')
ShowScrollBars = False
StyledSettings = [Family, FontColor]
TextSettings.Font.StyleExt = {00070000000000000004000000}
Margins.Left = 6.000000000000000000
Margins.Top = 12.000000000000000000
Margins.Right = 6.000000000000000000
Margins.Bottom = 6.000000000000000000
Size.Width = 512.000000000000000000
Size.Height = 511.000000000000000000
Viewport.Width = 512.000000000000000000
Viewport.Height = 511.000000000000000000
end
end
object cmbDevices: TComboBox
Position.X = 75.000000000000000000
Position.Y = 184.000000000000000000
Size.Width = 449.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
TabOrder = 6
Visible = False
OnClosePopup = cmbDevicesClosePopup
end
end
inherited Panel3: TPanel
Size.Height = 193.000000000000000000
inherited Rectangle1: TRectangle
Size.Height = 185.000000000000000000
object btnModeDown: TLabel
Align = Scale
StyledSettings = [Family, Style, Other]
HitTest = True
Position.X = 72.000000000000000000
Position.Y = 57.000000000000000000
Size.Width = 47.000000000000000000
Size.Height = 33.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'lCARSPushButton'
TextSettings.Font.Size = 11.899999618530270000
TextSettings.FontColor = claWhite
Text = '<'
OnClick = btnModeDownClick
end
object btnModeUp: TLabel
Align = Scale
StyledSettings = [Family, Style, Other]
HitTest = True
Position.X = 192.000000000000000000
Position.Y = 57.000000000000000000
Size.Width = 47.000000000000000000
Size.Height = 32.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'lCARSPushButton'
TextSettings.Font.Size = 11.899999618530270000
TextSettings.FontColor = claWhite
Text = '>'
OnClick = btnModeUpClick
end
object chkAFC: TLabel
Align = Scale
StyledSettings = [Family, Style, Other]
HitTest = True
Position.X = 173.000000000000000000
Position.Y = 145.000000000000000000
Size.Width = 88.000000000000000000
Size.Height = 33.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'lCARSCheckButton'
TextSettings.Font.Size = 11.899999618530270000
TextSettings.FontColor = claWhite
Text = 'AFC'
OnClick = chkSondehubClick
end
object chkSSDV: TLabel
Align = Scale
StyledSettings = [Family, Style, Other]
HitTest = True
Position.X = 16.000000000000000000
Position.Y = 143.000000000000000000
Size.Width = 149.000000000000000000
Size.Height = 33.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'lCARSCheckButton'
TextSettings.Font.Size = 11.899999618530270000
TextSettings.FontColor = claWhite
Text = 'Upload SSDV'
OnClick = chkSondehubClick
end
object edtCallsign: TTMSFMXEdit
Touch.InteractiveGestures = [LongTap, DoubleTap]
Align = Scale
StyleLookup = 'LCARSTMSFMXEdit1Style'
TextSettings.Font.Size = 11.899999618530270000
TextSettings.FontColor = claWhite
Position.X = 348.000000000000000000
Position.Y = 56.000000000000000000
Margins.Left = 8.000000000000000000
Margins.Right = 8.000000000000000000
Margins.Bottom = 8.000000000000000000
StyledSettings = [Family, Style]
OnChangeTracking = edtCallsignChangeTracking
Size.Width = 165.000000000000000000
Size.Height = 34.000000000000000000
Size.PlatformDefault = False
Version = '1.4.4.5'
EditType = etUppercase
Lookup.Separator = ';'
end
object edtDevice: TTMSFMXEdit
Touch.InteractiveGestures = [LongTap, DoubleTap]
Align = Scale
StyleLookup = 'LCARSTMSFMXEdit1Style'
ReadOnly = True
TextSettings.Font.Size = 11.899999618530270000
TextSettings.FontColor = claWhite
Position.X = 72.000000000000000000
Position.Y = 7.000000000000000000
Margins.Left = 8.000000000000000000
Margins.Right = 8.000000000000000000
Margins.Bottom = 8.000000000000000000
StyledSettings = [Family, Style]
OnChangeTracking = edtDeviceChangeTracking
OnClick = edtDeviceClick
Size.Width = 169.000000000000000000
Size.Height = 34.000000000000000000
Size.PlatformDefault = False
Version = '1.4.4.5'
Lookup.Separator = ';'
end
object edtFrequency: TTMSFMXEdit
Touch.InteractiveGestures = [LongTap, DoubleTap]
Align = Scale
StyleLookup = 'LCARSTMSFMXEdit1Style'
KeyboardType = DecimalNumberPad
TextSettings.Font.Size = 11.899999618530270000
TextSettings.FontColor = claWhite
Position.X = 348.000000000000000000
Position.Y = 8.000000000000000000
Margins.Left = 8.000000000000000000
Margins.Right = 8.000000000000000000
Margins.Bottom = 8.000000000000000000
StyledSettings = [Family, Style]
OnChangeTracking = edtCallsignChangeTracking
OnExit = edtFrequencyExit
Size.Width = 165.000000000000000000
Size.Height = 34.000000000000000000
Size.PlatformDefault = False
Version = '1.4.4.5'
Lookup.Separator = ';'
end
object edtMode: TTMSFMXEdit
Touch.InteractiveGestures = [LongTap, DoubleTap]
Align = Scale
StyleLookup = 'LCARSTMSFMXEdit1Style'
ReadOnly = True
TextSettings.FontColor = claWhite
TextSettings.HorzAlign = Center
Position.X = 128.000000000000000000
Position.Y = 57.000000000000000000
Margins.Left = 8.000000000000000000
Margins.Right = 8.000000000000000000
Margins.Bottom = 8.000000000000000000
StyledSettings = [Family, Style]
Size.Width = 57.000000000000000000
Size.Height = 32.000000000000000000
Size.PlatformDefault = False
Version = '1.4.4.5'
Lookup.Separator = ';'
end
object Label1: TLabel
Align = Scale
StyledSettings = [Family, Style, FontColor, Other]
Position.X = 248.000000000000000000
Position.Y = 58.000000000000000000
Size.Width = 94.000000000000000000
Size.Height = 31.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'LCARSLabelStyle'
TextSettings.Font.Size = 11.899999618530270000
Text = 'Receiver Callsign:'
end
object Label2: TLabel
Align = Scale
StyledSettings = [Family, Style, FontColor, Other]
Position.X = 248.000000000000000000
Position.Y = 8.000000000000000000
Size.Width = 97.000000000000000000
Size.Height = 33.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'LCARSLabelStyle'
TextSettings.Font.Size = 11.899999618530270000
Text = 'Frequency:'
end
object Label3: TLabel
Align = Scale
StyledSettings = [Family, Style, FontColor]
Position.X = -16.000000000000000000
Position.Y = 56.000000000000000000
Size.Width = 81.000000000000000000
Size.Height = 33.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'LCARSLabelStyle'
TextSettings.Font.Size = 11.899999618530270000
TextSettings.HorzAlign = Trailing
Text = 'Mode'
end
object Label4: TLabel
Align = Scale
StyledSettings = [Family, Style, FontColor, Other]
Position.Y = 4.000000000000000000
Size.Width = 65.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'LCARSLabelStyle'
TextSettings.Font.Size = 11.899999618530270000
Text = 'Device:'
end
object btnSearch: TButton
StaysPressed = True
Align = Scale
StyledSettings = [Family, Style, Other]
IsPressed = True
Margins.Right = 4.000000000000000000
Margins.Bottom = 4.000000000000000000
Position.X = 304.000000000000000000
Position.Y = 145.000000000000000000
Size.Width = 201.000000000000000000
Size.Height = 31.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'LCARSTabButtonStyle'
Text = 'Search +/- 10kHz'
TextSettings.Font.Size = 22.000000000000000000
OnClick = btnSearchClick
end
object chkSondehub: TLabel
Align = Scale
StyledSettings = [Family, Style, Other]
HitTest = True
Position.X = 19.000000000000000000
Position.Y = 101.000000000000000000
Size.Width = 242.000000000000000000
Size.Height = 36.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'lCARSCheckButton'
TextSettings.Font.Size = 11.899999618530270000
TextSettings.FontColor = claWhite
Text = 'Upload To Sondehub'
TabOrder = 0
OnClick = chkSondehubClick
end
end
object rectProgressHolder: TRectangle
Align = Scale
Fill.Kind = None
Position.X = 344.000000000000000000
Position.Y = 96.000000000000000000
Size.Width = 153.000000000000000000
Size.Height = 28.000000000000000000
Size.PlatformDefault = False
Stroke.Color = claWhite
Visible = False
object rectProgressBar: TRectangle
Align = Left
Fill.Color = xFFF1DF6F
Size.Width = 40.000000000000000000
Size.Height = 28.000000000000000000
Size.PlatformDefault = False
Stroke.Color = claWhite
end
end
object tmrReceive: TTimer
OnTimer = tmrReceiveTimer
Left = 408
Top = 199
end
object tmrSearch: TTimer
Enabled = False
Interval = 5000
OnTimer = tmrSearchTimer
Left = 448
Top = 199
end
end
inherited Panel2: TPanel
Position.Y = 193.000000000000000000
object rectRx: TRectangle
Align = Scale
Fill.Color = claLime
Position.X = 400.000000000000000000
Size.Width = 113.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
Visible = False
object lblRx: TLabel
Align = Client
StyledSettings = [Family, Style, FontColor]
Size.Width = 113.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
TextSettings.Font.Size = 18.000000000000000000
TextSettings.HorzAlign = Center
Text = 'Rx'
end
end
end
end
object BluetoothLE1: TBluetoothLE
Enabled = False
OnDiscoverLEDevice = BluetoothLE1DiscoverLEDevice
Left = 203
Top = 498
end
end