Documentation
¶
Index ¶
- Variables
- type AudioDevice
- func (*AudioDevice) Descriptor() ([]byte, []int)deprecated
- func (x *AudioDevice) GetId() string
- func (x *AudioDevice) GetIsInput() bool
- func (x *AudioDevice) GetIsOutput() bool
- func (x *AudioDevice) GetName() string
- func (*AudioDevice) ProtoMessage()
- func (x *AudioDevice) ProtoReflect() protoreflect.Message
- func (x *AudioDevice) Reset()
- func (x *AudioDevice) String() string
- type AudioDeviceListRequest
- type AudioDeviceListResponse
- func (*AudioDeviceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AudioDeviceListResponse) GetDevices() []*AudioDevice
- func (*AudioDeviceListResponse) ProtoMessage()
- func (x *AudioDeviceListResponse) ProtoReflect() protoreflect.Message
- func (x *AudioDeviceListResponse) Reset()
- func (x *AudioDeviceListResponse) String() string
- type AudioRouteChanged
- func (*AudioRouteChanged) Descriptor() ([]byte, []int)deprecated
- func (x *AudioRouteChanged) GetCurrentInputs() []*AudioDevice
- func (x *AudioRouteChanged) GetCurrentOutputs() []*AudioDevice
- func (*AudioRouteChanged) ProtoMessage()
- func (x *AudioRouteChanged) ProtoReflect() protoreflect.Message
- func (x *AudioRouteChanged) Reset()
- func (x *AudioRouteChanged) String() string
- type AvailableUsbSerialDevicesRequest
- func (*AvailableUsbSerialDevicesRequest) Descriptor() ([]byte, []int)deprecated
- func (*AvailableUsbSerialDevicesRequest) ProtoMessage()
- func (x *AvailableUsbSerialDevicesRequest) ProtoReflect() protoreflect.Message
- func (x *AvailableUsbSerialDevicesRequest) Reset()
- func (x *AvailableUsbSerialDevicesRequest) String() string
- type AvailableUsbSerialDevicesResponse
- func (*AvailableUsbSerialDevicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AvailableUsbSerialDevicesResponse) GetDevices() []*AvailableUsbSerialDevicesResponse_Device
- func (*AvailableUsbSerialDevicesResponse) ProtoMessage()
- func (x *AvailableUsbSerialDevicesResponse) ProtoReflect() protoreflect.Message
- func (x *AvailableUsbSerialDevicesResponse) Reset()
- func (x *AvailableUsbSerialDevicesResponse) String() string
- type AvailableUsbSerialDevicesResponse_Device
- func (*AvailableUsbSerialDevicesResponse_Device) Descriptor() ([]byte, []int)deprecated
- func (x *AvailableUsbSerialDevicesResponse_Device) GetHasPermission() bool
- func (x *AvailableUsbSerialDevicesResponse_Device) GetManufacturer() string
- func (x *AvailableUsbSerialDevicesResponse_Device) GetProduct() string
- func (x *AvailableUsbSerialDevicesResponse_Device) GetVidPid() string
- func (*AvailableUsbSerialDevicesResponse_Device) ProtoMessage()
- func (x *AvailableUsbSerialDevicesResponse_Device) ProtoReflect() protoreflect.Message
- func (x *AvailableUsbSerialDevicesResponse_Device) Reset()
- func (x *AvailableUsbSerialDevicesResponse_Device) String() string
- type BatteryState
- func (*BatteryState) Descriptor() ([]byte, []int)deprecated
- func (x *BatteryState) GetCharging() bool
- func (x *BatteryState) GetPercent() float32
- func (x *BatteryState) GetTempDecic() int32
- func (*BatteryState) ProtoMessage()
- func (x *BatteryState) ProtoReflect() protoreflect.Message
- func (x *BatteryState) Reset()
- func (x *BatteryState) String() string
- type BondedBtDevicesRequest
- type BondedBtDevicesResponse
- func (*BondedBtDevicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BondedBtDevicesResponse) GetDevices() []*BondedBtDevicesResponse_Device
- func (*BondedBtDevicesResponse) ProtoMessage()
- func (x *BondedBtDevicesResponse) ProtoReflect() protoreflect.Message
- func (x *BondedBtDevicesResponse) Reset()
- func (x *BondedBtDevicesResponse) String() string
- type BondedBtDevicesResponse_Device
- func (*BondedBtDevicesResponse_Device) Descriptor() ([]byte, []int)deprecated
- func (x *BondedBtDevicesResponse_Device) GetMac() string
- func (x *BondedBtDevicesResponse_Device) GetName() string
- func (*BondedBtDevicesResponse_Device) ProtoMessage()
- func (x *BondedBtDevicesResponse_Device) ProtoReflect() protoreflect.Message
- func (x *BondedBtDevicesResponse_Device) Reset()
- func (x *BondedBtDevicesResponse_Device) String() string
- type Error
- type ErrorCode
- type GnssStatusUpdate
- func (*GnssStatusUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *GnssStatusUpdate) GetSats() []*SatInfo
- func (x *GnssStatusUpdate) GetSatsInView() uint32
- func (x *GnssStatusUpdate) GetSatsUsed() uint32
- func (*GnssStatusUpdate) ProtoMessage()
- func (x *GnssStatusUpdate) ProtoReflect() protoreflect.Message
- func (x *GnssStatusUpdate) Reset()
- func (x *GnssStatusUpdate) String() string
- type GpsFix
- func (*GpsFix) Descriptor() ([]byte, []int)deprecated
- func (x *GpsFix) GetAccuracyM() float64
- func (x *GpsFix) GetAltM() float64
- func (x *GpsFix) GetCourseDeg() float64
- func (x *GpsFix) GetHasAlt() bool
- func (x *GpsFix) GetHasCourse() bool
- func (x *GpsFix) GetHasSpeed() bool
- func (x *GpsFix) GetHdop() float64
- func (x *GpsFix) GetLat() float64
- func (x *GpsFix) GetLon() float64
- func (x *GpsFix) GetNumSats() uint32
- func (x *GpsFix) GetSource() GpsSource
- func (x *GpsFix) GetSpeedMps() float64
- func (x *GpsFix) GetTimeUnixMs() int64
- func (*GpsFix) ProtoMessage()
- func (x *GpsFix) ProtoReflect() protoreflect.Message
- func (x *GpsFix) Reset()
- func (x *GpsFix) String() string
- type GpsSource
- type Hello
- func (*Hello) Descriptor() ([]byte, []int)deprecated
- func (x *Hello) GetClientVersion() string
- func (x *Hello) GetSchemaVersion() uint32
- func (x *Hello) GetServerVersion() string
- func (*Hello) ProtoMessage()
- func (x *Hello) ProtoReflect() protoreflect.Message
- func (x *Hello) Reset()
- func (x *Hello) String() string
- type PlatformMessage
- func (*PlatformMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformMessage) GetAudioListReq() *AudioDeviceListRequest
- func (x *PlatformMessage) GetAudioListResp() *AudioDeviceListResponse
- func (x *PlatformMessage) GetAudioRouteChanged() *AudioRouteChanged
- func (x *PlatformMessage) GetAvailableUsbSerialDevicesRequest() *AvailableUsbSerialDevicesRequest
- func (x *PlatformMessage) GetAvailableUsbSerialDevicesResponse() *AvailableUsbSerialDevicesResponse
- func (x *PlatformMessage) GetBatteryState() *BatteryState
- func (x *PlatformMessage) GetBody() isPlatformMessage_Body
- func (x *PlatformMessage) GetBondedBtDevicesRequest() *BondedBtDevicesRequest
- func (x *PlatformMessage) GetBondedBtDevicesResponse() *BondedBtDevicesResponse
- func (x *PlatformMessage) GetError() *Error
- func (x *PlatformMessage) GetGnssStatus() *GnssStatusUpdate
- func (x *PlatformMessage) GetGpsFix() *GpsFix
- func (x *PlatformMessage) GetHello() *Hello
- func (x *PlatformMessage) GetPttAck() *PttAck
- func (x *PlatformMessage) GetPttKeyReq() *PttKeyRequest
- func (x *PlatformMessage) GetPttUnkeyReq() *PttUnkeyRequest
- func (x *PlatformMessage) GetSerialClose() *SerialClose
- func (x *PlatformMessage) GetSerialData() *SerialData
- func (x *PlatformMessage) GetSerialError() *SerialError
- func (x *PlatformMessage) GetSerialOpen() *SerialOpen
- func (x *PlatformMessage) GetSerialOpenAck() *SerialOpenAck
- func (x *PlatformMessage) GetUsbAttach() *UsbAttach
- func (x *PlatformMessage) GetUsbDetach() *UsbDetach
- func (x *PlatformMessage) GetUsbListReq() *UsbDeviceListRequest
- func (x *PlatformMessage) GetUsbListResp() *UsbDeviceListResponse
- func (x *PlatformMessage) GetUsbSelectReq() *UsbSelectRequest
- func (x *PlatformMessage) GetUsbSelectResp() *UsbSelectResponse
- func (*PlatformMessage) ProtoMessage()
- func (x *PlatformMessage) ProtoReflect() protoreflect.Message
- func (x *PlatformMessage) Reset()
- func (x *PlatformMessage) String() string
- type PlatformMessage_AudioListReq
- type PlatformMessage_AudioListResp
- type PlatformMessage_AudioRouteChanged
- type PlatformMessage_AvailableUsbSerialDevicesRequest
- type PlatformMessage_AvailableUsbSerialDevicesResponse
- type PlatformMessage_BatteryState
- type PlatformMessage_BondedBtDevicesRequest
- type PlatformMessage_BondedBtDevicesResponse
- type PlatformMessage_Error
- type PlatformMessage_GnssStatus
- type PlatformMessage_GpsFix
- type PlatformMessage_Hello
- type PlatformMessage_PttAck
- type PlatformMessage_PttKeyReq
- type PlatformMessage_PttUnkeyReq
- type PlatformMessage_SerialClose
- type PlatformMessage_SerialData
- type PlatformMessage_SerialError
- type PlatformMessage_SerialOpen
- type PlatformMessage_SerialOpenAck
- type PlatformMessage_UsbAttach
- type PlatformMessage_UsbDetach
- type PlatformMessage_UsbListReq
- type PlatformMessage_UsbListResp
- type PlatformMessage_UsbSelectReq
- type PlatformMessage_UsbSelectResp
- type PttAck
- type PttKeyRequest
- func (*PttKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PttKeyRequest) GetHandleId() string
- func (x *PttKeyRequest) GetMethod() PttMethod
- func (*PttKeyRequest) ProtoMessage()
- func (x *PttKeyRequest) ProtoReflect() protoreflect.Message
- func (x *PttKeyRequest) Reset()
- func (x *PttKeyRequest) String() string
- type PttMethod
- type PttUnkeyRequest
- func (*PttUnkeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PttUnkeyRequest) GetHandleId() string
- func (x *PttUnkeyRequest) GetMethod() PttMethod
- func (*PttUnkeyRequest) ProtoMessage()
- func (x *PttUnkeyRequest) ProtoReflect() protoreflect.Message
- func (x *PttUnkeyRequest) Reset()
- func (x *PttUnkeyRequest) String() string
- type SatInfo
- func (*SatInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SatInfo) GetAzimuthDeg() float64
- func (x *SatInfo) GetCn0Dbhz() float64
- func (x *SatInfo) GetConstellation() string
- func (x *SatInfo) GetElevationDeg() float64
- func (x *SatInfo) GetSvid() uint32
- func (x *SatInfo) GetUsedInFix() bool
- func (*SatInfo) ProtoMessage()
- func (x *SatInfo) ProtoReflect() protoreflect.Message
- func (x *SatInfo) Reset()
- func (x *SatInfo) String() string
- type SerialClose
- func (*SerialClose) Descriptor() ([]byte, []int)deprecated
- func (x *SerialClose) GetHandle() uint32
- func (x *SerialClose) GetReason() string
- func (*SerialClose) ProtoMessage()
- func (x *SerialClose) ProtoReflect() protoreflect.Message
- func (x *SerialClose) Reset()
- func (x *SerialClose) String() string
- type SerialData
- type SerialError
- func (*SerialError) Descriptor() ([]byte, []int)deprecated
- func (x *SerialError) GetCode() string
- func (x *SerialError) GetDetail() string
- func (x *SerialError) GetHandle() uint32
- func (*SerialError) ProtoMessage()
- func (x *SerialError) ProtoReflect() protoreflect.Message
- func (x *SerialError) Reset()
- func (x *SerialError) String() string
- type SerialKind
- type SerialOpen
- func (*SerialOpen) Descriptor() ([]byte, []int)deprecated
- func (x *SerialOpen) GetAddress() string
- func (x *SerialOpen) GetBaud() uint32
- func (x *SerialOpen) GetHandle() uint32
- func (x *SerialOpen) GetKind() SerialKind
- func (*SerialOpen) ProtoMessage()
- func (x *SerialOpen) ProtoReflect() protoreflect.Message
- func (x *SerialOpen) Reset()
- func (x *SerialOpen) String() string
- type SerialOpenAck
- func (*SerialOpenAck) Descriptor() ([]byte, []int)deprecated
- func (x *SerialOpenAck) GetError() string
- func (x *SerialOpenAck) GetHandle() uint32
- func (x *SerialOpenAck) GetOk() bool
- func (*SerialOpenAck) ProtoMessage()
- func (x *SerialOpenAck) ProtoReflect() protoreflect.Message
- func (x *SerialOpenAck) Reset()
- func (x *SerialOpenAck) String() string
- type UsbAttach
- type UsbClass
- type UsbDetach
- func (*UsbDetach) Descriptor() ([]byte, []int)deprecated
- func (x *UsbDetach) GetDevicePath() string
- func (x *UsbDetach) GetPid() uint32
- func (x *UsbDetach) GetVid() uint32
- func (*UsbDetach) ProtoMessage()
- func (x *UsbDetach) ProtoReflect() protoreflect.Message
- func (x *UsbDetach) Reset()
- func (x *UsbDetach) String() string
- type UsbDevice
- func (*UsbDevice) Descriptor() ([]byte, []int)deprecated
- func (x *UsbDevice) GetClasses() []UsbClass
- func (x *UsbDevice) GetDevicePath() string
- func (x *UsbDevice) GetManufacturer() string
- func (x *UsbDevice) GetPid() uint32
- func (x *UsbDevice) GetProduct() string
- func (x *UsbDevice) GetSerial() string
- func (x *UsbDevice) GetVid() uint32
- func (*UsbDevice) ProtoMessage()
- func (x *UsbDevice) ProtoReflect() protoreflect.Message
- func (x *UsbDevice) Reset()
- func (x *UsbDevice) String() string
- type UsbDeviceListRequest
- func (*UsbDeviceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UsbDeviceListRequest) GetClassFilter() UsbClass
- func (*UsbDeviceListRequest) ProtoMessage()
- func (x *UsbDeviceListRequest) ProtoReflect() protoreflect.Message
- func (x *UsbDeviceListRequest) Reset()
- func (x *UsbDeviceListRequest) String() string
- type UsbDeviceListResponse
- func (*UsbDeviceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UsbDeviceListResponse) GetDevices() []*UsbDevice
- func (*UsbDeviceListResponse) ProtoMessage()
- func (x *UsbDeviceListResponse) ProtoReflect() protoreflect.Message
- func (x *UsbDeviceListResponse) Reset()
- func (x *UsbDeviceListResponse) String() string
- type UsbSelectRequest
- func (*UsbSelectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UsbSelectRequest) GetPid() uint32
- func (x *UsbSelectRequest) GetVid() uint32
- func (*UsbSelectRequest) ProtoMessage()
- func (x *UsbSelectRequest) ProtoReflect() protoreflect.Message
- func (x *UsbSelectRequest) Reset()
- func (x *UsbSelectRequest) String() string
- type UsbSelectResponse
- func (*UsbSelectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UsbSelectResponse) GetErrorMessage() string
- func (x *UsbSelectResponse) GetGranted() bool
- func (x *UsbSelectResponse) GetHandleId() string
- func (*UsbSelectResponse) ProtoMessage()
- func (x *UsbSelectResponse) ProtoReflect() protoreflect.Message
- func (x *UsbSelectResponse) Reset()
- func (x *UsbSelectResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( GpsSource_name = map[int32]string{ 0: "GPS_SOURCE_UNKNOWN", 1: "GPS_SOURCE_ANDROID_FUSED", 2: "GPS_SOURCE_ANDROID_GPS", 3: "GPS_SOURCE_ANDROID_NETWORK", } GpsSource_value = map[string]int32{ "GPS_SOURCE_UNKNOWN": 0, "GPS_SOURCE_ANDROID_FUSED": 1, "GPS_SOURCE_ANDROID_GPS": 2, "GPS_SOURCE_ANDROID_NETWORK": 3, } )
Enum value maps for GpsSource.
var ( UsbClass_name = map[int32]string{ 0: "USB_CLASS_UNKNOWN", 1: "USB_CLASS_AUDIO", 2: "USB_CLASS_HID", 3: "USB_CLASS_CDC_ACM", 4: "USB_CLASS_VENDOR", } UsbClass_value = map[string]int32{ "USB_CLASS_UNKNOWN": 0, "USB_CLASS_AUDIO": 1, "USB_CLASS_HID": 2, "USB_CLASS_CDC_ACM": 3, "USB_CLASS_VENDOR": 4, } )
Enum value maps for UsbClass.
var ( PttMethod_name = map[int32]string{ 0: "PTT_METHOD_UNKNOWN", 1: "PTT_METHOD_CP2102N_RTS", 2: "PTT_METHOD_CM108_HID", 3: "PTT_METHOD_AIOC_CDC_DTR", 4: "PTT_METHOD_VOX", 5: "PTT_METHOD_DIGIRIG_TONE", } PttMethod_value = map[string]int32{ "PTT_METHOD_UNKNOWN": 0, "PTT_METHOD_CP2102N_RTS": 1, "PTT_METHOD_CM108_HID": 2, "PTT_METHOD_AIOC_CDC_DTR": 3, "PTT_METHOD_VOX": 4, "PTT_METHOD_DIGIRIG_TONE": 5, } )
Enum value maps for PttMethod.
var ( ErrorCode_name = map[int32]string{ 0: "ERROR_UNKNOWN", 1: "ERROR_NOT_IMPLEMENTED", 2: "ERROR_SCHEMA_MISMATCH", 3: "ERROR_INVALID_ARGUMENT", 4: "ERROR_PERMISSION_DENIED", 5: "ERROR_NOT_FOUND", 6: "ERROR_INTERNAL", } ErrorCode_value = map[string]int32{ "ERROR_UNKNOWN": 0, "ERROR_NOT_IMPLEMENTED": 1, "ERROR_SCHEMA_MISMATCH": 2, "ERROR_INVALID_ARGUMENT": 3, "ERROR_PERMISSION_DENIED": 4, "ERROR_NOT_FOUND": 5, "ERROR_INTERNAL": 6, } )
Enum value maps for ErrorCode.
var ( SerialKind_name = map[int32]string{ 0: "SERIAL_KIND_UNSPECIFIED", 1: "SERIAL_KIND_BLUETOOTH", 2: "SERIAL_KIND_USB", } SerialKind_value = map[string]int32{ "SERIAL_KIND_UNSPECIFIED": 0, "SERIAL_KIND_BLUETOOTH": 1, "SERIAL_KIND_USB": 2, } )
Enum value maps for SerialKind.
var File_platform_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AudioDevice ¶
type AudioDevice struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
IsInput bool `protobuf:"varint,3,opt,name=is_input,json=isInput,proto3" json:"is_input,omitempty"`
IsOutput bool `protobuf:"varint,4,opt,name=is_output,json=isOutput,proto3" json:"is_output,omitempty"`
// contains filtered or unexported fields
}
func (*AudioDevice) Descriptor
deprecated
func (*AudioDevice) Descriptor() ([]byte, []int)
Deprecated: Use AudioDevice.ProtoReflect.Descriptor instead.
func (*AudioDevice) GetId ¶
func (x *AudioDevice) GetId() string
func (*AudioDevice) GetIsInput ¶
func (x *AudioDevice) GetIsInput() bool
func (*AudioDevice) GetIsOutput ¶
func (x *AudioDevice) GetIsOutput() bool
func (*AudioDevice) GetName ¶
func (x *AudioDevice) GetName() string
func (*AudioDevice) ProtoMessage ¶
func (*AudioDevice) ProtoMessage()
func (*AudioDevice) ProtoReflect ¶
func (x *AudioDevice) ProtoReflect() protoreflect.Message
func (*AudioDevice) Reset ¶
func (x *AudioDevice) Reset()
func (*AudioDevice) String ¶
func (x *AudioDevice) String() string
type AudioDeviceListRequest ¶
type AudioDeviceListRequest struct {
// contains filtered or unexported fields
}
func (*AudioDeviceListRequest) Descriptor
deprecated
func (*AudioDeviceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use AudioDeviceListRequest.ProtoReflect.Descriptor instead.
func (*AudioDeviceListRequest) ProtoMessage ¶
func (*AudioDeviceListRequest) ProtoMessage()
func (*AudioDeviceListRequest) ProtoReflect ¶
func (x *AudioDeviceListRequest) ProtoReflect() protoreflect.Message
func (*AudioDeviceListRequest) Reset ¶
func (x *AudioDeviceListRequest) Reset()
func (*AudioDeviceListRequest) String ¶
func (x *AudioDeviceListRequest) String() string
type AudioDeviceListResponse ¶
type AudioDeviceListResponse struct {
Devices []*AudioDevice `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
// contains filtered or unexported fields
}
func (*AudioDeviceListResponse) Descriptor
deprecated
func (*AudioDeviceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use AudioDeviceListResponse.ProtoReflect.Descriptor instead.
func (*AudioDeviceListResponse) GetDevices ¶
func (x *AudioDeviceListResponse) GetDevices() []*AudioDevice
func (*AudioDeviceListResponse) ProtoMessage ¶
func (*AudioDeviceListResponse) ProtoMessage()
func (*AudioDeviceListResponse) ProtoReflect ¶
func (x *AudioDeviceListResponse) ProtoReflect() protoreflect.Message
func (*AudioDeviceListResponse) Reset ¶
func (x *AudioDeviceListResponse) Reset()
func (*AudioDeviceListResponse) String ¶
func (x *AudioDeviceListResponse) String() string
type AudioRouteChanged ¶
type AudioRouteChanged struct {
CurrentInputs []*AudioDevice `protobuf:"bytes,1,rep,name=current_inputs,json=currentInputs,proto3" json:"current_inputs,omitempty"`
CurrentOutputs []*AudioDevice `protobuf:"bytes,2,rep,name=current_outputs,json=currentOutputs,proto3" json:"current_outputs,omitempty"`
// contains filtered or unexported fields
}
func (*AudioRouteChanged) Descriptor
deprecated
func (*AudioRouteChanged) Descriptor() ([]byte, []int)
Deprecated: Use AudioRouteChanged.ProtoReflect.Descriptor instead.
func (*AudioRouteChanged) GetCurrentInputs ¶
func (x *AudioRouteChanged) GetCurrentInputs() []*AudioDevice
func (*AudioRouteChanged) GetCurrentOutputs ¶
func (x *AudioRouteChanged) GetCurrentOutputs() []*AudioDevice
func (*AudioRouteChanged) ProtoMessage ¶
func (*AudioRouteChanged) ProtoMessage()
func (*AudioRouteChanged) ProtoReflect ¶
func (x *AudioRouteChanged) ProtoReflect() protoreflect.Message
func (*AudioRouteChanged) Reset ¶
func (x *AudioRouteChanged) Reset()
func (*AudioRouteChanged) String ¶
func (x *AudioRouteChanged) String() string
type AvailableUsbSerialDevicesRequest ¶ added in v0.13.9
type AvailableUsbSerialDevicesRequest struct {
// contains filtered or unexported fields
}
func (*AvailableUsbSerialDevicesRequest) Descriptor
deprecated
added in
v0.13.9
func (*AvailableUsbSerialDevicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AvailableUsbSerialDevicesRequest.ProtoReflect.Descriptor instead.
func (*AvailableUsbSerialDevicesRequest) ProtoMessage ¶ added in v0.13.9
func (*AvailableUsbSerialDevicesRequest) ProtoMessage()
func (*AvailableUsbSerialDevicesRequest) ProtoReflect ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesRequest) ProtoReflect() protoreflect.Message
func (*AvailableUsbSerialDevicesRequest) Reset ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesRequest) Reset()
func (*AvailableUsbSerialDevicesRequest) String ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesRequest) String() string
type AvailableUsbSerialDevicesResponse ¶ added in v0.13.9
type AvailableUsbSerialDevicesResponse struct {
Devices []*AvailableUsbSerialDevicesResponse_Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
// contains filtered or unexported fields
}
func (*AvailableUsbSerialDevicesResponse) Descriptor
deprecated
added in
v0.13.9
func (*AvailableUsbSerialDevicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AvailableUsbSerialDevicesResponse.ProtoReflect.Descriptor instead.
func (*AvailableUsbSerialDevicesResponse) GetDevices ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesResponse) GetDevices() []*AvailableUsbSerialDevicesResponse_Device
func (*AvailableUsbSerialDevicesResponse) ProtoMessage ¶ added in v0.13.9
func (*AvailableUsbSerialDevicesResponse) ProtoMessage()
func (*AvailableUsbSerialDevicesResponse) ProtoReflect ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesResponse) ProtoReflect() protoreflect.Message
func (*AvailableUsbSerialDevicesResponse) Reset ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesResponse) Reset()
func (*AvailableUsbSerialDevicesResponse) String ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesResponse) String() string
type AvailableUsbSerialDevicesResponse_Device ¶ added in v0.13.9
type AvailableUsbSerialDevicesResponse_Device struct {
VidPid string `protobuf:"bytes,1,opt,name=vid_pid,json=vidPid,proto3" json:"vid_pid,omitempty"` // "2341:0043"
Product string `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"`
Manufacturer string `protobuf:"bytes,3,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
HasPermission bool `protobuf:"varint,4,opt,name=has_permission,json=hasPermission,proto3" json:"has_permission,omitempty"`
// contains filtered or unexported fields
}
func (*AvailableUsbSerialDevicesResponse_Device) Descriptor
deprecated
added in
v0.13.9
func (*AvailableUsbSerialDevicesResponse_Device) Descriptor() ([]byte, []int)
Deprecated: Use AvailableUsbSerialDevicesResponse_Device.ProtoReflect.Descriptor instead.
func (*AvailableUsbSerialDevicesResponse_Device) GetHasPermission ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesResponse_Device) GetHasPermission() bool
func (*AvailableUsbSerialDevicesResponse_Device) GetManufacturer ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesResponse_Device) GetManufacturer() string
func (*AvailableUsbSerialDevicesResponse_Device) GetProduct ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesResponse_Device) GetProduct() string
func (*AvailableUsbSerialDevicesResponse_Device) GetVidPid ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesResponse_Device) GetVidPid() string
func (*AvailableUsbSerialDevicesResponse_Device) ProtoMessage ¶ added in v0.13.9
func (*AvailableUsbSerialDevicesResponse_Device) ProtoMessage()
func (*AvailableUsbSerialDevicesResponse_Device) ProtoReflect ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesResponse_Device) ProtoReflect() protoreflect.Message
func (*AvailableUsbSerialDevicesResponse_Device) Reset ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesResponse_Device) Reset()
func (*AvailableUsbSerialDevicesResponse_Device) String ¶ added in v0.13.9
func (x *AvailableUsbSerialDevicesResponse_Device) String() string
type BatteryState ¶
type BatteryState struct {
Percent float32 `protobuf:"fixed32,1,opt,name=percent,proto3" json:"percent,omitempty"`
Charging bool `protobuf:"varint,2,opt,name=charging,proto3" json:"charging,omitempty"`
TempDecic int32 `protobuf:"varint,3,opt,name=temp_decic,json=tempDecic,proto3" json:"temp_decic,omitempty"` // tenths of a degree C
// contains filtered or unexported fields
}
func (*BatteryState) Descriptor
deprecated
func (*BatteryState) Descriptor() ([]byte, []int)
Deprecated: Use BatteryState.ProtoReflect.Descriptor instead.
func (*BatteryState) GetCharging ¶
func (x *BatteryState) GetCharging() bool
func (*BatteryState) GetPercent ¶
func (x *BatteryState) GetPercent() float32
func (*BatteryState) GetTempDecic ¶
func (x *BatteryState) GetTempDecic() int32
func (*BatteryState) ProtoMessage ¶
func (*BatteryState) ProtoMessage()
func (*BatteryState) ProtoReflect ¶
func (x *BatteryState) ProtoReflect() protoreflect.Message
func (*BatteryState) Reset ¶
func (x *BatteryState) Reset()
func (*BatteryState) String ¶
func (x *BatteryState) String() string
type BondedBtDevicesRequest ¶ added in v0.13.6
type BondedBtDevicesRequest struct {
// contains filtered or unexported fields
}
func (*BondedBtDevicesRequest) Descriptor
deprecated
added in
v0.13.6
func (*BondedBtDevicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BondedBtDevicesRequest.ProtoReflect.Descriptor instead.
func (*BondedBtDevicesRequest) ProtoMessage ¶ added in v0.13.6
func (*BondedBtDevicesRequest) ProtoMessage()
func (*BondedBtDevicesRequest) ProtoReflect ¶ added in v0.13.6
func (x *BondedBtDevicesRequest) ProtoReflect() protoreflect.Message
func (*BondedBtDevicesRequest) Reset ¶ added in v0.13.6
func (x *BondedBtDevicesRequest) Reset()
func (*BondedBtDevicesRequest) String ¶ added in v0.13.6
func (x *BondedBtDevicesRequest) String() string
type BondedBtDevicesResponse ¶ added in v0.13.6
type BondedBtDevicesResponse struct {
Devices []*BondedBtDevicesResponse_Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
// contains filtered or unexported fields
}
func (*BondedBtDevicesResponse) Descriptor
deprecated
added in
v0.13.6
func (*BondedBtDevicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BondedBtDevicesResponse.ProtoReflect.Descriptor instead.
func (*BondedBtDevicesResponse) GetDevices ¶ added in v0.13.6
func (x *BondedBtDevicesResponse) GetDevices() []*BondedBtDevicesResponse_Device
func (*BondedBtDevicesResponse) ProtoMessage ¶ added in v0.13.6
func (*BondedBtDevicesResponse) ProtoMessage()
func (*BondedBtDevicesResponse) ProtoReflect ¶ added in v0.13.6
func (x *BondedBtDevicesResponse) ProtoReflect() protoreflect.Message
func (*BondedBtDevicesResponse) Reset ¶ added in v0.13.6
func (x *BondedBtDevicesResponse) Reset()
func (*BondedBtDevicesResponse) String ¶ added in v0.13.6
func (x *BondedBtDevicesResponse) String() string
type BondedBtDevicesResponse_Device ¶ added in v0.13.6
type BondedBtDevicesResponse_Device struct {
Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*BondedBtDevicesResponse_Device) Descriptor
deprecated
added in
v0.13.6
func (*BondedBtDevicesResponse_Device) Descriptor() ([]byte, []int)
Deprecated: Use BondedBtDevicesResponse_Device.ProtoReflect.Descriptor instead.
func (*BondedBtDevicesResponse_Device) GetMac ¶ added in v0.13.6
func (x *BondedBtDevicesResponse_Device) GetMac() string
func (*BondedBtDevicesResponse_Device) GetName ¶ added in v0.13.6
func (x *BondedBtDevicesResponse_Device) GetName() string
func (*BondedBtDevicesResponse_Device) ProtoMessage ¶ added in v0.13.6
func (*BondedBtDevicesResponse_Device) ProtoMessage()
func (*BondedBtDevicesResponse_Device) ProtoReflect ¶ added in v0.13.6
func (x *BondedBtDevicesResponse_Device) ProtoReflect() protoreflect.Message
func (*BondedBtDevicesResponse_Device) Reset ¶ added in v0.13.6
func (x *BondedBtDevicesResponse_Device) Reset()
func (*BondedBtDevicesResponse_Device) String ¶ added in v0.13.6
func (x *BondedBtDevicesResponse_Device) String() string
type Error ¶
type Error struct {
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=graywolf.platform.ErrorCode" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*Error) Descriptor
deprecated
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type ErrorCode ¶
type ErrorCode int32
const ( ErrorCode_ERROR_UNKNOWN ErrorCode = 0 ErrorCode_ERROR_NOT_IMPLEMENTED ErrorCode = 1 ErrorCode_ERROR_SCHEMA_MISMATCH ErrorCode = 2 ErrorCode_ERROR_INVALID_ARGUMENT ErrorCode = 3 ErrorCode_ERROR_PERMISSION_DENIED ErrorCode = 4 ErrorCode_ERROR_NOT_FOUND ErrorCode = 5 ErrorCode_ERROR_INTERNAL ErrorCode = 6 )
func (ErrorCode) Descriptor ¶
func (ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ErrorCode) EnumDescriptor
deprecated
func (ErrorCode) Number ¶
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶
func (ErrorCode) Type() protoreflect.EnumType
type GnssStatusUpdate ¶ added in v0.13.6
type GnssStatusUpdate struct {
SatsInView uint32 `protobuf:"varint,1,opt,name=sats_in_view,json=satsInView,proto3" json:"sats_in_view,omitempty"`
SatsUsed uint32 `protobuf:"varint,2,opt,name=sats_used,json=satsUsed,proto3" json:"sats_used,omitempty"`
Sats []*SatInfo `protobuf:"bytes,3,rep,name=sats,proto3" json:"sats,omitempty"`
// contains filtered or unexported fields
}
func (*GnssStatusUpdate) Descriptor
deprecated
added in
v0.13.6
func (*GnssStatusUpdate) Descriptor() ([]byte, []int)
Deprecated: Use GnssStatusUpdate.ProtoReflect.Descriptor instead.
func (*GnssStatusUpdate) GetSats ¶ added in v0.13.6
func (x *GnssStatusUpdate) GetSats() []*SatInfo
func (*GnssStatusUpdate) GetSatsInView ¶ added in v0.13.6
func (x *GnssStatusUpdate) GetSatsInView() uint32
func (*GnssStatusUpdate) GetSatsUsed ¶ added in v0.13.6
func (x *GnssStatusUpdate) GetSatsUsed() uint32
func (*GnssStatusUpdate) ProtoMessage ¶ added in v0.13.6
func (*GnssStatusUpdate) ProtoMessage()
func (*GnssStatusUpdate) ProtoReflect ¶ added in v0.13.6
func (x *GnssStatusUpdate) ProtoReflect() protoreflect.Message
func (*GnssStatusUpdate) Reset ¶ added in v0.13.6
func (x *GnssStatusUpdate) Reset()
func (*GnssStatusUpdate) String ¶ added in v0.13.6
func (x *GnssStatusUpdate) String() string
type GpsFix ¶
type GpsFix struct {
Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3" json:"lat,omitempty"`
Lon float64 `protobuf:"fixed64,2,opt,name=lon,proto3" json:"lon,omitempty"`
AltM float64 `protobuf:"fixed64,3,opt,name=alt_m,json=altM,proto3" json:"alt_m,omitempty"`
SpeedMps float64 `protobuf:"fixed64,4,opt,name=speed_mps,json=speedMps,proto3" json:"speed_mps,omitempty"`
CourseDeg float64 `protobuf:"fixed64,5,opt,name=course_deg,json=courseDeg,proto3" json:"course_deg,omitempty"`
TimeUnixMs int64 `protobuf:"varint,6,opt,name=time_unix_ms,json=timeUnixMs,proto3" json:"time_unix_ms,omitempty"`
Hdop float64 `protobuf:"fixed64,7,opt,name=hdop,proto3" json:"hdop,omitempty"`
NumSats uint32 `protobuf:"varint,8,opt,name=num_sats,json=numSats,proto3" json:"num_sats,omitempty"`
Source GpsSource `protobuf:"varint,9,opt,name=source,proto3,enum=graywolf.platform.GpsSource" json:"source,omitempty"`
// Horizontal accuracy radius in meters (Android Location.getAccuracy()).
// 0 means "unknown / not provided" — desktop NMEA path leaves this 0.
// (JSON consumers reading /api/gps/state must treat 0 as "unset", not
// "perfect"; Android Location.accuracy never returns 0 in practice.)
// Old clients ignore the field; old servers send 0. Schema version stays 1.
AccuracyM float64 `protobuf:"fixed64,10,opt,name=accuracy_m,json=accuracyM,proto3" json:"accuracy_m,omitempty"`
// Presence bits. Android Location exposes hasAltitude()/hasSpeed()/
// hasBearing(); without these companion bools, the receiver cannot
// distinguish a legitimate zero (stationary station, due-north course,
// sea-level altitude) from "field absent". Default false on old senders.
HasAlt bool `protobuf:"varint,11,opt,name=has_alt,json=hasAlt,proto3" json:"has_alt,omitempty"`
HasSpeed bool `protobuf:"varint,12,opt,name=has_speed,json=hasSpeed,proto3" json:"has_speed,omitempty"`
HasCourse bool `protobuf:"varint,13,opt,name=has_course,json=hasCourse,proto3" json:"has_course,omitempty"`
// contains filtered or unexported fields
}
func (*GpsFix) Descriptor
deprecated
func (*GpsFix) GetAccuracyM ¶ added in v0.13.6
func (*GpsFix) GetCourseDeg ¶
func (*GpsFix) GetHasCourse ¶ added in v0.13.6
func (*GpsFix) GetHasSpeed ¶ added in v0.13.6
func (*GpsFix) GetNumSats ¶
func (*GpsFix) GetSpeedMps ¶
func (*GpsFix) GetTimeUnixMs ¶
func (*GpsFix) ProtoMessage ¶
func (*GpsFix) ProtoMessage()
func (*GpsFix) ProtoReflect ¶
func (x *GpsFix) ProtoReflect() protoreflect.Message
type GpsSource ¶
type GpsSource int32
func (GpsSource) Descriptor ¶
func (GpsSource) Descriptor() protoreflect.EnumDescriptor
func (GpsSource) EnumDescriptor
deprecated
func (GpsSource) Number ¶
func (x GpsSource) Number() protoreflect.EnumNumber
func (GpsSource) Type ¶
func (GpsSource) Type() protoreflect.EnumType
type Hello ¶
type Hello struct {
SchemaVersion uint32 `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
ClientVersion string `protobuf:"bytes,2,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
ServerVersion string `protobuf:"bytes,3,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` // populated in the response only
// contains filtered or unexported fields
}
func (*Hello) Descriptor
deprecated
func (*Hello) GetClientVersion ¶
func (*Hello) GetSchemaVersion ¶
func (*Hello) GetServerVersion ¶
func (*Hello) ProtoMessage ¶
func (*Hello) ProtoMessage()
func (*Hello) ProtoReflect ¶
func (x *Hello) ProtoReflect() protoreflect.Message
type PlatformMessage ¶
type PlatformMessage struct {
// Types that are valid to be assigned to Body:
//
// *PlatformMessage_Hello
// *PlatformMessage_GpsFix
// *PlatformMessage_BatteryState
// *PlatformMessage_UsbAttach
// *PlatformMessage_UsbDetach
// *PlatformMessage_UsbListReq
// *PlatformMessage_UsbListResp
// *PlatformMessage_UsbSelectReq
// *PlatformMessage_UsbSelectResp
// *PlatformMessage_PttKeyReq
// *PlatformMessage_PttUnkeyReq
// *PlatformMessage_PttAck
// *PlatformMessage_AudioListReq
// *PlatformMessage_AudioListResp
// *PlatformMessage_AudioRouteChanged
// *PlatformMessage_Error
// *PlatformMessage_GnssStatus
// *PlatformMessage_SerialOpen
// *PlatformMessage_SerialOpenAck
// *PlatformMessage_SerialData
// *PlatformMessage_SerialClose
// *PlatformMessage_SerialError
// *PlatformMessage_BondedBtDevicesRequest
// *PlatformMessage_BondedBtDevicesResponse
// *PlatformMessage_AvailableUsbSerialDevicesRequest
// *PlatformMessage_AvailableUsbSerialDevicesResponse
Body isPlatformMessage_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
Top-level envelope. Every message on the wire is a PlatformMessage. Wire framing (matches pkg/modembridge/framing.go):
[4 BE bytes length][serialized PlatformMessage bytes]
func (*PlatformMessage) Descriptor
deprecated
func (*PlatformMessage) Descriptor() ([]byte, []int)
Deprecated: Use PlatformMessage.ProtoReflect.Descriptor instead.
func (*PlatformMessage) GetAudioListReq ¶
func (x *PlatformMessage) GetAudioListReq() *AudioDeviceListRequest
func (*PlatformMessage) GetAudioListResp ¶
func (x *PlatformMessage) GetAudioListResp() *AudioDeviceListResponse
func (*PlatformMessage) GetAudioRouteChanged ¶
func (x *PlatformMessage) GetAudioRouteChanged() *AudioRouteChanged
func (*PlatformMessage) GetAvailableUsbSerialDevicesRequest ¶ added in v0.13.9
func (x *PlatformMessage) GetAvailableUsbSerialDevicesRequest() *AvailableUsbSerialDevicesRequest
func (*PlatformMessage) GetAvailableUsbSerialDevicesResponse ¶ added in v0.13.9
func (x *PlatformMessage) GetAvailableUsbSerialDevicesResponse() *AvailableUsbSerialDevicesResponse
func (*PlatformMessage) GetBatteryState ¶
func (x *PlatformMessage) GetBatteryState() *BatteryState
func (*PlatformMessage) GetBody ¶
func (x *PlatformMessage) GetBody() isPlatformMessage_Body
func (*PlatformMessage) GetBondedBtDevicesRequest ¶ added in v0.13.6
func (x *PlatformMessage) GetBondedBtDevicesRequest() *BondedBtDevicesRequest
func (*PlatformMessage) GetBondedBtDevicesResponse ¶ added in v0.13.6
func (x *PlatformMessage) GetBondedBtDevicesResponse() *BondedBtDevicesResponse
func (*PlatformMessage) GetError ¶
func (x *PlatformMessage) GetError() *Error
func (*PlatformMessage) GetGnssStatus ¶ added in v0.13.6
func (x *PlatformMessage) GetGnssStatus() *GnssStatusUpdate
func (*PlatformMessage) GetGpsFix ¶
func (x *PlatformMessage) GetGpsFix() *GpsFix
func (*PlatformMessage) GetHello ¶
func (x *PlatformMessage) GetHello() *Hello
func (*PlatformMessage) GetPttAck ¶
func (x *PlatformMessage) GetPttAck() *PttAck
func (*PlatformMessage) GetPttKeyReq ¶
func (x *PlatformMessage) GetPttKeyReq() *PttKeyRequest
func (*PlatformMessage) GetPttUnkeyReq ¶
func (x *PlatformMessage) GetPttUnkeyReq() *PttUnkeyRequest
func (*PlatformMessage) GetSerialClose ¶ added in v0.13.6
func (x *PlatformMessage) GetSerialClose() *SerialClose
func (*PlatformMessage) GetSerialData ¶ added in v0.13.6
func (x *PlatformMessage) GetSerialData() *SerialData
func (*PlatformMessage) GetSerialError ¶ added in v0.13.6
func (x *PlatformMessage) GetSerialError() *SerialError
func (*PlatformMessage) GetSerialOpen ¶ added in v0.13.6
func (x *PlatformMessage) GetSerialOpen() *SerialOpen
func (*PlatformMessage) GetSerialOpenAck ¶ added in v0.13.6
func (x *PlatformMessage) GetSerialOpenAck() *SerialOpenAck
func (*PlatformMessage) GetUsbAttach ¶
func (x *PlatformMessage) GetUsbAttach() *UsbAttach
func (*PlatformMessage) GetUsbDetach ¶
func (x *PlatformMessage) GetUsbDetach() *UsbDetach
func (*PlatformMessage) GetUsbListReq ¶
func (x *PlatformMessage) GetUsbListReq() *UsbDeviceListRequest
func (*PlatformMessage) GetUsbListResp ¶
func (x *PlatformMessage) GetUsbListResp() *UsbDeviceListResponse
func (*PlatformMessage) GetUsbSelectReq ¶
func (x *PlatformMessage) GetUsbSelectReq() *UsbSelectRequest
func (*PlatformMessage) GetUsbSelectResp ¶
func (x *PlatformMessage) GetUsbSelectResp() *UsbSelectResponse
func (*PlatformMessage) ProtoMessage ¶
func (*PlatformMessage) ProtoMessage()
func (*PlatformMessage) ProtoReflect ¶
func (x *PlatformMessage) ProtoReflect() protoreflect.Message
func (*PlatformMessage) Reset ¶
func (x *PlatformMessage) Reset()
func (*PlatformMessage) String ¶
func (x *PlatformMessage) String() string
type PlatformMessage_AudioListReq ¶
type PlatformMessage_AudioListReq struct {
AudioListReq *AudioDeviceListRequest `protobuf:"bytes,13,opt,name=audio_list_req,json=audioListReq,proto3,oneof"`
}
type PlatformMessage_AudioListResp ¶
type PlatformMessage_AudioListResp struct {
AudioListResp *AudioDeviceListResponse `protobuf:"bytes,14,opt,name=audio_list_resp,json=audioListResp,proto3,oneof"`
}
type PlatformMessage_AudioRouteChanged ¶
type PlatformMessage_AudioRouteChanged struct {
AudioRouteChanged *AudioRouteChanged `protobuf:"bytes,15,opt,name=audio_route_changed,json=audioRouteChanged,proto3,oneof"`
}
type PlatformMessage_AvailableUsbSerialDevicesRequest ¶ added in v0.13.9
type PlatformMessage_AvailableUsbSerialDevicesRequest struct {
AvailableUsbSerialDevicesRequest *AvailableUsbSerialDevicesRequest `protobuf:"bytes,25,opt,name=available_usb_serial_devices_request,json=availableUsbSerialDevicesRequest,proto3,oneof"`
}
type PlatformMessage_AvailableUsbSerialDevicesResponse ¶ added in v0.13.9
type PlatformMessage_AvailableUsbSerialDevicesResponse struct {
AvailableUsbSerialDevicesResponse *AvailableUsbSerialDevicesResponse `protobuf:"bytes,26,opt,name=available_usb_serial_devices_response,json=availableUsbSerialDevicesResponse,proto3,oneof"`
}
type PlatformMessage_BatteryState ¶
type PlatformMessage_BatteryState struct {
BatteryState *BatteryState `protobuf:"bytes,3,opt,name=battery_state,json=batteryState,proto3,oneof"`
}
type PlatformMessage_BondedBtDevicesRequest ¶ added in v0.13.6
type PlatformMessage_BondedBtDevicesRequest struct {
BondedBtDevicesRequest *BondedBtDevicesRequest `protobuf:"bytes,23,opt,name=bonded_bt_devices_request,json=bondedBtDevicesRequest,proto3,oneof"`
}
type PlatformMessage_BondedBtDevicesResponse ¶ added in v0.13.6
type PlatformMessage_BondedBtDevicesResponse struct {
BondedBtDevicesResponse *BondedBtDevicesResponse `protobuf:"bytes,24,opt,name=bonded_bt_devices_response,json=bondedBtDevicesResponse,proto3,oneof"`
}
type PlatformMessage_Error ¶
type PlatformMessage_Error struct {
Error *Error `protobuf:"bytes,16,opt,name=error,proto3,oneof"`
}
type PlatformMessage_GnssStatus ¶ added in v0.13.6
type PlatformMessage_GnssStatus struct {
GnssStatus *GnssStatusUpdate `protobuf:"bytes,17,opt,name=gnss_status,json=gnssStatus,proto3,oneof"` // server → client; pushed alongside GpsFix
}
type PlatformMessage_GpsFix ¶
type PlatformMessage_GpsFix struct {
GpsFix *GpsFix `protobuf:"bytes,2,opt,name=gps_fix,json=gpsFix,proto3,oneof"`
}
type PlatformMessage_Hello ¶
type PlatformMessage_Hello struct {
Hello *Hello `protobuf:"bytes,1,opt,name=hello,proto3,oneof"`
}
type PlatformMessage_PttAck ¶
type PlatformMessage_PttAck struct {
PttAck *PttAck `protobuf:"bytes,12,opt,name=ptt_ack,json=pttAck,proto3,oneof"`
}
type PlatformMessage_PttKeyReq ¶
type PlatformMessage_PttKeyReq struct {
PttKeyReq *PttKeyRequest `protobuf:"bytes,10,opt,name=ptt_key_req,json=pttKeyReq,proto3,oneof"`
}
type PlatformMessage_PttUnkeyReq ¶
type PlatformMessage_PttUnkeyReq struct {
PttUnkeyReq *PttUnkeyRequest `protobuf:"bytes,11,opt,name=ptt_unkey_req,json=pttUnkeyReq,proto3,oneof"`
}
type PlatformMessage_SerialClose ¶ added in v0.13.6
type PlatformMessage_SerialClose struct {
SerialClose *SerialClose `protobuf:"bytes,21,opt,name=serial_close,json=serialClose,proto3,oneof"`
}
type PlatformMessage_SerialData ¶ added in v0.13.6
type PlatformMessage_SerialData struct {
SerialData *SerialData `protobuf:"bytes,20,opt,name=serial_data,json=serialData,proto3,oneof"`
}
type PlatformMessage_SerialError ¶ added in v0.13.6
type PlatformMessage_SerialError struct {
SerialError *SerialError `protobuf:"bytes,22,opt,name=serial_error,json=serialError,proto3,oneof"`
}
type PlatformMessage_SerialOpen ¶ added in v0.13.6
type PlatformMessage_SerialOpen struct {
SerialOpen *SerialOpen `protobuf:"bytes,18,opt,name=serial_open,json=serialOpen,proto3,oneof"`
}
type PlatformMessage_SerialOpenAck ¶ added in v0.13.6
type PlatformMessage_SerialOpenAck struct {
SerialOpenAck *SerialOpenAck `protobuf:"bytes,19,opt,name=serial_open_ack,json=serialOpenAck,proto3,oneof"`
}
type PlatformMessage_UsbAttach ¶
type PlatformMessage_UsbAttach struct {
UsbAttach *UsbAttach `protobuf:"bytes,4,opt,name=usb_attach,json=usbAttach,proto3,oneof"`
}
type PlatformMessage_UsbDetach ¶
type PlatformMessage_UsbDetach struct {
UsbDetach *UsbDetach `protobuf:"bytes,5,opt,name=usb_detach,json=usbDetach,proto3,oneof"`
}
type PlatformMessage_UsbListReq ¶
type PlatformMessage_UsbListReq struct {
UsbListReq *UsbDeviceListRequest `protobuf:"bytes,6,opt,name=usb_list_req,json=usbListReq,proto3,oneof"`
}
type PlatformMessage_UsbListResp ¶
type PlatformMessage_UsbListResp struct {
UsbListResp *UsbDeviceListResponse `protobuf:"bytes,7,opt,name=usb_list_resp,json=usbListResp,proto3,oneof"`
}
type PlatformMessage_UsbSelectReq ¶
type PlatformMessage_UsbSelectReq struct {
UsbSelectReq *UsbSelectRequest `protobuf:"bytes,8,opt,name=usb_select_req,json=usbSelectReq,proto3,oneof"`
}
type PlatformMessage_UsbSelectResp ¶
type PlatformMessage_UsbSelectResp struct {
UsbSelectResp *UsbSelectResponse `protobuf:"bytes,9,opt,name=usb_select_resp,json=usbSelectResp,proto3,oneof"`
}
type PttAck ¶
type PttAck struct {
Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// contains filtered or unexported fields
}
func (*PttAck) Descriptor
deprecated
func (*PttAck) GetErrorMessage ¶
func (*PttAck) ProtoMessage ¶
func (*PttAck) ProtoMessage()
func (*PttAck) ProtoReflect ¶
func (x *PttAck) ProtoReflect() protoreflect.Message
type PttKeyRequest ¶
type PttKeyRequest struct {
Method PttMethod `protobuf:"varint,1,opt,name=method,proto3,enum=graywolf.platform.PttMethod" json:"method,omitempty"`
HandleId string `protobuf:"bytes,2,opt,name=handle_id,json=handleId,proto3" json:"handle_id,omitempty"`
// contains filtered or unexported fields
}
func (*PttKeyRequest) Descriptor
deprecated
func (*PttKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use PttKeyRequest.ProtoReflect.Descriptor instead.
func (*PttKeyRequest) GetHandleId ¶
func (x *PttKeyRequest) GetHandleId() string
func (*PttKeyRequest) GetMethod ¶
func (x *PttKeyRequest) GetMethod() PttMethod
func (*PttKeyRequest) ProtoMessage ¶
func (*PttKeyRequest) ProtoMessage()
func (*PttKeyRequest) ProtoReflect ¶
func (x *PttKeyRequest) ProtoReflect() protoreflect.Message
func (*PttKeyRequest) Reset ¶
func (x *PttKeyRequest) Reset()
func (*PttKeyRequest) String ¶
func (x *PttKeyRequest) String() string
type PttMethod ¶
type PttMethod int32
func (PttMethod) Descriptor ¶
func (PttMethod) Descriptor() protoreflect.EnumDescriptor
func (PttMethod) EnumDescriptor
deprecated
func (PttMethod) Number ¶
func (x PttMethod) Number() protoreflect.EnumNumber
func (PttMethod) Type ¶
func (PttMethod) Type() protoreflect.EnumType
type PttUnkeyRequest ¶
type PttUnkeyRequest struct {
Method PttMethod `protobuf:"varint,1,opt,name=method,proto3,enum=graywolf.platform.PttMethod" json:"method,omitempty"`
HandleId string `protobuf:"bytes,2,opt,name=handle_id,json=handleId,proto3" json:"handle_id,omitempty"`
// contains filtered or unexported fields
}
func (*PttUnkeyRequest) Descriptor
deprecated
func (*PttUnkeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use PttUnkeyRequest.ProtoReflect.Descriptor instead.
func (*PttUnkeyRequest) GetHandleId ¶
func (x *PttUnkeyRequest) GetHandleId() string
func (*PttUnkeyRequest) GetMethod ¶
func (x *PttUnkeyRequest) GetMethod() PttMethod
func (*PttUnkeyRequest) ProtoMessage ¶
func (*PttUnkeyRequest) ProtoMessage()
func (*PttUnkeyRequest) ProtoReflect ¶
func (x *PttUnkeyRequest) ProtoReflect() protoreflect.Message
func (*PttUnkeyRequest) Reset ¶
func (x *PttUnkeyRequest) Reset()
func (*PttUnkeyRequest) String ¶
func (x *PttUnkeyRequest) String() string
type SatInfo ¶ added in v0.13.6
type SatInfo struct {
Svid uint32 `protobuf:"varint,1,opt,name=svid,proto3" json:"svid,omitempty"` // satellite vehicle id
Constellation string `protobuf:"bytes,2,opt,name=constellation,proto3" json:"constellation,omitempty"` // "GPS" / "GLONASS" / "BEIDOU" / "GALILEO" / "QZSS" / "SBAS"
Cn0Dbhz float64 `protobuf:"fixed64,3,opt,name=cn0_dbhz,json=cn0Dbhz,proto3" json:"cn0_dbhz,omitempty"` // signal strength
UsedInFix bool `protobuf:"varint,4,opt,name=used_in_fix,json=usedInFix,proto3" json:"used_in_fix,omitempty"`
ElevationDeg float64 `protobuf:"fixed64,5,opt,name=elevation_deg,json=elevationDeg,proto3" json:"elevation_deg,omitempty"`
AzimuthDeg float64 `protobuf:"fixed64,6,opt,name=azimuth_deg,json=azimuthDeg,proto3" json:"azimuth_deg,omitempty"`
// contains filtered or unexported fields
}
func (*SatInfo) Descriptor
deprecated
added in
v0.13.6
func (*SatInfo) GetAzimuthDeg ¶ added in v0.13.6
func (*SatInfo) GetCn0Dbhz ¶ added in v0.13.6
func (*SatInfo) GetConstellation ¶ added in v0.13.6
func (*SatInfo) GetElevationDeg ¶ added in v0.13.6
func (*SatInfo) GetUsedInFix ¶ added in v0.13.6
func (*SatInfo) ProtoMessage ¶ added in v0.13.6
func (*SatInfo) ProtoMessage()
func (*SatInfo) ProtoReflect ¶ added in v0.13.6
func (x *SatInfo) ProtoReflect() protoreflect.Message
type SerialClose ¶ added in v0.13.6
type SerialClose struct {
Handle uint32 `protobuf:"varint,1,opt,name=handle,proto3" json:"handle,omitempty"`
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
func (*SerialClose) Descriptor
deprecated
added in
v0.13.6
func (*SerialClose) Descriptor() ([]byte, []int)
Deprecated: Use SerialClose.ProtoReflect.Descriptor instead.
func (*SerialClose) GetHandle ¶ added in v0.13.6
func (x *SerialClose) GetHandle() uint32
func (*SerialClose) GetReason ¶ added in v0.13.6
func (x *SerialClose) GetReason() string
func (*SerialClose) ProtoMessage ¶ added in v0.13.6
func (*SerialClose) ProtoMessage()
func (*SerialClose) ProtoReflect ¶ added in v0.13.6
func (x *SerialClose) ProtoReflect() protoreflect.Message
func (*SerialClose) Reset ¶ added in v0.13.6
func (x *SerialClose) Reset()
func (*SerialClose) String ¶ added in v0.13.6
func (x *SerialClose) String() string
type SerialData ¶ added in v0.13.6
type SerialData struct {
Handle uint32 `protobuf:"varint,1,opt,name=handle,proto3" json:"handle,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*SerialData) Descriptor
deprecated
added in
v0.13.6
func (*SerialData) Descriptor() ([]byte, []int)
Deprecated: Use SerialData.ProtoReflect.Descriptor instead.
func (*SerialData) GetData ¶ added in v0.13.6
func (x *SerialData) GetData() []byte
func (*SerialData) GetHandle ¶ added in v0.13.6
func (x *SerialData) GetHandle() uint32
func (*SerialData) ProtoMessage ¶ added in v0.13.6
func (*SerialData) ProtoMessage()
func (*SerialData) ProtoReflect ¶ added in v0.13.6
func (x *SerialData) ProtoReflect() protoreflect.Message
func (*SerialData) Reset ¶ added in v0.13.6
func (x *SerialData) Reset()
func (*SerialData) String ¶ added in v0.13.6
func (x *SerialData) String() string
type SerialError ¶ added in v0.13.6
type SerialError struct {
Handle uint32 `protobuf:"varint,1,opt,name=handle,proto3" json:"handle,omitempty"`
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // bond_lost | permission_denied | rfcomm_closed | io_error | not_bonded
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
// contains filtered or unexported fields
}
func (*SerialError) Descriptor
deprecated
added in
v0.13.6
func (*SerialError) Descriptor() ([]byte, []int)
Deprecated: Use SerialError.ProtoReflect.Descriptor instead.
func (*SerialError) GetCode ¶ added in v0.13.6
func (x *SerialError) GetCode() string
func (*SerialError) GetDetail ¶ added in v0.13.6
func (x *SerialError) GetDetail() string
func (*SerialError) GetHandle ¶ added in v0.13.6
func (x *SerialError) GetHandle() uint32
func (*SerialError) ProtoMessage ¶ added in v0.13.6
func (*SerialError) ProtoMessage()
func (*SerialError) ProtoReflect ¶ added in v0.13.6
func (x *SerialError) ProtoReflect() protoreflect.Message
func (*SerialError) Reset ¶ added in v0.13.6
func (x *SerialError) Reset()
func (*SerialError) String ¶ added in v0.13.6
func (x *SerialError) String() string
type SerialKind ¶ added in v0.13.6
type SerialKind int32
SerialKind classifies a transport-agnostic byte stream the platform service is asked to open.
const ( SerialKind_SERIAL_KIND_UNSPECIFIED SerialKind = 0 SerialKind_SERIAL_KIND_BLUETOOTH SerialKind = 1 SerialKind_SERIAL_KIND_USB SerialKind = 2 )
func (SerialKind) Descriptor ¶ added in v0.13.6
func (SerialKind) Descriptor() protoreflect.EnumDescriptor
func (SerialKind) Enum ¶ added in v0.13.6
func (x SerialKind) Enum() *SerialKind
func (SerialKind) EnumDescriptor
deprecated
added in
v0.13.6
func (SerialKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use SerialKind.Descriptor instead.
func (SerialKind) Number ¶ added in v0.13.6
func (x SerialKind) Number() protoreflect.EnumNumber
func (SerialKind) String ¶ added in v0.13.6
func (x SerialKind) String() string
func (SerialKind) Type ¶ added in v0.13.6
func (SerialKind) Type() protoreflect.EnumType
type SerialOpen ¶ added in v0.13.6
type SerialOpen struct {
Handle uint32 `protobuf:"varint,1,opt,name=handle,proto3" json:"handle,omitempty"`
Kind SerialKind `protobuf:"varint,2,opt,name=kind,proto3,enum=graywolf.platform.SerialKind" json:"kind,omitempty"`
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // bluetooth: MAC ("AA:BB:CC:DD:EE:FF"); usb: "vid:pid" hex ("2341:0043")
Baud uint32 `protobuf:"varint,4,opt,name=baud,proto3" json:"baud,omitempty"` // usb: line speed (required); ignored by bluetooth
// contains filtered or unexported fields
}
func (*SerialOpen) Descriptor
deprecated
added in
v0.13.6
func (*SerialOpen) Descriptor() ([]byte, []int)
Deprecated: Use SerialOpen.ProtoReflect.Descriptor instead.
func (*SerialOpen) GetAddress ¶ added in v0.13.6
func (x *SerialOpen) GetAddress() string
func (*SerialOpen) GetBaud ¶ added in v0.13.9
func (x *SerialOpen) GetBaud() uint32
func (*SerialOpen) GetHandle ¶ added in v0.13.6
func (x *SerialOpen) GetHandle() uint32
func (*SerialOpen) GetKind ¶ added in v0.13.6
func (x *SerialOpen) GetKind() SerialKind
func (*SerialOpen) ProtoMessage ¶ added in v0.13.6
func (*SerialOpen) ProtoMessage()
func (*SerialOpen) ProtoReflect ¶ added in v0.13.6
func (x *SerialOpen) ProtoReflect() protoreflect.Message
func (*SerialOpen) Reset ¶ added in v0.13.6
func (x *SerialOpen) Reset()
func (*SerialOpen) String ¶ added in v0.13.6
func (x *SerialOpen) String() string
type SerialOpenAck ¶ added in v0.13.6
type SerialOpenAck struct {
Handle uint32 `protobuf:"varint,1,opt,name=handle,proto3" json:"handle,omitempty"`
Ok bool `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*SerialOpenAck) Descriptor
deprecated
added in
v0.13.6
func (*SerialOpenAck) Descriptor() ([]byte, []int)
Deprecated: Use SerialOpenAck.ProtoReflect.Descriptor instead.
func (*SerialOpenAck) GetError ¶ added in v0.13.6
func (x *SerialOpenAck) GetError() string
func (*SerialOpenAck) GetHandle ¶ added in v0.13.6
func (x *SerialOpenAck) GetHandle() uint32
func (*SerialOpenAck) GetOk ¶ added in v0.13.6
func (x *SerialOpenAck) GetOk() bool
func (*SerialOpenAck) ProtoMessage ¶ added in v0.13.6
func (*SerialOpenAck) ProtoMessage()
func (*SerialOpenAck) ProtoReflect ¶ added in v0.13.6
func (x *SerialOpenAck) ProtoReflect() protoreflect.Message
func (*SerialOpenAck) Reset ¶ added in v0.13.6
func (x *SerialOpenAck) Reset()
func (*SerialOpenAck) String ¶ added in v0.13.6
func (x *SerialOpenAck) String() string
type UsbAttach ¶
type UsbAttach struct {
Device *UsbDevice `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
// contains filtered or unexported fields
}
func (*UsbAttach) Descriptor
deprecated
func (*UsbAttach) ProtoMessage ¶
func (*UsbAttach) ProtoMessage()
func (*UsbAttach) ProtoReflect ¶
func (x *UsbAttach) ProtoReflect() protoreflect.Message
type UsbClass ¶
type UsbClass int32
func (UsbClass) Descriptor ¶
func (UsbClass) Descriptor() protoreflect.EnumDescriptor
func (UsbClass) EnumDescriptor
deprecated
func (UsbClass) Number ¶
func (x UsbClass) Number() protoreflect.EnumNumber
func (UsbClass) Type ¶
func (UsbClass) Type() protoreflect.EnumType
type UsbDetach ¶
type UsbDetach struct {
Vid uint32 `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"`
Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
DevicePath string `protobuf:"bytes,3,opt,name=device_path,json=devicePath,proto3" json:"device_path,omitempty"`
// contains filtered or unexported fields
}
func (*UsbDetach) Descriptor
deprecated
func (*UsbDetach) GetDevicePath ¶
func (*UsbDetach) ProtoMessage ¶
func (*UsbDetach) ProtoMessage()
func (*UsbDetach) ProtoReflect ¶
func (x *UsbDetach) ProtoReflect() protoreflect.Message
type UsbDevice ¶
type UsbDevice struct {
Vid uint32 `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"`
Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
Product string `protobuf:"bytes,3,opt,name=product,proto3" json:"product,omitempty"`
Manufacturer string `protobuf:"bytes,4,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
Serial string `protobuf:"bytes,5,opt,name=serial,proto3" json:"serial,omitempty"`
Classes []UsbClass `protobuf:"varint,6,rep,packed,name=classes,proto3,enum=graywolf.platform.UsbClass" json:"classes,omitempty"`
DevicePath string `protobuf:"bytes,7,opt,name=device_path,json=devicePath,proto3" json:"device_path,omitempty"`
// contains filtered or unexported fields
}
func (*UsbDevice) Descriptor
deprecated
func (*UsbDevice) GetClasses ¶
func (*UsbDevice) GetDevicePath ¶
func (*UsbDevice) GetManufacturer ¶
func (*UsbDevice) GetProduct ¶
func (*UsbDevice) ProtoMessage ¶
func (*UsbDevice) ProtoMessage()
func (*UsbDevice) ProtoReflect ¶
func (x *UsbDevice) ProtoReflect() protoreflect.Message
type UsbDeviceListRequest ¶
type UsbDeviceListRequest struct {
ClassFilter UsbClass `` // UNKNOWN = no filter
/* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UsbDeviceListRequest) Descriptor
deprecated
func (*UsbDeviceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use UsbDeviceListRequest.ProtoReflect.Descriptor instead.
func (*UsbDeviceListRequest) GetClassFilter ¶
func (x *UsbDeviceListRequest) GetClassFilter() UsbClass
func (*UsbDeviceListRequest) ProtoMessage ¶
func (*UsbDeviceListRequest) ProtoMessage()
func (*UsbDeviceListRequest) ProtoReflect ¶
func (x *UsbDeviceListRequest) ProtoReflect() protoreflect.Message
func (*UsbDeviceListRequest) Reset ¶
func (x *UsbDeviceListRequest) Reset()
func (*UsbDeviceListRequest) String ¶
func (x *UsbDeviceListRequest) String() string
type UsbDeviceListResponse ¶
type UsbDeviceListResponse struct {
Devices []*UsbDevice `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
// contains filtered or unexported fields
}
func (*UsbDeviceListResponse) Descriptor
deprecated
func (*UsbDeviceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use UsbDeviceListResponse.ProtoReflect.Descriptor instead.
func (*UsbDeviceListResponse) GetDevices ¶
func (x *UsbDeviceListResponse) GetDevices() []*UsbDevice
func (*UsbDeviceListResponse) ProtoMessage ¶
func (*UsbDeviceListResponse) ProtoMessage()
func (*UsbDeviceListResponse) ProtoReflect ¶
func (x *UsbDeviceListResponse) ProtoReflect() protoreflect.Message
func (*UsbDeviceListResponse) Reset ¶
func (x *UsbDeviceListResponse) Reset()
func (*UsbDeviceListResponse) String ¶
func (x *UsbDeviceListResponse) String() string
type UsbSelectRequest ¶
type UsbSelectRequest struct {
Vid uint32 `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"`
Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
// contains filtered or unexported fields
}
func (*UsbSelectRequest) Descriptor
deprecated
func (*UsbSelectRequest) Descriptor() ([]byte, []int)
Deprecated: Use UsbSelectRequest.ProtoReflect.Descriptor instead.
func (*UsbSelectRequest) GetPid ¶
func (x *UsbSelectRequest) GetPid() uint32
func (*UsbSelectRequest) GetVid ¶
func (x *UsbSelectRequest) GetVid() uint32
func (*UsbSelectRequest) ProtoMessage ¶
func (*UsbSelectRequest) ProtoMessage()
func (*UsbSelectRequest) ProtoReflect ¶
func (x *UsbSelectRequest) ProtoReflect() protoreflect.Message
func (*UsbSelectRequest) Reset ¶
func (x *UsbSelectRequest) Reset()
func (*UsbSelectRequest) String ¶
func (x *UsbSelectRequest) String() string
type UsbSelectResponse ¶
type UsbSelectResponse struct {
Granted bool `protobuf:"varint,1,opt,name=granted,proto3" json:"granted,omitempty"`
HandleId string `protobuf:"bytes,2,opt,name=handle_id,json=handleId,proto3" json:"handle_id,omitempty"` // opaque token used in subsequent PTT requests
ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// contains filtered or unexported fields
}
func (*UsbSelectResponse) Descriptor
deprecated
func (*UsbSelectResponse) Descriptor() ([]byte, []int)
Deprecated: Use UsbSelectResponse.ProtoReflect.Descriptor instead.
func (*UsbSelectResponse) GetErrorMessage ¶
func (x *UsbSelectResponse) GetErrorMessage() string
func (*UsbSelectResponse) GetGranted ¶
func (x *UsbSelectResponse) GetGranted() bool
func (*UsbSelectResponse) GetHandleId ¶
func (x *UsbSelectResponse) GetHandleId() string
func (*UsbSelectResponse) ProtoMessage ¶
func (*UsbSelectResponse) ProtoMessage()
func (*UsbSelectResponse) ProtoReflect ¶
func (x *UsbSelectResponse) ProtoReflect() protoreflect.Message
func (*UsbSelectResponse) Reset ¶
func (x *UsbSelectResponse) Reset()
func (*UsbSelectResponse) String ¶
func (x *UsbSelectResponse) String() string