Difference between revisions of "TCP/IP mic"

From SmartSDR Wiki
Jump to: navigation, search
(change from a numeric input to text -- don't think it's been numeric for a long time)
(add sig_gen_level to mic command)
Line 4: Line 4:
 
</pre>
 
</pre>
 
Example:
 
Example:
<pre>C19|mic bias on<pre>
+
<pre>C19|mic bias on</pre>
  
 
See [[SmartSDR TCP/IP API#Response Format|Response Format]] for details on the format of the response messages from the radio
 
See [[SmartSDR TCP/IP API#Response Format|Response Format]] for details on the format of the response messages from the radio
Line 76: Line 76:
 
<pre>R19|0|</pre>
 
<pre>R19|0|</pre>
  
=== ACC ===
+
=== SIG_GEN_LEVEL ===
 +
Set the output level on the internal signal generator.  Note that this works for both the 'gen' type of mic input as well as the 'noise' type.
 
<pre>
 
<pre>
C[D]<seq_number>|mic acc <on|off>
+
C[D]<seq_number>|mic sig_gen_level <0-95>
 
</pre>
 
</pre>
 
Example:
 
Example:
<pre>C19|mic acc on</pre>
+
<pre>C19|mic sig_gen_level 80</pre>
  
 
See [[SmartSDR TCP/IP API#Response Format|Response Format]] for details on the format of the response messages from the radio
 
See [[SmartSDR TCP/IP API#Response Format|Response Format]] for details on the format of the response messages from the radio

Revision as of 09:54, 4 October 2018

BIAS

C[D]<seq_number>|mic bias <on|off>

Example:

C19|mic bias on

See Response Format for details on the format of the response messages from the radio

Responses
Hex Response Message Debug Output / Meaning
00000000   OK
5000002C   Incorrect number of parameters

Response Example:

R19|0|

BOOST

C[D]<seq_number>|mic boost <on|off>

Example:

C19|mic boost on

See Response Format for details on the format of the response messages from the radio

Responses
Hex Response Message Debug Output / Meaning
00000000   OK
5000002C   Incorrect number of parameters

Response Example:

R19|0|

INPUT

C[D]<seq_number>|mic input <microphone>

where <microphone> is one of mic, val, line, gen, acc, pc, noise

Example:

C19|mic input mic

See Response Format for details on the format of the response messages from the radio

Responses
Hex Response Message Debug Output / Meaning
00000000   OK
5000004B   Incorrect mic type
5000002C   Incorrect number of parameters

Response Example:

R19|0|

SIG_GEN_LEVEL

Set the output level on the internal signal generator. Note that this works for both the 'gen' type of mic input as well as the 'noise' type.

C[D]<seq_number>|mic sig_gen_level <0-95>

Example:

C19|mic sig_gen_level 80

See Response Format for details on the format of the response messages from the radio

Responses
Hex Response Message Debug Output / Meaning
00000000   OK
5000002C   Incorrect number of parameters

Response Example:

R19|0|