Difference between revisions of "TCP/IP mic"

From SmartSDR Wiki
Jump to: navigation, search
(Created page with "=== BIAS === <pre> C[D]<seq_number>|mic bias <on|off> </pre> Example: <pre>C19|mic bias on<pre> See Response Format for details on th...")
 
(change from a numeric input to text -- don't think it's been numeric for a long time)
Line 49: Line 49:
 
=== INPUT ===
 
=== INPUT ===
 
<pre>
 
<pre>
C[D]<seq_number>|mic input <val>
+
C[D]<seq_number>|mic input <microphone>
  
where <val> is 0-Sig Gen, 1-Mic, 2-Bal, 3-Line
+
where <microphone> is one of mic, val, line, gen, acc, pc, noise
 
</pre>
 
</pre>
 
Example:
 
Example:
<pre>C19|mic input 1</pre>
+
<pre>C19|mic input mic</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 65: Line 65:
 
! 00000000  
 
! 00000000  
 
| &nbsp; || align="left" | OK
 
| &nbsp; || align="left" | OK
 +
|-
 +
! 5000004B
 +
| &nbsp; || align="left" | Incorrect mic type
 
|-
 
|-
 
! 5000002C  
 
! 5000002C  

Revision as of 09:48, 4 October 2018

BIAS

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

Example:

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

{| class="wikitable" style="text-align:center"
|+Responses
|-
! Hex Response !! Message !! Debug Output / Meaning
|-
! 00000000 
|   || align="left" | OK
|-
! 5000002C 
|   || align="left" | Incorrect number of parameters
|}

Response Example:
<pre>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|

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|