Difference between revisions of "TCP/IP mic"

From SmartSDR Wiki
Jump to: navigation, search
(add sig_gen_level to mic command)
 
Line 83: Line 83:
 
Example:
 
Example:
 
<pre>C19|mic sig_gen_level 80</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
 +
 +
{| class="wikitable" style="text-align:center"
 +
|+Responses
 +
|-
 +
! Hex Response !! Message !! Debug Output / Meaning
 +
|-
 +
! 00000000
 +
| &nbsp; || align="left" | OK
 +
|-
 +
! 5000002C
 +
| &nbsp; || align="left" | Incorrect number of parameters
 +
|}
 +
 +
Response Example:
 +
<pre>R19|0|</pre>
 +
 +
=== ACC ===
 +
<pre>
 +
C[D]<seq_number>|mic acc <on|off>
 +
</pre>
 +
Example:
 +
<pre>C19|mic acc 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

Latest revision as of 10:59, 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|

ACC

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

Example:

C19|mic acc 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|