Skip to content

Memory Commands

github-actions[bot] edited this page Jun 15, 2026 · 1 revision

Memory Commands

Generated from FlexLib v4.2.18

Memory channel operations


Wire Protocol

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

Common Response Codes

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

Commands

memory remove ...

Remove

Syntax:

C<seq>|memory remove <index>

Parameters:

Parameter Description
<index>

Response Example:

R<seq>|0||

memory apply ...

Select

Syntax:

C<seq>|memory apply <index>

Parameters:

Parameter Description
<index>

Response Example:

R<seq>|0||

memory set

Syntax:

C<seq>|memory set <index> <parameter>=<value>
Parameter Description
owner
group
freq
name
mode Valid values: Off, CTCSS_TX
step
repeater Valid values: Down, Simplex, Up
repeater_offset
tone_mode Valid values: Off, CTCSS_TX
tone_value
squelch
squelch_level
power
rx_filter_low
rx_filter_high
rtty_mark
rtty_shift
digl_offset
digu_offset

Response Example:

R<seq>|0||

memory create

Request Memory

Syntax:

C<seq>|memory create

Response Example:

R<seq>|0||

Clone this wiki locally