ipcproto

package
v0.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2026 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AudioDeviceKind_name = map[int32]string{
		0: "AUDIO_DEVICE_KIND_UNSPECIFIED",
		1: "AUDIO_DEVICE_KIND_INPUT",
		2: "AUDIO_DEVICE_KIND_OUTPUT",
	}
	AudioDeviceKind_value = map[string]int32{
		"AUDIO_DEVICE_KIND_UNSPECIFIED": 0,
		"AUDIO_DEVICE_KIND_INPUT":       1,
		"AUDIO_DEVICE_KIND_OUTPUT":      2,
	}
)

Enum value maps for AudioDeviceKind.

View Source
var File_graywolf_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AudioDeviceInfo

type AudioDeviceInfo struct {
	Name          string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	StableId      string          `protobuf:"bytes,2,opt,name=stable_id,json=stableId,proto3" json:"stable_id,omitempty"` // stable identifier, or name if unavailable
	Kind          AudioDeviceKind `protobuf:"varint,3,opt,name=kind,proto3,enum=graywolf.AudioDeviceKind" json:"kind,omitempty"`
	SampleRates   []uint32        `protobuf:"varint,4,rep,packed,name=sample_rates,json=sampleRates,proto3" json:"sample_rates,omitempty"`
	ChannelCounts []uint32        `protobuf:"varint,5,rep,packed,name=channel_counts,json=channelCounts,proto3" json:"channel_counts,omitempty"`
	HostApi       string          `protobuf:"bytes,6,opt,name=host_api,json=hostApi,proto3" json:"host_api,omitempty"` // "CoreAudio", "ALSA", "WASAPI"
	IsDefault     bool            `protobuf:"varint,7,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	Description   string          `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`  // human-friendly name (e.g. USB product string)
	Recommended   bool            `protobuf:"varint,9,opt,name=recommended,proto3" json:"recommended,omitempty"` // true for plughw: devices (ALSA software conversion)
	// contains filtered or unexported fields
}

func (*AudioDeviceInfo) Descriptor deprecated

func (*AudioDeviceInfo) Descriptor() ([]byte, []int)

Deprecated: Use AudioDeviceInfo.ProtoReflect.Descriptor instead.

func (*AudioDeviceInfo) GetChannelCounts

func (x *AudioDeviceInfo) GetChannelCounts() []uint32

func (*AudioDeviceInfo) GetDescription

func (x *AudioDeviceInfo) GetDescription() string

func (*AudioDeviceInfo) GetHostApi

func (x *AudioDeviceInfo) GetHostApi() string

func (*AudioDeviceInfo) GetIsDefault

func (x *AudioDeviceInfo) GetIsDefault() bool

func (*AudioDeviceInfo) GetKind

func (x *AudioDeviceInfo) GetKind() AudioDeviceKind

func (*AudioDeviceInfo) GetName

func (x *AudioDeviceInfo) GetName() string

func (*AudioDeviceInfo) GetRecommended

func (x *AudioDeviceInfo) GetRecommended() bool

func (*AudioDeviceInfo) GetSampleRates

func (x *AudioDeviceInfo) GetSampleRates() []uint32

func (*AudioDeviceInfo) GetStableId

func (x *AudioDeviceInfo) GetStableId() string

func (*AudioDeviceInfo) ProtoMessage

func (*AudioDeviceInfo) ProtoMessage()

func (*AudioDeviceInfo) ProtoReflect

func (x *AudioDeviceInfo) ProtoReflect() protoreflect.Message

func (*AudioDeviceInfo) Reset

func (x *AudioDeviceInfo) Reset()

func (*AudioDeviceInfo) String

func (x *AudioDeviceInfo) String() string

type AudioDeviceKind

type AudioDeviceKind int32
const (
	AudioDeviceKind_AUDIO_DEVICE_KIND_UNSPECIFIED AudioDeviceKind = 0
	AudioDeviceKind_AUDIO_DEVICE_KIND_INPUT       AudioDeviceKind = 1
	AudioDeviceKind_AUDIO_DEVICE_KIND_OUTPUT      AudioDeviceKind = 2
)

func (AudioDeviceKind) Descriptor

func (AudioDeviceKind) Enum

func (x AudioDeviceKind) Enum() *AudioDeviceKind

func (AudioDeviceKind) EnumDescriptor deprecated

func (AudioDeviceKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use AudioDeviceKind.Descriptor instead.

func (AudioDeviceKind) Number

func (AudioDeviceKind) String

func (x AudioDeviceKind) String() string

func (AudioDeviceKind) Type

type AudioDeviceList

type AudioDeviceList struct {
	RequestId uint32             `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Devices   []*AudioDeviceInfo `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

Response to EnumerateAudioDevices.

func (*AudioDeviceList) Descriptor deprecated

func (*AudioDeviceList) Descriptor() ([]byte, []int)

Deprecated: Use AudioDeviceList.ProtoReflect.Descriptor instead.

func (*AudioDeviceList) GetDevices

func (x *AudioDeviceList) GetDevices() []*AudioDeviceInfo

func (*AudioDeviceList) GetRequestId

func (x *AudioDeviceList) GetRequestId() uint32

func (*AudioDeviceList) ProtoMessage

func (*AudioDeviceList) ProtoMessage()

func (*AudioDeviceList) ProtoReflect

func (x *AudioDeviceList) ProtoReflect() protoreflect.Message

func (*AudioDeviceList) Reset

func (x *AudioDeviceList) Reset()

func (*AudioDeviceList) String

func (x *AudioDeviceList) String() string

type ConfigureAudio

type ConfigureAudio struct {
	DeviceId   uint32 `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	DeviceName string `protobuf:"bytes,2,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` // cpal device name, "stdin", or file path
	SampleRate uint32 `protobuf:"varint,3,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"`
	Channels   uint32 `protobuf:"varint,4,opt,name=channels,proto3" json:"channels,omitempty"`                      // 1=mono, 2=stereo
	SourceType string `protobuf:"bytes,5,opt,name=source_type,json=sourceType,proto3" json:"source_type,omitempty"` // "soundcard" | "stdin" | "flac" | "flac_fast" | "sdr_udp"
	// ("flac_fast" drives the FLAC decoder as
	//
	//	fast as possible with no realtime pacing,
	//	intended for benchmarking / offline runs.)
	Format string  `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"`                 // "s16le" | "f32" etc. (source-specific)
	GainDb float32 `protobuf:"fixed32,7,opt,name=gain_db,json=gainDb,proto3" json:"gain_db,omitempty"` // software gain in dB (-60 to +12), 0 = unity
	// contains filtered or unexported fields
}

Configure an audio source (soundcard, SDR UDP, stdin, FLAC file).

func (*ConfigureAudio) Descriptor deprecated

func (*ConfigureAudio) Descriptor() ([]byte, []int)

Deprecated: Use ConfigureAudio.ProtoReflect.Descriptor instead.

func (*ConfigureAudio) GetChannels

func (x *ConfigureAudio) GetChannels() uint32

func (*ConfigureAudio) GetDeviceId

func (x *ConfigureAudio) GetDeviceId() uint32

func (*ConfigureAudio) GetDeviceName

func (x *ConfigureAudio) GetDeviceName() string

func (*ConfigureAudio) GetFormat

func (x *ConfigureAudio) GetFormat() string

func (*ConfigureAudio) GetGainDb

func (x *ConfigureAudio) GetGainDb() float32

func (*ConfigureAudio) GetSampleRate

func (x *ConfigureAudio) GetSampleRate() uint32

func (*ConfigureAudio) GetSourceType

func (x *ConfigureAudio) GetSourceType() string

func (*ConfigureAudio) ProtoMessage

func (*ConfigureAudio) ProtoMessage()

func (*ConfigureAudio) ProtoReflect

func (x *ConfigureAudio) ProtoReflect() protoreflect.Message

func (*ConfigureAudio) Reset

func (x *ConfigureAudio) Reset()

func (*ConfigureAudio) String

func (x *ConfigureAudio) String() string

type ConfigureChannel

type ConfigureChannel struct {
	Channel        uint32 `protobuf:"varint,1,opt,name=channel,proto3" json:"channel,omitempty"`
	DeviceId       uint32 `protobuf:"varint,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`             // audio device this channel reads from
	AudioChannel   uint32 `protobuf:"varint,3,opt,name=audio_channel,json=audioChannel,proto3" json:"audio_channel,omitempty"` // 0=left / mono, 1=right
	Baud           uint32 `protobuf:"varint,4,opt,name=baud,proto3" json:"baud,omitempty"`                                     // 1200, 2400, 4800, 9600
	MarkFreq       uint32 `protobuf:"varint,5,opt,name=mark_freq,json=markFreq,proto3" json:"mark_freq,omitempty"`
	SpaceFreq      uint32 `protobuf:"varint,6,opt,name=space_freq,json=spaceFreq,proto3" json:"space_freq,omitempty"`
	ModemType      string `protobuf:"bytes,7,opt,name=modem_type,json=modemType,proto3" json:"modem_type,omitempty"` // "afsk" (phase 1), "psk", "9600" later
	Profile        string `protobuf:"bytes,8,opt,name=profile,proto3" json:"profile,omitempty"`                      // "A" | "B"
	NumSlicers     uint32 `protobuf:"varint,9,opt,name=num_slicers,json=numSlicers,proto3" json:"num_slicers,omitempty"`
	FixBits        string `protobuf:"bytes,10,opt,name=fix_bits,json=fixBits,proto3" json:"fix_bits,omitempty"`                         // "none" | "single" | "double"
	NumDecoders    uint32 `protobuf:"varint,11,opt,name=num_decoders,json=numDecoders,proto3" json:"num_decoders,omitempty"`            // multi-modem: number of parallel decoders
	DecoderOffset  int32  `protobuf:"varint,12,opt,name=decoder_offset,json=decoderOffset,proto3" json:"decoder_offset,omitempty"`      // multi-modem: frequency offset step in Hz
	Fx25Encode     bool   `protobuf:"varint,13,opt,name=fx25_encode,json=fx25Encode,proto3" json:"fx25_encode,omitempty"`               // enable FX.25 RS FEC on transmit
	Il2PEncode     bool   `protobuf:"varint,14,opt,name=il2p_encode,json=il2pEncode,proto3" json:"il2p_encode,omitempty"`               // enable IL2P encoding on transmit
	InputDeviceId  uint32 `protobuf:"varint,15,opt,name=input_device_id,json=inputDeviceId,proto3" json:"input_device_id,omitempty"`    // input audio device (replaces device_id)
	InputChannel   uint32 `protobuf:"varint,16,opt,name=input_channel,json=inputChannel,proto3" json:"input_channel,omitempty"`         // input stereo select (replaces audio_channel)
	OutputDeviceId uint32 `protobuf:"varint,17,opt,name=output_device_id,json=outputDeviceId,proto3" json:"output_device_id,omitempty"` // output audio device, 0 = RX-only
	OutputChannel  uint32 `protobuf:"varint,18,opt,name=output_channel,json=outputChannel,proto3" json:"output_channel,omitempty"`      // output stereo select
	// Multi-demodulator ensemble preset for AFSK. Overrides `profile` and
	// `num_slicers` when it resolves to a multi-demod preset. Known values:
	//
	//	""        — default, treated as "triple" (recommended for all new
	//	            installs; matches or beats Direwolf -P AD+ on the
	//	            WA8LMF reference tracks, costs ~1.6% of one CPU core)
	//	"triple"  — RECOMMENDED_3DEMOD: Profile A ×9 slicers + A ×9 with
	//	            hard-limiter + Profile B ×9 slicers
	//	"dual"    — RECOMMENDED_2DEMOD: Profile A ×9 with and without HL
	//	"single"  — explicit legacy single-demodulator path; respects
	//	            `profile` and `num_slicers`. Use when you need the
	//	            lowest possible CPU or want to reproduce old behavior.
	//
	// When a preset is active, output frames are deduped across the ensemble
	// using a 3-symbol time window (matching Direwolf's dedup semantics).
	DemodEnsemble string `protobuf:"bytes,19,opt,name=demod_ensemble,json=demodEnsemble,proto3" json:"demod_ensemble,omitempty"`
	// contains filtered or unexported fields
}

Configure a logical radio channel's demodulator parameters.

func (*ConfigureChannel) Descriptor deprecated

func (*ConfigureChannel) Descriptor() ([]byte, []int)

Deprecated: Use ConfigureChannel.ProtoReflect.Descriptor instead.

func (*ConfigureChannel) GetAudioChannel

func (x *ConfigureChannel) GetAudioChannel() uint32

func (*ConfigureChannel) GetBaud

func (x *ConfigureChannel) GetBaud() uint32

func (*ConfigureChannel) GetChannel

func (x *ConfigureChannel) GetChannel() uint32

func (*ConfigureChannel) GetDecoderOffset

func (x *ConfigureChannel) GetDecoderOffset() int32

func (*ConfigureChannel) GetDemodEnsemble

func (x *ConfigureChannel) GetDemodEnsemble() string

func (*ConfigureChannel) GetDeviceId

func (x *ConfigureChannel) GetDeviceId() uint32

func (*ConfigureChannel) GetFixBits

func (x *ConfigureChannel) GetFixBits() string

func (*ConfigureChannel) GetFx25Encode

func (x *ConfigureChannel) GetFx25Encode() bool

func (*ConfigureChannel) GetIl2PEncode

func (x *ConfigureChannel) GetIl2PEncode() bool

func (*ConfigureChannel) GetInputChannel

func (x *ConfigureChannel) GetInputChannel() uint32

func (*ConfigureChannel) GetInputDeviceId

func (x *ConfigureChannel) GetInputDeviceId() uint32

func (*ConfigureChannel) GetMarkFreq

func (x *ConfigureChannel) GetMarkFreq() uint32

func (*ConfigureChannel) GetModemType

func (x *ConfigureChannel) GetModemType() string

func (*ConfigureChannel) GetNumDecoders

func (x *ConfigureChannel) GetNumDecoders() uint32

func (*ConfigureChannel) GetNumSlicers

func (x *ConfigureChannel) GetNumSlicers() uint32

func (*ConfigureChannel) GetOutputChannel

func (x *ConfigureChannel) GetOutputChannel() uint32

func (*ConfigureChannel) GetOutputDeviceId

func (x *ConfigureChannel) GetOutputDeviceId() uint32

func (*ConfigureChannel) GetProfile

func (x *ConfigureChannel) GetProfile() string

func (*ConfigureChannel) GetSpaceFreq

func (x *ConfigureChannel) GetSpaceFreq() uint32

func (*ConfigureChannel) ProtoMessage

func (*ConfigureChannel) ProtoMessage()

func (*ConfigureChannel) ProtoReflect

func (x *ConfigureChannel) ProtoReflect() protoreflect.Message

func (*ConfigureChannel) Reset

func (x *ConfigureChannel) Reset()

func (*ConfigureChannel) String

func (x *ConfigureChannel) String() string

type ConfigurePtt

type ConfigurePtt struct {
	Channel uint32 `protobuf:"varint,1,opt,name=channel,proto3" json:"channel,omitempty"`
	Method  string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // "serial_rts" | "serial_dtr" | "gpio" | "cm108" | "rigctld" | "none"
	// device is interpreted by the selected method:
	//   - serial_rts/serial_dtr → filesystem device path, e.g. "/dev/ttyUSB0"
	//   - cm108                 → HID device path, e.g. "/dev/hidraw0"
	//   - rigctld               → "host:port", e.g. "localhost:4532" (IPv4/hostname only; no IPv6 bracketing)
	//   - gpio                  → gpiochip device path, e.g. "/dev/gpiochip0"
	//   - none                  → ignored
	//
	// If a fourth PTT method needs to overload this field, migrate to a
	// structured `endpoint` oneof instead of piling on more string schemas.
	Device     string `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"`
	TxdelayMs  uint32 `protobuf:"varint,4,opt,name=txdelay_ms,json=txdelayMs,proto3" json:"txdelay_ms,omitempty"`
	TxtailMs   uint32 `protobuf:"varint,5,opt,name=txtail_ms,json=txtailMs,proto3" json:"txtail_ms,omitempty"`
	SlottimeMs uint32 `protobuf:"varint,6,opt,name=slottime_ms,json=slottimeMs,proto3" json:"slottime_ms,omitempty"`
	Persist    uint32 `protobuf:"varint,7,opt,name=persist,proto3" json:"persist,omitempty"` // p-persistence 0..255
	DwaitMs    uint32 `protobuf:"varint,8,opt,name=dwait_ms,json=dwaitMs,proto3" json:"dwait_ms,omitempty"`
	Invert     bool   `protobuf:"varint,9,opt,name=invert,proto3" json:"invert,omitempty"` // reverse polarity for rigs wired backwards
	// CM108 GPIO pin number (1-indexed, default: 3). Not used for `gpio` method
	// (which uses `gpio_line` instead to avoid indexing ambiguity).
	GpioPin uint32 `protobuf:"varint,10,opt,name=gpio_pin,json=gpioPin,proto3" json:"gpio_pin,omitempty"`
	// 0-indexed GPIO line offset for the `gpio` method (gpiochip chardev v2).
	// For CM108, use `gpio_pin` (1-indexed) instead.
	GpioLine uint32 `protobuf:"varint,11,opt,name=gpio_line,json=gpioLine,proto3" json:"gpio_line,omitempty"`
	// contains filtered or unexported fields
}

Configure PTT (push-to-talk) control for a channel.

func (*ConfigurePtt) Descriptor deprecated

func (*ConfigurePtt) Descriptor() ([]byte, []int)

Deprecated: Use ConfigurePtt.ProtoReflect.Descriptor instead.

func (*ConfigurePtt) GetChannel

func (x *ConfigurePtt) GetChannel() uint32

func (*ConfigurePtt) GetDevice

func (x *ConfigurePtt) GetDevice() string

func (*ConfigurePtt) GetDwaitMs

func (x *ConfigurePtt) GetDwaitMs() uint32

func (*ConfigurePtt) GetGpioLine

func (x *ConfigurePtt) GetGpioLine() uint32

func (*ConfigurePtt) GetGpioPin

func (x *ConfigurePtt) GetGpioPin() uint32

func (*ConfigurePtt) GetInvert

func (x *ConfigurePtt) GetInvert() bool

func (*ConfigurePtt) GetMethod

func (x *ConfigurePtt) GetMethod() string

func (*ConfigurePtt) GetPersist

func (x *ConfigurePtt) GetPersist() uint32

func (*ConfigurePtt) GetSlottimeMs

func (x *ConfigurePtt) GetSlottimeMs() uint32

func (*ConfigurePtt) GetTxdelayMs

func (x *ConfigurePtt) GetTxdelayMs() uint32

func (*ConfigurePtt) GetTxtailMs

func (x *ConfigurePtt) GetTxtailMs() uint32

func (*ConfigurePtt) ProtoMessage

func (*ConfigurePtt) ProtoMessage()

func (*ConfigurePtt) ProtoReflect

func (x *ConfigurePtt) ProtoReflect() protoreflect.Message

func (*ConfigurePtt) Reset

func (x *ConfigurePtt) Reset()

func (*ConfigurePtt) String

func (x *ConfigurePtt) String() string

type DcdChange

type DcdChange struct {
	Channel     uint32 `protobuf:"varint,1,opt,name=channel,proto3" json:"channel,omitempty"`
	Subchan     uint32 `protobuf:"varint,2,opt,name=subchan,proto3" json:"subchan,omitempty"`
	Slice       uint32 `protobuf:"varint,3,opt,name=slice,proto3" json:"slice,omitempty"`
	Detected    bool   `protobuf:"varint,4,opt,name=detected,proto3" json:"detected,omitempty"`
	TimestampNs uint64 `protobuf:"varint,5,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"`
	// contains filtered or unexported fields
}

Data Carrier Detect state transition.

func (*DcdChange) Descriptor deprecated

func (*DcdChange) Descriptor() ([]byte, []int)

Deprecated: Use DcdChange.ProtoReflect.Descriptor instead.

func (*DcdChange) GetChannel

func (x *DcdChange) GetChannel() uint32

func (*DcdChange) GetDetected

func (x *DcdChange) GetDetected() bool

func (*DcdChange) GetSlice

func (x *DcdChange) GetSlice() uint32

func (*DcdChange) GetSubchan

func (x *DcdChange) GetSubchan() uint32

func (*DcdChange) GetTimestampNs

func (x *DcdChange) GetTimestampNs() uint64

func (*DcdChange) ProtoMessage

func (*DcdChange) ProtoMessage()

func (*DcdChange) ProtoReflect

func (x *DcdChange) ProtoReflect() protoreflect.Message

func (*DcdChange) Reset

func (x *DcdChange) Reset()

func (*DcdChange) String

func (x *DcdChange) String() string

type DeviceLevelUpdate

type DeviceLevelUpdate struct {
	DeviceId uint32  `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	PeakDbfs float32 `protobuf:"fixed32,2,opt,name=peak_dbfs,json=peakDbfs,proto3" json:"peak_dbfs,omitempty"` // instantaneous peak in dBFS
	RmsDbfs  float32 `protobuf:"fixed32,3,opt,name=rms_dbfs,json=rmsDbfs,proto3" json:"rms_dbfs,omitempty"`    // RMS level in dBFS
	Clipping bool    `protobuf:"varint,4,opt,name=clipping,proto3" json:"clipping,omitempty"`                  // true if post-gain samples exceeded -1 dBFS
	// contains filtered or unexported fields
}

Per-device audio level report, emitted ~5 Hz by the modem.

func (*DeviceLevelUpdate) Descriptor deprecated

func (*DeviceLevelUpdate) Descriptor() ([]byte, []int)

Deprecated: Use DeviceLevelUpdate.ProtoReflect.Descriptor instead.

func (*DeviceLevelUpdate) GetClipping

func (x *DeviceLevelUpdate) GetClipping() bool

func (*DeviceLevelUpdate) GetDeviceId

func (x *DeviceLevelUpdate) GetDeviceId() uint32

func (*DeviceLevelUpdate) GetPeakDbfs

func (x *DeviceLevelUpdate) GetPeakDbfs() float32

func (*DeviceLevelUpdate) GetRmsDbfs

func (x *DeviceLevelUpdate) GetRmsDbfs() float32

func (*DeviceLevelUpdate) ProtoMessage

func (*DeviceLevelUpdate) ProtoMessage()

func (*DeviceLevelUpdate) ProtoReflect

func (x *DeviceLevelUpdate) ProtoReflect() protoreflect.Message

func (*DeviceLevelUpdate) Reset

func (x *DeviceLevelUpdate) Reset()

func (*DeviceLevelUpdate) String

func (x *DeviceLevelUpdate) String() string

type EnumerateAudioDevices

type EnumerateAudioDevices struct {
	RequestId     uint32 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`             // echoed back in AudioDeviceList
	IncludeOutput bool   `protobuf:"varint,2,opt,name=include_output,json=includeOutput,proto3" json:"include_output,omitempty"` // include output devices in response
	// contains filtered or unexported fields
}

Request enumeration of available audio devices.

func (*EnumerateAudioDevices) Descriptor deprecated

func (*EnumerateAudioDevices) Descriptor() ([]byte, []int)

Deprecated: Use EnumerateAudioDevices.ProtoReflect.Descriptor instead.

func (*EnumerateAudioDevices) GetIncludeOutput

func (x *EnumerateAudioDevices) GetIncludeOutput() bool

func (*EnumerateAudioDevices) GetRequestId

func (x *EnumerateAudioDevices) GetRequestId() uint32

func (*EnumerateAudioDevices) ProtoMessage

func (*EnumerateAudioDevices) ProtoMessage()

func (*EnumerateAudioDevices) ProtoReflect

func (x *EnumerateAudioDevices) ProtoReflect() protoreflect.Message

func (*EnumerateAudioDevices) Reset

func (x *EnumerateAudioDevices) Reset()

func (*EnumerateAudioDevices) String

func (x *EnumerateAudioDevices) String() string

type InputDeviceLevel

type InputDeviceLevel struct {
	Name      string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                             // cpal device name
	PeakDbfs  float32 `protobuf:"fixed32,2,opt,name=peak_dbfs,json=peakDbfs,proto3" json:"peak_dbfs,omitempty"`   // peak level during scan
	HasSignal bool    `protobuf:"varint,3,opt,name=has_signal,json=hasSignal,proto3" json:"has_signal,omitempty"` // true if peak > -40 dBFS
	Error     string  `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`                           // non-empty if device couldn't be opened
	// contains filtered or unexported fields
}

Level reading for a single input device.

func (*InputDeviceLevel) Descriptor deprecated

func (*InputDeviceLevel) Descriptor() ([]byte, []int)

Deprecated: Use InputDeviceLevel.ProtoReflect.Descriptor instead.

func (*InputDeviceLevel) GetError

func (x *InputDeviceLevel) GetError() string

func (*InputDeviceLevel) GetHasSignal

func (x *InputDeviceLevel) GetHasSignal() bool

func (*InputDeviceLevel) GetName

func (x *InputDeviceLevel) GetName() string

func (*InputDeviceLevel) GetPeakDbfs

func (x *InputDeviceLevel) GetPeakDbfs() float32

func (*InputDeviceLevel) ProtoMessage

func (*InputDeviceLevel) ProtoMessage()

func (*InputDeviceLevel) ProtoReflect

func (x *InputDeviceLevel) ProtoReflect() protoreflect.Message

func (*InputDeviceLevel) Reset

func (x *InputDeviceLevel) Reset()

func (*InputDeviceLevel) String

func (x *InputDeviceLevel) String() string

type InputLevelScanResult

type InputLevelScanResult struct {
	RequestId uint32              `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Devices   []*InputDeviceLevel `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

Result of an input level scan.

func (*InputLevelScanResult) Descriptor deprecated

func (*InputLevelScanResult) Descriptor() ([]byte, []int)

Deprecated: Use InputLevelScanResult.ProtoReflect.Descriptor instead.

func (*InputLevelScanResult) GetDevices

func (x *InputLevelScanResult) GetDevices() []*InputDeviceLevel

func (*InputLevelScanResult) GetRequestId

func (x *InputLevelScanResult) GetRequestId() uint32

func (*InputLevelScanResult) ProtoMessage

func (*InputLevelScanResult) ProtoMessage()

func (*InputLevelScanResult) ProtoReflect

func (x *InputLevelScanResult) ProtoReflect() protoreflect.Message

func (*InputLevelScanResult) Reset

func (x *InputLevelScanResult) Reset()

func (*InputLevelScanResult) String

func (x *InputLevelScanResult) String() string

type IpcMessage

type IpcMessage struct {

	// Types that are valid to be assigned to Payload:
	//
	//	*IpcMessage_ReceivedFrame
	//	*IpcMessage_DcdChange
	//	*IpcMessage_StatusUpdate
	//	*IpcMessage_ModemReady
	//	*IpcMessage_AudioDeviceList
	//	*IpcMessage_TestToneResult
	//	*IpcMessage_DeviceLevelUpdate
	//	*IpcMessage_InputLevelScanResult
	//	*IpcMessage_TransmitFrame
	//	*IpcMessage_ConfigureChannel
	//	*IpcMessage_ConfigureAudio
	//	*IpcMessage_ConfigurePtt
	//	*IpcMessage_StartAudio
	//	*IpcMessage_StopAudio
	//	*IpcMessage_Shutdown
	//	*IpcMessage_EnumerateAudioDevices
	//	*IpcMessage_PlayTestTone
	//	*IpcMessage_SetDeviceGain
	//	*IpcMessage_ScanInputLevels
	Payload isIpcMessage_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*IpcMessage) Descriptor deprecated

func (*IpcMessage) Descriptor() ([]byte, []int)

Deprecated: Use IpcMessage.ProtoReflect.Descriptor instead.

func (*IpcMessage) GetAudioDeviceList

func (x *IpcMessage) GetAudioDeviceList() *AudioDeviceList

func (*IpcMessage) GetConfigureAudio

func (x *IpcMessage) GetConfigureAudio() *ConfigureAudio

func (*IpcMessage) GetConfigureChannel

func (x *IpcMessage) GetConfigureChannel() *ConfigureChannel

func (*IpcMessage) GetConfigurePtt

func (x *IpcMessage) GetConfigurePtt() *ConfigurePtt

func (*IpcMessage) GetDcdChange

func (x *IpcMessage) GetDcdChange() *DcdChange

func (*IpcMessage) GetDeviceLevelUpdate

func (x *IpcMessage) GetDeviceLevelUpdate() *DeviceLevelUpdate

func (*IpcMessage) GetEnumerateAudioDevices

func (x *IpcMessage) GetEnumerateAudioDevices() *EnumerateAudioDevices

func (*IpcMessage) GetInputLevelScanResult

func (x *IpcMessage) GetInputLevelScanResult() *InputLevelScanResult

func (*IpcMessage) GetModemReady

func (x *IpcMessage) GetModemReady() *ModemReady

func (*IpcMessage) GetPayload

func (x *IpcMessage) GetPayload() isIpcMessage_Payload

func (*IpcMessage) GetPlayTestTone

func (x *IpcMessage) GetPlayTestTone() *PlayTestTone

func (*IpcMessage) GetReceivedFrame

func (x *IpcMessage) GetReceivedFrame() *ReceivedFrame

func (*IpcMessage) GetScanInputLevels

func (x *IpcMessage) GetScanInputLevels() *ScanInputLevels

func (*IpcMessage) GetSetDeviceGain

func (x *IpcMessage) GetSetDeviceGain() *SetDeviceGain

func (*IpcMessage) GetShutdown

func (x *IpcMessage) GetShutdown() *Shutdown

func (*IpcMessage) GetStartAudio

func (x *IpcMessage) GetStartAudio() *StartAudio

func (*IpcMessage) GetStatusUpdate

func (x *IpcMessage) GetStatusUpdate() *StatusUpdate

func (*IpcMessage) GetStopAudio

func (x *IpcMessage) GetStopAudio() *StopAudio

func (*IpcMessage) GetTestToneResult

func (x *IpcMessage) GetTestToneResult() *TestToneResult

func (*IpcMessage) GetTransmitFrame

func (x *IpcMessage) GetTransmitFrame() *TransmitFrame

func (*IpcMessage) ProtoMessage

func (*IpcMessage) ProtoMessage()

func (*IpcMessage) ProtoReflect

func (x *IpcMessage) ProtoReflect() protoreflect.Message

func (*IpcMessage) Reset

func (x *IpcMessage) Reset()

func (*IpcMessage) String

func (x *IpcMessage) String() string

type IpcMessage_AudioDeviceList

type IpcMessage_AudioDeviceList struct {
	AudioDeviceList *AudioDeviceList `protobuf:"bytes,5,opt,name=audio_device_list,json=audioDeviceList,proto3,oneof"`
}

type IpcMessage_ConfigureAudio

type IpcMessage_ConfigureAudio struct {
	ConfigureAudio *ConfigureAudio `protobuf:"bytes,12,opt,name=configure_audio,json=configureAudio,proto3,oneof"`
}

type IpcMessage_ConfigureChannel

type IpcMessage_ConfigureChannel struct {
	ConfigureChannel *ConfigureChannel `protobuf:"bytes,11,opt,name=configure_channel,json=configureChannel,proto3,oneof"`
}

type IpcMessage_ConfigurePtt

type IpcMessage_ConfigurePtt struct {
	ConfigurePtt *ConfigurePtt `protobuf:"bytes,13,opt,name=configure_ptt,json=configurePtt,proto3,oneof"`
}

type IpcMessage_DcdChange

type IpcMessage_DcdChange struct {
	DcdChange *DcdChange `protobuf:"bytes,2,opt,name=dcd_change,json=dcdChange,proto3,oneof"`
}

type IpcMessage_DeviceLevelUpdate

type IpcMessage_DeviceLevelUpdate struct {
	DeviceLevelUpdate *DeviceLevelUpdate `protobuf:"bytes,7,opt,name=device_level_update,json=deviceLevelUpdate,proto3,oneof"`
}

type IpcMessage_EnumerateAudioDevices

type IpcMessage_EnumerateAudioDevices struct {
	EnumerateAudioDevices *EnumerateAudioDevices `protobuf:"bytes,17,opt,name=enumerate_audio_devices,json=enumerateAudioDevices,proto3,oneof"`
}

type IpcMessage_InputLevelScanResult

type IpcMessage_InputLevelScanResult struct {
	InputLevelScanResult *InputLevelScanResult `protobuf:"bytes,8,opt,name=input_level_scan_result,json=inputLevelScanResult,proto3,oneof"`
}

type IpcMessage_ModemReady

type IpcMessage_ModemReady struct {
	ModemReady *ModemReady `protobuf:"bytes,4,opt,name=modem_ready,json=modemReady,proto3,oneof"`
}

type IpcMessage_PlayTestTone

type IpcMessage_PlayTestTone struct {
	PlayTestTone *PlayTestTone `protobuf:"bytes,18,opt,name=play_test_tone,json=playTestTone,proto3,oneof"`
}

type IpcMessage_ReceivedFrame

type IpcMessage_ReceivedFrame struct {
	// Rust modem → Go application
	ReceivedFrame *ReceivedFrame `protobuf:"bytes,1,opt,name=received_frame,json=receivedFrame,proto3,oneof"`
}

type IpcMessage_ScanInputLevels

type IpcMessage_ScanInputLevels struct {
	ScanInputLevels *ScanInputLevels `protobuf:"bytes,20,opt,name=scan_input_levels,json=scanInputLevels,proto3,oneof"`
}

type IpcMessage_SetDeviceGain

type IpcMessage_SetDeviceGain struct {
	SetDeviceGain *SetDeviceGain `protobuf:"bytes,19,opt,name=set_device_gain,json=setDeviceGain,proto3,oneof"`
}

type IpcMessage_Shutdown

type IpcMessage_Shutdown struct {
	Shutdown *Shutdown `protobuf:"bytes,16,opt,name=shutdown,proto3,oneof"`
}

type IpcMessage_StartAudio

type IpcMessage_StartAudio struct {
	StartAudio *StartAudio `protobuf:"bytes,14,opt,name=start_audio,json=startAudio,proto3,oneof"`
}

type IpcMessage_StatusUpdate

type IpcMessage_StatusUpdate struct {
	StatusUpdate *StatusUpdate `protobuf:"bytes,3,opt,name=status_update,json=statusUpdate,proto3,oneof"`
}

type IpcMessage_StopAudio

type IpcMessage_StopAudio struct {
	StopAudio *StopAudio `protobuf:"bytes,15,opt,name=stop_audio,json=stopAudio,proto3,oneof"`
}

type IpcMessage_TestToneResult

type IpcMessage_TestToneResult struct {
	TestToneResult *TestToneResult `protobuf:"bytes,6,opt,name=test_tone_result,json=testToneResult,proto3,oneof"`
}

type IpcMessage_TransmitFrame

type IpcMessage_TransmitFrame struct {
	// Go application → Rust modem
	TransmitFrame *TransmitFrame `protobuf:"bytes,10,opt,name=transmit_frame,json=transmitFrame,proto3,oneof"`
}

type ModemReady

type ModemReady struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Pid     uint64 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	// contains filtered or unexported fields
}

Sent once after the modem has bound its IPC socket, accepted a connection, and is ready to receive configuration messages.

func (*ModemReady) Descriptor deprecated

func (*ModemReady) Descriptor() ([]byte, []int)

Deprecated: Use ModemReady.ProtoReflect.Descriptor instead.

func (*ModemReady) GetPid

func (x *ModemReady) GetPid() uint64

func (*ModemReady) GetVersion

func (x *ModemReady) GetVersion() string

func (*ModemReady) ProtoMessage

func (*ModemReady) ProtoMessage()

func (*ModemReady) ProtoReflect

func (x *ModemReady) ProtoReflect() protoreflect.Message

func (*ModemReady) Reset

func (x *ModemReady) Reset()

func (*ModemReady) String

func (x *ModemReady) String() string

type PlayTestTone

type PlayTestTone struct {
	RequestId  uint32 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`   // echoed back in TestToneResult
	DeviceName string `protobuf:"bytes,2,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` // cpal output device name
	SampleRate uint32 `protobuf:"varint,3,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"`
	Channels   uint32 `protobuf:"varint,4,opt,name=channels,proto3" json:"channels,omitempty"`
	DeviceId   uint32 `protobuf:"varint,5,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // configstore ID for gain lookup and level metering
	// contains filtered or unexported fields
}

Request a brief test tone on an output device.

func (*PlayTestTone) Descriptor deprecated

func (*PlayTestTone) Descriptor() ([]byte, []int)

Deprecated: Use PlayTestTone.ProtoReflect.Descriptor instead.

func (*PlayTestTone) GetChannels

func (x *PlayTestTone) GetChannels() uint32

func (*PlayTestTone) GetDeviceId

func (x *PlayTestTone) GetDeviceId() uint32

func (*PlayTestTone) GetDeviceName

func (x *PlayTestTone) GetDeviceName() string

func (*PlayTestTone) GetRequestId

func (x *PlayTestTone) GetRequestId() uint32

func (*PlayTestTone) GetSampleRate

func (x *PlayTestTone) GetSampleRate() uint32

func (*PlayTestTone) ProtoMessage

func (*PlayTestTone) ProtoMessage()

func (*PlayTestTone) ProtoReflect

func (x *PlayTestTone) ProtoReflect() protoreflect.Message

func (*PlayTestTone) Reset

func (x *PlayTestTone) Reset()

func (*PlayTestTone) String

func (x *PlayTestTone) String() string

type ReceivedFrame

type ReceivedFrame struct {
	Channel         uint32  `protobuf:"varint,1,opt,name=channel,proto3" json:"channel,omitempty"`                                           // logical radio channel
	Subchan         uint32  `protobuf:"varint,2,opt,name=subchan,proto3" json:"subchan,omitempty"`                                           // demodulator subchannel
	Slice           uint32  `protobuf:"varint,3,opt,name=slice,proto3" json:"slice,omitempty"`                                               // slicer index
	Data            []byte  `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`                                                  // AX.25 frame bytes, FCS stripped
	Quality         int32   `protobuf:"varint,5,opt,name=quality,proto3" json:"quality,omitempty"`                                           // 0..100 decoder quality
	AudioLevelMark  float32 `protobuf:"fixed32,6,opt,name=audio_level_mark,json=audioLevelMark,proto3" json:"audio_level_mark,omitempty"`    // mark level at time of capture
	AudioLevelSpace float32 `protobuf:"fixed32,7,opt,name=audio_level_space,json=audioLevelSpace,proto3" json:"audio_level_space,omitempty"` // space level at time of capture
	SpeedError      float32 `protobuf:"fixed32,8,opt,name=speed_error,json=speedError,proto3" json:"speed_error,omitempty"`                  // baud-rate error, percent
	Retry           string  `protobuf:"bytes,9,opt,name=retry,proto3" json:"retry,omitempty"`                                                // "none" | "single" | "double"
	TimestampNs     uint64  `protobuf:"varint,10,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"`               // monotonic capture time
	// contains filtered or unexported fields
}

A successfully decoded AX.25 frame with demodulator metadata.

func (*ReceivedFrame) Descriptor deprecated

func (*ReceivedFrame) Descriptor() ([]byte, []int)

Deprecated: Use ReceivedFrame.ProtoReflect.Descriptor instead.

func (*ReceivedFrame) GetAudioLevelMark

func (x *ReceivedFrame) GetAudioLevelMark() float32

func (*ReceivedFrame) GetAudioLevelSpace

func (x *ReceivedFrame) GetAudioLevelSpace() float32

func (*ReceivedFrame) GetChannel

func (x *ReceivedFrame) GetChannel() uint32

func (*ReceivedFrame) GetData

func (x *ReceivedFrame) GetData() []byte

func (*ReceivedFrame) GetQuality

func (x *ReceivedFrame) GetQuality() int32

func (*ReceivedFrame) GetRetry

func (x *ReceivedFrame) GetRetry() string

func (*ReceivedFrame) GetSlice

func (x *ReceivedFrame) GetSlice() uint32

func (*ReceivedFrame) GetSpeedError

func (x *ReceivedFrame) GetSpeedError() float32

func (*ReceivedFrame) GetSubchan

func (x *ReceivedFrame) GetSubchan() uint32

func (*ReceivedFrame) GetTimestampNs

func (x *ReceivedFrame) GetTimestampNs() uint64

func (*ReceivedFrame) ProtoMessage

func (*ReceivedFrame) ProtoMessage()

func (*ReceivedFrame) ProtoReflect

func (x *ReceivedFrame) ProtoReflect() protoreflect.Message

func (*ReceivedFrame) Reset

func (x *ReceivedFrame) Reset()

func (*ReceivedFrame) String

func (x *ReceivedFrame) String() string

type ScanInputLevels

type ScanInputLevels struct {
	RequestId  uint32 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`    // echoed back in InputLevelScanResult
	DurationMs uint32 `protobuf:"varint,2,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` // how long to sample each device (default 500ms)
	// contains filtered or unexported fields
}

Request a brief input level scan on all available input devices.

func (*ScanInputLevels) Descriptor deprecated

func (*ScanInputLevels) Descriptor() ([]byte, []int)

Deprecated: Use ScanInputLevels.ProtoReflect.Descriptor instead.

func (*ScanInputLevels) GetDurationMs

func (x *ScanInputLevels) GetDurationMs() uint32

func (*ScanInputLevels) GetRequestId

func (x *ScanInputLevels) GetRequestId() uint32

func (*ScanInputLevels) ProtoMessage

func (*ScanInputLevels) ProtoMessage()

func (*ScanInputLevels) ProtoReflect

func (x *ScanInputLevels) ProtoReflect() protoreflect.Message

func (*ScanInputLevels) Reset

func (x *ScanInputLevels) Reset()

func (*ScanInputLevels) String

func (x *ScanInputLevels) String() string

type SetDeviceGain

type SetDeviceGain struct {
	DeviceId uint32  `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	GainDb   float32 `protobuf:"fixed32,2,opt,name=gain_db,json=gainDb,proto3" json:"gain_db,omitempty"` // -60.0 to +12.0, 0.0 = unity
	// contains filtered or unexported fields
}

Set software gain for an audio device (live update, no restart).

func (*SetDeviceGain) Descriptor deprecated

func (*SetDeviceGain) Descriptor() ([]byte, []int)

Deprecated: Use SetDeviceGain.ProtoReflect.Descriptor instead.

func (*SetDeviceGain) GetDeviceId

func (x *SetDeviceGain) GetDeviceId() uint32

func (*SetDeviceGain) GetGainDb

func (x *SetDeviceGain) GetGainDb() float32

func (*SetDeviceGain) ProtoMessage

func (*SetDeviceGain) ProtoMessage()

func (*SetDeviceGain) ProtoReflect

func (x *SetDeviceGain) ProtoReflect() protoreflect.Message

func (*SetDeviceGain) Reset

func (x *SetDeviceGain) Reset()

func (*SetDeviceGain) String

func (x *SetDeviceGain) String() string

type Shutdown

type Shutdown struct {
	TimeoutMs uint32 `protobuf:"varint,1,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"` // max time to wait for drain, 0 = use default
	// contains filtered or unexported fields
}

Graceful shutdown: finish current TX, deassert PTT, drain queues, exit.

func (*Shutdown) Descriptor deprecated

func (*Shutdown) Descriptor() ([]byte, []int)

Deprecated: Use Shutdown.ProtoReflect.Descriptor instead.

func (*Shutdown) GetTimeoutMs

func (x *Shutdown) GetTimeoutMs() uint32

func (*Shutdown) ProtoMessage

func (*Shutdown) ProtoMessage()

func (*Shutdown) ProtoReflect

func (x *Shutdown) ProtoReflect() protoreflect.Message

func (*Shutdown) Reset

func (x *Shutdown) Reset()

func (*Shutdown) String

func (x *Shutdown) String() string

type StartAudio

type StartAudio struct {
	// contains filtered or unexported fields
}

Begin audio processing on all configured devices.

func (*StartAudio) Descriptor deprecated

func (*StartAudio) Descriptor() ([]byte, []int)

Deprecated: Use StartAudio.ProtoReflect.Descriptor instead.

func (*StartAudio) ProtoMessage

func (*StartAudio) ProtoMessage()

func (*StartAudio) ProtoReflect

func (x *StartAudio) ProtoReflect() protoreflect.Message

func (*StartAudio) Reset

func (x *StartAudio) Reset()

func (*StartAudio) String

func (x *StartAudio) String() string

type StatusUpdate

type StatusUpdate struct {
	Channel          uint32  `protobuf:"varint,1,opt,name=channel,proto3" json:"channel,omitempty"`
	RxFrames         uint64  `protobuf:"varint,2,opt,name=rx_frames,json=rxFrames,proto3" json:"rx_frames,omitempty"`
	RxBadFcs         uint64  `protobuf:"varint,3,opt,name=rx_bad_fcs,json=rxBadFcs,proto3" json:"rx_bad_fcs,omitempty"`
	TxFrames         uint64  `protobuf:"varint,4,opt,name=tx_frames,json=txFrames,proto3" json:"tx_frames,omitempty"`
	DcdTransitions   uint64  `protobuf:"varint,5,opt,name=dcd_transitions,json=dcdTransitions,proto3" json:"dcd_transitions,omitempty"`
	AudioLevelMark   float32 `protobuf:"fixed32,6,opt,name=audio_level_mark,json=audioLevelMark,proto3" json:"audio_level_mark,omitempty"`
	AudioLevelSpace  float32 `protobuf:"fixed32,7,opt,name=audio_level_space,json=audioLevelSpace,proto3" json:"audio_level_space,omitempty"`
	AudioLevelPeak   float32 `protobuf:"fixed32,8,opt,name=audio_level_peak,json=audioLevelPeak,proto3" json:"audio_level_peak,omitempty"`
	DcdState         bool    `protobuf:"varint,9,opt,name=dcd_state,json=dcdState,proto3" json:"dcd_state,omitempty"`
	ShutdownComplete bool    `protobuf:"varint,10,opt,name=shutdown_complete,json=shutdownComplete,proto3" json:"shutdown_complete,omitempty"` // final status before process exit
	TimestampNs      uint64  `protobuf:"varint,11,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"`
	// contains filtered or unexported fields
}

Periodic health / metrics update. Consumed by Go for Prometheus export.

func (*StatusUpdate) Descriptor deprecated

func (*StatusUpdate) Descriptor() ([]byte, []int)

Deprecated: Use StatusUpdate.ProtoReflect.Descriptor instead.

func (*StatusUpdate) GetAudioLevelMark

func (x *StatusUpdate) GetAudioLevelMark() float32

func (*StatusUpdate) GetAudioLevelPeak

func (x *StatusUpdate) GetAudioLevelPeak() float32

func (*StatusUpdate) GetAudioLevelSpace

func (x *StatusUpdate) GetAudioLevelSpace() float32

func (*StatusUpdate) GetChannel

func (x *StatusUpdate) GetChannel() uint32

func (*StatusUpdate) GetDcdState

func (x *StatusUpdate) GetDcdState() bool

func (*StatusUpdate) GetDcdTransitions

func (x *StatusUpdate) GetDcdTransitions() uint64

func (*StatusUpdate) GetRxBadFcs

func (x *StatusUpdate) GetRxBadFcs() uint64

func (*StatusUpdate) GetRxFrames

func (x *StatusUpdate) GetRxFrames() uint64

func (*StatusUpdate) GetShutdownComplete

func (x *StatusUpdate) GetShutdownComplete() bool

func (*StatusUpdate) GetTimestampNs

func (x *StatusUpdate) GetTimestampNs() uint64

func (*StatusUpdate) GetTxFrames

func (x *StatusUpdate) GetTxFrames() uint64

func (*StatusUpdate) ProtoMessage

func (*StatusUpdate) ProtoMessage()

func (*StatusUpdate) ProtoReflect

func (x *StatusUpdate) ProtoReflect() protoreflect.Message

func (*StatusUpdate) Reset

func (x *StatusUpdate) Reset()

func (*StatusUpdate) String

func (x *StatusUpdate) String() string

type StopAudio

type StopAudio struct {
	// contains filtered or unexported fields
}

Stop audio processing (for device hot-swap). Safe to follow with a new ConfigureAudio + StartAudio sequence.

func (*StopAudio) Descriptor deprecated

func (*StopAudio) Descriptor() ([]byte, []int)

Deprecated: Use StopAudio.ProtoReflect.Descriptor instead.

func (*StopAudio) ProtoMessage

func (*StopAudio) ProtoMessage()

func (*StopAudio) ProtoReflect

func (x *StopAudio) ProtoReflect() protoreflect.Message

func (*StopAudio) Reset

func (x *StopAudio) Reset()

func (*StopAudio) String

func (x *StopAudio) String() string

type TestToneResult

type TestToneResult struct {
	RequestId uint32 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Success   bool   `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	Error     string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // empty on success
	// contains filtered or unexported fields
}

Result of a test tone attempt.

func (*TestToneResult) Descriptor deprecated

func (*TestToneResult) Descriptor() ([]byte, []int)

Deprecated: Use TestToneResult.ProtoReflect.Descriptor instead.

func (*TestToneResult) GetError

func (x *TestToneResult) GetError() string

func (*TestToneResult) GetRequestId

func (x *TestToneResult) GetRequestId() uint32

func (*TestToneResult) GetSuccess

func (x *TestToneResult) GetSuccess() bool

func (*TestToneResult) ProtoMessage

func (*TestToneResult) ProtoMessage()

func (*TestToneResult) ProtoReflect

func (x *TestToneResult) ProtoReflect() protoreflect.Message

func (*TestToneResult) Reset

func (x *TestToneResult) Reset()

func (*TestToneResult) String

func (x *TestToneResult) String() string

type TransmitFrame

type TransmitFrame struct {
	Channel           uint32 `protobuf:"varint,1,opt,name=channel,proto3" json:"channel,omitempty"`
	Data              []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`                                                       // AX.25 frame bytes, no FCS (modem appends)
	TxdelayOverrideMs uint32 `protobuf:"varint,3,opt,name=txdelay_override_ms,json=txdelayOverrideMs,proto3" json:"txdelay_override_ms,omitempty"` // 0 = use configured default
	TxtailOverrideMs  uint32 `protobuf:"varint,4,opt,name=txtail_override_ms,json=txtailOverrideMs,proto3" json:"txtail_override_ms,omitempty"`
	Priority          uint32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"` // higher = sooner
	// Monotonic correlation ID stamped at txgovernor.Governor.Submit (starts
	// at 1; zero = unstamped). Propagated through the dispatcher and every
	// TX backend for log correlation across partial-failure fan-outs.
	// Backward-compatible: older modems simply ignore the field.
	FrameId uint64 `protobuf:"varint,6,opt,name=frame_id,json=frameId,proto3" json:"frame_id,omitempty"`
	// contains filtered or unexported fields
}

Request transmission of a raw AX.25 frame on a specific channel.

func (*TransmitFrame) Descriptor deprecated

func (*TransmitFrame) Descriptor() ([]byte, []int)

Deprecated: Use TransmitFrame.ProtoReflect.Descriptor instead.

func (*TransmitFrame) GetChannel

func (x *TransmitFrame) GetChannel() uint32

func (*TransmitFrame) GetData

func (x *TransmitFrame) GetData() []byte

func (*TransmitFrame) GetFrameId

func (x *TransmitFrame) GetFrameId() uint64

func (*TransmitFrame) GetPriority

func (x *TransmitFrame) GetPriority() uint32

func (*TransmitFrame) GetTxdelayOverrideMs

func (x *TransmitFrame) GetTxdelayOverrideMs() uint32

func (*TransmitFrame) GetTxtailOverrideMs

func (x *TransmitFrame) GetTxtailOverrideMs() uint32

func (*TransmitFrame) ProtoMessage

func (*TransmitFrame) ProtoMessage()

func (*TransmitFrame) ProtoReflect

func (x *TransmitFrame) ProtoReflect() protoreflect.Message

func (*TransmitFrame) Reset

func (x *TransmitFrame) Reset()

func (*TransmitFrame) String

func (x *TransmitFrame) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL