-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDataModTCP.dfm
87 lines (86 loc) · 2.67 KB
/
DataModTCP.dfm
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
object dmTCP: TdmTCP
Height = 201
Width = 389
object IdCmdTCPServer1: TIdCmdTCPServer
Bindings = <>
DefaultPort = 6060
MaxConnections = 1
OnConnect = IdCmdTCPServer1Connect
OnDisconnect = IdCmdTCPServer1Disconnect
OnException = IdCmdTCPServer1Exception
CommandHandlers = <
item
CmdDelimiter = ' '
Command = 'LAI'
Description.Strings = (
'Show all available wave input devices on system')
Disconnect = False
ExceptionReply.Code = ''
Name = 'srvCmdListAudioInputs'
NormalReply.Code = '200'
ParamDelimiter = ' '
ParseParams = False
Tag = 0
HelpSuperScript = ': list available input devices'
OnCommand = IdCmdTCPServer1CommandHandlers0Command
end
item
CmdDelimiter = ' '
Command = 'DETF'
Description.Strings = (
'Parameters: <chn> <sps> <len> <hys> <flo> <fhi> <listen_for_ms> ' +
'<amplitude_dB>'
''
'<chn> = Input device number'
'<sps> = Samples per second'
'<len> = Sampling buffer length'
'<hys> = Detection hysterisis'
'<flo> = minimum detectable frequency'
'<fhi> = maximum detectable frequency'
'<listen_for_ms> = listen duration in milliseconds'
'<amplitude_dB> = gain or attenuation to apply to the signal')
Disconnect = False
ExceptionReply.Code = ''
Name = 'srvCmdSetParams'
NormalReply.Code = '200'
ParamDelimiter = ' '
ParseParams = True
Tag = 0
HelpSuperScript = ' - Detect frequency'
OnCommand = IdCmdTCPServer1CommandHandlers1Command
end
item
CmdDelimiter = ' '
Command = 'QUIT'
Description.Strings = (
'Close the current connection')
Disconnect = False
ExceptionReply.Code = ''
Name = 'srvCmdQuit'
NormalReply.Code = '200'
ParamDelimiter = ' '
ParseParams = False
Tag = 0
HelpSuperScript = ' - close connection'
OnCommand = IdCmdTCPServer1CommandHandlers2Command
end>
ExceptionReply.Code = '500'
ExceptionReply.Text.Strings = (
'Unknown Internal Error')
Greeting.Code = '200'
Greeting.Text.Strings = (
'Welcome, ')
HelpReply.Code = '100'
HelpReply.Text.Strings = (
'Available commands:')
MaxConnectionReply.Code = '300'
MaxConnectionReply.Text.Strings = (
'Too many connections. Try again later.')
ReplyTexts = <>
ReplyUnknownCommand.Code = '400'
ReplyUnknownCommand.Text.Strings = (
'Unknown Command')
Left = 96
Top = 120
end
end