-
Notifications
You must be signed in to change notification settings - Fork 0
CW Commands
Generated from FlexLib v4.2.18
Morse code keying
Commands follow the FlexRadio TCP wire protocol:
C[D]<seq_number>|<command> [sub-command] [parameters]
Where:
-
C= Command prefix -
D= Optional debug flag -
<seq_number>= Sequence number for command tracking -
<command>= Primary command word -
[sub-command]= Optional sub-command -
[parameters]= Command-specific parameters
Responses follow the format:
R<seq_number>|<result_code>|<data>|[debug_info]
Where:
-
R= Response prefix -
<seq_number>= Matching sequence number from command -
<result_code>= Result code (0= success, non-zero = error) -
<data>= Command-specific response data -
[debug_info]= Optional debug information
| Code | Meaning |
|---|---|
0 |
Success |
50000001 |
Unable to get foundation receiver assignment |
50000003 |
License check failed |
50000004 |
Parameter error |
50000005 |
Incorrect number or type of parameters |
50000016 |
Malformed command |
5000002C |
Incorrect number of parameters |
50000032 |
Bad mode |
The CW pitch from 100 Hz to 6000 Hz
Syntax:
C<seq>|cw pitch <cwpitch>
Parameters:
| Parameter | Description |
|---|---|
<cwpitch> |
Response Example:
R<seq>|0||
Syntax:
C<seq>|cw ptt <state> time=0x<timestamp> index=<netcwstream> client_handle=0x<cwguiclienthandle>
Parameters:
| Parameter | Description |
|---|---|
<state> |
Valid values: None, Receive, Ready, NotReady, PTTRequested, Transmitting, TXFault, Timeout, StuckInput, UnkeyRequested
|
<timestamp> |
|
<netcwstream> |
|
<cwguiclienthandle> |
Response Example:
R<seq>|0||
Syntax:
C<seq>|cw key <state> time=0x<timestamp> index=<netcwstream> client_handle=0x<cwguiclienthandle>
Parameters:
| Parameter | Description |
|---|---|
<state> |
Valid values: None, Receive, Ready, NotReady, PTTRequested, Transmitting, TXFault, Timeout, StuckInput, UnkeyRequested
|
<timestamp> |
|
<netcwstream> |
|
<cwguiclienthandle> |
Response Example:
R<seq>|0||
C W Key Immediate
Syntax:
C<seq>|cw key immediate <state>
Parameters:
| Parameter | Description |
|---|---|
<state> |
Valid values: None, Receive, Ready, NotReady, PTTRequested, Transmitting, TXFault, Timeout, StuckInput, UnkeyRequested
|
Response Example:
R<seq>|0||
The CW speed in words per minute (wpm) from 5 to 100
Syntax:
C<seq>|cw wpm <cwspeed>
Parameters:
| Parameter | Description |
|---|---|
<cwspeed> |
Response Example:
R<seq>|0||
The CW breakin delay in milliseconds (ms) from 0 ms to 2000 ms
Syntax:
C<seq>|cw break_in_delay <cwdelay>
Parameters:
| Parameter | Description |
|---|---|
<cwdelay> |
Response Example:
R<seq>|0||
Enables or disables CW breakin mode, which turns on the transmitter by a key or paddle closure rather than using PTT
Syntax:
C<seq>|cw break_in <cwbreakin>
Parameters:
| Parameter | Description |
|---|---|
<cwbreakin> |
Response Example:
R<seq>|0||
Enables or disables the CW Sidetone
Syntax:
C<seq>|cw sidetone <cwsidetone>
Parameters:
| Parameter | Description |
|---|---|
<cwsidetone> |
Response Example:
R<seq>|0||
Enables or disables the Iambic keyer for CW
Syntax:
C<seq>|cw iambic <cwiambic>
Parameters:
| Parameter | Description |
|---|---|
<cwiambic> |
Response Example:
R<seq>|0||
Enables or disables CW Iambic Mode A
Syntax:
C<seq>|cw mode 0
Response Example:
R<seq>|0||
Enables or disables CW Iambic Mode B
Syntax:
C<seq>|cw mode 1
Response Example:
R<seq>|0||
Enables or disables CWL. CWU (default) active when disabled.
Syntax:
C<seq>|cw cwl_enabled <cwl_enabled>
Parameters:
| Parameter | Description |
|---|---|
<cwl_enabled> |
Response Example:
R<seq>|0||
Swaps the CW dot-dash paddles when true
Syntax:
C<seq>|cw swap <cwswappaddles>
Parameters:
| Parameter | Description |
|---|---|
<cwswappaddles> |
Response Example:
R<seq>|0||
Get a reference to the CWX object
Syntax:
C<seq>|cw synccwx <synccwx>
Parameters:
| Parameter | Description |
|---|---|
<synccwx> |
Response Example:
R<seq>|0||
Core Radio Control
Client and Connectivity
Audio and CW
Display and Data
System and Utilities
- Amplifier Commands
- Antenna Commands
- ATU Commands
- Equalizer Commands
- Filter Commands
- Information Commands
- Interlock Commands
- Keepalive Commands
- License Commands
- Memory Commands
- Meter Commands
- MOX Commands
- Ping Commands
- Subscription Commands
- TNF Commands
- Transverter Commands
- USB Cable Commands
- Waveform Commands
- HAAPI Commands
- ALE Commands