Documentation
¶
Index ¶
- Constants
- Variables
- type AdminMessage
- func (x *AdminMessage) ClearBeginEditSettings()
- func (x *AdminMessage) ClearCommitEditSettings()
- func (x *AdminMessage) ClearDeleteFileRequest()
- func (x *AdminMessage) ClearEnterDfuModeRequest()
- func (x *AdminMessage) ClearExitSimulator()
- func (x *AdminMessage) ClearFactoryReset()
- func (x *AdminMessage) ClearGetCannedMessageModuleMessagesRequest()
- func (x *AdminMessage) ClearGetCannedMessageModuleMessagesResponse()
- func (x *AdminMessage) ClearGetChannelRequest()
- func (x *AdminMessage) ClearGetChannelResponse()
- func (x *AdminMessage) ClearGetConfigRequest()
- func (x *AdminMessage) ClearGetConfigResponse()
- func (x *AdminMessage) ClearGetDeviceConnectionStatusRequest()
- func (x *AdminMessage) ClearGetDeviceConnectionStatusResponse()
- func (x *AdminMessage) ClearGetDeviceMetadataRequest()
- func (x *AdminMessage) ClearGetDeviceMetadataResponse()
- func (x *AdminMessage) ClearGetModuleConfigRequest()
- func (x *AdminMessage) ClearGetModuleConfigResponse()
- func (x *AdminMessage) ClearGetNodeRemoteHardwarePinsRequest()
- func (x *AdminMessage) ClearGetNodeRemoteHardwarePinsResponse()
- func (x *AdminMessage) ClearGetOwnerRequest()
- func (x *AdminMessage) ClearGetOwnerResponse()
- func (x *AdminMessage) ClearGetRingtoneRequest()
- func (x *AdminMessage) ClearGetRingtoneResponse()
- func (x *AdminMessage) ClearNodedbReset()
- func (x *AdminMessage) ClearPayloadVariant()
- func (x *AdminMessage) ClearRebootOtaSeconds()
- func (x *AdminMessage) ClearRebootSeconds()
- func (x *AdminMessage) ClearRemoveByNodenum()
- func (x *AdminMessage) ClearSetCannedMessageModuleMessages()
- func (x *AdminMessage) ClearSetChannel()
- func (x *AdminMessage) ClearSetConfig()
- func (x *AdminMessage) ClearSetHamMode()
- func (x *AdminMessage) ClearSetModuleConfig()
- func (x *AdminMessage) ClearSetOwner()
- func (x *AdminMessage) ClearSetRingtoneMessage()
- func (x *AdminMessage) ClearShutdownSeconds()
- func (x *AdminMessage) GetBeginEditSettings() bool
- func (x *AdminMessage) GetCommitEditSettings() bool
- func (x *AdminMessage) GetDeleteFileRequest() string
- func (x *AdminMessage) GetEnterDfuModeRequest() bool
- func (x *AdminMessage) GetExitSimulator() bool
- func (x *AdminMessage) GetFactoryReset() int32
- func (x *AdminMessage) GetGetCannedMessageModuleMessagesRequest() bool
- func (x *AdminMessage) GetGetCannedMessageModuleMessagesResponse() string
- func (x *AdminMessage) GetGetChannelRequest() uint32
- func (x *AdminMessage) GetGetChannelResponse() *Channel
- func (x *AdminMessage) GetGetConfigRequest() AdminMessage_ConfigType
- func (x *AdminMessage) GetGetConfigResponse() *Config
- func (x *AdminMessage) GetGetDeviceConnectionStatusRequest() bool
- func (x *AdminMessage) GetGetDeviceConnectionStatusResponse() *DeviceConnectionStatus
- func (x *AdminMessage) GetGetDeviceMetadataRequest() bool
- func (x *AdminMessage) GetGetDeviceMetadataResponse() *DeviceMetadata
- func (x *AdminMessage) GetGetModuleConfigRequest() AdminMessage_ModuleConfigType
- func (x *AdminMessage) GetGetModuleConfigResponse() *ModuleConfig
- func (x *AdminMessage) GetGetNodeRemoteHardwarePinsRequest() bool
- func (x *AdminMessage) GetGetNodeRemoteHardwarePinsResponse() *NodeRemoteHardwarePinsResponse
- func (x *AdminMessage) GetGetOwnerRequest() bool
- func (x *AdminMessage) GetGetOwnerResponse() *User
- func (x *AdminMessage) GetGetRingtoneRequest() bool
- func (x *AdminMessage) GetGetRingtoneResponse() string
- func (x *AdminMessage) GetNodedbReset() int32
- func (x *AdminMessage) GetPayloadVariant() isAdminMessage_PayloadVariant
- func (x *AdminMessage) GetRebootOtaSeconds() int32
- func (x *AdminMessage) GetRebootSeconds() int32
- func (x *AdminMessage) GetRemoveByNodenum() uint32
- func (x *AdminMessage) GetSetCannedMessageModuleMessages() string
- func (x *AdminMessage) GetSetChannel() *Channel
- func (x *AdminMessage) GetSetConfig() *Config
- func (x *AdminMessage) GetSetHamMode() *HamParameters
- func (x *AdminMessage) GetSetModuleConfig() *ModuleConfig
- func (x *AdminMessage) GetSetOwner() *User
- func (x *AdminMessage) GetSetRingtoneMessage() string
- func (x *AdminMessage) GetShutdownSeconds() int32
- func (x *AdminMessage) HasBeginEditSettings() bool
- func (x *AdminMessage) HasCommitEditSettings() bool
- func (x *AdminMessage) HasDeleteFileRequest() bool
- func (x *AdminMessage) HasEnterDfuModeRequest() bool
- func (x *AdminMessage) HasExitSimulator() bool
- func (x *AdminMessage) HasFactoryReset() bool
- func (x *AdminMessage) HasGetCannedMessageModuleMessagesRequest() bool
- func (x *AdminMessage) HasGetCannedMessageModuleMessagesResponse() bool
- func (x *AdminMessage) HasGetChannelRequest() bool
- func (x *AdminMessage) HasGetChannelResponse() bool
- func (x *AdminMessage) HasGetConfigRequest() bool
- func (x *AdminMessage) HasGetConfigResponse() bool
- func (x *AdminMessage) HasGetDeviceConnectionStatusRequest() bool
- func (x *AdminMessage) HasGetDeviceConnectionStatusResponse() bool
- func (x *AdminMessage) HasGetDeviceMetadataRequest() bool
- func (x *AdminMessage) HasGetDeviceMetadataResponse() bool
- func (x *AdminMessage) HasGetModuleConfigRequest() bool
- func (x *AdminMessage) HasGetModuleConfigResponse() bool
- func (x *AdminMessage) HasGetNodeRemoteHardwarePinsRequest() bool
- func (x *AdminMessage) HasGetNodeRemoteHardwarePinsResponse() bool
- func (x *AdminMessage) HasGetOwnerRequest() bool
- func (x *AdminMessage) HasGetOwnerResponse() bool
- func (x *AdminMessage) HasGetRingtoneRequest() bool
- func (x *AdminMessage) HasGetRingtoneResponse() bool
- func (x *AdminMessage) HasNodedbReset() bool
- func (x *AdminMessage) HasPayloadVariant() bool
- func (x *AdminMessage) HasRebootOtaSeconds() bool
- func (x *AdminMessage) HasRebootSeconds() bool
- func (x *AdminMessage) HasRemoveByNodenum() bool
- func (x *AdminMessage) HasSetCannedMessageModuleMessages() bool
- func (x *AdminMessage) HasSetChannel() bool
- func (x *AdminMessage) HasSetConfig() bool
- func (x *AdminMessage) HasSetHamMode() bool
- func (x *AdminMessage) HasSetModuleConfig() bool
- func (x *AdminMessage) HasSetOwner() bool
- func (x *AdminMessage) HasSetRingtoneMessage() bool
- func (x *AdminMessage) HasShutdownSeconds() bool
- func (*AdminMessage) ProtoMessage()
- func (x *AdminMessage) ProtoReflect() protoreflect.Message
- func (x *AdminMessage) Reset()
- func (x *AdminMessage) SetBeginEditSettings(v bool)
- func (x *AdminMessage) SetCommitEditSettings(v bool)
- func (x *AdminMessage) SetDeleteFileRequest(v string)
- func (x *AdminMessage) SetEnterDfuModeRequest(v bool)
- func (x *AdminMessage) SetExitSimulator(v bool)
- func (x *AdminMessage) SetFactoryReset(v int32)
- func (x *AdminMessage) SetGetCannedMessageModuleMessagesRequest(v bool)
- func (x *AdminMessage) SetGetCannedMessageModuleMessagesResponse(v string)
- func (x *AdminMessage) SetGetChannelRequest(v uint32)
- func (x *AdminMessage) SetGetChannelResponse(v *Channel)
- func (x *AdminMessage) SetGetConfigRequest(v AdminMessage_ConfigType)
- func (x *AdminMessage) SetGetConfigResponse(v *Config)
- func (x *AdminMessage) SetGetDeviceConnectionStatusRequest(v bool)
- func (x *AdminMessage) SetGetDeviceConnectionStatusResponse(v *DeviceConnectionStatus)
- func (x *AdminMessage) SetGetDeviceMetadataRequest(v bool)
- func (x *AdminMessage) SetGetDeviceMetadataResponse(v *DeviceMetadata)
- func (x *AdminMessage) SetGetModuleConfigRequest(v AdminMessage_ModuleConfigType)
- func (x *AdminMessage) SetGetModuleConfigResponse(v *ModuleConfig)
- func (x *AdminMessage) SetGetNodeRemoteHardwarePinsRequest(v bool)
- func (x *AdminMessage) SetGetNodeRemoteHardwarePinsResponse(v *NodeRemoteHardwarePinsResponse)
- func (x *AdminMessage) SetGetOwnerRequest(v bool)
- func (x *AdminMessage) SetGetOwnerResponse(v *User)
- func (x *AdminMessage) SetGetRingtoneRequest(v bool)
- func (x *AdminMessage) SetGetRingtoneResponse(v string)
- func (x *AdminMessage) SetNodedbReset(v int32)
- func (x *AdminMessage) SetRebootOtaSeconds(v int32)
- func (x *AdminMessage) SetRebootSeconds(v int32)
- func (x *AdminMessage) SetRemoveByNodenum(v uint32)
- func (x *AdminMessage) SetSetCannedMessageModuleMessages(v string)
- func (x *AdminMessage) SetSetChannel(v *Channel)
- func (x *AdminMessage) SetSetConfig(v *Config)
- func (x *AdminMessage) SetSetHamMode(v *HamParameters)
- func (x *AdminMessage) SetSetModuleConfig(v *ModuleConfig)
- func (x *AdminMessage) SetSetOwner(v *User)
- func (x *AdminMessage) SetSetRingtoneMessage(v string)
- func (x *AdminMessage) SetShutdownSeconds(v int32)
- func (x *AdminMessage) String() string
- func (x *AdminMessage) WhichPayloadVariant() case_AdminMessage_PayloadVariant
- type AdminMessage_BeginEditSettings
- type AdminMessage_CommitEditSettings
- type AdminMessage_ConfigType
- func (AdminMessage_ConfigType) Descriptor() protoreflect.EnumDescriptor
- func (x AdminMessage_ConfigType) Enum() *AdminMessage_ConfigType
- func (x AdminMessage_ConfigType) Number() protoreflect.EnumNumber
- func (x AdminMessage_ConfigType) String() string
- func (AdminMessage_ConfigType) Type() protoreflect.EnumType
- type AdminMessage_DeleteFileRequest
- type AdminMessage_EnterDfuModeRequest
- type AdminMessage_ExitSimulator
- type AdminMessage_FactoryReset
- type AdminMessage_GetCannedMessageModuleMessagesRequest
- type AdminMessage_GetCannedMessageModuleMessagesResponse
- type AdminMessage_GetChannelRequest
- type AdminMessage_GetChannelResponse
- type AdminMessage_GetConfigRequest
- type AdminMessage_GetConfigResponse
- type AdminMessage_GetDeviceConnectionStatusRequest
- type AdminMessage_GetDeviceConnectionStatusResponse
- type AdminMessage_GetDeviceMetadataRequest
- type AdminMessage_GetDeviceMetadataResponse
- type AdminMessage_GetModuleConfigRequest
- type AdminMessage_GetModuleConfigResponse
- type AdminMessage_GetNodeRemoteHardwarePinsRequest
- type AdminMessage_GetNodeRemoteHardwarePinsResponse
- type AdminMessage_GetOwnerRequest
- type AdminMessage_GetOwnerResponse
- type AdminMessage_GetRingtoneRequest
- type AdminMessage_GetRingtoneResponse
- type AdminMessage_ModuleConfigType
- func (AdminMessage_ModuleConfigType) Descriptor() protoreflect.EnumDescriptor
- func (x AdminMessage_ModuleConfigType) Enum() *AdminMessage_ModuleConfigType
- func (x AdminMessage_ModuleConfigType) Number() protoreflect.EnumNumber
- func (x AdminMessage_ModuleConfigType) String() string
- func (AdminMessage_ModuleConfigType) Type() protoreflect.EnumType
- type AdminMessage_NodedbReset
- type AdminMessage_RebootOtaSeconds
- type AdminMessage_RebootSeconds
- type AdminMessage_RemoveByNodenum
- type AdminMessage_SetCannedMessageModuleMessages
- type AdminMessage_SetChannel
- type AdminMessage_SetConfig
- type AdminMessage_SetHamMode
- type AdminMessage_SetModuleConfig
- type AdminMessage_SetOwner
- type AdminMessage_SetRingtoneMessage
- type AdminMessage_ShutdownSeconds
- type AdminMessage_builder
- type AirQualityMetrics
- func (x *AirQualityMetrics) GetParticles_03Um() uint32
- func (x *AirQualityMetrics) GetParticles_05Um() uint32
- func (x *AirQualityMetrics) GetParticles_10Um() uint32
- func (x *AirQualityMetrics) GetParticles_25Um() uint32
- func (x *AirQualityMetrics) GetParticles_50Um() uint32
- func (x *AirQualityMetrics) GetParticles_100Um() uint32
- func (x *AirQualityMetrics) GetPm10Environmental() uint32
- func (x *AirQualityMetrics) GetPm10Standard() uint32
- func (x *AirQualityMetrics) GetPm25Environmental() uint32
- func (x *AirQualityMetrics) GetPm25Standard() uint32
- func (x *AirQualityMetrics) GetPm100Environmental() uint32
- func (x *AirQualityMetrics) GetPm100Standard() uint32
- func (*AirQualityMetrics) ProtoMessage()
- func (x *AirQualityMetrics) ProtoReflect() protoreflect.Message
- func (x *AirQualityMetrics) Reset()
- func (x *AirQualityMetrics) SetParticles_03Um(v uint32)
- func (x *AirQualityMetrics) SetParticles_05Um(v uint32)
- func (x *AirQualityMetrics) SetParticles_10Um(v uint32)
- func (x *AirQualityMetrics) SetParticles_25Um(v uint32)
- func (x *AirQualityMetrics) SetParticles_50Um(v uint32)
- func (x *AirQualityMetrics) SetParticles_100Um(v uint32)
- func (x *AirQualityMetrics) SetPm10Environmental(v uint32)
- func (x *AirQualityMetrics) SetPm10Standard(v uint32)
- func (x *AirQualityMetrics) SetPm25Environmental(v uint32)
- func (x *AirQualityMetrics) SetPm25Standard(v uint32)
- func (x *AirQualityMetrics) SetPm100Environmental(v uint32)
- func (x *AirQualityMetrics) SetPm100Standard(v uint32)
- func (x *AirQualityMetrics) String() string
- type AirQualityMetrics_builder
- type BluetoothConnectionStatus
- func (x *BluetoothConnectionStatus) GetIsConnected() bool
- func (x *BluetoothConnectionStatus) GetPin() uint32
- func (x *BluetoothConnectionStatus) GetRssi() int32
- func (*BluetoothConnectionStatus) ProtoMessage()
- func (x *BluetoothConnectionStatus) ProtoReflect() protoreflect.Message
- func (x *BluetoothConnectionStatus) Reset()
- func (x *BluetoothConnectionStatus) SetIsConnected(v bool)
- func (x *BluetoothConnectionStatus) SetPin(v uint32)
- func (x *BluetoothConnectionStatus) SetRssi(v int32)
- func (x *BluetoothConnectionStatus) String() string
- type BluetoothConnectionStatus_builder
- type CannedMessageModuleConfig
- func (x *CannedMessageModuleConfig) GetMessages() string
- func (*CannedMessageModuleConfig) ProtoMessage()
- func (x *CannedMessageModuleConfig) ProtoReflect() protoreflect.Message
- func (x *CannedMessageModuleConfig) Reset()
- func (x *CannedMessageModuleConfig) SetMessages(v string)
- func (x *CannedMessageModuleConfig) String() string
- type CannedMessageModuleConfig_builder
- type Channel
- func (x *Channel) ClearSettings()
- func (x *Channel) GetIndex() int32
- func (x *Channel) GetRole() Channel_Role
- func (x *Channel) GetSettings() *ChannelSettings
- func (x *Channel) HasSettings() bool
- func (*Channel) ProtoMessage()
- func (x *Channel) ProtoReflect() protoreflect.Message
- func (x *Channel) Reset()
- func (x *Channel) SetIndex(v int32)
- func (x *Channel) SetRole(v Channel_Role)
- func (x *Channel) SetSettings(v *ChannelSettings)
- func (x *Channel) String() string
- type ChannelFile
- func (x *ChannelFile) GetChannels() []*Channel
- func (x *ChannelFile) GetVersion() uint32
- func (*ChannelFile) ProtoMessage()
- func (x *ChannelFile) ProtoReflect() protoreflect.Message
- func (x *ChannelFile) Reset()
- func (x *ChannelFile) SetChannels(v []*Channel)
- func (x *ChannelFile) SetVersion(v uint32)
- func (x *ChannelFile) String() string
- type ChannelFile_builder
- type ChannelSet
- func (x *ChannelSet) ClearLoraConfig()
- func (x *ChannelSet) GetLoraConfig() *Config_LoRaConfig
- func (x *ChannelSet) GetSettings() []*ChannelSettings
- func (x *ChannelSet) HasLoraConfig() bool
- func (*ChannelSet) ProtoMessage()
- func (x *ChannelSet) ProtoReflect() protoreflect.Message
- func (x *ChannelSet) Reset()
- func (x *ChannelSet) SetLoraConfig(v *Config_LoRaConfig)
- func (x *ChannelSet) SetSettings(v []*ChannelSettings)
- func (x *ChannelSet) String() string
- type ChannelSet_builder
- type ChannelSettings
- func (x *ChannelSettings) GetChannelNum() uint32deprecated
- func (x *ChannelSettings) GetDownlinkEnabled() bool
- func (x *ChannelSettings) GetId() uint32
- func (x *ChannelSettings) GetName() string
- func (x *ChannelSettings) GetPsk() []byte
- func (x *ChannelSettings) GetUplinkEnabled() bool
- func (*ChannelSettings) ProtoMessage()
- func (x *ChannelSettings) ProtoReflect() protoreflect.Message
- func (x *ChannelSettings) Reset()
- func (x *ChannelSettings) SetChannelNum(v uint32)deprecated
- func (x *ChannelSettings) SetDownlinkEnabled(v bool)
- func (x *ChannelSettings) SetId(v uint32)
- func (x *ChannelSettings) SetName(v string)
- func (x *ChannelSettings) SetPsk(v []byte)
- func (x *ChannelSettings) SetUplinkEnabled(v bool)
- func (x *ChannelSettings) String() string
- type ChannelSettings_builder
- type Channel_Role
- type Channel_builder
- type Compressed
- func (x *Compressed) GetData() []byte
- func (x *Compressed) GetPortnum() PortNum
- func (*Compressed) ProtoMessage()
- func (x *Compressed) ProtoReflect() protoreflect.Message
- func (x *Compressed) Reset()
- func (x *Compressed) SetData(v []byte)
- func (x *Compressed) SetPortnum(v PortNum)
- func (x *Compressed) String() string
- type Compressed_builder
- type Config
- func (x *Config) ClearBluetooth()
- func (x *Config) ClearDevice()
- func (x *Config) ClearDisplay()
- func (x *Config) ClearLora()
- func (x *Config) ClearNetwork()
- func (x *Config) ClearPayloadVariant()
- func (x *Config) ClearPosition()
- func (x *Config) ClearPower()
- func (x *Config) GetBluetooth() *Config_BluetoothConfig
- func (x *Config) GetDevice() *Config_DeviceConfig
- func (x *Config) GetDisplay() *Config_DisplayConfig
- func (x *Config) GetLora() *Config_LoRaConfig
- func (x *Config) GetNetwork() *Config_NetworkConfig
- func (x *Config) GetPayloadVariant() isConfig_PayloadVariant
- func (x *Config) GetPosition() *Config_PositionConfig
- func (x *Config) GetPower() *Config_PowerConfig
- func (x *Config) HasBluetooth() bool
- func (x *Config) HasDevice() bool
- func (x *Config) HasDisplay() bool
- func (x *Config) HasLora() bool
- func (x *Config) HasNetwork() bool
- func (x *Config) HasPayloadVariant() bool
- func (x *Config) HasPosition() bool
- func (x *Config) HasPower() bool
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) SetBluetooth(v *Config_BluetoothConfig)
- func (x *Config) SetDevice(v *Config_DeviceConfig)
- func (x *Config) SetDisplay(v *Config_DisplayConfig)
- func (x *Config) SetLora(v *Config_LoRaConfig)
- func (x *Config) SetNetwork(v *Config_NetworkConfig)
- func (x *Config) SetPosition(v *Config_PositionConfig)
- func (x *Config) SetPower(v *Config_PowerConfig)
- func (x *Config) String() string
- func (x *Config) WhichPayloadVariant() case_Config_PayloadVariant
- type Config_Bluetooth
- type Config_BluetoothConfig
- func (x *Config_BluetoothConfig) GetEnabled() bool
- func (x *Config_BluetoothConfig) GetFixedPin() uint32
- func (x *Config_BluetoothConfig) GetMode() Config_BluetoothConfig_PairingMode
- func (*Config_BluetoothConfig) ProtoMessage()
- func (x *Config_BluetoothConfig) ProtoReflect() protoreflect.Message
- func (x *Config_BluetoothConfig) Reset()
- func (x *Config_BluetoothConfig) SetEnabled(v bool)
- func (x *Config_BluetoothConfig) SetFixedPin(v uint32)
- func (x *Config_BluetoothConfig) SetMode(v Config_BluetoothConfig_PairingMode)
- func (x *Config_BluetoothConfig) String() string
- type Config_BluetoothConfig_PairingMode
- func (Config_BluetoothConfig_PairingMode) Descriptor() protoreflect.EnumDescriptor
- func (x Config_BluetoothConfig_PairingMode) Enum() *Config_BluetoothConfig_PairingMode
- func (x Config_BluetoothConfig_PairingMode) Number() protoreflect.EnumNumber
- func (x Config_BluetoothConfig_PairingMode) String() string
- func (Config_BluetoothConfig_PairingMode) Type() protoreflect.EnumType
- type Config_BluetoothConfig_builder
- type Config_Device
- type Config_DeviceConfig
- func (x *Config_DeviceConfig) GetButtonGpio() uint32
- func (x *Config_DeviceConfig) GetBuzzerGpio() uint32
- func (x *Config_DeviceConfig) GetDebugLogEnabled() bool
- func (x *Config_DeviceConfig) GetDisableTripleClick() bool
- func (x *Config_DeviceConfig) GetDoubleTapAsButtonPress() bool
- func (x *Config_DeviceConfig) GetIsManaged() bool
- func (x *Config_DeviceConfig) GetNodeInfoBroadcastSecs() uint32
- func (x *Config_DeviceConfig) GetRebroadcastMode() Config_DeviceConfig_RebroadcastMode
- func (x *Config_DeviceConfig) GetRole() Config_DeviceConfig_Role
- func (x *Config_DeviceConfig) GetSerialEnabled() bool
- func (*Config_DeviceConfig) ProtoMessage()
- func (x *Config_DeviceConfig) ProtoReflect() protoreflect.Message
- func (x *Config_DeviceConfig) Reset()
- func (x *Config_DeviceConfig) SetButtonGpio(v uint32)
- func (x *Config_DeviceConfig) SetBuzzerGpio(v uint32)
- func (x *Config_DeviceConfig) SetDebugLogEnabled(v bool)
- func (x *Config_DeviceConfig) SetDisableTripleClick(v bool)
- func (x *Config_DeviceConfig) SetDoubleTapAsButtonPress(v bool)
- func (x *Config_DeviceConfig) SetIsManaged(v bool)
- func (x *Config_DeviceConfig) SetNodeInfoBroadcastSecs(v uint32)
- func (x *Config_DeviceConfig) SetRebroadcastMode(v Config_DeviceConfig_RebroadcastMode)
- func (x *Config_DeviceConfig) SetRole(v Config_DeviceConfig_Role)
- func (x *Config_DeviceConfig) SetSerialEnabled(v bool)
- func (x *Config_DeviceConfig) String() string
- type Config_DeviceConfig_RebroadcastMode
- func (Config_DeviceConfig_RebroadcastMode) Descriptor() protoreflect.EnumDescriptor
- func (x Config_DeviceConfig_RebroadcastMode) Enum() *Config_DeviceConfig_RebroadcastMode
- func (x Config_DeviceConfig_RebroadcastMode) Number() protoreflect.EnumNumber
- func (x Config_DeviceConfig_RebroadcastMode) String() string
- func (Config_DeviceConfig_RebroadcastMode) Type() protoreflect.EnumType
- type Config_DeviceConfig_Role
- func (Config_DeviceConfig_Role) Descriptor() protoreflect.EnumDescriptor
- func (x Config_DeviceConfig_Role) Enum() *Config_DeviceConfig_Role
- func (x Config_DeviceConfig_Role) Number() protoreflect.EnumNumber
- func (x Config_DeviceConfig_Role) String() string
- func (Config_DeviceConfig_Role) Type() protoreflect.EnumType
- type Config_DeviceConfig_builder
- type Config_Display
- type Config_DisplayConfig
- func (x *Config_DisplayConfig) GetAutoScreenCarouselSecs() uint32
- func (x *Config_DisplayConfig) GetCompassNorthTop() bool
- func (x *Config_DisplayConfig) GetDisplaymode() Config_DisplayConfig_DisplayMode
- func (x *Config_DisplayConfig) GetFlipScreen() bool
- func (x *Config_DisplayConfig) GetGpsFormat() Config_DisplayConfig_GpsCoordinateFormat
- func (x *Config_DisplayConfig) GetHeadingBold() bool
- func (x *Config_DisplayConfig) GetOled() Config_DisplayConfig_OledType
- func (x *Config_DisplayConfig) GetScreenOnSecs() uint32
- func (x *Config_DisplayConfig) GetUnits() Config_DisplayConfig_DisplayUnits
- func (x *Config_DisplayConfig) GetWakeOnTapOrMotion() bool
- func (*Config_DisplayConfig) ProtoMessage()
- func (x *Config_DisplayConfig) ProtoReflect() protoreflect.Message
- func (x *Config_DisplayConfig) Reset()
- func (x *Config_DisplayConfig) SetAutoScreenCarouselSecs(v uint32)
- func (x *Config_DisplayConfig) SetCompassNorthTop(v bool)
- func (x *Config_DisplayConfig) SetDisplaymode(v Config_DisplayConfig_DisplayMode)
- func (x *Config_DisplayConfig) SetFlipScreen(v bool)
- func (x *Config_DisplayConfig) SetGpsFormat(v Config_DisplayConfig_GpsCoordinateFormat)
- func (x *Config_DisplayConfig) SetHeadingBold(v bool)
- func (x *Config_DisplayConfig) SetOled(v Config_DisplayConfig_OledType)
- func (x *Config_DisplayConfig) SetScreenOnSecs(v uint32)
- func (x *Config_DisplayConfig) SetUnits(v Config_DisplayConfig_DisplayUnits)
- func (x *Config_DisplayConfig) SetWakeOnTapOrMotion(v bool)
- func (x *Config_DisplayConfig) String() string
- type Config_DisplayConfig_DisplayMode
- func (Config_DisplayConfig_DisplayMode) Descriptor() protoreflect.EnumDescriptor
- func (x Config_DisplayConfig_DisplayMode) Enum() *Config_DisplayConfig_DisplayMode
- func (x Config_DisplayConfig_DisplayMode) Number() protoreflect.EnumNumber
- func (x Config_DisplayConfig_DisplayMode) String() string
- func (Config_DisplayConfig_DisplayMode) Type() protoreflect.EnumType
- type Config_DisplayConfig_DisplayUnits
- func (Config_DisplayConfig_DisplayUnits) Descriptor() protoreflect.EnumDescriptor
- func (x Config_DisplayConfig_DisplayUnits) Enum() *Config_DisplayConfig_DisplayUnits
- func (x Config_DisplayConfig_DisplayUnits) Number() protoreflect.EnumNumber
- func (x Config_DisplayConfig_DisplayUnits) String() string
- func (Config_DisplayConfig_DisplayUnits) Type() protoreflect.EnumType
- type Config_DisplayConfig_GpsCoordinateFormat
- func (Config_DisplayConfig_GpsCoordinateFormat) Descriptor() protoreflect.EnumDescriptor
- func (x Config_DisplayConfig_GpsCoordinateFormat) Enum() *Config_DisplayConfig_GpsCoordinateFormat
- func (x Config_DisplayConfig_GpsCoordinateFormat) Number() protoreflect.EnumNumber
- func (x Config_DisplayConfig_GpsCoordinateFormat) String() string
- func (Config_DisplayConfig_GpsCoordinateFormat) Type() protoreflect.EnumType
- type Config_DisplayConfig_OledType
- func (Config_DisplayConfig_OledType) Descriptor() protoreflect.EnumDescriptor
- func (x Config_DisplayConfig_OledType) Enum() *Config_DisplayConfig_OledType
- func (x Config_DisplayConfig_OledType) Number() protoreflect.EnumNumber
- func (x Config_DisplayConfig_OledType) String() string
- func (Config_DisplayConfig_OledType) Type() protoreflect.EnumType
- type Config_DisplayConfig_builder
- type Config_LoRaConfig
- func (x *Config_LoRaConfig) GetBandwidth() uint32
- func (x *Config_LoRaConfig) GetChannelNum() uint32
- func (x *Config_LoRaConfig) GetCodingRate() uint32
- func (x *Config_LoRaConfig) GetFrequencyOffset() float32
- func (x *Config_LoRaConfig) GetHopLimit() uint32
- func (x *Config_LoRaConfig) GetIgnoreIncoming() []uint32
- func (x *Config_LoRaConfig) GetIgnoreMqtt() bool
- func (x *Config_LoRaConfig) GetModemPreset() Config_LoRaConfig_ModemPreset
- func (x *Config_LoRaConfig) GetOverrideDutyCycle() bool
- func (x *Config_LoRaConfig) GetOverrideFrequency() float32
- func (x *Config_LoRaConfig) GetRegion() Config_LoRaConfig_RegionCode
- func (x *Config_LoRaConfig) GetSpreadFactor() uint32
- func (x *Config_LoRaConfig) GetSx126XRxBoostedGain() bool
- func (x *Config_LoRaConfig) GetTxEnabled() bool
- func (x *Config_LoRaConfig) GetTxPower() int32
- func (x *Config_LoRaConfig) GetUsePreset() bool
- func (*Config_LoRaConfig) ProtoMessage()
- func (x *Config_LoRaConfig) ProtoReflect() protoreflect.Message
- func (x *Config_LoRaConfig) Reset()
- func (x *Config_LoRaConfig) SetBandwidth(v uint32)
- func (x *Config_LoRaConfig) SetChannelNum(v uint32)
- func (x *Config_LoRaConfig) SetCodingRate(v uint32)
- func (x *Config_LoRaConfig) SetFrequencyOffset(v float32)
- func (x *Config_LoRaConfig) SetHopLimit(v uint32)
- func (x *Config_LoRaConfig) SetIgnoreIncoming(v []uint32)
- func (x *Config_LoRaConfig) SetIgnoreMqtt(v bool)
- func (x *Config_LoRaConfig) SetModemPreset(v Config_LoRaConfig_ModemPreset)
- func (x *Config_LoRaConfig) SetOverrideDutyCycle(v bool)
- func (x *Config_LoRaConfig) SetOverrideFrequency(v float32)
- func (x *Config_LoRaConfig) SetRegion(v Config_LoRaConfig_RegionCode)
- func (x *Config_LoRaConfig) SetSpreadFactor(v uint32)
- func (x *Config_LoRaConfig) SetSx126XRxBoostedGain(v bool)
- func (x *Config_LoRaConfig) SetTxEnabled(v bool)
- func (x *Config_LoRaConfig) SetTxPower(v int32)
- func (x *Config_LoRaConfig) SetUsePreset(v bool)
- func (x *Config_LoRaConfig) String() string
- type Config_LoRaConfig_ModemPreset
- func (Config_LoRaConfig_ModemPreset) Descriptor() protoreflect.EnumDescriptor
- func (x Config_LoRaConfig_ModemPreset) Enum() *Config_LoRaConfig_ModemPreset
- func (x Config_LoRaConfig_ModemPreset) Number() protoreflect.EnumNumber
- func (x Config_LoRaConfig_ModemPreset) String() string
- func (Config_LoRaConfig_ModemPreset) Type() protoreflect.EnumType
- type Config_LoRaConfig_RegionCode
- func (Config_LoRaConfig_RegionCode) Descriptor() protoreflect.EnumDescriptor
- func (x Config_LoRaConfig_RegionCode) Enum() *Config_LoRaConfig_RegionCode
- func (x Config_LoRaConfig_RegionCode) Number() protoreflect.EnumNumber
- func (x Config_LoRaConfig_RegionCode) String() string
- func (Config_LoRaConfig_RegionCode) Type() protoreflect.EnumType
- type Config_LoRaConfig_builder
- type Config_Lora
- type Config_Network
- type Config_NetworkConfig
- func (x *Config_NetworkConfig) ClearIpv4Config()
- func (x *Config_NetworkConfig) GetAddressMode() Config_NetworkConfig_AddressMode
- func (x *Config_NetworkConfig) GetEthEnabled() bool
- func (x *Config_NetworkConfig) GetIpv4Config() *Config_NetworkConfig_IpV4Config
- func (x *Config_NetworkConfig) GetNtpServer() string
- func (x *Config_NetworkConfig) GetRsyslogServer() string
- func (x *Config_NetworkConfig) GetWifiEnabled() bool
- func (x *Config_NetworkConfig) GetWifiPsk() string
- func (x *Config_NetworkConfig) GetWifiSsid() string
- func (x *Config_NetworkConfig) HasIpv4Config() bool
- func (*Config_NetworkConfig) ProtoMessage()
- func (x *Config_NetworkConfig) ProtoReflect() protoreflect.Message
- func (x *Config_NetworkConfig) Reset()
- func (x *Config_NetworkConfig) SetAddressMode(v Config_NetworkConfig_AddressMode)
- func (x *Config_NetworkConfig) SetEthEnabled(v bool)
- func (x *Config_NetworkConfig) SetIpv4Config(v *Config_NetworkConfig_IpV4Config)
- func (x *Config_NetworkConfig) SetNtpServer(v string)
- func (x *Config_NetworkConfig) SetRsyslogServer(v string)
- func (x *Config_NetworkConfig) SetWifiEnabled(v bool)
- func (x *Config_NetworkConfig) SetWifiPsk(v string)
- func (x *Config_NetworkConfig) SetWifiSsid(v string)
- func (x *Config_NetworkConfig) String() string
- type Config_NetworkConfig_AddressMode
- func (Config_NetworkConfig_AddressMode) Descriptor() protoreflect.EnumDescriptor
- func (x Config_NetworkConfig_AddressMode) Enum() *Config_NetworkConfig_AddressMode
- func (x Config_NetworkConfig_AddressMode) Number() protoreflect.EnumNumber
- func (x Config_NetworkConfig_AddressMode) String() string
- func (Config_NetworkConfig_AddressMode) Type() protoreflect.EnumType
- type Config_NetworkConfig_IpV4Config
- func (x *Config_NetworkConfig_IpV4Config) GetDns() uint32
- func (x *Config_NetworkConfig_IpV4Config) GetGateway() uint32
- func (x *Config_NetworkConfig_IpV4Config) GetIp() uint32
- func (x *Config_NetworkConfig_IpV4Config) GetSubnet() uint32
- func (*Config_NetworkConfig_IpV4Config) ProtoMessage()
- func (x *Config_NetworkConfig_IpV4Config) ProtoReflect() protoreflect.Message
- func (x *Config_NetworkConfig_IpV4Config) Reset()
- func (x *Config_NetworkConfig_IpV4Config) SetDns(v uint32)
- func (x *Config_NetworkConfig_IpV4Config) SetGateway(v uint32)
- func (x *Config_NetworkConfig_IpV4Config) SetIp(v uint32)
- func (x *Config_NetworkConfig_IpV4Config) SetSubnet(v uint32)
- func (x *Config_NetworkConfig_IpV4Config) String() string
- type Config_NetworkConfig_IpV4Config_builder
- type Config_NetworkConfig_builder
- type Config_Position
- type Config_PositionConfig
- func (x *Config_PositionConfig) GetBroadcastSmartMinimumDistance() uint32
- func (x *Config_PositionConfig) GetBroadcastSmartMinimumIntervalSecs() uint32
- func (x *Config_PositionConfig) GetChannelPrecision() []uint32
- func (x *Config_PositionConfig) GetFixedPosition() bool
- func (x *Config_PositionConfig) GetGpsAttemptTime() uint32deprecated
- func (x *Config_PositionConfig) GetGpsEnGpio() uint32
- func (x *Config_PositionConfig) GetGpsEnabled() booldeprecated
- func (x *Config_PositionConfig) GetGpsMode() Config_PositionConfig_GpsMode
- func (x *Config_PositionConfig) GetGpsUpdateInterval() uint32
- func (x *Config_PositionConfig) GetPositionBroadcastSecs() uint32
- func (x *Config_PositionConfig) GetPositionBroadcastSmartEnabled() bool
- func (x *Config_PositionConfig) GetPositionFlags() uint32
- func (x *Config_PositionConfig) GetRxGpio() uint32
- func (x *Config_PositionConfig) GetTxGpio() uint32
- func (*Config_PositionConfig) ProtoMessage()
- func (x *Config_PositionConfig) ProtoReflect() protoreflect.Message
- func (x *Config_PositionConfig) Reset()
- func (x *Config_PositionConfig) SetBroadcastSmartMinimumDistance(v uint32)
- func (x *Config_PositionConfig) SetBroadcastSmartMinimumIntervalSecs(v uint32)
- func (x *Config_PositionConfig) SetChannelPrecision(v []uint32)
- func (x *Config_PositionConfig) SetFixedPosition(v bool)
- func (x *Config_PositionConfig) SetGpsAttemptTime(v uint32)deprecated
- func (x *Config_PositionConfig) SetGpsEnGpio(v uint32)
- func (x *Config_PositionConfig) SetGpsEnabled(v bool)deprecated
- func (x *Config_PositionConfig) SetGpsMode(v Config_PositionConfig_GpsMode)
- func (x *Config_PositionConfig) SetGpsUpdateInterval(v uint32)
- func (x *Config_PositionConfig) SetPositionBroadcastSecs(v uint32)
- func (x *Config_PositionConfig) SetPositionBroadcastSmartEnabled(v bool)
- func (x *Config_PositionConfig) SetPositionFlags(v uint32)
- func (x *Config_PositionConfig) SetRxGpio(v uint32)
- func (x *Config_PositionConfig) SetTxGpio(v uint32)
- func (x *Config_PositionConfig) String() string
- type Config_PositionConfig_GpsMode
- func (Config_PositionConfig_GpsMode) Descriptor() protoreflect.EnumDescriptor
- func (x Config_PositionConfig_GpsMode) Enum() *Config_PositionConfig_GpsMode
- func (x Config_PositionConfig_GpsMode) Number() protoreflect.EnumNumber
- func (x Config_PositionConfig_GpsMode) String() string
- func (Config_PositionConfig_GpsMode) Type() protoreflect.EnumType
- type Config_PositionConfig_PositionFlags
- func (Config_PositionConfig_PositionFlags) Descriptor() protoreflect.EnumDescriptor
- func (x Config_PositionConfig_PositionFlags) Enum() *Config_PositionConfig_PositionFlags
- func (x Config_PositionConfig_PositionFlags) Number() protoreflect.EnumNumber
- func (x Config_PositionConfig_PositionFlags) String() string
- func (Config_PositionConfig_PositionFlags) Type() protoreflect.EnumType
- type Config_PositionConfig_builder
- type Config_Power
- type Config_PowerConfig
- func (x *Config_PowerConfig) GetAdcMultiplierOverride() float32
- func (x *Config_PowerConfig) GetDeviceBatteryInaAddress() uint32
- func (x *Config_PowerConfig) GetIsPowerSaving() bool
- func (x *Config_PowerConfig) GetLsSecs() uint32
- func (x *Config_PowerConfig) GetMinWakeSecs() uint32
- func (x *Config_PowerConfig) GetOnBatteryShutdownAfterSecs() uint32
- func (x *Config_PowerConfig) GetSdsSecs() uint32
- func (x *Config_PowerConfig) GetWaitBluetoothSecs() uint32
- func (*Config_PowerConfig) ProtoMessage()
- func (x *Config_PowerConfig) ProtoReflect() protoreflect.Message
- func (x *Config_PowerConfig) Reset()
- func (x *Config_PowerConfig) SetAdcMultiplierOverride(v float32)
- func (x *Config_PowerConfig) SetDeviceBatteryInaAddress(v uint32)
- func (x *Config_PowerConfig) SetIsPowerSaving(v bool)
- func (x *Config_PowerConfig) SetLsSecs(v uint32)
- func (x *Config_PowerConfig) SetMinWakeSecs(v uint32)
- func (x *Config_PowerConfig) SetOnBatteryShutdownAfterSecs(v uint32)
- func (x *Config_PowerConfig) SetSdsSecs(v uint32)
- func (x *Config_PowerConfig) SetWaitBluetoothSecs(v uint32)
- func (x *Config_PowerConfig) String() string
- type Config_PowerConfig_builder
- type Config_builder
- type Constants
- type Contact
- func (x *Contact) GetCallsign() string
- func (x *Contact) GetDeviceCallsign() string
- func (*Contact) ProtoMessage()
- func (x *Contact) ProtoReflect() protoreflect.Message
- func (x *Contact) Reset()
- func (x *Contact) SetCallsign(v string)
- func (x *Contact) SetDeviceCallsign(v string)
- func (x *Contact) String() string
- type Contact_builder
- type CriticalErrorCode
- type Data
- func (x *Data) GetDest() uint32
- func (x *Data) GetEmoji() uint32
- func (x *Data) GetPayload() []byte
- func (x *Data) GetPortnum() PortNum
- func (x *Data) GetReplyId() uint32
- func (x *Data) GetRequestId() uint32
- func (x *Data) GetSource() uint32
- func (x *Data) GetWantResponse() bool
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) SetDest(v uint32)
- func (x *Data) SetEmoji(v uint32)
- func (x *Data) SetPayload(v []byte)
- func (x *Data) SetPortnum(v PortNum)
- func (x *Data) SetReplyId(v uint32)
- func (x *Data) SetRequestId(v uint32)
- func (x *Data) SetSource(v uint32)
- func (x *Data) SetWantResponse(v bool)
- func (x *Data) String() string
- type Data_builder
- type DeviceConnectionStatus
- func (x *DeviceConnectionStatus) ClearBluetooth()
- func (x *DeviceConnectionStatus) ClearEthernet()
- func (x *DeviceConnectionStatus) ClearSerial()
- func (x *DeviceConnectionStatus) ClearWifi()
- func (x *DeviceConnectionStatus) GetBluetooth() *BluetoothConnectionStatus
- func (x *DeviceConnectionStatus) GetEthernet() *EthernetConnectionStatus
- func (x *DeviceConnectionStatus) GetSerial() *SerialConnectionStatus
- func (x *DeviceConnectionStatus) GetWifi() *WifiConnectionStatus
- func (x *DeviceConnectionStatus) HasBluetooth() bool
- func (x *DeviceConnectionStatus) HasEthernet() bool
- func (x *DeviceConnectionStatus) HasSerial() bool
- func (x *DeviceConnectionStatus) HasWifi() bool
- func (*DeviceConnectionStatus) ProtoMessage()
- func (x *DeviceConnectionStatus) ProtoReflect() protoreflect.Message
- func (x *DeviceConnectionStatus) Reset()
- func (x *DeviceConnectionStatus) SetBluetooth(v *BluetoothConnectionStatus)
- func (x *DeviceConnectionStatus) SetEthernet(v *EthernetConnectionStatus)
- func (x *DeviceConnectionStatus) SetSerial(v *SerialConnectionStatus)
- func (x *DeviceConnectionStatus) SetWifi(v *WifiConnectionStatus)
- func (x *DeviceConnectionStatus) String() string
- type DeviceConnectionStatus_builder
- type DeviceMetadata
- func (x *DeviceMetadata) GetCanShutdown() bool
- func (x *DeviceMetadata) GetDeviceStateVersion() uint32
- func (x *DeviceMetadata) GetFirmwareVersion() string
- func (x *DeviceMetadata) GetHasBluetooth() bool
- func (x *DeviceMetadata) GetHasEthernet() bool
- func (x *DeviceMetadata) GetHasRemoteHardware() bool
- func (x *DeviceMetadata) GetHasWifi() bool
- func (x *DeviceMetadata) GetHwModel() HardwareModel
- func (x *DeviceMetadata) GetPositionFlags() uint32
- func (x *DeviceMetadata) GetRole() Config_DeviceConfig_Role
- func (*DeviceMetadata) ProtoMessage()
- func (x *DeviceMetadata) ProtoReflect() protoreflect.Message
- func (x *DeviceMetadata) Reset()
- func (x *DeviceMetadata) SetCanShutdown(v bool)
- func (x *DeviceMetadata) SetDeviceStateVersion(v uint32)
- func (x *DeviceMetadata) SetFirmwareVersion(v string)
- func (x *DeviceMetadata) SetHasBluetooth(v bool)
- func (x *DeviceMetadata) SetHasEthernet(v bool)
- func (x *DeviceMetadata) SetHasRemoteHardware(v bool)
- func (x *DeviceMetadata) SetHasWifi(v bool)
- func (x *DeviceMetadata) SetHwModel(v HardwareModel)
- func (x *DeviceMetadata) SetPositionFlags(v uint32)
- func (x *DeviceMetadata) SetRole(v Config_DeviceConfig_Role)
- func (x *DeviceMetadata) String() string
- type DeviceMetadata_builder
- type DeviceMetrics
- func (x *DeviceMetrics) GetAirUtilTx() float32
- func (x *DeviceMetrics) GetBatteryLevel() uint32
- func (x *DeviceMetrics) GetChannelUtilization() float32
- func (x *DeviceMetrics) GetVoltage() float32
- func (*DeviceMetrics) ProtoMessage()
- func (x *DeviceMetrics) ProtoReflect() protoreflect.Message
- func (x *DeviceMetrics) Reset()
- func (x *DeviceMetrics) SetAirUtilTx(v float32)
- func (x *DeviceMetrics) SetBatteryLevel(v uint32)
- func (x *DeviceMetrics) SetChannelUtilization(v float32)
- func (x *DeviceMetrics) SetVoltage(v float32)
- func (x *DeviceMetrics) String() string
- type DeviceMetrics_builder
- type DeviceProfile
- func (x *DeviceProfile) ClearChannelUrl()
- func (x *DeviceProfile) ClearConfig()
- func (x *DeviceProfile) ClearLongName()
- func (x *DeviceProfile) ClearModuleConfig()
- func (x *DeviceProfile) ClearShortName()
- func (x *DeviceProfile) GetChannelUrl() string
- func (x *DeviceProfile) GetConfig() *LocalConfig
- func (x *DeviceProfile) GetLongName() string
- func (x *DeviceProfile) GetModuleConfig() *LocalModuleConfig
- func (x *DeviceProfile) GetShortName() string
- func (x *DeviceProfile) HasChannelUrl() bool
- func (x *DeviceProfile) HasConfig() bool
- func (x *DeviceProfile) HasLongName() bool
- func (x *DeviceProfile) HasModuleConfig() bool
- func (x *DeviceProfile) HasShortName() bool
- func (*DeviceProfile) ProtoMessage()
- func (x *DeviceProfile) ProtoReflect() protoreflect.Message
- func (x *DeviceProfile) Reset()
- func (x *DeviceProfile) SetChannelUrl(v string)
- func (x *DeviceProfile) SetConfig(v *LocalConfig)
- func (x *DeviceProfile) SetLongName(v string)
- func (x *DeviceProfile) SetModuleConfig(v *LocalModuleConfig)
- func (x *DeviceProfile) SetShortName(v string)
- func (x *DeviceProfile) String() string
- type DeviceProfile_builder
- type DeviceState
- func (x *DeviceState) ClearMyNode()
- func (x *DeviceState) ClearOwner()
- func (x *DeviceState) ClearRxTextMessage()
- func (x *DeviceState) ClearRxWaypoint()
- func (x *DeviceState) GetDidGpsReset() bool
- func (x *DeviceState) GetMyNode() *MyNodeInfo
- func (x *DeviceState) GetNoSave() bool
- func (x *DeviceState) GetNodeDbLite() []*NodeInfoLite
- func (x *DeviceState) GetNodeRemoteHardwarePins() []*NodeRemoteHardwarePin
- func (x *DeviceState) GetOwner() *User
- func (x *DeviceState) GetReceiveQueue() []*MeshPacket
- func (x *DeviceState) GetRxTextMessage() *MeshPacket
- func (x *DeviceState) GetRxWaypoint() *MeshPacket
- func (x *DeviceState) GetVersion() uint32
- func (x *DeviceState) HasMyNode() bool
- func (x *DeviceState) HasOwner() bool
- func (x *DeviceState) HasRxTextMessage() bool
- func (x *DeviceState) HasRxWaypoint() bool
- func (*DeviceState) ProtoMessage()
- func (x *DeviceState) ProtoReflect() protoreflect.Message
- func (x *DeviceState) Reset()
- func (x *DeviceState) SetDidGpsReset(v bool)
- func (x *DeviceState) SetMyNode(v *MyNodeInfo)
- func (x *DeviceState) SetNoSave(v bool)
- func (x *DeviceState) SetNodeDbLite(v []*NodeInfoLite)
- func (x *DeviceState) SetNodeRemoteHardwarePins(v []*NodeRemoteHardwarePin)
- func (x *DeviceState) SetOwner(v *User)
- func (x *DeviceState) SetReceiveQueue(v []*MeshPacket)
- func (x *DeviceState) SetRxTextMessage(v *MeshPacket)
- func (x *DeviceState) SetRxWaypoint(v *MeshPacket)
- func (x *DeviceState) SetVersion(v uint32)
- func (x *DeviceState) String() string
- type DeviceState_builder
- type EnvironmentMetrics
- func (x *EnvironmentMetrics) GetBarometricPressure() float32
- func (x *EnvironmentMetrics) GetCurrent() float32
- func (x *EnvironmentMetrics) GetGasResistance() float32
- func (x *EnvironmentMetrics) GetRelativeHumidity() float32
- func (x *EnvironmentMetrics) GetTemperature() float32
- func (x *EnvironmentMetrics) GetVoltage() float32
- func (*EnvironmentMetrics) ProtoMessage()
- func (x *EnvironmentMetrics) ProtoReflect() protoreflect.Message
- func (x *EnvironmentMetrics) Reset()
- func (x *EnvironmentMetrics) SetBarometricPressure(v float32)
- func (x *EnvironmentMetrics) SetCurrent(v float32)
- func (x *EnvironmentMetrics) SetGasResistance(v float32)
- func (x *EnvironmentMetrics) SetRelativeHumidity(v float32)
- func (x *EnvironmentMetrics) SetTemperature(v float32)
- func (x *EnvironmentMetrics) SetVoltage(v float32)
- func (x *EnvironmentMetrics) String() string
- type EnvironmentMetrics_builder
- type EthernetConnectionStatus
- func (x *EthernetConnectionStatus) ClearStatus()
- func (x *EthernetConnectionStatus) GetStatus() *NetworkConnectionStatus
- func (x *EthernetConnectionStatus) HasStatus() bool
- func (*EthernetConnectionStatus) ProtoMessage()
- func (x *EthernetConnectionStatus) ProtoReflect() protoreflect.Message
- func (x *EthernetConnectionStatus) Reset()
- func (x *EthernetConnectionStatus) SetStatus(v *NetworkConnectionStatus)
- func (x *EthernetConnectionStatus) String() string
- type EthernetConnectionStatus_builder
- type FromRadio
- func (x *FromRadio) ClearChannel()
- func (x *FromRadio) ClearConfig()
- func (x *FromRadio) ClearConfigCompleteId()
- func (x *FromRadio) ClearLogRecord()
- func (x *FromRadio) ClearMetadata()
- func (x *FromRadio) ClearModuleConfig()
- func (x *FromRadio) ClearMqttClientProxyMessage()
- func (x *FromRadio) ClearMyInfo()
- func (x *FromRadio) ClearNodeInfo()
- func (x *FromRadio) ClearPacket()
- func (x *FromRadio) ClearPayloadVariant()
- func (x *FromRadio) ClearQueueStatus()
- func (x *FromRadio) ClearRebooted()
- func (x *FromRadio) ClearXmodemPacket()
- func (x *FromRadio) GetChannel() *Channel
- func (x *FromRadio) GetConfig() *Config
- func (x *FromRadio) GetConfigCompleteId() uint32
- func (x *FromRadio) GetId() uint32
- func (x *FromRadio) GetLogRecord() *LogRecord
- func (x *FromRadio) GetMetadata() *DeviceMetadata
- func (x *FromRadio) GetModuleConfig() *ModuleConfig
- func (x *FromRadio) GetMqttClientProxyMessage() *MqttClientProxyMessage
- func (x *FromRadio) GetMyInfo() *MyNodeInfo
- func (x *FromRadio) GetNodeInfo() *NodeInfo
- func (x *FromRadio) GetPacket() *MeshPacket
- func (x *FromRadio) GetPayloadVariant() isFromRadio_PayloadVariant
- func (x *FromRadio) GetQueueStatus() *QueueStatus
- func (x *FromRadio) GetRebooted() bool
- func (x *FromRadio) GetXmodemPacket() *XModem
- func (x *FromRadio) HasChannel() bool
- func (x *FromRadio) HasConfig() bool
- func (x *FromRadio) HasConfigCompleteId() bool
- func (x *FromRadio) HasLogRecord() bool
- func (x *FromRadio) HasMetadata() bool
- func (x *FromRadio) HasModuleConfig() bool
- func (x *FromRadio) HasMqttClientProxyMessage() bool
- func (x *FromRadio) HasMyInfo() bool
- func (x *FromRadio) HasNodeInfo() bool
- func (x *FromRadio) HasPacket() bool
- func (x *FromRadio) HasPayloadVariant() bool
- func (x *FromRadio) HasQueueStatus() bool
- func (x *FromRadio) HasRebooted() bool
- func (x *FromRadio) HasXmodemPacket() bool
- func (*FromRadio) ProtoMessage()
- func (x *FromRadio) ProtoReflect() protoreflect.Message
- func (x *FromRadio) Reset()
- func (x *FromRadio) SetChannel(v *Channel)
- func (x *FromRadio) SetConfig(v *Config)
- func (x *FromRadio) SetConfigCompleteId(v uint32)
- func (x *FromRadio) SetId(v uint32)
- func (x *FromRadio) SetLogRecord(v *LogRecord)
- func (x *FromRadio) SetMetadata(v *DeviceMetadata)
- func (x *FromRadio) SetModuleConfig(v *ModuleConfig)
- func (x *FromRadio) SetMqttClientProxyMessage(v *MqttClientProxyMessage)
- func (x *FromRadio) SetMyInfo(v *MyNodeInfo)
- func (x *FromRadio) SetNodeInfo(v *NodeInfo)
- func (x *FromRadio) SetPacket(v *MeshPacket)
- func (x *FromRadio) SetQueueStatus(v *QueueStatus)
- func (x *FromRadio) SetRebooted(v bool)
- func (x *FromRadio) SetXmodemPacket(v *XModem)
- func (x *FromRadio) String() string
- func (x *FromRadio) WhichPayloadVariant() case_FromRadio_PayloadVariant
- type FromRadio_Channel
- type FromRadio_Config
- type FromRadio_ConfigCompleteId
- type FromRadio_LogRecord
- type FromRadio_Metadata
- type FromRadio_ModuleConfig
- type FromRadio_MqttClientProxyMessage
- type FromRadio_MyInfo
- type FromRadio_NodeInfo
- type FromRadio_Packet
- type FromRadio_QueueStatus
- type FromRadio_Rebooted
- type FromRadio_XmodemPacket
- type FromRadio_builder
- type GeoChat
- func (x *GeoChat) ClearTo()
- func (x *GeoChat) GetMessage() string
- func (x *GeoChat) GetTo() string
- func (x *GeoChat) HasTo() bool
- func (*GeoChat) ProtoMessage()
- func (x *GeoChat) ProtoReflect() protoreflect.Message
- func (x *GeoChat) Reset()
- func (x *GeoChat) SetMessage(v string)
- func (x *GeoChat) SetTo(v string)
- func (x *GeoChat) String() string
- type GeoChat_builder
- type Group
- type Group_builder
- type HamParameters
- func (x *HamParameters) GetCallSign() string
- func (x *HamParameters) GetFrequency() float32
- func (x *HamParameters) GetShortName() string
- func (x *HamParameters) GetTxPower() int32
- func (*HamParameters) ProtoMessage()
- func (x *HamParameters) ProtoReflect() protoreflect.Message
- func (x *HamParameters) Reset()
- func (x *HamParameters) SetCallSign(v string)
- func (x *HamParameters) SetFrequency(v float32)
- func (x *HamParameters) SetShortName(v string)
- func (x *HamParameters) SetTxPower(v int32)
- func (x *HamParameters) String() string
- type HamParameters_builder
- type HardwareMessage
- func (x *HardwareMessage) GetGpioMask() uint64
- func (x *HardwareMessage) GetGpioValue() uint64
- func (x *HardwareMessage) GetType() HardwareMessage_Type
- func (*HardwareMessage) ProtoMessage()
- func (x *HardwareMessage) ProtoReflect() protoreflect.Message
- func (x *HardwareMessage) Reset()
- func (x *HardwareMessage) SetGpioMask(v uint64)
- func (x *HardwareMessage) SetGpioValue(v uint64)
- func (x *HardwareMessage) SetType(v HardwareMessage_Type)
- func (x *HardwareMessage) String() string
- type HardwareMessage_Type
- type HardwareMessage_builder
- type HardwareModel
- type LocalConfig
- func (x *LocalConfig) ClearBluetooth()
- func (x *LocalConfig) ClearDevice()
- func (x *LocalConfig) ClearDisplay()
- func (x *LocalConfig) ClearLora()
- func (x *LocalConfig) ClearNetwork()
- func (x *LocalConfig) ClearPosition()
- func (x *LocalConfig) ClearPower()
- func (x *LocalConfig) GetBluetooth() *Config_BluetoothConfig
- func (x *LocalConfig) GetDevice() *Config_DeviceConfig
- func (x *LocalConfig) GetDisplay() *Config_DisplayConfig
- func (x *LocalConfig) GetLora() *Config_LoRaConfig
- func (x *LocalConfig) GetNetwork() *Config_NetworkConfig
- func (x *LocalConfig) GetPosition() *Config_PositionConfig
- func (x *LocalConfig) GetPower() *Config_PowerConfig
- func (x *LocalConfig) GetVersion() uint32
- func (x *LocalConfig) HasBluetooth() bool
- func (x *LocalConfig) HasDevice() bool
- func (x *LocalConfig) HasDisplay() bool
- func (x *LocalConfig) HasLora() bool
- func (x *LocalConfig) HasNetwork() bool
- func (x *LocalConfig) HasPosition() bool
- func (x *LocalConfig) HasPower() bool
- func (*LocalConfig) ProtoMessage()
- func (x *LocalConfig) ProtoReflect() protoreflect.Message
- func (x *LocalConfig) Reset()
- func (x *LocalConfig) SetBluetooth(v *Config_BluetoothConfig)
- func (x *LocalConfig) SetDevice(v *Config_DeviceConfig)
- func (x *LocalConfig) SetDisplay(v *Config_DisplayConfig)
- func (x *LocalConfig) SetLora(v *Config_LoRaConfig)
- func (x *LocalConfig) SetNetwork(v *Config_NetworkConfig)
- func (x *LocalConfig) SetPosition(v *Config_PositionConfig)
- func (x *LocalConfig) SetPower(v *Config_PowerConfig)
- func (x *LocalConfig) SetVersion(v uint32)
- func (x *LocalConfig) String() string
- type LocalConfig_builder
- type LocalModuleConfig
- func (x *LocalModuleConfig) ClearAmbientLighting()
- func (x *LocalModuleConfig) ClearAudio()
- func (x *LocalModuleConfig) ClearCannedMessage()
- func (x *LocalModuleConfig) ClearDetectionSensor()
- func (x *LocalModuleConfig) ClearExternalNotification()
- func (x *LocalModuleConfig) ClearMqtt()
- func (x *LocalModuleConfig) ClearNeighborInfo()
- func (x *LocalModuleConfig) ClearPaxcounter()
- func (x *LocalModuleConfig) ClearRangeTest()
- func (x *LocalModuleConfig) ClearRemoteHardware()
- func (x *LocalModuleConfig) ClearSerial()
- func (x *LocalModuleConfig) ClearStoreForward()
- func (x *LocalModuleConfig) ClearTelemetry()
- func (x *LocalModuleConfig) GetAmbientLighting() *ModuleConfig_AmbientLightingConfig
- func (x *LocalModuleConfig) GetAudio() *ModuleConfig_AudioConfig
- func (x *LocalModuleConfig) GetCannedMessage() *ModuleConfig_CannedMessageConfig
- func (x *LocalModuleConfig) GetDetectionSensor() *ModuleConfig_DetectionSensorConfig
- func (x *LocalModuleConfig) GetExternalNotification() *ModuleConfig_ExternalNotificationConfig
- func (x *LocalModuleConfig) GetMqtt() *ModuleConfig_MQTTConfig
- func (x *LocalModuleConfig) GetNeighborInfo() *ModuleConfig_NeighborInfoConfig
- func (x *LocalModuleConfig) GetPaxcounter() *ModuleConfig_PaxcounterConfig
- func (x *LocalModuleConfig) GetRangeTest() *ModuleConfig_RangeTestConfig
- func (x *LocalModuleConfig) GetRemoteHardware() *ModuleConfig_RemoteHardwareConfig
- func (x *LocalModuleConfig) GetSerial() *ModuleConfig_SerialConfig
- func (x *LocalModuleConfig) GetStoreForward() *ModuleConfig_StoreForwardConfig
- func (x *LocalModuleConfig) GetTelemetry() *ModuleConfig_TelemetryConfig
- func (x *LocalModuleConfig) GetVersion() uint32
- func (x *LocalModuleConfig) HasAmbientLighting() bool
- func (x *LocalModuleConfig) HasAudio() bool
- func (x *LocalModuleConfig) HasCannedMessage() bool
- func (x *LocalModuleConfig) HasDetectionSensor() bool
- func (x *LocalModuleConfig) HasExternalNotification() bool
- func (x *LocalModuleConfig) HasMqtt() bool
- func (x *LocalModuleConfig) HasNeighborInfo() bool
- func (x *LocalModuleConfig) HasPaxcounter() bool
- func (x *LocalModuleConfig) HasRangeTest() bool
- func (x *LocalModuleConfig) HasRemoteHardware() bool
- func (x *LocalModuleConfig) HasSerial() bool
- func (x *LocalModuleConfig) HasStoreForward() bool
- func (x *LocalModuleConfig) HasTelemetry() bool
- func (*LocalModuleConfig) ProtoMessage()
- func (x *LocalModuleConfig) ProtoReflect() protoreflect.Message
- func (x *LocalModuleConfig) Reset()
- func (x *LocalModuleConfig) SetAmbientLighting(v *ModuleConfig_AmbientLightingConfig)
- func (x *LocalModuleConfig) SetAudio(v *ModuleConfig_AudioConfig)
- func (x *LocalModuleConfig) SetCannedMessage(v *ModuleConfig_CannedMessageConfig)
- func (x *LocalModuleConfig) SetDetectionSensor(v *ModuleConfig_DetectionSensorConfig)
- func (x *LocalModuleConfig) SetExternalNotification(v *ModuleConfig_ExternalNotificationConfig)
- func (x *LocalModuleConfig) SetMqtt(v *ModuleConfig_MQTTConfig)
- func (x *LocalModuleConfig) SetNeighborInfo(v *ModuleConfig_NeighborInfoConfig)
- func (x *LocalModuleConfig) SetPaxcounter(v *ModuleConfig_PaxcounterConfig)
- func (x *LocalModuleConfig) SetRangeTest(v *ModuleConfig_RangeTestConfig)
- func (x *LocalModuleConfig) SetRemoteHardware(v *ModuleConfig_RemoteHardwareConfig)
- func (x *LocalModuleConfig) SetSerial(v *ModuleConfig_SerialConfig)
- func (x *LocalModuleConfig) SetStoreForward(v *ModuleConfig_StoreForwardConfig)
- func (x *LocalModuleConfig) SetTelemetry(v *ModuleConfig_TelemetryConfig)
- func (x *LocalModuleConfig) SetVersion(v uint32)
- func (x *LocalModuleConfig) String() string
- type LocalModuleConfig_builder
- type LogRecord
- func (x *LogRecord) GetLevel() LogRecord_Level
- func (x *LogRecord) GetMessage() string
- func (x *LogRecord) GetSource() string
- func (x *LogRecord) GetTime() uint32
- func (*LogRecord) ProtoMessage()
- func (x *LogRecord) ProtoReflect() protoreflect.Message
- func (x *LogRecord) Reset()
- func (x *LogRecord) SetLevel(v LogRecord_Level)
- func (x *LogRecord) SetMessage(v string)
- func (x *LogRecord) SetSource(v string)
- func (x *LogRecord) SetTime(v uint32)
- func (x *LogRecord) String() string
- type LogRecord_Level
- type LogRecord_builder
- type MemberRole
- type MeshPacket
- func (x *MeshPacket) ClearDecoded()
- func (x *MeshPacket) ClearEncrypted()
- func (x *MeshPacket) ClearPayloadVariant()
- func (x *MeshPacket) GetChannel() uint32
- func (x *MeshPacket) GetDecoded() *Data
- func (x *MeshPacket) GetDelayed() MeshPacket_Delayeddeprecated
- func (x *MeshPacket) GetEncrypted() []byte
- func (x *MeshPacket) GetFrom() uint32
- func (x *MeshPacket) GetHopLimit() uint32
- func (x *MeshPacket) GetId() uint32
- func (x *MeshPacket) GetPayloadVariant() isMeshPacket_PayloadVariant
- func (x *MeshPacket) GetPriority() MeshPacket_Priority
- func (x *MeshPacket) GetRxRssi() int32
- func (x *MeshPacket) GetRxSnr() float32
- func (x *MeshPacket) GetRxTime() uint32
- func (x *MeshPacket) GetTo() uint32
- func (x *MeshPacket) GetViaMqtt() bool
- func (x *MeshPacket) GetWantAck() bool
- func (x *MeshPacket) HasDecoded() bool
- func (x *MeshPacket) HasEncrypted() bool
- func (x *MeshPacket) HasPayloadVariant() bool
- func (*MeshPacket) ProtoMessage()
- func (x *MeshPacket) ProtoReflect() protoreflect.Message
- func (x *MeshPacket) Reset()
- func (x *MeshPacket) SetChannel(v uint32)
- func (x *MeshPacket) SetDecoded(v *Data)
- func (x *MeshPacket) SetDelayed(v MeshPacket_Delayed)deprecated
- func (x *MeshPacket) SetEncrypted(v []byte)
- func (x *MeshPacket) SetFrom(v uint32)
- func (x *MeshPacket) SetHopLimit(v uint32)
- func (x *MeshPacket) SetId(v uint32)
- func (x *MeshPacket) SetPriority(v MeshPacket_Priority)
- func (x *MeshPacket) SetRxRssi(v int32)
- func (x *MeshPacket) SetRxSnr(v float32)
- func (x *MeshPacket) SetRxTime(v uint32)
- func (x *MeshPacket) SetTo(v uint32)
- func (x *MeshPacket) SetViaMqtt(v bool)
- func (x *MeshPacket) SetWantAck(v bool)
- func (x *MeshPacket) String() string
- func (x *MeshPacket) WhichPayloadVariant() case_MeshPacket_PayloadVariant
- type MeshPacket_Decoded
- type MeshPacket_Delayed
- type MeshPacket_Encrypted
- type MeshPacket_Priority
- type MeshPacket_builder
- type ModuleConfig
- func (x *ModuleConfig) ClearAmbientLighting()
- func (x *ModuleConfig) ClearAudio()
- func (x *ModuleConfig) ClearCannedMessage()
- func (x *ModuleConfig) ClearDetectionSensor()
- func (x *ModuleConfig) ClearExternalNotification()
- func (x *ModuleConfig) ClearMqtt()
- func (x *ModuleConfig) ClearNeighborInfo()
- func (x *ModuleConfig) ClearPaxcounter()
- func (x *ModuleConfig) ClearPayloadVariant()
- func (x *ModuleConfig) ClearRangeTest()
- func (x *ModuleConfig) ClearRemoteHardware()
- func (x *ModuleConfig) ClearSerial()
- func (x *ModuleConfig) ClearStoreForward()
- func (x *ModuleConfig) ClearTelemetry()
- func (x *ModuleConfig) GetAmbientLighting() *ModuleConfig_AmbientLightingConfig
- func (x *ModuleConfig) GetAudio() *ModuleConfig_AudioConfig
- func (x *ModuleConfig) GetCannedMessage() *ModuleConfig_CannedMessageConfig
- func (x *ModuleConfig) GetDetectionSensor() *ModuleConfig_DetectionSensorConfig
- func (x *ModuleConfig) GetExternalNotification() *ModuleConfig_ExternalNotificationConfig
- func (x *ModuleConfig) GetMqtt() *ModuleConfig_MQTTConfig
- func (x *ModuleConfig) GetNeighborInfo() *ModuleConfig_NeighborInfoConfig
- func (x *ModuleConfig) GetPaxcounter() *ModuleConfig_PaxcounterConfig
- func (x *ModuleConfig) GetPayloadVariant() isModuleConfig_PayloadVariant
- func (x *ModuleConfig) GetRangeTest() *ModuleConfig_RangeTestConfig
- func (x *ModuleConfig) GetRemoteHardware() *ModuleConfig_RemoteHardwareConfig
- func (x *ModuleConfig) GetSerial() *ModuleConfig_SerialConfig
- func (x *ModuleConfig) GetStoreForward() *ModuleConfig_StoreForwardConfig
- func (x *ModuleConfig) GetTelemetry() *ModuleConfig_TelemetryConfig
- func (x *ModuleConfig) HasAmbientLighting() bool
- func (x *ModuleConfig) HasAudio() bool
- func (x *ModuleConfig) HasCannedMessage() bool
- func (x *ModuleConfig) HasDetectionSensor() bool
- func (x *ModuleConfig) HasExternalNotification() bool
- func (x *ModuleConfig) HasMqtt() bool
- func (x *ModuleConfig) HasNeighborInfo() bool
- func (x *ModuleConfig) HasPaxcounter() bool
- func (x *ModuleConfig) HasPayloadVariant() bool
- func (x *ModuleConfig) HasRangeTest() bool
- func (x *ModuleConfig) HasRemoteHardware() bool
- func (x *ModuleConfig) HasSerial() bool
- func (x *ModuleConfig) HasStoreForward() bool
- func (x *ModuleConfig) HasTelemetry() bool
- func (*ModuleConfig) ProtoMessage()
- func (x *ModuleConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig) Reset()
- func (x *ModuleConfig) SetAmbientLighting(v *ModuleConfig_AmbientLightingConfig)
- func (x *ModuleConfig) SetAudio(v *ModuleConfig_AudioConfig)
- func (x *ModuleConfig) SetCannedMessage(v *ModuleConfig_CannedMessageConfig)
- func (x *ModuleConfig) SetDetectionSensor(v *ModuleConfig_DetectionSensorConfig)
- func (x *ModuleConfig) SetExternalNotification(v *ModuleConfig_ExternalNotificationConfig)
- func (x *ModuleConfig) SetMqtt(v *ModuleConfig_MQTTConfig)
- func (x *ModuleConfig) SetNeighborInfo(v *ModuleConfig_NeighborInfoConfig)
- func (x *ModuleConfig) SetPaxcounter(v *ModuleConfig_PaxcounterConfig)
- func (x *ModuleConfig) SetRangeTest(v *ModuleConfig_RangeTestConfig)
- func (x *ModuleConfig) SetRemoteHardware(v *ModuleConfig_RemoteHardwareConfig)
- func (x *ModuleConfig) SetSerial(v *ModuleConfig_SerialConfig)
- func (x *ModuleConfig) SetStoreForward(v *ModuleConfig_StoreForwardConfig)
- func (x *ModuleConfig) SetTelemetry(v *ModuleConfig_TelemetryConfig)
- func (x *ModuleConfig) String() string
- func (x *ModuleConfig) WhichPayloadVariant() case_ModuleConfig_PayloadVariant
- type ModuleConfig_AmbientLighting
- type ModuleConfig_AmbientLightingConfig
- func (x *ModuleConfig_AmbientLightingConfig) GetBlue() uint32
- func (x *ModuleConfig_AmbientLightingConfig) GetCurrent() uint32
- func (x *ModuleConfig_AmbientLightingConfig) GetGreen() uint32
- func (x *ModuleConfig_AmbientLightingConfig) GetLedState() bool
- func (x *ModuleConfig_AmbientLightingConfig) GetRed() uint32
- func (*ModuleConfig_AmbientLightingConfig) ProtoMessage()
- func (x *ModuleConfig_AmbientLightingConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_AmbientLightingConfig) Reset()
- func (x *ModuleConfig_AmbientLightingConfig) SetBlue(v uint32)
- func (x *ModuleConfig_AmbientLightingConfig) SetCurrent(v uint32)
- func (x *ModuleConfig_AmbientLightingConfig) SetGreen(v uint32)
- func (x *ModuleConfig_AmbientLightingConfig) SetLedState(v bool)
- func (x *ModuleConfig_AmbientLightingConfig) SetRed(v uint32)
- func (x *ModuleConfig_AmbientLightingConfig) String() string
- type ModuleConfig_AmbientLightingConfig_builder
- type ModuleConfig_Audio
- type ModuleConfig_AudioConfig
- func (x *ModuleConfig_AudioConfig) GetBitrate() ModuleConfig_AudioConfig_Audio_Baud
- func (x *ModuleConfig_AudioConfig) GetCodec2Enabled() bool
- func (x *ModuleConfig_AudioConfig) GetI2SDin() uint32
- func (x *ModuleConfig_AudioConfig) GetI2SSck() uint32
- func (x *ModuleConfig_AudioConfig) GetI2SSd() uint32
- func (x *ModuleConfig_AudioConfig) GetI2SWs() uint32
- func (x *ModuleConfig_AudioConfig) GetPttPin() uint32
- func (*ModuleConfig_AudioConfig) ProtoMessage()
- func (x *ModuleConfig_AudioConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_AudioConfig) Reset()
- func (x *ModuleConfig_AudioConfig) SetBitrate(v ModuleConfig_AudioConfig_Audio_Baud)
- func (x *ModuleConfig_AudioConfig) SetCodec2Enabled(v bool)
- func (x *ModuleConfig_AudioConfig) SetI2SDin(v uint32)
- func (x *ModuleConfig_AudioConfig) SetI2SSck(v uint32)
- func (x *ModuleConfig_AudioConfig) SetI2SSd(v uint32)
- func (x *ModuleConfig_AudioConfig) SetI2SWs(v uint32)
- func (x *ModuleConfig_AudioConfig) SetPttPin(v uint32)
- func (x *ModuleConfig_AudioConfig) String() string
- type ModuleConfig_AudioConfig_Audio_Baud
- func (ModuleConfig_AudioConfig_Audio_Baud) Descriptor() protoreflect.EnumDescriptor
- func (x ModuleConfig_AudioConfig_Audio_Baud) Enum() *ModuleConfig_AudioConfig_Audio_Baud
- func (x ModuleConfig_AudioConfig_Audio_Baud) Number() protoreflect.EnumNumber
- func (x ModuleConfig_AudioConfig_Audio_Baud) String() string
- func (ModuleConfig_AudioConfig_Audio_Baud) Type() protoreflect.EnumType
- type ModuleConfig_AudioConfig_builder
- type ModuleConfig_CannedMessage
- type ModuleConfig_CannedMessageConfig
- func (x *ModuleConfig_CannedMessageConfig) GetAllowInputSource() string
- func (x *ModuleConfig_CannedMessageConfig) GetEnabled() bool
- func (x *ModuleConfig_CannedMessageConfig) GetInputbrokerEventCcw() ModuleConfig_CannedMessageConfig_InputEventChar
- func (x *ModuleConfig_CannedMessageConfig) GetInputbrokerEventCw() ModuleConfig_CannedMessageConfig_InputEventChar
- func (x *ModuleConfig_CannedMessageConfig) GetInputbrokerEventPress() ModuleConfig_CannedMessageConfig_InputEventChar
- func (x *ModuleConfig_CannedMessageConfig) GetInputbrokerPinA() uint32
- func (x *ModuleConfig_CannedMessageConfig) GetInputbrokerPinB() uint32
- func (x *ModuleConfig_CannedMessageConfig) GetInputbrokerPinPress() uint32
- func (x *ModuleConfig_CannedMessageConfig) GetRotary1Enabled() bool
- func (x *ModuleConfig_CannedMessageConfig) GetSendBell() bool
- func (x *ModuleConfig_CannedMessageConfig) GetUpdown1Enabled() bool
- func (*ModuleConfig_CannedMessageConfig) ProtoMessage()
- func (x *ModuleConfig_CannedMessageConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_CannedMessageConfig) Reset()
- func (x *ModuleConfig_CannedMessageConfig) SetAllowInputSource(v string)
- func (x *ModuleConfig_CannedMessageConfig) SetEnabled(v bool)
- func (x *ModuleConfig_CannedMessageConfig) SetInputbrokerEventCcw(v ModuleConfig_CannedMessageConfig_InputEventChar)
- func (x *ModuleConfig_CannedMessageConfig) SetInputbrokerEventCw(v ModuleConfig_CannedMessageConfig_InputEventChar)
- func (x *ModuleConfig_CannedMessageConfig) SetInputbrokerEventPress(v ModuleConfig_CannedMessageConfig_InputEventChar)
- func (x *ModuleConfig_CannedMessageConfig) SetInputbrokerPinA(v uint32)
- func (x *ModuleConfig_CannedMessageConfig) SetInputbrokerPinB(v uint32)
- func (x *ModuleConfig_CannedMessageConfig) SetInputbrokerPinPress(v uint32)
- func (x *ModuleConfig_CannedMessageConfig) SetRotary1Enabled(v bool)
- func (x *ModuleConfig_CannedMessageConfig) SetSendBell(v bool)
- func (x *ModuleConfig_CannedMessageConfig) SetUpdown1Enabled(v bool)
- func (x *ModuleConfig_CannedMessageConfig) String() string
- type ModuleConfig_CannedMessageConfig_InputEventChar
- func (ModuleConfig_CannedMessageConfig_InputEventChar) Descriptor() protoreflect.EnumDescriptor
- func (x ModuleConfig_CannedMessageConfig_InputEventChar) Enum() *ModuleConfig_CannedMessageConfig_InputEventChar
- func (x ModuleConfig_CannedMessageConfig_InputEventChar) Number() protoreflect.EnumNumber
- func (x ModuleConfig_CannedMessageConfig_InputEventChar) String() string
- func (ModuleConfig_CannedMessageConfig_InputEventChar) Type() protoreflect.EnumType
- type ModuleConfig_CannedMessageConfig_builder
- type ModuleConfig_DetectionSensor
- type ModuleConfig_DetectionSensorConfig
- func (x *ModuleConfig_DetectionSensorConfig) GetDetectionTriggeredHigh() bool
- func (x *ModuleConfig_DetectionSensorConfig) GetEnabled() bool
- func (x *ModuleConfig_DetectionSensorConfig) GetMinimumBroadcastSecs() uint32
- func (x *ModuleConfig_DetectionSensorConfig) GetMonitorPin() uint32
- func (x *ModuleConfig_DetectionSensorConfig) GetName() string
- func (x *ModuleConfig_DetectionSensorConfig) GetSendBell() bool
- func (x *ModuleConfig_DetectionSensorConfig) GetStateBroadcastSecs() uint32
- func (x *ModuleConfig_DetectionSensorConfig) GetUsePullup() bool
- func (*ModuleConfig_DetectionSensorConfig) ProtoMessage()
- func (x *ModuleConfig_DetectionSensorConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_DetectionSensorConfig) Reset()
- func (x *ModuleConfig_DetectionSensorConfig) SetDetectionTriggeredHigh(v bool)
- func (x *ModuleConfig_DetectionSensorConfig) SetEnabled(v bool)
- func (x *ModuleConfig_DetectionSensorConfig) SetMinimumBroadcastSecs(v uint32)
- func (x *ModuleConfig_DetectionSensorConfig) SetMonitorPin(v uint32)
- func (x *ModuleConfig_DetectionSensorConfig) SetName(v string)
- func (x *ModuleConfig_DetectionSensorConfig) SetSendBell(v bool)
- func (x *ModuleConfig_DetectionSensorConfig) SetStateBroadcastSecs(v uint32)
- func (x *ModuleConfig_DetectionSensorConfig) SetUsePullup(v bool)
- func (x *ModuleConfig_DetectionSensorConfig) String() string
- type ModuleConfig_DetectionSensorConfig_builder
- type ModuleConfig_ExternalNotification
- type ModuleConfig_ExternalNotificationConfig
- func (x *ModuleConfig_ExternalNotificationConfig) GetActive() bool
- func (x *ModuleConfig_ExternalNotificationConfig) GetAlertBell() bool
- func (x *ModuleConfig_ExternalNotificationConfig) GetAlertBellBuzzer() bool
- func (x *ModuleConfig_ExternalNotificationConfig) GetAlertBellVibra() bool
- func (x *ModuleConfig_ExternalNotificationConfig) GetAlertMessage() bool
- func (x *ModuleConfig_ExternalNotificationConfig) GetAlertMessageBuzzer() bool
- func (x *ModuleConfig_ExternalNotificationConfig) GetAlertMessageVibra() bool
- func (x *ModuleConfig_ExternalNotificationConfig) GetEnabled() bool
- func (x *ModuleConfig_ExternalNotificationConfig) GetNagTimeout() uint32
- func (x *ModuleConfig_ExternalNotificationConfig) GetOutput() uint32
- func (x *ModuleConfig_ExternalNotificationConfig) GetOutputBuzzer() uint32
- func (x *ModuleConfig_ExternalNotificationConfig) GetOutputMs() uint32
- func (x *ModuleConfig_ExternalNotificationConfig) GetOutputVibra() uint32
- func (x *ModuleConfig_ExternalNotificationConfig) GetUseI2SAsBuzzer() bool
- func (x *ModuleConfig_ExternalNotificationConfig) GetUsePwm() bool
- func (*ModuleConfig_ExternalNotificationConfig) ProtoMessage()
- func (x *ModuleConfig_ExternalNotificationConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_ExternalNotificationConfig) Reset()
- func (x *ModuleConfig_ExternalNotificationConfig) SetActive(v bool)
- func (x *ModuleConfig_ExternalNotificationConfig) SetAlertBell(v bool)
- func (x *ModuleConfig_ExternalNotificationConfig) SetAlertBellBuzzer(v bool)
- func (x *ModuleConfig_ExternalNotificationConfig) SetAlertBellVibra(v bool)
- func (x *ModuleConfig_ExternalNotificationConfig) SetAlertMessage(v bool)
- func (x *ModuleConfig_ExternalNotificationConfig) SetAlertMessageBuzzer(v bool)
- func (x *ModuleConfig_ExternalNotificationConfig) SetAlertMessageVibra(v bool)
- func (x *ModuleConfig_ExternalNotificationConfig) SetEnabled(v bool)
- func (x *ModuleConfig_ExternalNotificationConfig) SetNagTimeout(v uint32)
- func (x *ModuleConfig_ExternalNotificationConfig) SetOutput(v uint32)
- func (x *ModuleConfig_ExternalNotificationConfig) SetOutputBuzzer(v uint32)
- func (x *ModuleConfig_ExternalNotificationConfig) SetOutputMs(v uint32)
- func (x *ModuleConfig_ExternalNotificationConfig) SetOutputVibra(v uint32)
- func (x *ModuleConfig_ExternalNotificationConfig) SetUseI2SAsBuzzer(v bool)
- func (x *ModuleConfig_ExternalNotificationConfig) SetUsePwm(v bool)
- func (x *ModuleConfig_ExternalNotificationConfig) String() string
- type ModuleConfig_ExternalNotificationConfig_builder
- type ModuleConfig_MQTTConfig
- func (x *ModuleConfig_MQTTConfig) GetAddress() string
- func (x *ModuleConfig_MQTTConfig) GetEnabled() bool
- func (x *ModuleConfig_MQTTConfig) GetEncryptionEnabled() bool
- func (x *ModuleConfig_MQTTConfig) GetJsonEnabled() bool
- func (x *ModuleConfig_MQTTConfig) GetPassword() string
- func (x *ModuleConfig_MQTTConfig) GetProxyToClientEnabled() bool
- func (x *ModuleConfig_MQTTConfig) GetRoot() string
- func (x *ModuleConfig_MQTTConfig) GetTlsEnabled() bool
- func (x *ModuleConfig_MQTTConfig) GetUsername() string
- func (*ModuleConfig_MQTTConfig) ProtoMessage()
- func (x *ModuleConfig_MQTTConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_MQTTConfig) Reset()
- func (x *ModuleConfig_MQTTConfig) SetAddress(v string)
- func (x *ModuleConfig_MQTTConfig) SetEnabled(v bool)
- func (x *ModuleConfig_MQTTConfig) SetEncryptionEnabled(v bool)
- func (x *ModuleConfig_MQTTConfig) SetJsonEnabled(v bool)
- func (x *ModuleConfig_MQTTConfig) SetPassword(v string)
- func (x *ModuleConfig_MQTTConfig) SetProxyToClientEnabled(v bool)
- func (x *ModuleConfig_MQTTConfig) SetRoot(v string)
- func (x *ModuleConfig_MQTTConfig) SetTlsEnabled(v bool)
- func (x *ModuleConfig_MQTTConfig) SetUsername(v string)
- func (x *ModuleConfig_MQTTConfig) String() string
- type ModuleConfig_MQTTConfig_builder
- type ModuleConfig_Mqtt
- type ModuleConfig_NeighborInfo
- type ModuleConfig_NeighborInfoConfig
- func (x *ModuleConfig_NeighborInfoConfig) GetEnabled() bool
- func (x *ModuleConfig_NeighborInfoConfig) GetUpdateInterval() uint32
- func (*ModuleConfig_NeighborInfoConfig) ProtoMessage()
- func (x *ModuleConfig_NeighborInfoConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_NeighborInfoConfig) Reset()
- func (x *ModuleConfig_NeighborInfoConfig) SetEnabled(v bool)
- func (x *ModuleConfig_NeighborInfoConfig) SetUpdateInterval(v uint32)
- func (x *ModuleConfig_NeighborInfoConfig) String() string
- type ModuleConfig_NeighborInfoConfig_builder
- type ModuleConfig_Paxcounter
- type ModuleConfig_PaxcounterConfig
- func (x *ModuleConfig_PaxcounterConfig) GetEnabled() bool
- func (x *ModuleConfig_PaxcounterConfig) GetPaxcounterUpdateInterval() uint32
- func (*ModuleConfig_PaxcounterConfig) ProtoMessage()
- func (x *ModuleConfig_PaxcounterConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_PaxcounterConfig) Reset()
- func (x *ModuleConfig_PaxcounterConfig) SetEnabled(v bool)
- func (x *ModuleConfig_PaxcounterConfig) SetPaxcounterUpdateInterval(v uint32)
- func (x *ModuleConfig_PaxcounterConfig) String() string
- type ModuleConfig_PaxcounterConfig_builder
- type ModuleConfig_RangeTest
- type ModuleConfig_RangeTestConfig
- func (x *ModuleConfig_RangeTestConfig) GetEnabled() bool
- func (x *ModuleConfig_RangeTestConfig) GetSave() bool
- func (x *ModuleConfig_RangeTestConfig) GetSender() uint32
- func (*ModuleConfig_RangeTestConfig) ProtoMessage()
- func (x *ModuleConfig_RangeTestConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_RangeTestConfig) Reset()
- func (x *ModuleConfig_RangeTestConfig) SetEnabled(v bool)
- func (x *ModuleConfig_RangeTestConfig) SetSave(v bool)
- func (x *ModuleConfig_RangeTestConfig) SetSender(v uint32)
- func (x *ModuleConfig_RangeTestConfig) String() string
- type ModuleConfig_RangeTestConfig_builder
- type ModuleConfig_RemoteHardware
- type ModuleConfig_RemoteHardwareConfig
- func (x *ModuleConfig_RemoteHardwareConfig) GetAllowUndefinedPinAccess() bool
- func (x *ModuleConfig_RemoteHardwareConfig) GetAvailablePins() []*RemoteHardwarePin
- func (x *ModuleConfig_RemoteHardwareConfig) GetEnabled() bool
- func (*ModuleConfig_RemoteHardwareConfig) ProtoMessage()
- func (x *ModuleConfig_RemoteHardwareConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_RemoteHardwareConfig) Reset()
- func (x *ModuleConfig_RemoteHardwareConfig) SetAllowUndefinedPinAccess(v bool)
- func (x *ModuleConfig_RemoteHardwareConfig) SetAvailablePins(v []*RemoteHardwarePin)
- func (x *ModuleConfig_RemoteHardwareConfig) SetEnabled(v bool)
- func (x *ModuleConfig_RemoteHardwareConfig) String() string
- type ModuleConfig_RemoteHardwareConfig_builder
- type ModuleConfig_Serial
- type ModuleConfig_SerialConfig
- func (x *ModuleConfig_SerialConfig) GetBaud() ModuleConfig_SerialConfig_Serial_Baud
- func (x *ModuleConfig_SerialConfig) GetEcho() bool
- func (x *ModuleConfig_SerialConfig) GetEnabled() bool
- func (x *ModuleConfig_SerialConfig) GetMode() ModuleConfig_SerialConfig_Serial_Mode
- func (x *ModuleConfig_SerialConfig) GetOverrideConsoleSerialPort() bool
- func (x *ModuleConfig_SerialConfig) GetRxd() uint32
- func (x *ModuleConfig_SerialConfig) GetTimeout() uint32
- func (x *ModuleConfig_SerialConfig) GetTxd() uint32
- func (*ModuleConfig_SerialConfig) ProtoMessage()
- func (x *ModuleConfig_SerialConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_SerialConfig) Reset()
- func (x *ModuleConfig_SerialConfig) SetBaud(v ModuleConfig_SerialConfig_Serial_Baud)
- func (x *ModuleConfig_SerialConfig) SetEcho(v bool)
- func (x *ModuleConfig_SerialConfig) SetEnabled(v bool)
- func (x *ModuleConfig_SerialConfig) SetMode(v ModuleConfig_SerialConfig_Serial_Mode)
- func (x *ModuleConfig_SerialConfig) SetOverrideConsoleSerialPort(v bool)
- func (x *ModuleConfig_SerialConfig) SetRxd(v uint32)
- func (x *ModuleConfig_SerialConfig) SetTimeout(v uint32)
- func (x *ModuleConfig_SerialConfig) SetTxd(v uint32)
- func (x *ModuleConfig_SerialConfig) String() string
- type ModuleConfig_SerialConfig_Serial_Baud
- func (ModuleConfig_SerialConfig_Serial_Baud) Descriptor() protoreflect.EnumDescriptor
- func (x ModuleConfig_SerialConfig_Serial_Baud) Enum() *ModuleConfig_SerialConfig_Serial_Baud
- func (x ModuleConfig_SerialConfig_Serial_Baud) Number() protoreflect.EnumNumber
- func (x ModuleConfig_SerialConfig_Serial_Baud) String() string
- func (ModuleConfig_SerialConfig_Serial_Baud) Type() protoreflect.EnumType
- type ModuleConfig_SerialConfig_Serial_Mode
- func (ModuleConfig_SerialConfig_Serial_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x ModuleConfig_SerialConfig_Serial_Mode) Enum() *ModuleConfig_SerialConfig_Serial_Mode
- func (x ModuleConfig_SerialConfig_Serial_Mode) Number() protoreflect.EnumNumber
- func (x ModuleConfig_SerialConfig_Serial_Mode) String() string
- func (ModuleConfig_SerialConfig_Serial_Mode) Type() protoreflect.EnumType
- type ModuleConfig_SerialConfig_builder
- type ModuleConfig_StoreForward
- type ModuleConfig_StoreForwardConfig
- func (x *ModuleConfig_StoreForwardConfig) GetEnabled() bool
- func (x *ModuleConfig_StoreForwardConfig) GetHeartbeat() bool
- func (x *ModuleConfig_StoreForwardConfig) GetHistoryReturnMax() uint32
- func (x *ModuleConfig_StoreForwardConfig) GetHistoryReturnWindow() uint32
- func (x *ModuleConfig_StoreForwardConfig) GetRecords() uint32
- func (*ModuleConfig_StoreForwardConfig) ProtoMessage()
- func (x *ModuleConfig_StoreForwardConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_StoreForwardConfig) Reset()
- func (x *ModuleConfig_StoreForwardConfig) SetEnabled(v bool)
- func (x *ModuleConfig_StoreForwardConfig) SetHeartbeat(v bool)
- func (x *ModuleConfig_StoreForwardConfig) SetHistoryReturnMax(v uint32)
- func (x *ModuleConfig_StoreForwardConfig) SetHistoryReturnWindow(v uint32)
- func (x *ModuleConfig_StoreForwardConfig) SetRecords(v uint32)
- func (x *ModuleConfig_StoreForwardConfig) String() string
- type ModuleConfig_StoreForwardConfig_builder
- type ModuleConfig_Telemetry
- type ModuleConfig_TelemetryConfig
- func (x *ModuleConfig_TelemetryConfig) GetAirQualityEnabled() bool
- func (x *ModuleConfig_TelemetryConfig) GetAirQualityInterval() uint32
- func (x *ModuleConfig_TelemetryConfig) GetDeviceUpdateInterval() uint32
- func (x *ModuleConfig_TelemetryConfig) GetEnvironmentDisplayFahrenheit() bool
- func (x *ModuleConfig_TelemetryConfig) GetEnvironmentMeasurementEnabled() bool
- func (x *ModuleConfig_TelemetryConfig) GetEnvironmentScreenEnabled() bool
- func (x *ModuleConfig_TelemetryConfig) GetEnvironmentUpdateInterval() uint32
- func (x *ModuleConfig_TelemetryConfig) GetPowerMeasurementEnabled() bool
- func (x *ModuleConfig_TelemetryConfig) GetPowerScreenEnabled() bool
- func (x *ModuleConfig_TelemetryConfig) GetPowerUpdateInterval() uint32
- func (*ModuleConfig_TelemetryConfig) ProtoMessage()
- func (x *ModuleConfig_TelemetryConfig) ProtoReflect() protoreflect.Message
- func (x *ModuleConfig_TelemetryConfig) Reset()
- func (x *ModuleConfig_TelemetryConfig) SetAirQualityEnabled(v bool)
- func (x *ModuleConfig_TelemetryConfig) SetAirQualityInterval(v uint32)
- func (x *ModuleConfig_TelemetryConfig) SetDeviceUpdateInterval(v uint32)
- func (x *ModuleConfig_TelemetryConfig) SetEnvironmentDisplayFahrenheit(v bool)
- func (x *ModuleConfig_TelemetryConfig) SetEnvironmentMeasurementEnabled(v bool)
- func (x *ModuleConfig_TelemetryConfig) SetEnvironmentScreenEnabled(v bool)
- func (x *ModuleConfig_TelemetryConfig) SetEnvironmentUpdateInterval(v uint32)
- func (x *ModuleConfig_TelemetryConfig) SetPowerMeasurementEnabled(v bool)
- func (x *ModuleConfig_TelemetryConfig) SetPowerScreenEnabled(v bool)
- func (x *ModuleConfig_TelemetryConfig) SetPowerUpdateInterval(v uint32)
- func (x *ModuleConfig_TelemetryConfig) String() string
- type ModuleConfig_TelemetryConfig_builder
- type ModuleConfig_builder
- type MqttClientProxyMessage
- func (x *MqttClientProxyMessage) ClearData()
- func (x *MqttClientProxyMessage) ClearPayloadVariant()
- func (x *MqttClientProxyMessage) ClearText()
- func (x *MqttClientProxyMessage) GetData() []byte
- func (x *MqttClientProxyMessage) GetPayloadVariant() isMqttClientProxyMessage_PayloadVariant
- func (x *MqttClientProxyMessage) GetRetained() bool
- func (x *MqttClientProxyMessage) GetText() string
- func (x *MqttClientProxyMessage) GetTopic() string
- func (x *MqttClientProxyMessage) HasData() bool
- func (x *MqttClientProxyMessage) HasPayloadVariant() bool
- func (x *MqttClientProxyMessage) HasText() bool
- func (*MqttClientProxyMessage) ProtoMessage()
- func (x *MqttClientProxyMessage) ProtoReflect() protoreflect.Message
- func (x *MqttClientProxyMessage) Reset()
- func (x *MqttClientProxyMessage) SetData(v []byte)
- func (x *MqttClientProxyMessage) SetRetained(v bool)
- func (x *MqttClientProxyMessage) SetText(v string)
- func (x *MqttClientProxyMessage) SetTopic(v string)
- func (x *MqttClientProxyMessage) String() string
- func (x *MqttClientProxyMessage) WhichPayloadVariant() case_MqttClientProxyMessage_PayloadVariant
- type MqttClientProxyMessage_Data
- type MqttClientProxyMessage_Text
- type MqttClientProxyMessage_builder
- type MyNodeInfo
- func (x *MyNodeInfo) GetMinAppVersion() uint32
- func (x *MyNodeInfo) GetMyNodeNum() uint32
- func (x *MyNodeInfo) GetRebootCount() uint32
- func (*MyNodeInfo) ProtoMessage()
- func (x *MyNodeInfo) ProtoReflect() protoreflect.Message
- func (x *MyNodeInfo) Reset()
- func (x *MyNodeInfo) SetMinAppVersion(v uint32)
- func (x *MyNodeInfo) SetMyNodeNum(v uint32)
- func (x *MyNodeInfo) SetRebootCount(v uint32)
- func (x *MyNodeInfo) String() string
- type MyNodeInfo_builder
- type Neighbor
- func (x *Neighbor) GetLastRxTime() uint32
- func (x *Neighbor) GetNodeBroadcastIntervalSecs() uint32
- func (x *Neighbor) GetNodeId() uint32
- func (x *Neighbor) GetSnr() float32
- func (*Neighbor) ProtoMessage()
- func (x *Neighbor) ProtoReflect() protoreflect.Message
- func (x *Neighbor) Reset()
- func (x *Neighbor) SetLastRxTime(v uint32)
- func (x *Neighbor) SetNodeBroadcastIntervalSecs(v uint32)
- func (x *Neighbor) SetNodeId(v uint32)
- func (x *Neighbor) SetSnr(v float32)
- func (x *Neighbor) String() string
- type NeighborInfo
- func (x *NeighborInfo) GetLastSentById() uint32
- func (x *NeighborInfo) GetNeighbors() []*Neighbor
- func (x *NeighborInfo) GetNodeBroadcastIntervalSecs() uint32
- func (x *NeighborInfo) GetNodeId() uint32
- func (*NeighborInfo) ProtoMessage()
- func (x *NeighborInfo) ProtoReflect() protoreflect.Message
- func (x *NeighborInfo) Reset()
- func (x *NeighborInfo) SetLastSentById(v uint32)
- func (x *NeighborInfo) SetNeighbors(v []*Neighbor)
- func (x *NeighborInfo) SetNodeBroadcastIntervalSecs(v uint32)
- func (x *NeighborInfo) SetNodeId(v uint32)
- func (x *NeighborInfo) String() string
- type NeighborInfo_builder
- type Neighbor_builder
- type NetworkConnectionStatus
- func (x *NetworkConnectionStatus) GetIpAddress() uint32
- func (x *NetworkConnectionStatus) GetIsConnected() bool
- func (x *NetworkConnectionStatus) GetIsMqttConnected() bool
- func (x *NetworkConnectionStatus) GetIsSyslogConnected() bool
- func (*NetworkConnectionStatus) ProtoMessage()
- func (x *NetworkConnectionStatus) ProtoReflect() protoreflect.Message
- func (x *NetworkConnectionStatus) Reset()
- func (x *NetworkConnectionStatus) SetIpAddress(v uint32)
- func (x *NetworkConnectionStatus) SetIsConnected(v bool)
- func (x *NetworkConnectionStatus) SetIsMqttConnected(v bool)
- func (x *NetworkConnectionStatus) SetIsSyslogConnected(v bool)
- func (x *NetworkConnectionStatus) String() string
- type NetworkConnectionStatus_builder
- type NodeInfo
- func (x *NodeInfo) ClearDeviceMetrics()
- func (x *NodeInfo) ClearPosition()
- func (x *NodeInfo) ClearUser()
- func (x *NodeInfo) GetChannel() uint32
- func (x *NodeInfo) GetDeviceMetrics() *DeviceMetrics
- func (x *NodeInfo) GetLastHeard() uint32
- func (x *NodeInfo) GetNum() uint32
- func (x *NodeInfo) GetPosition() *Position
- func (x *NodeInfo) GetSnr() float32
- func (x *NodeInfo) GetUser() *User
- func (x *NodeInfo) HasDeviceMetrics() bool
- func (x *NodeInfo) HasPosition() bool
- func (x *NodeInfo) HasUser() bool
- func (*NodeInfo) ProtoMessage()
- func (x *NodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo) Reset()
- func (x *NodeInfo) SetChannel(v uint32)
- func (x *NodeInfo) SetDeviceMetrics(v *DeviceMetrics)
- func (x *NodeInfo) SetLastHeard(v uint32)
- func (x *NodeInfo) SetNum(v uint32)
- func (x *NodeInfo) SetPosition(v *Position)
- func (x *NodeInfo) SetSnr(v float32)
- func (x *NodeInfo) SetUser(v *User)
- func (x *NodeInfo) String() string
- type NodeInfoLite
- func (x *NodeInfoLite) ClearDeviceMetrics()
- func (x *NodeInfoLite) ClearPosition()
- func (x *NodeInfoLite) ClearUser()
- func (x *NodeInfoLite) GetChannel() uint32
- func (x *NodeInfoLite) GetDeviceMetrics() *DeviceMetrics
- func (x *NodeInfoLite) GetLastHeard() uint32
- func (x *NodeInfoLite) GetNum() uint32
- func (x *NodeInfoLite) GetPosition() *PositionLite
- func (x *NodeInfoLite) GetSnr() float32
- func (x *NodeInfoLite) GetUser() *User
- func (x *NodeInfoLite) HasDeviceMetrics() bool
- func (x *NodeInfoLite) HasPosition() bool
- func (x *NodeInfoLite) HasUser() bool
- func (*NodeInfoLite) ProtoMessage()
- func (x *NodeInfoLite) ProtoReflect() protoreflect.Message
- func (x *NodeInfoLite) Reset()
- func (x *NodeInfoLite) SetChannel(v uint32)
- func (x *NodeInfoLite) SetDeviceMetrics(v *DeviceMetrics)
- func (x *NodeInfoLite) SetLastHeard(v uint32)
- func (x *NodeInfoLite) SetNum(v uint32)
- func (x *NodeInfoLite) SetPosition(v *PositionLite)
- func (x *NodeInfoLite) SetSnr(v float32)
- func (x *NodeInfoLite) SetUser(v *User)
- func (x *NodeInfoLite) String() string
- type NodeInfoLite_builder
- type NodeInfo_builder
- type NodeRemoteHardwarePin
- func (x *NodeRemoteHardwarePin) ClearPin()
- func (x *NodeRemoteHardwarePin) GetNodeNum() uint32
- func (x *NodeRemoteHardwarePin) GetPin() *RemoteHardwarePin
- func (x *NodeRemoteHardwarePin) HasPin() bool
- func (*NodeRemoteHardwarePin) ProtoMessage()
- func (x *NodeRemoteHardwarePin) ProtoReflect() protoreflect.Message
- func (x *NodeRemoteHardwarePin) Reset()
- func (x *NodeRemoteHardwarePin) SetNodeNum(v uint32)
- func (x *NodeRemoteHardwarePin) SetPin(v *RemoteHardwarePin)
- func (x *NodeRemoteHardwarePin) String() string
- type NodeRemoteHardwarePin_builder
- type NodeRemoteHardwarePinsResponse
- func (x *NodeRemoteHardwarePinsResponse) GetNodeRemoteHardwarePins() []*NodeRemoteHardwarePin
- func (*NodeRemoteHardwarePinsResponse) ProtoMessage()
- func (x *NodeRemoteHardwarePinsResponse) ProtoReflect() protoreflect.Message
- func (x *NodeRemoteHardwarePinsResponse) Reset()
- func (x *NodeRemoteHardwarePinsResponse) SetNodeRemoteHardwarePins(v []*NodeRemoteHardwarePin)
- func (x *NodeRemoteHardwarePinsResponse) String() string
- type NodeRemoteHardwarePinsResponse_builder
- type OEMStore
- func (x *OEMStore) ClearOemLocalConfig()
- func (x *OEMStore) ClearOemLocalModuleConfig()
- func (x *OEMStore) GetOemAesKey() []byte
- func (x *OEMStore) GetOemFont() ScreenFonts
- func (x *OEMStore) GetOemIconBits() []byte
- func (x *OEMStore) GetOemIconHeight() uint32
- func (x *OEMStore) GetOemIconWidth() uint32
- func (x *OEMStore) GetOemLocalConfig() *LocalConfig
- func (x *OEMStore) GetOemLocalModuleConfig() *LocalModuleConfig
- func (x *OEMStore) GetOemText() string
- func (x *OEMStore) HasOemLocalConfig() bool
- func (x *OEMStore) HasOemLocalModuleConfig() bool
- func (*OEMStore) ProtoMessage()
- func (x *OEMStore) ProtoReflect() protoreflect.Message
- func (x *OEMStore) Reset()
- func (x *OEMStore) SetOemAesKey(v []byte)
- func (x *OEMStore) SetOemFont(v ScreenFonts)
- func (x *OEMStore) SetOemIconBits(v []byte)
- func (x *OEMStore) SetOemIconHeight(v uint32)
- func (x *OEMStore) SetOemIconWidth(v uint32)
- func (x *OEMStore) SetOemLocalConfig(v *LocalConfig)
- func (x *OEMStore) SetOemLocalModuleConfig(v *LocalModuleConfig)
- func (x *OEMStore) SetOemText(v string)
- func (x *OEMStore) String() string
- type OEMStore_builder
- type PLI
- func (x *PLI) GetAltitude() uint32
- func (x *PLI) GetCourse() uint32
- func (x *PLI) GetLatitudeI() int32
- func (x *PLI) GetLongitudeI() int32
- func (x *PLI) GetSpeed() uint32
- func (*PLI) ProtoMessage()
- func (x *PLI) ProtoReflect() protoreflect.Message
- func (x *PLI) Reset()
- func (x *PLI) SetAltitude(v uint32)
- func (x *PLI) SetCourse(v uint32)
- func (x *PLI) SetLatitudeI(v int32)
- func (x *PLI) SetLongitudeI(v int32)
- func (x *PLI) SetSpeed(v uint32)
- func (x *PLI) String() string
- type PLI_builder
- type Paxcount
- func (x *Paxcount) GetBle() uint32
- func (x *Paxcount) GetUptime() uint32
- func (x *Paxcount) GetWifi() uint32
- func (*Paxcount) ProtoMessage()
- func (x *Paxcount) ProtoReflect() protoreflect.Message
- func (x *Paxcount) Reset()
- func (x *Paxcount) SetBle(v uint32)
- func (x *Paxcount) SetUptime(v uint32)
- func (x *Paxcount) SetWifi(v uint32)
- func (x *Paxcount) String() string
- type Paxcount_builder
- type PortNum
- type Position
- func (x *Position) GetAltitude() int32
- func (x *Position) GetAltitudeGeoidalSeparation() int32
- func (x *Position) GetAltitudeHae() int32
- func (x *Position) GetAltitudeSource() Position_AltSource
- func (x *Position) GetFixQuality() uint32
- func (x *Position) GetFixType() uint32
- func (x *Position) GetGpsAccuracy() uint32
- func (x *Position) GetGroundSpeed() uint32
- func (x *Position) GetGroundTrack() uint32
- func (x *Position) GetHDOP() uint32
- func (x *Position) GetLatitudeI() int32
- func (x *Position) GetLocationSource() Position_LocSource
- func (x *Position) GetLongitudeI() int32
- func (x *Position) GetNextUpdate() uint32
- func (x *Position) GetPDOP() uint32
- func (x *Position) GetSatsInView() uint32
- func (x *Position) GetSensorId() uint32
- func (x *Position) GetSeqNumber() uint32
- func (x *Position) GetTime() uint32
- func (x *Position) GetTimestamp() uint32
- func (x *Position) GetTimestampMillisAdjust() int32
- func (x *Position) GetVDOP() uint32
- func (*Position) ProtoMessage()
- func (x *Position) ProtoReflect() protoreflect.Message
- func (x *Position) Reset()
- func (x *Position) SetAltitude(v int32)
- func (x *Position) SetAltitudeGeoidalSeparation(v int32)
- func (x *Position) SetAltitudeHae(v int32)
- func (x *Position) SetAltitudeSource(v Position_AltSource)
- func (x *Position) SetFixQuality(v uint32)
- func (x *Position) SetFixType(v uint32)
- func (x *Position) SetGpsAccuracy(v uint32)
- func (x *Position) SetGroundSpeed(v uint32)
- func (x *Position) SetGroundTrack(v uint32)
- func (x *Position) SetHDOP(v uint32)
- func (x *Position) SetLatitudeI(v int32)
- func (x *Position) SetLocationSource(v Position_LocSource)
- func (x *Position) SetLongitudeI(v int32)
- func (x *Position) SetNextUpdate(v uint32)
- func (x *Position) SetPDOP(v uint32)
- func (x *Position) SetSatsInView(v uint32)
- func (x *Position) SetSensorId(v uint32)
- func (x *Position) SetSeqNumber(v uint32)
- func (x *Position) SetTime(v uint32)
- func (x *Position) SetTimestamp(v uint32)
- func (x *Position) SetTimestampMillisAdjust(v int32)
- func (x *Position) SetVDOP(v uint32)
- func (x *Position) String() string
- type PositionLite
- func (x *PositionLite) GetAltitude() int32
- func (x *PositionLite) GetLatitudeI() int32
- func (x *PositionLite) GetLocationSource() Position_LocSource
- func (x *PositionLite) GetLongitudeI() int32
- func (x *PositionLite) GetTime() uint32
- func (*PositionLite) ProtoMessage()
- func (x *PositionLite) ProtoReflect() protoreflect.Message
- func (x *PositionLite) Reset()
- func (x *PositionLite) SetAltitude(v int32)
- func (x *PositionLite) SetLatitudeI(v int32)
- func (x *PositionLite) SetLocationSource(v Position_LocSource)
- func (x *PositionLite) SetLongitudeI(v int32)
- func (x *PositionLite) SetTime(v uint32)
- func (x *PositionLite) String() string
- type PositionLite_builder
- type Position_AltSource
- type Position_LocSource
- type Position_builder
- type PowerMetrics
- func (x *PowerMetrics) GetCh1Current() float32
- func (x *PowerMetrics) GetCh1Voltage() float32
- func (x *PowerMetrics) GetCh2Current() float32
- func (x *PowerMetrics) GetCh2Voltage() float32
- func (x *PowerMetrics) GetCh3Current() float32
- func (x *PowerMetrics) GetCh3Voltage() float32
- func (*PowerMetrics) ProtoMessage()
- func (x *PowerMetrics) ProtoReflect() protoreflect.Message
- func (x *PowerMetrics) Reset()
- func (x *PowerMetrics) SetCh1Current(v float32)
- func (x *PowerMetrics) SetCh1Voltage(v float32)
- func (x *PowerMetrics) SetCh2Current(v float32)
- func (x *PowerMetrics) SetCh2Voltage(v float32)
- func (x *PowerMetrics) SetCh3Current(v float32)
- func (x *PowerMetrics) SetCh3Voltage(v float32)
- func (x *PowerMetrics) String() string
- type PowerMetrics_builder
- type QueueStatus
- func (x *QueueStatus) GetFree() uint32
- func (x *QueueStatus) GetMaxlen() uint32
- func (x *QueueStatus) GetMeshPacketId() uint32
- func (x *QueueStatus) GetRes() int32
- func (*QueueStatus) ProtoMessage()
- func (x *QueueStatus) ProtoReflect() protoreflect.Message
- func (x *QueueStatus) Reset()
- func (x *QueueStatus) SetFree(v uint32)
- func (x *QueueStatus) SetMaxlen(v uint32)
- func (x *QueueStatus) SetMeshPacketId(v uint32)
- func (x *QueueStatus) SetRes(v int32)
- func (x *QueueStatus) String() string
- type QueueStatus_builder
- type RTTTLConfig
- type RTTTLConfig_builder
- type RemoteHardwarePin
- func (x *RemoteHardwarePin) GetGpioPin() uint32
- func (x *RemoteHardwarePin) GetName() string
- func (x *RemoteHardwarePin) GetType() RemoteHardwarePinType
- func (*RemoteHardwarePin) ProtoMessage()
- func (x *RemoteHardwarePin) ProtoReflect() protoreflect.Message
- func (x *RemoteHardwarePin) Reset()
- func (x *RemoteHardwarePin) SetGpioPin(v uint32)
- func (x *RemoteHardwarePin) SetName(v string)
- func (x *RemoteHardwarePin) SetType(v RemoteHardwarePinType)
- func (x *RemoteHardwarePin) String() string
- type RemoteHardwarePinType
- type RemoteHardwarePin_builder
- type RouteDiscovery
- type RouteDiscovery_builder
- type Routing
- func (x *Routing) ClearErrorReason()
- func (x *Routing) ClearRouteReply()
- func (x *Routing) ClearRouteRequest()
- func (x *Routing) ClearVariant()
- func (x *Routing) GetErrorReason() Routing_Error
- func (x *Routing) GetRouteReply() *RouteDiscovery
- func (x *Routing) GetRouteRequest() *RouteDiscovery
- func (x *Routing) GetVariant() isRouting_Variant
- func (x *Routing) HasErrorReason() bool
- func (x *Routing) HasRouteReply() bool
- func (x *Routing) HasRouteRequest() bool
- func (x *Routing) HasVariant() bool
- func (*Routing) ProtoMessage()
- func (x *Routing) ProtoReflect() protoreflect.Message
- func (x *Routing) Reset()
- func (x *Routing) SetErrorReason(v Routing_Error)
- func (x *Routing) SetRouteReply(v *RouteDiscovery)
- func (x *Routing) SetRouteRequest(v *RouteDiscovery)
- func (x *Routing) String() string
- func (x *Routing) WhichVariant() case_Routing_Variant
- type Routing_Error
- type Routing_ErrorReason
- type Routing_RouteReply
- type Routing_RouteRequest
- type Routing_builder
- type ScreenFonts
- type SerialConnectionStatus
- func (x *SerialConnectionStatus) GetBaud() uint32
- func (x *SerialConnectionStatus) GetIsConnected() bool
- func (*SerialConnectionStatus) ProtoMessage()
- func (x *SerialConnectionStatus) ProtoReflect() protoreflect.Message
- func (x *SerialConnectionStatus) Reset()
- func (x *SerialConnectionStatus) SetBaud(v uint32)
- func (x *SerialConnectionStatus) SetIsConnected(v bool)
- func (x *SerialConnectionStatus) String() string
- type SerialConnectionStatus_builder
- type ServiceEnvelope
- func (x *ServiceEnvelope) ClearPacket()
- func (x *ServiceEnvelope) GetChannelId() string
- func (x *ServiceEnvelope) GetGatewayId() string
- func (x *ServiceEnvelope) GetPacket() *MeshPacket
- func (x *ServiceEnvelope) HasPacket() bool
- func (*ServiceEnvelope) ProtoMessage()
- func (x *ServiceEnvelope) ProtoReflect() protoreflect.Message
- func (x *ServiceEnvelope) Reset()
- func (x *ServiceEnvelope) SetChannelId(v string)
- func (x *ServiceEnvelope) SetGatewayId(v string)
- func (x *ServiceEnvelope) SetPacket(v *MeshPacket)
- func (x *ServiceEnvelope) String() string
- type ServiceEnvelope_builder
- type Status
- type Status_builder
- type StoreAndForward
- func (x *StoreAndForward) ClearHeartbeat()
- func (x *StoreAndForward) ClearHistory()
- func (x *StoreAndForward) ClearStats()
- func (x *StoreAndForward) ClearText()
- func (x *StoreAndForward) ClearVariant()
- func (x *StoreAndForward) GetHeartbeat() *StoreAndForward_Heartbeat
- func (x *StoreAndForward) GetHistory() *StoreAndForward_History
- func (x *StoreAndForward) GetRr() StoreAndForward_RequestResponse
- func (x *StoreAndForward) GetStats() *StoreAndForward_Statistics
- func (x *StoreAndForward) GetText() []byte
- func (x *StoreAndForward) GetVariant() isStoreAndForward_Variant
- func (x *StoreAndForward) HasHeartbeat() bool
- func (x *StoreAndForward) HasHistory() bool
- func (x *StoreAndForward) HasStats() bool
- func (x *StoreAndForward) HasText() bool
- func (x *StoreAndForward) HasVariant() bool
- func (*StoreAndForward) ProtoMessage()
- func (x *StoreAndForward) ProtoReflect() protoreflect.Message
- func (x *StoreAndForward) Reset()
- func (x *StoreAndForward) SetHeartbeat(v *StoreAndForward_Heartbeat)
- func (x *StoreAndForward) SetHistory(v *StoreAndForward_History)
- func (x *StoreAndForward) SetRr(v StoreAndForward_RequestResponse)
- func (x *StoreAndForward) SetStats(v *StoreAndForward_Statistics)
- func (x *StoreAndForward) SetText(v []byte)
- func (x *StoreAndForward) String() string
- func (x *StoreAndForward) WhichVariant() case_StoreAndForward_Variant
- type StoreAndForward_Heartbeat
- func (x *StoreAndForward_Heartbeat) GetPeriod() uint32
- func (x *StoreAndForward_Heartbeat) GetSecondary() uint32
- func (*StoreAndForward_Heartbeat) ProtoMessage()
- func (x *StoreAndForward_Heartbeat) ProtoReflect() protoreflect.Message
- func (x *StoreAndForward_Heartbeat) Reset()
- func (x *StoreAndForward_Heartbeat) SetPeriod(v uint32)
- func (x *StoreAndForward_Heartbeat) SetSecondary(v uint32)
- func (x *StoreAndForward_Heartbeat) String() string
- type StoreAndForward_Heartbeat_
- type StoreAndForward_Heartbeat_builder
- type StoreAndForward_History
- func (x *StoreAndForward_History) GetHistoryMessages() uint32
- func (x *StoreAndForward_History) GetLastRequest() uint32
- func (x *StoreAndForward_History) GetWindow() uint32
- func (*StoreAndForward_History) ProtoMessage()
- func (x *StoreAndForward_History) ProtoReflect() protoreflect.Message
- func (x *StoreAndForward_History) Reset()
- func (x *StoreAndForward_History) SetHistoryMessages(v uint32)
- func (x *StoreAndForward_History) SetLastRequest(v uint32)
- func (x *StoreAndForward_History) SetWindow(v uint32)
- func (x *StoreAndForward_History) String() string
- type StoreAndForward_History_
- type StoreAndForward_History_builder
- type StoreAndForward_RequestResponse
- func (StoreAndForward_RequestResponse) Descriptor() protoreflect.EnumDescriptor
- func (x StoreAndForward_RequestResponse) Enum() *StoreAndForward_RequestResponse
- func (x StoreAndForward_RequestResponse) Number() protoreflect.EnumNumber
- func (x StoreAndForward_RequestResponse) String() string
- func (StoreAndForward_RequestResponse) Type() protoreflect.EnumType
- type StoreAndForward_Statistics
- func (x *StoreAndForward_Statistics) GetHeartbeat() bool
- func (x *StoreAndForward_Statistics) GetMessagesMax() uint32
- func (x *StoreAndForward_Statistics) GetMessagesSaved() uint32
- func (x *StoreAndForward_Statistics) GetMessagesTotal() uint32
- func (x *StoreAndForward_Statistics) GetRequests() uint32
- func (x *StoreAndForward_Statistics) GetRequestsHistory() uint32
- func (x *StoreAndForward_Statistics) GetReturnMax() uint32
- func (x *StoreAndForward_Statistics) GetReturnWindow() uint32
- func (x *StoreAndForward_Statistics) GetUpTime() uint32
- func (*StoreAndForward_Statistics) ProtoMessage()
- func (x *StoreAndForward_Statistics) ProtoReflect() protoreflect.Message
- func (x *StoreAndForward_Statistics) Reset()
- func (x *StoreAndForward_Statistics) SetHeartbeat(v bool)
- func (x *StoreAndForward_Statistics) SetMessagesMax(v uint32)
- func (x *StoreAndForward_Statistics) SetMessagesSaved(v uint32)
- func (x *StoreAndForward_Statistics) SetMessagesTotal(v uint32)
- func (x *StoreAndForward_Statistics) SetRequests(v uint32)
- func (x *StoreAndForward_Statistics) SetRequestsHistory(v uint32)
- func (x *StoreAndForward_Statistics) SetReturnMax(v uint32)
- func (x *StoreAndForward_Statistics) SetReturnWindow(v uint32)
- func (x *StoreAndForward_Statistics) SetUpTime(v uint32)
- func (x *StoreAndForward_Statistics) String() string
- type StoreAndForward_Statistics_builder
- type StoreAndForward_Stats
- type StoreAndForward_Text
- type StoreAndForward_builder
- type TAKPacket
- func (x *TAKPacket) ClearChat()
- func (x *TAKPacket) ClearContact()
- func (x *TAKPacket) ClearGroup()
- func (x *TAKPacket) ClearPayloadVariant()
- func (x *TAKPacket) ClearPli()
- func (x *TAKPacket) ClearStatus()
- func (x *TAKPacket) GetChat() *GeoChat
- func (x *TAKPacket) GetContact() *Contact
- func (x *TAKPacket) GetGroup() *Group
- func (x *TAKPacket) GetIsCompressed() bool
- func (x *TAKPacket) GetPayloadVariant() isTAKPacket_PayloadVariant
- func (x *TAKPacket) GetPli() *PLI
- func (x *TAKPacket) GetStatus() *Status
- func (x *TAKPacket) HasChat() bool
- func (x *TAKPacket) HasContact() bool
- func (x *TAKPacket) HasGroup() bool
- func (x *TAKPacket) HasPayloadVariant() bool
- func (x *TAKPacket) HasPli() bool
- func (x *TAKPacket) HasStatus() bool
- func (*TAKPacket) ProtoMessage()
- func (x *TAKPacket) ProtoReflect() protoreflect.Message
- func (x *TAKPacket) Reset()
- func (x *TAKPacket) SetChat(v *GeoChat)
- func (x *TAKPacket) SetContact(v *Contact)
- func (x *TAKPacket) SetGroup(v *Group)
- func (x *TAKPacket) SetIsCompressed(v bool)
- func (x *TAKPacket) SetPli(v *PLI)
- func (x *TAKPacket) SetStatus(v *Status)
- func (x *TAKPacket) String() string
- func (x *TAKPacket) WhichPayloadVariant() case_TAKPacket_PayloadVariant
- type TAKPacket_Chat
- type TAKPacket_Pli
- type TAKPacket_builder
- type Team
- type Telemetry
- func (x *Telemetry) ClearAirQualityMetrics()
- func (x *Telemetry) ClearDeviceMetrics()
- func (x *Telemetry) ClearEnvironmentMetrics()
- func (x *Telemetry) ClearPowerMetrics()
- func (x *Telemetry) ClearVariant()
- func (x *Telemetry) GetAirQualityMetrics() *AirQualityMetrics
- func (x *Telemetry) GetDeviceMetrics() *DeviceMetrics
- func (x *Telemetry) GetEnvironmentMetrics() *EnvironmentMetrics
- func (x *Telemetry) GetPowerMetrics() *PowerMetrics
- func (x *Telemetry) GetTime() uint32
- func (x *Telemetry) GetVariant() isTelemetry_Variant
- func (x *Telemetry) HasAirQualityMetrics() bool
- func (x *Telemetry) HasDeviceMetrics() bool
- func (x *Telemetry) HasEnvironmentMetrics() bool
- func (x *Telemetry) HasPowerMetrics() bool
- func (x *Telemetry) HasVariant() bool
- func (*Telemetry) ProtoMessage()
- func (x *Telemetry) ProtoReflect() protoreflect.Message
- func (x *Telemetry) Reset()
- func (x *Telemetry) SetAirQualityMetrics(v *AirQualityMetrics)
- func (x *Telemetry) SetDeviceMetrics(v *DeviceMetrics)
- func (x *Telemetry) SetEnvironmentMetrics(v *EnvironmentMetrics)
- func (x *Telemetry) SetPowerMetrics(v *PowerMetrics)
- func (x *Telemetry) SetTime(v uint32)
- func (x *Telemetry) String() string
- func (x *Telemetry) WhichVariant() case_Telemetry_Variant
- type TelemetrySensorType
- type Telemetry_AirQualityMetrics
- type Telemetry_DeviceMetrics
- type Telemetry_EnvironmentMetrics
- type Telemetry_PowerMetrics
- type Telemetry_builder
- type ToRadio
- func (x *ToRadio) ClearDisconnect()
- func (x *ToRadio) ClearMqttClientProxyMessage()
- func (x *ToRadio) ClearPacket()
- func (x *ToRadio) ClearPayloadVariant()
- func (x *ToRadio) ClearWantConfigId()
- func (x *ToRadio) ClearXmodemPacket()
- func (x *ToRadio) GetDisconnect() bool
- func (x *ToRadio) GetMqttClientProxyMessage() *MqttClientProxyMessage
- func (x *ToRadio) GetPacket() *MeshPacket
- func (x *ToRadio) GetPayloadVariant() isToRadio_PayloadVariant
- func (x *ToRadio) GetWantConfigId() uint32
- func (x *ToRadio) GetXmodemPacket() *XModem
- func (x *ToRadio) HasDisconnect() bool
- func (x *ToRadio) HasMqttClientProxyMessage() bool
- func (x *ToRadio) HasPacket() bool
- func (x *ToRadio) HasPayloadVariant() bool
- func (x *ToRadio) HasWantConfigId() bool
- func (x *ToRadio) HasXmodemPacket() bool
- func (*ToRadio) ProtoMessage()
- func (x *ToRadio) ProtoReflect() protoreflect.Message
- func (x *ToRadio) Reset()
- func (x *ToRadio) SetDisconnect(v bool)
- func (x *ToRadio) SetMqttClientProxyMessage(v *MqttClientProxyMessage)
- func (x *ToRadio) SetPacket(v *MeshPacket)
- func (x *ToRadio) SetWantConfigId(v uint32)
- func (x *ToRadio) SetXmodemPacket(v *XModem)
- func (x *ToRadio) String() string
- func (x *ToRadio) WhichPayloadVariant() case_ToRadio_PayloadVariant
- type ToRadio_Disconnect
- type ToRadio_MqttClientProxyMessage
- type ToRadio_Packet
- type ToRadio_WantConfigId
- type ToRadio_XmodemPacket
- type ToRadio_builder
- type User
- func (x *User) GetHwModel() HardwareModel
- func (x *User) GetId() string
- func (x *User) GetIsLicensed() bool
- func (x *User) GetLongName() string
- func (x *User) GetMacaddr() []bytedeprecated
- func (x *User) GetRole() Config_DeviceConfig_Role
- func (x *User) GetShortName() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) SetHwModel(v HardwareModel)
- func (x *User) SetId(v string)
- func (x *User) SetIsLicensed(v bool)
- func (x *User) SetLongName(v string)
- func (x *User) SetMacaddr(v []byte)deprecated
- func (x *User) SetRole(v Config_DeviceConfig_Role)
- func (x *User) SetShortName(v string)
- func (x *User) String() string
- type User_builder
- type Waypoint
- func (x *Waypoint) GetDescription() string
- func (x *Waypoint) GetExpire() uint32
- func (x *Waypoint) GetIcon() uint32
- func (x *Waypoint) GetId() uint32
- func (x *Waypoint) GetLatitudeI() int32
- func (x *Waypoint) GetLockedTo() uint32
- func (x *Waypoint) GetLongitudeI() int32
- func (x *Waypoint) GetName() string
- func (*Waypoint) ProtoMessage()
- func (x *Waypoint) ProtoReflect() protoreflect.Message
- func (x *Waypoint) Reset()
- func (x *Waypoint) SetDescription(v string)
- func (x *Waypoint) SetExpire(v uint32)
- func (x *Waypoint) SetIcon(v uint32)
- func (x *Waypoint) SetId(v uint32)
- func (x *Waypoint) SetLatitudeI(v int32)
- func (x *Waypoint) SetLockedTo(v uint32)
- func (x *Waypoint) SetLongitudeI(v int32)
- func (x *Waypoint) SetName(v string)
- func (x *Waypoint) String() string
- type Waypoint_builder
- type WifiConnectionStatus
- func (x *WifiConnectionStatus) ClearStatus()
- func (x *WifiConnectionStatus) GetRssi() int32
- func (x *WifiConnectionStatus) GetSsid() string
- func (x *WifiConnectionStatus) GetStatus() *NetworkConnectionStatus
- func (x *WifiConnectionStatus) HasStatus() bool
- func (*WifiConnectionStatus) ProtoMessage()
- func (x *WifiConnectionStatus) ProtoReflect() protoreflect.Message
- func (x *WifiConnectionStatus) Reset()
- func (x *WifiConnectionStatus) SetRssi(v int32)
- func (x *WifiConnectionStatus) SetSsid(v string)
- func (x *WifiConnectionStatus) SetStatus(v *NetworkConnectionStatus)
- func (x *WifiConnectionStatus) String() string
- type WifiConnectionStatus_builder
- type XModem
- func (x *XModem) GetBuffer() []byte
- func (x *XModem) GetControl() XModem_Control
- func (x *XModem) GetCrc16() uint32
- func (x *XModem) GetSeq() uint32
- func (*XModem) ProtoMessage()
- func (x *XModem) ProtoReflect() protoreflect.Message
- func (x *XModem) Reset()
- func (x *XModem) SetBuffer(v []byte)
- func (x *XModem) SetControl(v XModem_Control)
- func (x *XModem) SetCrc16(v uint32)
- func (x *XModem) SetSeq(v uint32)
- func (x *XModem) String() string
- type XModem_Control
- type XModem_builder
Constants ¶
const AdminMessage_BeginEditSettings_case case_AdminMessage_PayloadVariant = 64
const AdminMessage_CommitEditSettings_case case_AdminMessage_PayloadVariant = 65
const AdminMessage_DeleteFileRequest_case case_AdminMessage_PayloadVariant = 22
const AdminMessage_EnterDfuModeRequest_case case_AdminMessage_PayloadVariant = 21
const AdminMessage_ExitSimulator_case case_AdminMessage_PayloadVariant = 96
const AdminMessage_FactoryReset_case case_AdminMessage_PayloadVariant = 99
const AdminMessage_GetCannedMessageModuleMessagesRequest_case case_AdminMessage_PayloadVariant = 10
const AdminMessage_GetCannedMessageModuleMessagesResponse_case case_AdminMessage_PayloadVariant = 11
const AdminMessage_GetChannelRequest_case case_AdminMessage_PayloadVariant = 1
const AdminMessage_GetChannelResponse_case case_AdminMessage_PayloadVariant = 2
const AdminMessage_GetConfigRequest_case case_AdminMessage_PayloadVariant = 5
const AdminMessage_GetConfigResponse_case case_AdminMessage_PayloadVariant = 6
const AdminMessage_GetDeviceConnectionStatusRequest_case case_AdminMessage_PayloadVariant = 16
const AdminMessage_GetDeviceConnectionStatusResponse_case case_AdminMessage_PayloadVariant = 17
const AdminMessage_GetDeviceMetadataRequest_case case_AdminMessage_PayloadVariant = 12
const AdminMessage_GetDeviceMetadataResponse_case case_AdminMessage_PayloadVariant = 13
const AdminMessage_GetModuleConfigRequest_case case_AdminMessage_PayloadVariant = 7
const AdminMessage_GetModuleConfigResponse_case case_AdminMessage_PayloadVariant = 8
const AdminMessage_GetNodeRemoteHardwarePinsRequest_case case_AdminMessage_PayloadVariant = 19
const AdminMessage_GetNodeRemoteHardwarePinsResponse_case case_AdminMessage_PayloadVariant = 20
const AdminMessage_GetOwnerRequest_case case_AdminMessage_PayloadVariant = 3
const AdminMessage_GetOwnerResponse_case case_AdminMessage_PayloadVariant = 4
const AdminMessage_GetRingtoneRequest_case case_AdminMessage_PayloadVariant = 14
const AdminMessage_GetRingtoneResponse_case case_AdminMessage_PayloadVariant = 15
const AdminMessage_NodedbReset_case case_AdminMessage_PayloadVariant = 100
const AdminMessage_PayloadVariant_not_set_case case_AdminMessage_PayloadVariant = 0
const AdminMessage_RebootOtaSeconds_case case_AdminMessage_PayloadVariant = 95
const AdminMessage_RebootSeconds_case case_AdminMessage_PayloadVariant = 97
const AdminMessage_RemoveByNodenum_case case_AdminMessage_PayloadVariant = 38
const AdminMessage_SetCannedMessageModuleMessages_case case_AdminMessage_PayloadVariant = 36
const AdminMessage_SetChannel_case case_AdminMessage_PayloadVariant = 33
const AdminMessage_SetConfig_case case_AdminMessage_PayloadVariant = 34
const AdminMessage_SetHamMode_case case_AdminMessage_PayloadVariant = 18
const AdminMessage_SetModuleConfig_case case_AdminMessage_PayloadVariant = 35
const AdminMessage_SetOwner_case case_AdminMessage_PayloadVariant = 32
const AdminMessage_SetRingtoneMessage_case case_AdminMessage_PayloadVariant = 37
const AdminMessage_ShutdownSeconds_case case_AdminMessage_PayloadVariant = 98
const Config_Bluetooth_case case_Config_PayloadVariant = 7
const Config_Device_case case_Config_PayloadVariant = 1
const Config_Display_case case_Config_PayloadVariant = 5
const Config_Lora_case case_Config_PayloadVariant = 6
const Config_Network_case case_Config_PayloadVariant = 4
const Config_PayloadVariant_not_set_case case_Config_PayloadVariant = 0
const Config_Position_case case_Config_PayloadVariant = 2
const Config_Power_case case_Config_PayloadVariant = 3
const FromRadio_Channel_case case_FromRadio_PayloadVariant = 10
const FromRadio_ConfigCompleteId_case case_FromRadio_PayloadVariant = 7
const FromRadio_Config_case case_FromRadio_PayloadVariant = 5
const FromRadio_LogRecord_case case_FromRadio_PayloadVariant = 6
const FromRadio_Metadata_case case_FromRadio_PayloadVariant = 13
const FromRadio_ModuleConfig_case case_FromRadio_PayloadVariant = 9
const FromRadio_MqttClientProxyMessage_case case_FromRadio_PayloadVariant = 14
const FromRadio_MyInfo_case case_FromRadio_PayloadVariant = 3
const FromRadio_NodeInfo_case case_FromRadio_PayloadVariant = 4
const FromRadio_Packet_case case_FromRadio_PayloadVariant = 2
const FromRadio_PayloadVariant_not_set_case case_FromRadio_PayloadVariant = 0
const FromRadio_QueueStatus_case case_FromRadio_PayloadVariant = 11
const FromRadio_Rebooted_case case_FromRadio_PayloadVariant = 8
const FromRadio_XmodemPacket_case case_FromRadio_PayloadVariant = 12
const MeshPacket_Decoded_case case_MeshPacket_PayloadVariant = 4
const MeshPacket_Encrypted_case case_MeshPacket_PayloadVariant = 5
const MeshPacket_PayloadVariant_not_set_case case_MeshPacket_PayloadVariant = 0
const ModuleConfig_AmbientLighting_case case_ModuleConfig_PayloadVariant = 11
const ModuleConfig_Audio_case case_ModuleConfig_PayloadVariant = 8
const ModuleConfig_CannedMessage_case case_ModuleConfig_PayloadVariant = 7
const ModuleConfig_DetectionSensor_case case_ModuleConfig_PayloadVariant = 12
const ModuleConfig_ExternalNotification_case case_ModuleConfig_PayloadVariant = 3
const ModuleConfig_Mqtt_case case_ModuleConfig_PayloadVariant = 1
const ModuleConfig_NeighborInfo_case case_ModuleConfig_PayloadVariant = 10
const ModuleConfig_Paxcounter_case case_ModuleConfig_PayloadVariant = 13
const ModuleConfig_PayloadVariant_not_set_case case_ModuleConfig_PayloadVariant = 0
const ModuleConfig_RangeTest_case case_ModuleConfig_PayloadVariant = 5
const ModuleConfig_RemoteHardware_case case_ModuleConfig_PayloadVariant = 9
const ModuleConfig_Serial_case case_ModuleConfig_PayloadVariant = 2
const ModuleConfig_StoreForward_case case_ModuleConfig_PayloadVariant = 4
const ModuleConfig_Telemetry_case case_ModuleConfig_PayloadVariant = 6
const MqttClientProxyMessage_Data_case case_MqttClientProxyMessage_PayloadVariant = 2
const MqttClientProxyMessage_PayloadVariant_not_set_case case_MqttClientProxyMessage_PayloadVariant = 0
const MqttClientProxyMessage_Text_case case_MqttClientProxyMessage_PayloadVariant = 3
const Routing_ErrorReason_case case_Routing_Variant = 3
const Routing_RouteReply_case case_Routing_Variant = 2
const Routing_RouteRequest_case case_Routing_Variant = 1
const Routing_Variant_not_set_case case_Routing_Variant = 0
const StoreAndForward_Heartbeat_case case_StoreAndForward_Variant = 4
const StoreAndForward_History_case case_StoreAndForward_Variant = 3
const StoreAndForward_Stats_case case_StoreAndForward_Variant = 2
const StoreAndForward_Text_case case_StoreAndForward_Variant = 5
const StoreAndForward_Variant_not_set_case case_StoreAndForward_Variant = 0
const TAKPacket_Chat_case case_TAKPacket_PayloadVariant = 6
const TAKPacket_PayloadVariant_not_set_case case_TAKPacket_PayloadVariant = 0
const TAKPacket_Pli_case case_TAKPacket_PayloadVariant = 5
const Telemetry_AirQualityMetrics_case case_Telemetry_Variant = 4
const Telemetry_DeviceMetrics_case case_Telemetry_Variant = 2
const Telemetry_EnvironmentMetrics_case case_Telemetry_Variant = 3
const Telemetry_PowerMetrics_case case_Telemetry_Variant = 5
const Telemetry_Variant_not_set_case case_Telemetry_Variant = 0
const ToRadio_Disconnect_case case_ToRadio_PayloadVariant = 4
const ToRadio_MqttClientProxyMessage_case case_ToRadio_PayloadVariant = 6
const ToRadio_Packet_case case_ToRadio_PayloadVariant = 1
const ToRadio_PayloadVariant_not_set_case case_ToRadio_PayloadVariant = 0
const ToRadio_WantConfigId_case case_ToRadio_PayloadVariant = 3
const ToRadio_XmodemPacket_case case_ToRadio_PayloadVariant = 5
Variables ¶
var ( AdminMessage_ConfigType_name = map[int32]string{ 0: "DEVICE_CONFIG", 1: "POSITION_CONFIG", 2: "POWER_CONFIG", 3: "NETWORK_CONFIG", 4: "DISPLAY_CONFIG", 5: "LORA_CONFIG", 6: "BLUETOOTH_CONFIG", } AdminMessage_ConfigType_value = map[string]int32{ "DEVICE_CONFIG": 0, "POSITION_CONFIG": 1, "POWER_CONFIG": 2, "NETWORK_CONFIG": 3, "DISPLAY_CONFIG": 4, "LORA_CONFIG": 5, "BLUETOOTH_CONFIG": 6, } )
Enum value maps for AdminMessage_ConfigType.
var ( AdminMessage_ModuleConfigType_name = map[int32]string{ 0: "MQTT_CONFIG", 1: "SERIAL_CONFIG", 2: "EXTNOTIF_CONFIG", 3: "STOREFORWARD_CONFIG", 4: "RANGETEST_CONFIG", 5: "TELEMETRY_CONFIG", 6: "CANNEDMSG_CONFIG", 7: "AUDIO_CONFIG", 8: "REMOTEHARDWARE_CONFIG", 9: "NEIGHBORINFO_CONFIG", 10: "AMBIENTLIGHTING_CONFIG", 11: "DETECTIONSENSOR_CONFIG", 12: "PAXCOUNTER_CONFIG", } AdminMessage_ModuleConfigType_value = map[string]int32{ "MQTT_CONFIG": 0, "SERIAL_CONFIG": 1, "EXTNOTIF_CONFIG": 2, "STOREFORWARD_CONFIG": 3, "RANGETEST_CONFIG": 4, "TELEMETRY_CONFIG": 5, "CANNEDMSG_CONFIG": 6, "AUDIO_CONFIG": 7, "REMOTEHARDWARE_CONFIG": 8, "NEIGHBORINFO_CONFIG": 9, "AMBIENTLIGHTING_CONFIG": 10, "DETECTIONSENSOR_CONFIG": 11, "PAXCOUNTER_CONFIG": 12, } )
Enum value maps for AdminMessage_ModuleConfigType.
var ( Team_name = map[int32]string{ 0: "Unspecifed_Color", 1: "White", 2: "Yellow", 3: "Orange", 4: "Magenta", 5: "Red", 6: "Maroon", 7: "Purple", 8: "Dark_Blue", 9: "Blue", 10: "Cyan", 11: "Teal", 12: "Green", 13: "Dark_Green", 14: "Brown", } Team_value = map[string]int32{ "Unspecifed_Color": 0, "White": 1, "Yellow": 2, "Orange": 3, "Magenta": 4, "Red": 5, "Maroon": 6, "Purple": 7, "Dark_Blue": 8, "Blue": 9, "Cyan": 10, "Teal": 11, "Green": 12, "Dark_Green": 13, "Brown": 14, } )
Enum value maps for Team.
var ( MemberRole_name = map[int32]string{ 0: "Unspecifed", 1: "TeamMember", 2: "TeamLead", 3: "HQ", 4: "Sniper", 5: "Medic", 6: "ForwardObserver", 7: "RTO", 8: "K9", } MemberRole_value = map[string]int32{ "Unspecifed": 0, "TeamMember": 1, "TeamLead": 2, "HQ": 3, "Sniper": 4, "Medic": 5, "ForwardObserver": 6, "RTO": 7, "K9": 8, } )
Enum value maps for MemberRole.
var ( Channel_Role_name = map[int32]string{ 0: "DISABLED", 1: "PRIMARY", 2: "SECONDARY", } Channel_Role_value = map[string]int32{ "DISABLED": 0, "PRIMARY": 1, "SECONDARY": 2, } )
Enum value maps for Channel_Role.
var ( Config_DeviceConfig_Role_name = map[int32]string{ 0: "CLIENT", 1: "CLIENT_MUTE", 2: "ROUTER", 3: "ROUTER_CLIENT", 4: "REPEATER", 5: "TRACKER", 6: "SENSOR", 7: "TAK", 8: "CLIENT_HIDDEN", 9: "LOST_AND_FOUND", 10: "TAK_TRACKER", } Config_DeviceConfig_Role_value = map[string]int32{ "CLIENT": 0, "CLIENT_MUTE": 1, "ROUTER": 2, "ROUTER_CLIENT": 3, "REPEATER": 4, "TRACKER": 5, "SENSOR": 6, "TAK": 7, "CLIENT_HIDDEN": 8, "LOST_AND_FOUND": 9, "TAK_TRACKER": 10, } )
Enum value maps for Config_DeviceConfig_Role.
var ( Config_DeviceConfig_RebroadcastMode_name = map[int32]string{ 0: "ALL", 1: "ALL_SKIP_DECODING", 2: "LOCAL_ONLY", 3: "KNOWN_ONLY", } Config_DeviceConfig_RebroadcastMode_value = map[string]int32{ "ALL": 0, "ALL_SKIP_DECODING": 1, "LOCAL_ONLY": 2, "KNOWN_ONLY": 3, } )
Enum value maps for Config_DeviceConfig_RebroadcastMode.
var ( Config_PositionConfig_PositionFlags_name = map[int32]string{ 0: "UNSET", 1: "ALTITUDE", 2: "ALTITUDE_MSL", 4: "GEOIDAL_SEPARATION", 8: "DOP", 16: "HVDOP", 32: "SATINVIEW", 64: "SEQ_NO", 128: "TIMESTAMP", 256: "HEADING", 512: "SPEED", } Config_PositionConfig_PositionFlags_value = map[string]int32{ "UNSET": 0, "ALTITUDE": 1, "ALTITUDE_MSL": 2, "GEOIDAL_SEPARATION": 4, "DOP": 8, "HVDOP": 16, "SATINVIEW": 32, "SEQ_NO": 64, "TIMESTAMP": 128, "HEADING": 256, "SPEED": 512, } )
Enum value maps for Config_PositionConfig_PositionFlags.
var ( Config_PositionConfig_GpsMode_name = map[int32]string{ 0: "DISABLED", 1: "ENABLED", 2: "NOT_PRESENT", } Config_PositionConfig_GpsMode_value = map[string]int32{ "DISABLED": 0, "ENABLED": 1, "NOT_PRESENT": 2, } )
Enum value maps for Config_PositionConfig_GpsMode.
var ( Config_NetworkConfig_AddressMode_name = map[int32]string{ 0: "DHCP", 1: "STATIC", } Config_NetworkConfig_AddressMode_value = map[string]int32{ "DHCP": 0, "STATIC": 1, } )
Enum value maps for Config_NetworkConfig_AddressMode.
var ( Config_DisplayConfig_GpsCoordinateFormat_name = map[int32]string{ 0: "DEC", 1: "DMS", 2: "UTM", 3: "MGRS", 4: "OLC", 5: "OSGR", } Config_DisplayConfig_GpsCoordinateFormat_value = map[string]int32{ "DEC": 0, "DMS": 1, "UTM": 2, "MGRS": 3, "OLC": 4, "OSGR": 5, } )
Enum value maps for Config_DisplayConfig_GpsCoordinateFormat.
var ( Config_DisplayConfig_DisplayUnits_name = map[int32]string{ 0: "METRIC", 1: "IMPERIAL", } Config_DisplayConfig_DisplayUnits_value = map[string]int32{ "METRIC": 0, "IMPERIAL": 1, } )
Enum value maps for Config_DisplayConfig_DisplayUnits.
var ( Config_DisplayConfig_OledType_name = map[int32]string{ 0: "OLED_AUTO", 1: "OLED_SSD1306", 2: "OLED_SH1106", 3: "OLED_SH1107", } Config_DisplayConfig_OledType_value = map[string]int32{ "OLED_AUTO": 0, "OLED_SSD1306": 1, "OLED_SH1106": 2, "OLED_SH1107": 3, } )
Enum value maps for Config_DisplayConfig_OledType.
var ( Config_DisplayConfig_DisplayMode_name = map[int32]string{ 0: "DEFAULT", 1: "TWOCOLOR", 2: "INVERTED", 3: "COLOR", } Config_DisplayConfig_DisplayMode_value = map[string]int32{ "DEFAULT": 0, "TWOCOLOR": 1, "INVERTED": 2, "COLOR": 3, } )
Enum value maps for Config_DisplayConfig_DisplayMode.
var ( Config_LoRaConfig_RegionCode_name = map[int32]string{ 0: "UNSET", 1: "US", 2: "EU_433", 3: "EU_868", 4: "CN", 5: "JP", 6: "ANZ", 7: "KR", 8: "TW", 9: "RU", 10: "IN", 11: "NZ_865", 12: "TH", 13: "LORA_24", 14: "UA_433", 15: "UA_868", 16: "MY_433", 17: "MY_919", 18: "SG_923", } Config_LoRaConfig_RegionCode_value = map[string]int32{ "UNSET": 0, "US": 1, "EU_433": 2, "EU_868": 3, "CN": 4, "JP": 5, "ANZ": 6, "KR": 7, "TW": 8, "RU": 9, "IN": 10, "NZ_865": 11, "TH": 12, "LORA_24": 13, "UA_433": 14, "UA_868": 15, "MY_433": 16, "MY_919": 17, "SG_923": 18, } )
Enum value maps for Config_LoRaConfig_RegionCode.
var ( Config_LoRaConfig_ModemPreset_name = map[int32]string{ 0: "LONG_FAST", 1: "LONG_SLOW", 2: "VERY_LONG_SLOW", 3: "MEDIUM_SLOW", 4: "MEDIUM_FAST", 5: "SHORT_SLOW", 6: "SHORT_FAST", 7: "LONG_MODERATE", } Config_LoRaConfig_ModemPreset_value = map[string]int32{ "LONG_FAST": 0, "LONG_SLOW": 1, "VERY_LONG_SLOW": 2, "MEDIUM_SLOW": 3, "MEDIUM_FAST": 4, "SHORT_SLOW": 5, "SHORT_FAST": 6, "LONG_MODERATE": 7, } )
Enum value maps for Config_LoRaConfig_ModemPreset.
var ( Config_BluetoothConfig_PairingMode_name = map[int32]string{ 0: "RANDOM_PIN", 1: "FIXED_PIN", 2: "NO_PIN", } Config_BluetoothConfig_PairingMode_value = map[string]int32{ "RANDOM_PIN": 0, "FIXED_PIN": 1, "NO_PIN": 2, } )
Enum value maps for Config_BluetoothConfig_PairingMode.
var ( ScreenFonts_name = map[int32]string{ 0: "FONT_SMALL", 1: "FONT_MEDIUM", 2: "FONT_LARGE", } ScreenFonts_value = map[string]int32{ "FONT_SMALL": 0, "FONT_MEDIUM": 1, "FONT_LARGE": 2, } )
Enum value maps for ScreenFonts.
var ( HardwareModel_name = map[int32]string{ 0: "UNSET", 1: "TLORA_V2", 2: "TLORA_V1", 3: "TLORA_V2_1_1P6", 4: "TBEAM", 5: "HELTEC_V2_0", 6: "TBEAM_V0P7", 7: "T_ECHO", 8: "TLORA_V1_1P3", 9: "RAK4631", 10: "HELTEC_V2_1", 11: "HELTEC_V1", 12: "LILYGO_TBEAM_S3_CORE", 13: "RAK11200", 14: "NANO_G1", 15: "TLORA_V2_1_1P8", 16: "TLORA_T3_S3", 17: "NANO_G1_EXPLORER", 18: "NANO_G2_ULTRA", 19: "LORA_TYPE", 25: "STATION_G1", 26: "RAK11310", 27: "SENSELORA_RP2040", 28: "SENSELORA_S3", 29: "CANARYONE", 30: "RP2040_LORA", 32: "LORA_RELAY_V1", 33: "NRF52840DK", 34: "PPR", 35: "GENIEBLOCKS", 36: "NRF52_UNKNOWN", 37: "PORTDUINO", 38: "ANDROID_SIM", 39: "DIY_V1", 40: "NRF52840_PCA10059", 41: "DR_DEV", 42: "M5STACK", 43: "HELTEC_V3", 44: "HELTEC_WSL_V3", 45: "BETAFPV_2400_TX", 46: "BETAFPV_900_NANO_TX", 47: "RPI_PICO", 48: "HELTEC_WIRELESS_TRACKER", 49: "HELTEC_WIRELESS_PAPER", 50: "T_DECK", 51: "T_WATCH_S3", 52: "PICOMPUTER_S3", 53: "HELTEC_HT62", 54: "EBYTE_ESP32_S3", 55: "ESP32_S3_PICO", 56: "CHATTER_2", 57: "HELTEC_WIRELESS_PAPER_V1_0", 58: "HELTEC_WIRELESS_TRACKER_V1_0", 255: "PRIVATE_HW", } HardwareModel_value = map[string]int32{ "UNSET": 0, "TLORA_V2": 1, "TLORA_V1": 2, "TLORA_V2_1_1P6": 3, "TBEAM": 4, "HELTEC_V2_0": 5, "TBEAM_V0P7": 6, "T_ECHO": 7, "TLORA_V1_1P3": 8, "RAK4631": 9, "HELTEC_V2_1": 10, "HELTEC_V1": 11, "LILYGO_TBEAM_S3_CORE": 12, "RAK11200": 13, "NANO_G1": 14, "TLORA_V2_1_1P8": 15, "TLORA_T3_S3": 16, "NANO_G1_EXPLORER": 17, "NANO_G2_ULTRA": 18, "LORA_TYPE": 19, "STATION_G1": 25, "RAK11310": 26, "SENSELORA_RP2040": 27, "SENSELORA_S3": 28, "CANARYONE": 29, "RP2040_LORA": 30, "LORA_RELAY_V1": 32, "NRF52840DK": 33, "PPR": 34, "GENIEBLOCKS": 35, "NRF52_UNKNOWN": 36, "PORTDUINO": 37, "ANDROID_SIM": 38, "DIY_V1": 39, "NRF52840_PCA10059": 40, "DR_DEV": 41, "M5STACK": 42, "HELTEC_V3": 43, "HELTEC_WSL_V3": 44, "BETAFPV_2400_TX": 45, "BETAFPV_900_NANO_TX": 46, "RPI_PICO": 47, "HELTEC_WIRELESS_TRACKER": 48, "HELTEC_WIRELESS_PAPER": 49, "T_DECK": 50, "T_WATCH_S3": 51, "PICOMPUTER_S3": 52, "HELTEC_HT62": 53, "EBYTE_ESP32_S3": 54, "ESP32_S3_PICO": 55, "CHATTER_2": 56, "HELTEC_WIRELESS_PAPER_V1_0": 57, "HELTEC_WIRELESS_TRACKER_V1_0": 58, "PRIVATE_HW": 255, } )
Enum value maps for HardwareModel.
var ( Constants_name = map[int32]string{ 0: "ZERO", 237: "DATA_PAYLOAD_LEN", } Constants_value = map[string]int32{ "ZERO": 0, "DATA_PAYLOAD_LEN": 237, } )
Enum value maps for Constants.
var ( CriticalErrorCode_name = map[int32]string{ 0: "NONE", 1: "TX_WATCHDOG", 2: "SLEEP_ENTER_WAIT", 3: "NO_RADIO", 4: "UNSPECIFIED", 5: "UBLOX_UNIT_FAILED", 6: "NO_AXP192", 7: "INVALID_RADIO_SETTING", 8: "TRANSMIT_FAILED", 9: "BROWNOUT", 10: "SX1262_FAILURE", 11: "RADIO_SPI_BUG", } CriticalErrorCode_value = map[string]int32{ "NONE": 0, "TX_WATCHDOG": 1, "SLEEP_ENTER_WAIT": 2, "NO_RADIO": 3, "UNSPECIFIED": 4, "UBLOX_UNIT_FAILED": 5, "NO_AXP192": 6, "INVALID_RADIO_SETTING": 7, "TRANSMIT_FAILED": 8, "BROWNOUT": 9, "SX1262_FAILURE": 10, "RADIO_SPI_BUG": 11, } )
Enum value maps for CriticalErrorCode.
var ( Position_LocSource_name = map[int32]string{ 0: "LOC_UNSET", 1: "LOC_MANUAL", 2: "LOC_INTERNAL", 3: "LOC_EXTERNAL", } Position_LocSource_value = map[string]int32{ "LOC_UNSET": 0, "LOC_MANUAL": 1, "LOC_INTERNAL": 2, "LOC_EXTERNAL": 3, } )
Enum value maps for Position_LocSource.
var ( Position_AltSource_name = map[int32]string{ 0: "ALT_UNSET", 1: "ALT_MANUAL", 2: "ALT_INTERNAL", 3: "ALT_EXTERNAL", 4: "ALT_BAROMETRIC", } Position_AltSource_value = map[string]int32{ "ALT_UNSET": 0, "ALT_MANUAL": 1, "ALT_INTERNAL": 2, "ALT_EXTERNAL": 3, "ALT_BAROMETRIC": 4, } )
Enum value maps for Position_AltSource.
var ( Routing_Error_name = map[int32]string{ 0: "NONE", 1: "NO_ROUTE", 2: "GOT_NAK", 3: "TIMEOUT", 4: "NO_INTERFACE", 5: "MAX_RETRANSMIT", 6: "NO_CHANNEL", 7: "TOO_LARGE", 8: "NO_RESPONSE", 9: "DUTY_CYCLE_LIMIT", 32: "BAD_REQUEST", 33: "NOT_AUTHORIZED", } Routing_Error_value = map[string]int32{ "NONE": 0, "NO_ROUTE": 1, "GOT_NAK": 2, "TIMEOUT": 3, "NO_INTERFACE": 4, "MAX_RETRANSMIT": 5, "NO_CHANNEL": 6, "TOO_LARGE": 7, "NO_RESPONSE": 8, "DUTY_CYCLE_LIMIT": 9, "BAD_REQUEST": 32, "NOT_AUTHORIZED": 33, } )
Enum value maps for Routing_Error.
var ( MeshPacket_Priority_name = map[int32]string{ 0: "UNSET", 1: "MIN", 10: "BACKGROUND", 64: "DEFAULT", 70: "RELIABLE", 120: "ACK", 127: "MAX", } MeshPacket_Priority_value = map[string]int32{ "UNSET": 0, "MIN": 1, "BACKGROUND": 10, "DEFAULT": 64, "RELIABLE": 70, "ACK": 120, "MAX": 127, } )
Enum value maps for MeshPacket_Priority.
var ( MeshPacket_Delayed_name = map[int32]string{ 0: "NO_DELAY", 1: "DELAYED_BROADCAST", 2: "DELAYED_DIRECT", } MeshPacket_Delayed_value = map[string]int32{ "NO_DELAY": 0, "DELAYED_BROADCAST": 1, "DELAYED_DIRECT": 2, } )
Enum value maps for MeshPacket_Delayed.
var ( LogRecord_Level_name = map[int32]string{ 0: "UNSET", 50: "CRITICAL", 40: "ERROR", 30: "WARNING", 20: "INFO", 10: "DEBUG", 5: "TRACE", } LogRecord_Level_value = map[string]int32{ "UNSET": 0, "CRITICAL": 50, "ERROR": 40, "WARNING": 30, "INFO": 20, "DEBUG": 10, "TRACE": 5, } )
Enum value maps for LogRecord_Level.
var ( RemoteHardwarePinType_name = map[int32]string{ 0: "UNKNOWN", 1: "DIGITAL_READ", 2: "DIGITAL_WRITE", } RemoteHardwarePinType_value = map[string]int32{ "UNKNOWN": 0, "DIGITAL_READ": 1, "DIGITAL_WRITE": 2, } )
Enum value maps for RemoteHardwarePinType.
var ( ModuleConfig_AudioConfig_Audio_Baud_name = map[int32]string{ 0: "CODEC2_DEFAULT", 1: "CODEC2_3200", 2: "CODEC2_2400", 3: "CODEC2_1600", 4: "CODEC2_1400", 5: "CODEC2_1300", 6: "CODEC2_1200", 7: "CODEC2_700", 8: "CODEC2_700B", } ModuleConfig_AudioConfig_Audio_Baud_value = map[string]int32{ "CODEC2_DEFAULT": 0, "CODEC2_3200": 1, "CODEC2_2400": 2, "CODEC2_1600": 3, "CODEC2_1400": 4, "CODEC2_1300": 5, "CODEC2_1200": 6, "CODEC2_700": 7, "CODEC2_700B": 8, } )
Enum value maps for ModuleConfig_AudioConfig_Audio_Baud.
var ( ModuleConfig_SerialConfig_Serial_Baud_name = map[int32]string{ 0: "BAUD_DEFAULT", 1: "BAUD_110", 2: "BAUD_300", 3: "BAUD_600", 4: "BAUD_1200", 5: "BAUD_2400", 6: "BAUD_4800", 7: "BAUD_9600", 8: "BAUD_19200", 9: "BAUD_38400", 10: "BAUD_57600", 11: "BAUD_115200", 12: "BAUD_230400", 13: "BAUD_460800", 14: "BAUD_576000", 15: "BAUD_921600", } ModuleConfig_SerialConfig_Serial_Baud_value = map[string]int32{ "BAUD_DEFAULT": 0, "BAUD_110": 1, "BAUD_300": 2, "BAUD_600": 3, "BAUD_1200": 4, "BAUD_2400": 5, "BAUD_4800": 6, "BAUD_9600": 7, "BAUD_19200": 8, "BAUD_38400": 9, "BAUD_57600": 10, "BAUD_115200": 11, "BAUD_230400": 12, "BAUD_460800": 13, "BAUD_576000": 14, "BAUD_921600": 15, } )
Enum value maps for ModuleConfig_SerialConfig_Serial_Baud.
var ( ModuleConfig_SerialConfig_Serial_Mode_name = map[int32]string{ 0: "DEFAULT", 1: "SIMPLE", 2: "PROTO", 3: "TEXTMSG", 4: "NMEA", 5: "CALTOPO", } ModuleConfig_SerialConfig_Serial_Mode_value = map[string]int32{ "DEFAULT": 0, "SIMPLE": 1, "PROTO": 2, "TEXTMSG": 3, "NMEA": 4, "CALTOPO": 5, } )
Enum value maps for ModuleConfig_SerialConfig_Serial_Mode.
var ( ModuleConfig_CannedMessageConfig_InputEventChar_name = map[int32]string{ 0: "NONE", 17: "UP", 18: "DOWN", 19: "LEFT", 20: "RIGHT", 10: "SELECT", 27: "BACK", 24: "CANCEL", } ModuleConfig_CannedMessageConfig_InputEventChar_value = map[string]int32{ "NONE": 0, "UP": 17, "DOWN": 18, "LEFT": 19, "RIGHT": 20, "SELECT": 10, "BACK": 27, "CANCEL": 24, } )
Enum value maps for ModuleConfig_CannedMessageConfig_InputEventChar.
var ( PortNum_name = map[int32]string{ 0: "UNKNOWN_APP", 1: "TEXT_MESSAGE_APP", 2: "REMOTE_HARDWARE_APP", 3: "POSITION_APP", 4: "NODEINFO_APP", 5: "ROUTING_APP", 6: "ADMIN_APP", 7: "TEXT_MESSAGE_COMPRESSED_APP", 8: "WAYPOINT_APP", 9: "AUDIO_APP", 10: "DETECTION_SENSOR_APP", 32: "REPLY_APP", 33: "IP_TUNNEL_APP", 34: "PAXCOUNTER_APP", 64: "SERIAL_APP", 65: "STORE_FORWARD_APP", 66: "RANGE_TEST_APP", 67: "TELEMETRY_APP", 68: "ZPS_APP", 69: "SIMULATOR_APP", 70: "TRACEROUTE_APP", 71: "NEIGHBORINFO_APP", 72: "ATAK_PLUGIN", 256: "PRIVATE_APP", 257: "ATAK_FORWARDER", 511: "MAX", } PortNum_value = map[string]int32{ "UNKNOWN_APP": 0, "TEXT_MESSAGE_APP": 1, "REMOTE_HARDWARE_APP": 2, "POSITION_APP": 3, "NODEINFO_APP": 4, "ROUTING_APP": 5, "ADMIN_APP": 6, "TEXT_MESSAGE_COMPRESSED_APP": 7, "WAYPOINT_APP": 8, "AUDIO_APP": 9, "DETECTION_SENSOR_APP": 10, "REPLY_APP": 32, "IP_TUNNEL_APP": 33, "PAXCOUNTER_APP": 34, "SERIAL_APP": 64, "STORE_FORWARD_APP": 65, "RANGE_TEST_APP": 66, "TELEMETRY_APP": 67, "ZPS_APP": 68, "SIMULATOR_APP": 69, "TRACEROUTE_APP": 70, "NEIGHBORINFO_APP": 71, "ATAK_PLUGIN": 72, "PRIVATE_APP": 256, "ATAK_FORWARDER": 257, "MAX": 511, } )
Enum value maps for PortNum.
var ( HardwareMessage_Type_name = map[int32]string{ 0: "UNSET", 1: "WRITE_GPIOS", 2: "WATCH_GPIOS", 3: "GPIOS_CHANGED", 4: "READ_GPIOS", 5: "READ_GPIOS_REPLY", } HardwareMessage_Type_value = map[string]int32{ "UNSET": 0, "WRITE_GPIOS": 1, "WATCH_GPIOS": 2, "GPIOS_CHANGED": 3, "READ_GPIOS": 4, "READ_GPIOS_REPLY": 5, } )
Enum value maps for HardwareMessage_Type.
var ( StoreAndForward_RequestResponse_name = map[int32]string{ 0: "UNSET", 1: "ROUTER_ERROR", 2: "ROUTER_HEARTBEAT", 3: "ROUTER_PING", 4: "ROUTER_PONG", 5: "ROUTER_BUSY", 6: "ROUTER_HISTORY", 7: "ROUTER_STATS", 8: "ROUTER_TEXT_DIRECT", 9: "ROUTER_TEXT_BROADCAST", 64: "CLIENT_ERROR", 65: "CLIENT_HISTORY", 66: "CLIENT_STATS", 67: "CLIENT_PING", 68: "CLIENT_PONG", 106: "CLIENT_ABORT", } StoreAndForward_RequestResponse_value = map[string]int32{ "UNSET": 0, "ROUTER_ERROR": 1, "ROUTER_HEARTBEAT": 2, "ROUTER_PING": 3, "ROUTER_PONG": 4, "ROUTER_BUSY": 5, "ROUTER_HISTORY": 6, "ROUTER_STATS": 7, "ROUTER_TEXT_DIRECT": 8, "ROUTER_TEXT_BROADCAST": 9, "CLIENT_ERROR": 64, "CLIENT_HISTORY": 65, "CLIENT_STATS": 66, "CLIENT_PING": 67, "CLIENT_PONG": 68, "CLIENT_ABORT": 106, } )
Enum value maps for StoreAndForward_RequestResponse.
var ( TelemetrySensorType_name = map[int32]string{ 0: "SENSOR_UNSET", 1: "BME280", 2: "BME680", 3: "MCP9808", 4: "INA260", 5: "INA219", 6: "BMP280", 7: "SHTC3", 8: "LPS22", 9: "QMC6310", 10: "QMI8658", 11: "QMC5883L", 12: "SHT31", 13: "PMSA003I", 14: "INA3221", } TelemetrySensorType_value = map[string]int32{ "SENSOR_UNSET": 0, "BME280": 1, "BME680": 2, "MCP9808": 3, "INA260": 4, "INA219": 5, "BMP280": 6, "SHTC3": 7, "LPS22": 8, "QMC6310": 9, "QMI8658": 10, "QMC5883L": 11, "SHT31": 12, "PMSA003I": 13, "INA3221": 14, } )
Enum value maps for TelemetrySensorType.
var ( XModem_Control_name = map[int32]string{ 0: "NUL", 1: "SOH", 2: "STX", 4: "EOT", 6: "ACK", 21: "NAK", 24: "CAN", 26: "CTRLZ", } XModem_Control_value = map[string]int32{ "NUL": 0, "SOH": 1, "STX": 2, "EOT": 4, "ACK": 6, "NAK": 21, "CAN": 24, "CTRLZ": 26, } )
Enum value maps for XModem_Control.
var File_meshtastic_admin_proto protoreflect.FileDescriptor
var File_meshtastic_apponly_proto protoreflect.FileDescriptor
var File_meshtastic_atak_proto protoreflect.FileDescriptor
var File_meshtastic_cannedmessages_proto protoreflect.FileDescriptor
var File_meshtastic_channel_proto protoreflect.FileDescriptor
var File_meshtastic_clientonly_proto protoreflect.FileDescriptor
var File_meshtastic_config_proto protoreflect.FileDescriptor
var File_meshtastic_connection_status_proto protoreflect.FileDescriptor
var File_meshtastic_deviceonly_proto protoreflect.FileDescriptor
var File_meshtastic_localonly_proto protoreflect.FileDescriptor
var File_meshtastic_mesh_proto protoreflect.FileDescriptor
var File_meshtastic_module_config_proto protoreflect.FileDescriptor
var File_meshtastic_mqtt_proto protoreflect.FileDescriptor
var File_meshtastic_paxcount_proto protoreflect.FileDescriptor
var File_meshtastic_portnums_proto protoreflect.FileDescriptor
var File_meshtastic_remote_hardware_proto protoreflect.FileDescriptor
var File_meshtastic_rtttl_proto protoreflect.FileDescriptor
var File_meshtastic_storeforward_proto protoreflect.FileDescriptor
var File_meshtastic_telemetry_proto protoreflect.FileDescriptor
var File_meshtastic_xmodem_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AdminMessage ¶
type AdminMessage struct {
// TODO: REPLACE
//
// Types that are valid to be assigned to PayloadVariant:
//
// *AdminMessage_GetChannelRequest
// *AdminMessage_GetChannelResponse
// *AdminMessage_GetOwnerRequest
// *AdminMessage_GetOwnerResponse
// *AdminMessage_GetConfigRequest
// *AdminMessage_GetConfigResponse
// *AdminMessage_GetModuleConfigRequest
// *AdminMessage_GetModuleConfigResponse
// *AdminMessage_GetCannedMessageModuleMessagesRequest
// *AdminMessage_GetCannedMessageModuleMessagesResponse
// *AdminMessage_GetDeviceMetadataRequest
// *AdminMessage_GetDeviceMetadataResponse
// *AdminMessage_GetRingtoneRequest
// *AdminMessage_GetRingtoneResponse
// *AdminMessage_GetDeviceConnectionStatusRequest
// *AdminMessage_GetDeviceConnectionStatusResponse
// *AdminMessage_SetHamMode
// *AdminMessage_GetNodeRemoteHardwarePinsRequest
// *AdminMessage_GetNodeRemoteHardwarePinsResponse
// *AdminMessage_EnterDfuModeRequest
// *AdminMessage_DeleteFileRequest
// *AdminMessage_SetOwner
// *AdminMessage_SetChannel
// *AdminMessage_SetConfig
// *AdminMessage_SetModuleConfig
// *AdminMessage_SetCannedMessageModuleMessages
// *AdminMessage_SetRingtoneMessage
// *AdminMessage_RemoveByNodenum
// *AdminMessage_BeginEditSettings
// *AdminMessage_CommitEditSettings
// *AdminMessage_RebootOtaSeconds
// *AdminMessage_ExitSimulator
// *AdminMessage_RebootSeconds
// *AdminMessage_ShutdownSeconds
// *AdminMessage_FactoryReset
// *AdminMessage_NodedbReset
PayloadVariant isAdminMessage_PayloadVariant `protobuf_oneof:"payload_variant"`
// contains filtered or unexported fields
}
This message is handled by the Admin module and is responsible for all settings/channel read/write operations. This message is used to do settings operations to both remote AND local nodes. (Prior to 1.2 these operations were done via special ToRadio operations)
func (*AdminMessage) ClearBeginEditSettings ¶
func (x *AdminMessage) ClearBeginEditSettings()
func (*AdminMessage) ClearCommitEditSettings ¶
func (x *AdminMessage) ClearCommitEditSettings()
func (*AdminMessage) ClearDeleteFileRequest ¶
func (x *AdminMessage) ClearDeleteFileRequest()
func (*AdminMessage) ClearEnterDfuModeRequest ¶
func (x *AdminMessage) ClearEnterDfuModeRequest()
func (*AdminMessage) ClearExitSimulator ¶
func (x *AdminMessage) ClearExitSimulator()
func (*AdminMessage) ClearFactoryReset ¶
func (x *AdminMessage) ClearFactoryReset()
func (*AdminMessage) ClearGetCannedMessageModuleMessagesRequest ¶
func (x *AdminMessage) ClearGetCannedMessageModuleMessagesRequest()
func (*AdminMessage) ClearGetCannedMessageModuleMessagesResponse ¶
func (x *AdminMessage) ClearGetCannedMessageModuleMessagesResponse()
func (*AdminMessage) ClearGetChannelRequest ¶
func (x *AdminMessage) ClearGetChannelRequest()
func (*AdminMessage) ClearGetChannelResponse ¶
func (x *AdminMessage) ClearGetChannelResponse()
func (*AdminMessage) ClearGetConfigRequest ¶
func (x *AdminMessage) ClearGetConfigRequest()
func (*AdminMessage) ClearGetConfigResponse ¶
func (x *AdminMessage) ClearGetConfigResponse()
func (*AdminMessage) ClearGetDeviceConnectionStatusRequest ¶
func (x *AdminMessage) ClearGetDeviceConnectionStatusRequest()
func (*AdminMessage) ClearGetDeviceConnectionStatusResponse ¶
func (x *AdminMessage) ClearGetDeviceConnectionStatusResponse()
func (*AdminMessage) ClearGetDeviceMetadataRequest ¶
func (x *AdminMessage) ClearGetDeviceMetadataRequest()
func (*AdminMessage) ClearGetDeviceMetadataResponse ¶
func (x *AdminMessage) ClearGetDeviceMetadataResponse()
func (*AdminMessage) ClearGetModuleConfigRequest ¶
func (x *AdminMessage) ClearGetModuleConfigRequest()
func (*AdminMessage) ClearGetModuleConfigResponse ¶
func (x *AdminMessage) ClearGetModuleConfigResponse()
func (*AdminMessage) ClearGetNodeRemoteHardwarePinsRequest ¶
func (x *AdminMessage) ClearGetNodeRemoteHardwarePinsRequest()
func (*AdminMessage) ClearGetNodeRemoteHardwarePinsResponse ¶
func (x *AdminMessage) ClearGetNodeRemoteHardwarePinsResponse()
func (*AdminMessage) ClearGetOwnerRequest ¶
func (x *AdminMessage) ClearGetOwnerRequest()
func (*AdminMessage) ClearGetOwnerResponse ¶
func (x *AdminMessage) ClearGetOwnerResponse()
func (*AdminMessage) ClearGetRingtoneRequest ¶
func (x *AdminMessage) ClearGetRingtoneRequest()
func (*AdminMessage) ClearGetRingtoneResponse ¶
func (x *AdminMessage) ClearGetRingtoneResponse()
func (*AdminMessage) ClearNodedbReset ¶
func (x *AdminMessage) ClearNodedbReset()
func (*AdminMessage) ClearPayloadVariant ¶
func (x *AdminMessage) ClearPayloadVariant()
func (*AdminMessage) ClearRebootOtaSeconds ¶
func (x *AdminMessage) ClearRebootOtaSeconds()
func (*AdminMessage) ClearRebootSeconds ¶
func (x *AdminMessage) ClearRebootSeconds()
func (*AdminMessage) ClearRemoveByNodenum ¶
func (x *AdminMessage) ClearRemoveByNodenum()
func (*AdminMessage) ClearSetCannedMessageModuleMessages ¶
func (x *AdminMessage) ClearSetCannedMessageModuleMessages()
func (*AdminMessage) ClearSetChannel ¶
func (x *AdminMessage) ClearSetChannel()
func (*AdminMessage) ClearSetConfig ¶
func (x *AdminMessage) ClearSetConfig()
func (*AdminMessage) ClearSetHamMode ¶
func (x *AdminMessage) ClearSetHamMode()
func (*AdminMessage) ClearSetModuleConfig ¶
func (x *AdminMessage) ClearSetModuleConfig()
func (*AdminMessage) ClearSetOwner ¶
func (x *AdminMessage) ClearSetOwner()
func (*AdminMessage) ClearSetRingtoneMessage ¶
func (x *AdminMessage) ClearSetRingtoneMessage()
func (*AdminMessage) ClearShutdownSeconds ¶
func (x *AdminMessage) ClearShutdownSeconds()
func (*AdminMessage) GetBeginEditSettings ¶
func (x *AdminMessage) GetBeginEditSettings() bool
func (*AdminMessage) GetCommitEditSettings ¶
func (x *AdminMessage) GetCommitEditSettings() bool
func (*AdminMessage) GetDeleteFileRequest ¶
func (x *AdminMessage) GetDeleteFileRequest() string
func (*AdminMessage) GetEnterDfuModeRequest ¶
func (x *AdminMessage) GetEnterDfuModeRequest() bool
func (*AdminMessage) GetExitSimulator ¶
func (x *AdminMessage) GetExitSimulator() bool
func (*AdminMessage) GetFactoryReset ¶
func (x *AdminMessage) GetFactoryReset() int32
func (*AdminMessage) GetGetCannedMessageModuleMessagesRequest ¶
func (x *AdminMessage) GetGetCannedMessageModuleMessagesRequest() bool
func (*AdminMessage) GetGetCannedMessageModuleMessagesResponse ¶
func (x *AdminMessage) GetGetCannedMessageModuleMessagesResponse() string
func (*AdminMessage) GetGetChannelRequest ¶
func (x *AdminMessage) GetGetChannelRequest() uint32
func (*AdminMessage) GetGetChannelResponse ¶
func (x *AdminMessage) GetGetChannelResponse() *Channel
func (*AdminMessage) GetGetConfigRequest ¶
func (x *AdminMessage) GetGetConfigRequest() AdminMessage_ConfigType
func (*AdminMessage) GetGetConfigResponse ¶
func (x *AdminMessage) GetGetConfigResponse() *Config
func (*AdminMessage) GetGetDeviceConnectionStatusRequest ¶
func (x *AdminMessage) GetGetDeviceConnectionStatusRequest() bool
func (*AdminMessage) GetGetDeviceConnectionStatusResponse ¶
func (x *AdminMessage) GetGetDeviceConnectionStatusResponse() *DeviceConnectionStatus
func (*AdminMessage) GetGetDeviceMetadataRequest ¶
func (x *AdminMessage) GetGetDeviceMetadataRequest() bool
func (*AdminMessage) GetGetDeviceMetadataResponse ¶
func (x *AdminMessage) GetGetDeviceMetadataResponse() *DeviceMetadata
func (*AdminMessage) GetGetModuleConfigRequest ¶
func (x *AdminMessage) GetGetModuleConfigRequest() AdminMessage_ModuleConfigType
func (*AdminMessage) GetGetModuleConfigResponse ¶
func (x *AdminMessage) GetGetModuleConfigResponse() *ModuleConfig
func (*AdminMessage) GetGetNodeRemoteHardwarePinsRequest ¶
func (x *AdminMessage) GetGetNodeRemoteHardwarePinsRequest() bool
func (*AdminMessage) GetGetNodeRemoteHardwarePinsResponse ¶
func (x *AdminMessage) GetGetNodeRemoteHardwarePinsResponse() *NodeRemoteHardwarePinsResponse
func (*AdminMessage) GetGetOwnerRequest ¶
func (x *AdminMessage) GetGetOwnerRequest() bool
func (*AdminMessage) GetGetOwnerResponse ¶
func (x *AdminMessage) GetGetOwnerResponse() *User
func (*AdminMessage) GetGetRingtoneRequest ¶
func (x *AdminMessage) GetGetRingtoneRequest() bool
func (*AdminMessage) GetGetRingtoneResponse ¶
func (x *AdminMessage) GetGetRingtoneResponse() string
func (*AdminMessage) GetNodedbReset ¶
func (x *AdminMessage) GetNodedbReset() int32
func (*AdminMessage) GetPayloadVariant ¶
func (x *AdminMessage) GetPayloadVariant() isAdminMessage_PayloadVariant
func (*AdminMessage) GetRebootOtaSeconds ¶
func (x *AdminMessage) GetRebootOtaSeconds() int32
func (*AdminMessage) GetRebootSeconds ¶
func (x *AdminMessage) GetRebootSeconds() int32
func (*AdminMessage) GetRemoveByNodenum ¶
func (x *AdminMessage) GetRemoveByNodenum() uint32
func (*AdminMessage) GetSetCannedMessageModuleMessages ¶
func (x *AdminMessage) GetSetCannedMessageModuleMessages() string
func (*AdminMessage) GetSetChannel ¶
func (x *AdminMessage) GetSetChannel() *Channel
func (*AdminMessage) GetSetConfig ¶
func (x *AdminMessage) GetSetConfig() *Config
func (*AdminMessage) GetSetHamMode ¶
func (x *AdminMessage) GetSetHamMode() *HamParameters
func (*AdminMessage) GetSetModuleConfig ¶
func (x *AdminMessage) GetSetModuleConfig() *ModuleConfig
func (*AdminMessage) GetSetOwner ¶
func (x *AdminMessage) GetSetOwner() *User
func (*AdminMessage) GetSetRingtoneMessage ¶
func (x *AdminMessage) GetSetRingtoneMessage() string
func (*AdminMessage) GetShutdownSeconds ¶
func (x *AdminMessage) GetShutdownSeconds() int32
func (*AdminMessage) HasBeginEditSettings ¶
func (x *AdminMessage) HasBeginEditSettings() bool
func (*AdminMessage) HasCommitEditSettings ¶
func (x *AdminMessage) HasCommitEditSettings() bool
func (*AdminMessage) HasDeleteFileRequest ¶
func (x *AdminMessage) HasDeleteFileRequest() bool
func (*AdminMessage) HasEnterDfuModeRequest ¶
func (x *AdminMessage) HasEnterDfuModeRequest() bool
func (*AdminMessage) HasExitSimulator ¶
func (x *AdminMessage) HasExitSimulator() bool
func (*AdminMessage) HasFactoryReset ¶
func (x *AdminMessage) HasFactoryReset() bool
func (*AdminMessage) HasGetCannedMessageModuleMessagesRequest ¶
func (x *AdminMessage) HasGetCannedMessageModuleMessagesRequest() bool
func (*AdminMessage) HasGetCannedMessageModuleMessagesResponse ¶
func (x *AdminMessage) HasGetCannedMessageModuleMessagesResponse() bool
func (*AdminMessage) HasGetChannelRequest ¶
func (x *AdminMessage) HasGetChannelRequest() bool
func (*AdminMessage) HasGetChannelResponse ¶
func (x *AdminMessage) HasGetChannelResponse() bool
func (*AdminMessage) HasGetConfigRequest ¶
func (x *AdminMessage) HasGetConfigRequest() bool
func (*AdminMessage) HasGetConfigResponse ¶
func (x *AdminMessage) HasGetConfigResponse() bool
func (*AdminMessage) HasGetDeviceConnectionStatusRequest ¶
func (x *AdminMessage) HasGetDeviceConnectionStatusRequest() bool
func (*AdminMessage) HasGetDeviceConnectionStatusResponse ¶
func (x *AdminMessage) HasGetDeviceConnectionStatusResponse() bool
func (*AdminMessage) HasGetDeviceMetadataRequest ¶
func (x *AdminMessage) HasGetDeviceMetadataRequest() bool
func (*AdminMessage) HasGetDeviceMetadataResponse ¶
func (x *AdminMessage) HasGetDeviceMetadataResponse() bool
func (*AdminMessage) HasGetModuleConfigRequest ¶
func (x *AdminMessage) HasGetModuleConfigRequest() bool
func (*AdminMessage) HasGetModuleConfigResponse ¶
func (x *AdminMessage) HasGetModuleConfigResponse() bool
func (*AdminMessage) HasGetNodeRemoteHardwarePinsRequest ¶
func (x *AdminMessage) HasGetNodeRemoteHardwarePinsRequest() bool
func (*AdminMessage) HasGetNodeRemoteHardwarePinsResponse ¶
func (x *AdminMessage) HasGetNodeRemoteHardwarePinsResponse() bool
func (*AdminMessage) HasGetOwnerRequest ¶
func (x *AdminMessage) HasGetOwnerRequest() bool
func (*AdminMessage) HasGetOwnerResponse ¶
func (x *AdminMessage) HasGetOwnerResponse() bool
func (*AdminMessage) HasGetRingtoneRequest ¶
func (x *AdminMessage) HasGetRingtoneRequest() bool
func (*AdminMessage) HasGetRingtoneResponse ¶
func (x *AdminMessage) HasGetRingtoneResponse() bool
func (*AdminMessage) HasNodedbReset ¶
func (x *AdminMessage) HasNodedbReset() bool
func (*AdminMessage) HasPayloadVariant ¶
func (x *AdminMessage) HasPayloadVariant() bool
func (*AdminMessage) HasRebootOtaSeconds ¶
func (x *AdminMessage) HasRebootOtaSeconds() bool
func (*AdminMessage) HasRebootSeconds ¶
func (x *AdminMessage) HasRebootSeconds() bool
func (*AdminMessage) HasRemoveByNodenum ¶
func (x *AdminMessage) HasRemoveByNodenum() bool
func (*AdminMessage) HasSetCannedMessageModuleMessages ¶
func (x *AdminMessage) HasSetCannedMessageModuleMessages() bool
func (*AdminMessage) HasSetChannel ¶
func (x *AdminMessage) HasSetChannel() bool
func (*AdminMessage) HasSetConfig ¶
func (x *AdminMessage) HasSetConfig() bool
func (*AdminMessage) HasSetHamMode ¶
func (x *AdminMessage) HasSetHamMode() bool
func (*AdminMessage) HasSetModuleConfig ¶
func (x *AdminMessage) HasSetModuleConfig() bool
func (*AdminMessage) HasSetOwner ¶
func (x *AdminMessage) HasSetOwner() bool
func (*AdminMessage) HasSetRingtoneMessage ¶
func (x *AdminMessage) HasSetRingtoneMessage() bool
func (*AdminMessage) HasShutdownSeconds ¶
func (x *AdminMessage) HasShutdownSeconds() bool
func (*AdminMessage) ProtoMessage ¶
func (*AdminMessage) ProtoMessage()
func (*AdminMessage) ProtoReflect ¶
func (x *AdminMessage) ProtoReflect() protoreflect.Message
func (*AdminMessage) Reset ¶
func (x *AdminMessage) Reset()
func (*AdminMessage) SetBeginEditSettings ¶
func (x *AdminMessage) SetBeginEditSettings(v bool)
func (*AdminMessage) SetCommitEditSettings ¶
func (x *AdminMessage) SetCommitEditSettings(v bool)
func (*AdminMessage) SetDeleteFileRequest ¶
func (x *AdminMessage) SetDeleteFileRequest(v string)
func (*AdminMessage) SetEnterDfuModeRequest ¶
func (x *AdminMessage) SetEnterDfuModeRequest(v bool)
func (*AdminMessage) SetExitSimulator ¶
func (x *AdminMessage) SetExitSimulator(v bool)
func (*AdminMessage) SetFactoryReset ¶
func (x *AdminMessage) SetFactoryReset(v int32)
func (*AdminMessage) SetGetCannedMessageModuleMessagesRequest ¶
func (x *AdminMessage) SetGetCannedMessageModuleMessagesRequest(v bool)
func (*AdminMessage) SetGetCannedMessageModuleMessagesResponse ¶
func (x *AdminMessage) SetGetCannedMessageModuleMessagesResponse(v string)
func (*AdminMessage) SetGetChannelRequest ¶
func (x *AdminMessage) SetGetChannelRequest(v uint32)
func (*AdminMessage) SetGetChannelResponse ¶
func (x *AdminMessage) SetGetChannelResponse(v *Channel)
func (*AdminMessage) SetGetConfigRequest ¶
func (x *AdminMessage) SetGetConfigRequest(v AdminMessage_ConfigType)
func (*AdminMessage) SetGetConfigResponse ¶
func (x *AdminMessage) SetGetConfigResponse(v *Config)
func (*AdminMessage) SetGetDeviceConnectionStatusRequest ¶
func (x *AdminMessage) SetGetDeviceConnectionStatusRequest(v bool)
func (*AdminMessage) SetGetDeviceConnectionStatusResponse ¶
func (x *AdminMessage) SetGetDeviceConnectionStatusResponse(v *DeviceConnectionStatus)
func (*AdminMessage) SetGetDeviceMetadataRequest ¶
func (x *AdminMessage) SetGetDeviceMetadataRequest(v bool)
func (*AdminMessage) SetGetDeviceMetadataResponse ¶
func (x *AdminMessage) SetGetDeviceMetadataResponse(v *DeviceMetadata)
func (*AdminMessage) SetGetModuleConfigRequest ¶
func (x *AdminMessage) SetGetModuleConfigRequest(v AdminMessage_ModuleConfigType)
func (*AdminMessage) SetGetModuleConfigResponse ¶
func (x *AdminMessage) SetGetModuleConfigResponse(v *ModuleConfig)
func (*AdminMessage) SetGetNodeRemoteHardwarePinsRequest ¶
func (x *AdminMessage) SetGetNodeRemoteHardwarePinsRequest(v bool)
func (*AdminMessage) SetGetNodeRemoteHardwarePinsResponse ¶
func (x *AdminMessage) SetGetNodeRemoteHardwarePinsResponse(v *NodeRemoteHardwarePinsResponse)
func (*AdminMessage) SetGetOwnerRequest ¶
func (x *AdminMessage) SetGetOwnerRequest(v bool)
func (*AdminMessage) SetGetOwnerResponse ¶
func (x *AdminMessage) SetGetOwnerResponse(v *User)
func (*AdminMessage) SetGetRingtoneRequest ¶
func (x *AdminMessage) SetGetRingtoneRequest(v bool)
func (*AdminMessage) SetGetRingtoneResponse ¶
func (x *AdminMessage) SetGetRingtoneResponse(v string)
func (*AdminMessage) SetNodedbReset ¶
func (x *AdminMessage) SetNodedbReset(v int32)
func (*AdminMessage) SetRebootOtaSeconds ¶
func (x *AdminMessage) SetRebootOtaSeconds(v int32)
func (*AdminMessage) SetRebootSeconds ¶
func (x *AdminMessage) SetRebootSeconds(v int32)
func (*AdminMessage) SetRemoveByNodenum ¶
func (x *AdminMessage) SetRemoveByNodenum(v uint32)
func (*AdminMessage) SetSetCannedMessageModuleMessages ¶
func (x *AdminMessage) SetSetCannedMessageModuleMessages(v string)
func (*AdminMessage) SetSetChannel ¶
func (x *AdminMessage) SetSetChannel(v *Channel)
func (*AdminMessage) SetSetConfig ¶
func (x *AdminMessage) SetSetConfig(v *Config)
func (*AdminMessage) SetSetHamMode ¶
func (x *AdminMessage) SetSetHamMode(v *HamParameters)
func (*AdminMessage) SetSetModuleConfig ¶
func (x *AdminMessage) SetSetModuleConfig(v *ModuleConfig)
func (*AdminMessage) SetSetOwner ¶
func (x *AdminMessage) SetSetOwner(v *User)
func (*AdminMessage) SetSetRingtoneMessage ¶
func (x *AdminMessage) SetSetRingtoneMessage(v string)
func (*AdminMessage) SetShutdownSeconds ¶
func (x *AdminMessage) SetShutdownSeconds(v int32)
func (*AdminMessage) String ¶
func (x *AdminMessage) String() string
func (*AdminMessage) WhichPayloadVariant ¶
func (x *AdminMessage) WhichPayloadVariant() case_AdminMessage_PayloadVariant
type AdminMessage_BeginEditSettings ¶
type AdminMessage_BeginEditSettings struct {
// Begins an edit transaction for config, module config, owner, and channel settings changes
// This will delay the standard *implicit* save to the file system and subsequent reboot behavior until committed (commit_edit_settings)
BeginEditSettings bool `protobuf:"varint,64,opt,name=begin_edit_settings,json=beginEditSettings,proto3,oneof"`
}
type AdminMessage_CommitEditSettings ¶
type AdminMessage_CommitEditSettings struct {
// Commits an open transaction for any edits made to config, module config, owner, and channel settings
CommitEditSettings bool `protobuf:"varint,65,opt,name=commit_edit_settings,json=commitEditSettings,proto3,oneof"`
}
type AdminMessage_ConfigType ¶
type AdminMessage_ConfigType int32
TODO: REPLACE
const ( // TODO: REPLACE AdminMessage_DEVICE_CONFIG AdminMessage_ConfigType = 0 // TODO: REPLACE AdminMessage_POSITION_CONFIG AdminMessage_ConfigType = 1 // TODO: REPLACE AdminMessage_POWER_CONFIG AdminMessage_ConfigType = 2 // TODO: REPLACE AdminMessage_NETWORK_CONFIG AdminMessage_ConfigType = 3 // TODO: REPLACE AdminMessage_DISPLAY_CONFIG AdminMessage_ConfigType = 4 // TODO: REPLACE AdminMessage_LORA_CONFIG AdminMessage_ConfigType = 5 // TODO: REPLACE AdminMessage_BLUETOOTH_CONFIG AdminMessage_ConfigType = 6 )
func (AdminMessage_ConfigType) Descriptor ¶
func (AdminMessage_ConfigType) Descriptor() protoreflect.EnumDescriptor
func (AdminMessage_ConfigType) Enum ¶
func (x AdminMessage_ConfigType) Enum() *AdminMessage_ConfigType
func (AdminMessage_ConfigType) Number ¶
func (x AdminMessage_ConfigType) Number() protoreflect.EnumNumber
func (AdminMessage_ConfigType) String ¶
func (x AdminMessage_ConfigType) String() string
func (AdminMessage_ConfigType) Type ¶
func (AdminMessage_ConfigType) Type() protoreflect.EnumType
type AdminMessage_DeleteFileRequest ¶
type AdminMessage_DeleteFileRequest struct {
// Delete the file by the specified path from the device
DeleteFileRequest string `protobuf:"bytes,22,opt,name=delete_file_request,json=deleteFileRequest,proto3,oneof"`
}
type AdminMessage_EnterDfuModeRequest ¶
type AdminMessage_EnterDfuModeRequest struct {
// Enter (UF2) DFU mode
// Only implemented on NRF52 currently
EnterDfuModeRequest bool `protobuf:"varint,21,opt,name=enter_dfu_mode_request,json=enterDfuModeRequest,proto3,oneof"`
}
type AdminMessage_ExitSimulator ¶
type AdminMessage_ExitSimulator struct {
// This message is only supported for the simulator Portduino build.
// If received the simulator will exit successfully.
ExitSimulator bool `protobuf:"varint,96,opt,name=exit_simulator,json=exitSimulator,proto3,oneof"`
}
type AdminMessage_FactoryReset ¶
type AdminMessage_FactoryReset struct {
// Tell the node to factory reset, all device settings will be returned to factory defaults.
FactoryReset int32 `protobuf:"varint,99,opt,name=factory_reset,json=factoryReset,proto3,oneof"`
}
type AdminMessage_GetCannedMessageModuleMessagesRequest ¶
type AdminMessage_GetCannedMessageModuleMessagesRequest struct {
// Get the Canned Message Module messages in the response to this message.
GetCannedMessageModuleMessagesRequest bool `` /* 128-byte string literal not displayed */
}
type AdminMessage_GetCannedMessageModuleMessagesResponse ¶
type AdminMessage_GetCannedMessageModuleMessagesResponse struct {
// Get the Canned Message Module messages in the response to this message.
GetCannedMessageModuleMessagesResponse string `` /* 129-byte string literal not displayed */
}
type AdminMessage_GetChannelRequest ¶
type AdminMessage_GetChannelRequest struct {
// Send the specified channel in the response to this message
// NOTE: This field is sent with the channel index + 1 (to ensure we never try to send 'zero' - which protobufs treats as not present)
GetChannelRequest uint32 `protobuf:"varint,1,opt,name=get_channel_request,json=getChannelRequest,proto3,oneof"`
}
type AdminMessage_GetChannelResponse ¶
type AdminMessage_GetChannelResponse struct {
// TODO: REPLACE
GetChannelResponse *Channel `protobuf:"bytes,2,opt,name=get_channel_response,json=getChannelResponse,proto3,oneof"`
}
type AdminMessage_GetConfigRequest ¶
type AdminMessage_GetConfigRequest struct {
// Ask for the following config data to be sent
GetConfigRequest AdminMessage_ConfigType `protobuf:"varint,5,opt,name=get_config_request,json=getConfigRequest,proto3,enum=meshtastic.AdminMessage_ConfigType,oneof"`
}
type AdminMessage_GetConfigResponse ¶
type AdminMessage_GetConfigResponse struct {
// Send the current Config in the response to this message.
GetConfigResponse *Config `protobuf:"bytes,6,opt,name=get_config_response,json=getConfigResponse,proto3,oneof"`
}
type AdminMessage_GetDeviceConnectionStatusRequest ¶
type AdminMessage_GetDeviceConnectionStatusRequest struct {
// Request the node to send it's connection status
GetDeviceConnectionStatusRequest bool `protobuf:"varint,16,opt,name=get_device_connection_status_request,json=getDeviceConnectionStatusRequest,proto3,oneof"`
}
type AdminMessage_GetDeviceConnectionStatusResponse ¶
type AdminMessage_GetDeviceConnectionStatusResponse struct {
// Device connection status response
GetDeviceConnectionStatusResponse *DeviceConnectionStatus `protobuf:"bytes,17,opt,name=get_device_connection_status_response,json=getDeviceConnectionStatusResponse,proto3,oneof"`
}
type AdminMessage_GetDeviceMetadataRequest ¶
type AdminMessage_GetDeviceMetadataRequest struct {
// Request the node to send device metadata (firmware, protobuf version, etc)
GetDeviceMetadataRequest bool `protobuf:"varint,12,opt,name=get_device_metadata_request,json=getDeviceMetadataRequest,proto3,oneof"`
}
type AdminMessage_GetDeviceMetadataResponse ¶
type AdminMessage_GetDeviceMetadataResponse struct {
// Device metadata response
GetDeviceMetadataResponse *DeviceMetadata `protobuf:"bytes,13,opt,name=get_device_metadata_response,json=getDeviceMetadataResponse,proto3,oneof"`
}
type AdminMessage_GetModuleConfigRequest ¶
type AdminMessage_GetModuleConfigRequest struct {
// Ask for the following config data to be sent
GetModuleConfigRequest AdminMessage_ModuleConfigType `` /* 141-byte string literal not displayed */
}
type AdminMessage_GetModuleConfigResponse ¶
type AdminMessage_GetModuleConfigResponse struct {
// Send the current Config in the response to this message.
GetModuleConfigResponse *ModuleConfig `protobuf:"bytes,8,opt,name=get_module_config_response,json=getModuleConfigResponse,proto3,oneof"`
}
type AdminMessage_GetNodeRemoteHardwarePinsRequest ¶
type AdminMessage_GetNodeRemoteHardwarePinsRequest struct {
// Get the mesh's nodes with their available gpio pins for RemoteHardware module use
GetNodeRemoteHardwarePinsRequest bool `protobuf:"varint,19,opt,name=get_node_remote_hardware_pins_request,json=getNodeRemoteHardwarePinsRequest,proto3,oneof"`
}
type AdminMessage_GetNodeRemoteHardwarePinsResponse ¶
type AdminMessage_GetNodeRemoteHardwarePinsResponse struct {
// Respond with the mesh's nodes with their available gpio pins for RemoteHardware module use
GetNodeRemoteHardwarePinsResponse *NodeRemoteHardwarePinsResponse `protobuf:"bytes,20,opt,name=get_node_remote_hardware_pins_response,json=getNodeRemoteHardwarePinsResponse,proto3,oneof"`
}
type AdminMessage_GetOwnerRequest ¶
type AdminMessage_GetOwnerRequest struct {
// Send the current owner data in the response to this message.
GetOwnerRequest bool `protobuf:"varint,3,opt,name=get_owner_request,json=getOwnerRequest,proto3,oneof"`
}
type AdminMessage_GetOwnerResponse ¶
type AdminMessage_GetOwnerResponse struct {
// TODO: REPLACE
GetOwnerResponse *User `protobuf:"bytes,4,opt,name=get_owner_response,json=getOwnerResponse,proto3,oneof"`
}
type AdminMessage_GetRingtoneRequest ¶
type AdminMessage_GetRingtoneRequest struct {
// Get the Ringtone in the response to this message.
GetRingtoneRequest bool `protobuf:"varint,14,opt,name=get_ringtone_request,json=getRingtoneRequest,proto3,oneof"`
}
type AdminMessage_GetRingtoneResponse ¶
type AdminMessage_GetRingtoneResponse struct {
// Get the Ringtone in the response to this message.
GetRingtoneResponse string `protobuf:"bytes,15,opt,name=get_ringtone_response,json=getRingtoneResponse,proto3,oneof"`
}
type AdminMessage_ModuleConfigType ¶
type AdminMessage_ModuleConfigType int32
TODO: REPLACE
const ( // TODO: REPLACE AdminMessage_MQTT_CONFIG AdminMessage_ModuleConfigType = 0 // TODO: REPLACE AdminMessage_SERIAL_CONFIG AdminMessage_ModuleConfigType = 1 // TODO: REPLACE AdminMessage_EXTNOTIF_CONFIG AdminMessage_ModuleConfigType = 2 // TODO: REPLACE AdminMessage_STOREFORWARD_CONFIG AdminMessage_ModuleConfigType = 3 // TODO: REPLACE AdminMessage_RANGETEST_CONFIG AdminMessage_ModuleConfigType = 4 // TODO: REPLACE AdminMessage_TELEMETRY_CONFIG AdminMessage_ModuleConfigType = 5 // TODO: REPLACE AdminMessage_CANNEDMSG_CONFIG AdminMessage_ModuleConfigType = 6 // TODO: REPLACE AdminMessage_AUDIO_CONFIG AdminMessage_ModuleConfigType = 7 // TODO: REPLACE AdminMessage_REMOTEHARDWARE_CONFIG AdminMessage_ModuleConfigType = 8 // TODO: REPLACE AdminMessage_NEIGHBORINFO_CONFIG AdminMessage_ModuleConfigType = 9 // TODO: REPLACE AdminMessage_AMBIENTLIGHTING_CONFIG AdminMessage_ModuleConfigType = 10 // TODO: REPLACE AdminMessage_DETECTIONSENSOR_CONFIG AdminMessage_ModuleConfigType = 11 // TODO: REPLACE AdminMessage_PAXCOUNTER_CONFIG AdminMessage_ModuleConfigType = 12 )
func (AdminMessage_ModuleConfigType) Descriptor ¶
func (AdminMessage_ModuleConfigType) Descriptor() protoreflect.EnumDescriptor
func (AdminMessage_ModuleConfigType) Enum ¶
func (x AdminMessage_ModuleConfigType) Enum() *AdminMessage_ModuleConfigType
func (AdminMessage_ModuleConfigType) Number ¶
func (x AdminMessage_ModuleConfigType) Number() protoreflect.EnumNumber
func (AdminMessage_ModuleConfigType) String ¶
func (x AdminMessage_ModuleConfigType) String() string
func (AdminMessage_ModuleConfigType) Type ¶
func (AdminMessage_ModuleConfigType) Type() protoreflect.EnumType
type AdminMessage_NodedbReset ¶
type AdminMessage_NodedbReset struct {
// Tell the node to reset the nodedb.
NodedbReset int32 `protobuf:"varint,100,opt,name=nodedb_reset,json=nodedbReset,proto3,oneof"`
}
type AdminMessage_RebootOtaSeconds ¶
type AdminMessage_RebootOtaSeconds struct {
// Tell the node to reboot into the OTA Firmware in this many seconds (or <0 to cancel reboot)
// Only Implemented for ESP32 Devices. This needs to be issued to send a new main firmware via bluetooth.
RebootOtaSeconds int32 `protobuf:"varint,95,opt,name=reboot_ota_seconds,json=rebootOtaSeconds,proto3,oneof"`
}
type AdminMessage_RebootSeconds ¶
type AdminMessage_RebootSeconds struct {
// Tell the node to reboot in this many seconds (or <0 to cancel reboot)
RebootSeconds int32 `protobuf:"varint,97,opt,name=reboot_seconds,json=rebootSeconds,proto3,oneof"`
}
type AdminMessage_RemoveByNodenum ¶
type AdminMessage_RemoveByNodenum struct {
// Remove the node by the specified node-num from the NodeDB on the device
RemoveByNodenum uint32 `protobuf:"varint,38,opt,name=remove_by_nodenum,json=removeByNodenum,proto3,oneof"`
}
type AdminMessage_SetCannedMessageModuleMessages ¶
type AdminMessage_SetCannedMessageModuleMessages struct {
// Set the Canned Message Module messages text.
SetCannedMessageModuleMessages string `protobuf:"bytes,36,opt,name=set_canned_message_module_messages,json=setCannedMessageModuleMessages,proto3,oneof"`
}
type AdminMessage_SetChannel ¶
type AdminMessage_SetChannel struct {
// Set channels (using the new API).
// A special channel is the "primary channel".
// The other records are secondary channels.
// Note: only one channel can be marked as primary.
// If the client sets a particular channel to be primary, the previous channel will be set to SECONDARY automatically.
SetChannel *Channel `protobuf:"bytes,33,opt,name=set_channel,json=setChannel,proto3,oneof"`
}
type AdminMessage_SetConfig ¶
type AdminMessage_SetConfig struct {
// Set the current Config
SetConfig *Config `protobuf:"bytes,34,opt,name=set_config,json=setConfig,proto3,oneof"`
}
type AdminMessage_SetHamMode ¶
type AdminMessage_SetHamMode struct {
// Setup a node for licensed amateur (ham) radio operation
SetHamMode *HamParameters `protobuf:"bytes,18,opt,name=set_ham_mode,json=setHamMode,proto3,oneof"`
}
type AdminMessage_SetModuleConfig ¶
type AdminMessage_SetModuleConfig struct {
// Set the current Config
SetModuleConfig *ModuleConfig `protobuf:"bytes,35,opt,name=set_module_config,json=setModuleConfig,proto3,oneof"`
}
type AdminMessage_SetOwner ¶
type AdminMessage_SetOwner struct {
// Set the owner for this node
SetOwner *User `protobuf:"bytes,32,opt,name=set_owner,json=setOwner,proto3,oneof"`
}
type AdminMessage_SetRingtoneMessage ¶
type AdminMessage_SetRingtoneMessage struct {
// Set the ringtone for ExternalNotification.
SetRingtoneMessage string `protobuf:"bytes,37,opt,name=set_ringtone_message,json=setRingtoneMessage,proto3,oneof"`
}
type AdminMessage_ShutdownSeconds ¶
type AdminMessage_ShutdownSeconds struct {
// Tell the node to shutdown in this many seconds (or <0 to cancel shutdown)
ShutdownSeconds int32 `protobuf:"varint,98,opt,name=shutdown_seconds,json=shutdownSeconds,proto3,oneof"`
}
type AdminMessage_builder ¶
type AdminMessage_builder struct {
// Fields of oneof PayloadVariant:
//
// Send the specified channel in the response to this message
// NOTE: This field is sent with the channel index + 1 (to ensure we never try to send 'zero' - which protobufs treats as not present)
GetChannelRequest *uint32
// TODO: REPLACE
GetChannelResponse *Channel
// Send the current owner data in the response to this message.
GetOwnerRequest *bool
// TODO: REPLACE
GetOwnerResponse *User
// Ask for the following config data to be sent
GetConfigRequest *AdminMessage_ConfigType
// Send the current Config in the response to this message.
GetConfigResponse *Config
// Ask for the following config data to be sent
GetModuleConfigRequest *AdminMessage_ModuleConfigType
// Send the current Config in the response to this message.
GetModuleConfigResponse *ModuleConfig
// Get the Canned Message Module messages in the response to this message.
GetCannedMessageModuleMessagesRequest *bool
// Get the Canned Message Module messages in the response to this message.
GetCannedMessageModuleMessagesResponse *string
// Request the node to send device metadata (firmware, protobuf version, etc)
GetDeviceMetadataRequest *bool
// Device metadata response
GetDeviceMetadataResponse *DeviceMetadata
// Get the Ringtone in the response to this message.
GetRingtoneRequest *bool
// Get the Ringtone in the response to this message.
GetRingtoneResponse *string
// Request the node to send it's connection status
GetDeviceConnectionStatusRequest *bool
// Device connection status response
GetDeviceConnectionStatusResponse *DeviceConnectionStatus
// Setup a node for licensed amateur (ham) radio operation
SetHamMode *HamParameters
// Get the mesh's nodes with their available gpio pins for RemoteHardware module use
GetNodeRemoteHardwarePinsRequest *bool
// Respond with the mesh's nodes with their available gpio pins for RemoteHardware module use
GetNodeRemoteHardwarePinsResponse *NodeRemoteHardwarePinsResponse
// Enter (UF2) DFU mode
// Only implemented on NRF52 currently
EnterDfuModeRequest *bool
// Delete the file by the specified path from the device
DeleteFileRequest *string
// Set the owner for this node
SetOwner *User
// Set channels (using the new API).
// A special channel is the "primary channel".
// The other records are secondary channels.
// Note: only one channel can be marked as primary.
// If the client sets a particular channel to be primary, the previous channel will be set to SECONDARY automatically.
SetChannel *Channel
// Set the current Config
SetConfig *Config
// Set the current Config
SetModuleConfig *ModuleConfig
// Set the Canned Message Module messages text.
SetCannedMessageModuleMessages *string
// Set the ringtone for ExternalNotification.
SetRingtoneMessage *string
// Remove the node by the specified node-num from the NodeDB on the device
RemoveByNodenum *uint32
// Begins an edit transaction for config, module config, owner, and channel settings changes
// This will delay the standard *implicit* save to the file system and subsequent reboot behavior until committed (commit_edit_settings)
BeginEditSettings *bool
// Commits an open transaction for any edits made to config, module config, owner, and channel settings
CommitEditSettings *bool
// Tell the node to reboot into the OTA Firmware in this many seconds (or <0 to cancel reboot)
// Only Implemented for ESP32 Devices. This needs to be issued to send a new main firmware via bluetooth.
RebootOtaSeconds *int32
// This message is only supported for the simulator Portduino build.
// If received the simulator will exit successfully.
ExitSimulator *bool
// Tell the node to reboot in this many seconds (or <0 to cancel reboot)
RebootSeconds *int32
// Tell the node to shutdown in this many seconds (or <0 to cancel shutdown)
ShutdownSeconds *int32
// Tell the node to factory reset, all device settings will be returned to factory defaults.
FactoryReset *int32
// Tell the node to reset the nodedb.
NodedbReset *int32
// contains filtered or unexported fields
}
func (AdminMessage_builder) Build ¶
func (b0 AdminMessage_builder) Build() *AdminMessage
type AirQualityMetrics ¶
type AirQualityMetrics struct {
//
// Concentration Units Standard PM1.0
Pm10Standard uint32 `protobuf:"varint,1,opt,name=pm10_standard,json=pm10Standard,proto3" json:"pm10_standard,omitempty"`
//
// Concentration Units Standard PM2.5
Pm25Standard uint32 `protobuf:"varint,2,opt,name=pm25_standard,json=pm25Standard,proto3" json:"pm25_standard,omitempty"`
//
// Concentration Units Standard PM10.0
Pm100Standard uint32 `protobuf:"varint,3,opt,name=pm100_standard,json=pm100Standard,proto3" json:"pm100_standard,omitempty"`
//
// Concentration Units Environmental PM1.0
Pm10Environmental uint32 `protobuf:"varint,4,opt,name=pm10_environmental,json=pm10Environmental,proto3" json:"pm10_environmental,omitempty"`
//
// Concentration Units Environmental PM2.5
Pm25Environmental uint32 `protobuf:"varint,5,opt,name=pm25_environmental,json=pm25Environmental,proto3" json:"pm25_environmental,omitempty"`
//
// Concentration Units Environmental PM10.0
Pm100Environmental uint32 `protobuf:"varint,6,opt,name=pm100_environmental,json=pm100Environmental,proto3" json:"pm100_environmental,omitempty"`
//
// 0.3um Particle Count
Particles_03Um uint32 `protobuf:"varint,7,opt,name=particles_03um,json=particles03um,proto3" json:"particles_03um,omitempty"`
//
// 0.5um Particle Count
Particles_05Um uint32 `protobuf:"varint,8,opt,name=particles_05um,json=particles05um,proto3" json:"particles_05um,omitempty"`
//
// 1.0um Particle Count
Particles_10Um uint32 `protobuf:"varint,9,opt,name=particles_10um,json=particles10um,proto3" json:"particles_10um,omitempty"`
//
// 2.5um Particle Count
Particles_25Um uint32 `protobuf:"varint,10,opt,name=particles_25um,json=particles25um,proto3" json:"particles_25um,omitempty"`
//
// 5.0um Particle Count
Particles_50Um uint32 `protobuf:"varint,11,opt,name=particles_50um,json=particles50um,proto3" json:"particles_50um,omitempty"`
//
// 10.0um Particle Count
Particles_100Um uint32 `protobuf:"varint,12,opt,name=particles_100um,json=particles100um,proto3" json:"particles_100um,omitempty"`
// contains filtered or unexported fields
}
Air quality metrics
func (*AirQualityMetrics) GetParticles_03Um ¶
func (x *AirQualityMetrics) GetParticles_03Um() uint32
func (*AirQualityMetrics) GetParticles_05Um ¶
func (x *AirQualityMetrics) GetParticles_05Um() uint32
func (*AirQualityMetrics) GetParticles_10Um ¶
func (x *AirQualityMetrics) GetParticles_10Um() uint32
func (*AirQualityMetrics) GetParticles_25Um ¶
func (x *AirQualityMetrics) GetParticles_25Um() uint32
func (*AirQualityMetrics) GetParticles_50Um ¶
func (x *AirQualityMetrics) GetParticles_50Um() uint32
func (*AirQualityMetrics) GetParticles_100Um ¶
func (x *AirQualityMetrics) GetParticles_100Um() uint32
func (*AirQualityMetrics) GetPm10Environmental ¶
func (x *AirQualityMetrics) GetPm10Environmental() uint32
func (*AirQualityMetrics) GetPm10Standard ¶
func (x *AirQualityMetrics) GetPm10Standard() uint32
func (*AirQualityMetrics) GetPm25Environmental ¶
func (x *AirQualityMetrics) GetPm25Environmental() uint32
func (*AirQualityMetrics) GetPm25Standard ¶
func (x *AirQualityMetrics) GetPm25Standard() uint32
func (*AirQualityMetrics) GetPm100Environmental ¶
func (x *AirQualityMetrics) GetPm100Environmental() uint32
func (*AirQualityMetrics) GetPm100Standard ¶
func (x *AirQualityMetrics) GetPm100Standard() uint32
func (*AirQualityMetrics) ProtoMessage ¶
func (*AirQualityMetrics) ProtoMessage()
func (*AirQualityMetrics) ProtoReflect ¶
func (x *AirQualityMetrics) ProtoReflect() protoreflect.Message
func (*AirQualityMetrics) Reset ¶
func (x *AirQualityMetrics) Reset()
func (*AirQualityMetrics) SetParticles_03Um ¶
func (x *AirQualityMetrics) SetParticles_03Um(v uint32)
func (*AirQualityMetrics) SetParticles_05Um ¶
func (x *AirQualityMetrics) SetParticles_05Um(v uint32)
func (*AirQualityMetrics) SetParticles_10Um ¶
func (x *AirQualityMetrics) SetParticles_10Um(v uint32)
func (*AirQualityMetrics) SetParticles_25Um ¶
func (x *AirQualityMetrics) SetParticles_25Um(v uint32)
func (*AirQualityMetrics) SetParticles_50Um ¶
func (x *AirQualityMetrics) SetParticles_50Um(v uint32)
func (*AirQualityMetrics) SetParticles_100Um ¶
func (x *AirQualityMetrics) SetParticles_100Um(v uint32)
func (*AirQualityMetrics) SetPm10Environmental ¶
func (x *AirQualityMetrics) SetPm10Environmental(v uint32)
func (*AirQualityMetrics) SetPm10Standard ¶
func (x *AirQualityMetrics) SetPm10Standard(v uint32)
func (*AirQualityMetrics) SetPm25Environmental ¶
func (x *AirQualityMetrics) SetPm25Environmental(v uint32)
func (*AirQualityMetrics) SetPm25Standard ¶
func (x *AirQualityMetrics) SetPm25Standard(v uint32)
func (*AirQualityMetrics) SetPm100Environmental ¶
func (x *AirQualityMetrics) SetPm100Environmental(v uint32)
func (*AirQualityMetrics) SetPm100Standard ¶
func (x *AirQualityMetrics) SetPm100Standard(v uint32)
func (*AirQualityMetrics) String ¶
func (x *AirQualityMetrics) String() string
type AirQualityMetrics_builder ¶
type AirQualityMetrics_builder struct {
//
// Concentration Units Standard PM1.0
Pm10Standard uint32
//
// Concentration Units Standard PM2.5
Pm25Standard uint32
//
// Concentration Units Standard PM10.0
Pm100Standard uint32
//
// Concentration Units Environmental PM1.0
Pm10Environmental uint32
//
// Concentration Units Environmental PM2.5
Pm25Environmental uint32
//
// Concentration Units Environmental PM10.0
Pm100Environmental uint32
//
// 0.3um Particle Count
Particles_03Um uint32
//
// 0.5um Particle Count
Particles_05Um uint32
//
// 1.0um Particle Count
Particles_10Um uint32
//
// 2.5um Particle Count
Particles_25Um uint32
//
// 5.0um Particle Count
Particles_50Um uint32
//
// 10.0um Particle Count
Particles_100Um uint32
// contains filtered or unexported fields
}
func (AirQualityMetrics_builder) Build ¶
func (b0 AirQualityMetrics_builder) Build() *AirQualityMetrics
type BluetoothConnectionStatus ¶
type BluetoothConnectionStatus struct {
// The pairing PIN for bluetooth
Pin uint32 `protobuf:"varint,1,opt,name=pin,proto3" json:"pin,omitempty"`
// RSSI of bluetooth connection
Rssi int32 `protobuf:"varint,2,opt,name=rssi,proto3" json:"rssi,omitempty"`
// Whether the device has an active connection or not
IsConnected bool `protobuf:"varint,3,opt,name=is_connected,json=isConnected,proto3" json:"is_connected,omitempty"`
// contains filtered or unexported fields
}
Bluetooth connection status
func (*BluetoothConnectionStatus) GetIsConnected ¶
func (x *BluetoothConnectionStatus) GetIsConnected() bool
func (*BluetoothConnectionStatus) GetPin ¶
func (x *BluetoothConnectionStatus) GetPin() uint32
func (*BluetoothConnectionStatus) GetRssi ¶
func (x *BluetoothConnectionStatus) GetRssi() int32
func (*BluetoothConnectionStatus) ProtoMessage ¶
func (*BluetoothConnectionStatus) ProtoMessage()
func (*BluetoothConnectionStatus) ProtoReflect ¶
func (x *BluetoothConnectionStatus) ProtoReflect() protoreflect.Message
func (*BluetoothConnectionStatus) Reset ¶
func (x *BluetoothConnectionStatus) Reset()
func (*BluetoothConnectionStatus) SetIsConnected ¶
func (x *BluetoothConnectionStatus) SetIsConnected(v bool)
func (*BluetoothConnectionStatus) SetPin ¶
func (x *BluetoothConnectionStatus) SetPin(v uint32)
func (*BluetoothConnectionStatus) SetRssi ¶
func (x *BluetoothConnectionStatus) SetRssi(v int32)
func (*BluetoothConnectionStatus) String ¶
func (x *BluetoothConnectionStatus) String() string
type BluetoothConnectionStatus_builder ¶
type BluetoothConnectionStatus_builder struct {
// The pairing PIN for bluetooth
Pin uint32
// RSSI of bluetooth connection
Rssi int32
// Whether the device has an active connection or not
IsConnected bool
// contains filtered or unexported fields
}
func (BluetoothConnectionStatus_builder) Build ¶
func (b0 BluetoothConnectionStatus_builder) Build() *BluetoothConnectionStatus
type CannedMessageModuleConfig ¶
type CannedMessageModuleConfig struct {
// Predefined messages for canned message module separated by '|' characters.
Messages string `protobuf:"bytes,1,opt,name=messages,proto3" json:"messages,omitempty"`
// contains filtered or unexported fields
}
Canned message module configuration.
func (*CannedMessageModuleConfig) GetMessages ¶
func (x *CannedMessageModuleConfig) GetMessages() string
func (*CannedMessageModuleConfig) ProtoMessage ¶
func (*CannedMessageModuleConfig) ProtoMessage()
func (*CannedMessageModuleConfig) ProtoReflect ¶
func (x *CannedMessageModuleConfig) ProtoReflect() protoreflect.Message
func (*CannedMessageModuleConfig) Reset ¶
func (x *CannedMessageModuleConfig) Reset()
func (*CannedMessageModuleConfig) SetMessages ¶
func (x *CannedMessageModuleConfig) SetMessages(v string)
func (*CannedMessageModuleConfig) String ¶
func (x *CannedMessageModuleConfig) String() string
type CannedMessageModuleConfig_builder ¶
type CannedMessageModuleConfig_builder struct {
// Predefined messages for canned message module separated by '|' characters.
Messages string
// contains filtered or unexported fields
}
func (CannedMessageModuleConfig_builder) Build ¶
func (b0 CannedMessageModuleConfig_builder) Build() *CannedMessageModuleConfig
type Channel ¶
type Channel struct {
// The index of this channel in the channel table (from 0 to MAX_NUM_CHANNELS-1)
// (Someday - not currently implemented) An index of -1 could be used to mean "set by name",
// in which case the target node will find and set the channel by settings.name.
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
// The new settings, or NULL to disable that channel
Settings *ChannelSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
// TODO: REPLACE
Role Channel_Role `protobuf:"varint,3,opt,name=role,proto3,enum=meshtastic.Channel_Role" json:"role,omitempty"`
// contains filtered or unexported fields
}
A pair of a channel number, mode and the (sharable) settings for that channel
func (*Channel) GetRole ¶
func (x *Channel) GetRole() Channel_Role
func (*Channel) GetSettings ¶
func (x *Channel) GetSettings() *ChannelSettings
func (*Channel) ProtoReflect ¶
func (x *Channel) ProtoReflect() protoreflect.Message
func (*Channel) SetRole ¶
func (x *Channel) SetRole(v Channel_Role)
func (*Channel) SetSettings ¶
func (x *Channel) SetSettings(v *ChannelSettings)
type ChannelFile ¶
type ChannelFile struct {
// The channels our node knows about
Channels []*Channel `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
// A version integer used to invalidate old save files when we make
// incompatible changes This integer is set at build time and is private to
// NodeDB.cpp in the device code.
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
The on-disk saved channels
func (*ChannelFile) GetChannels ¶
func (x *ChannelFile) GetChannels() []*Channel
func (*ChannelFile) GetVersion ¶
func (x *ChannelFile) GetVersion() uint32
func (*ChannelFile) ProtoMessage ¶
func (*ChannelFile) ProtoMessage()
func (*ChannelFile) ProtoReflect ¶
func (x *ChannelFile) ProtoReflect() protoreflect.Message
func (*ChannelFile) Reset ¶
func (x *ChannelFile) Reset()
func (*ChannelFile) SetChannels ¶
func (x *ChannelFile) SetChannels(v []*Channel)
func (*ChannelFile) SetVersion ¶
func (x *ChannelFile) SetVersion(v uint32)
func (*ChannelFile) String ¶
func (x *ChannelFile) String() string
type ChannelFile_builder ¶
type ChannelFile_builder struct {
// The channels our node knows about
Channels []*Channel
// A version integer used to invalidate old save files when we make
// incompatible changes This integer is set at build time and is private to
// NodeDB.cpp in the device code.
Version uint32
// contains filtered or unexported fields
}
func (ChannelFile_builder) Build ¶
func (b0 ChannelFile_builder) Build() *ChannelFile
type ChannelSet ¶
type ChannelSet struct {
// Channel list with settings
Settings []*ChannelSettings `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"`
// LoRa config
LoraConfig *Config_LoRaConfig `protobuf:"bytes,2,opt,name=lora_config,json=loraConfig,proto3" json:"lora_config,omitempty"`
// contains filtered or unexported fields
}
This is the most compact possible representation for a set of channels. It includes only one PRIMARY channel (which must be first) and any SECONDARY channels. No DISABLED channels are included. This abstraction is used only on the the 'app side' of the world (ie python, javascript and android etc) to show a group of Channels as a (long) URL
func (*ChannelSet) ClearLoraConfig ¶
func (x *ChannelSet) ClearLoraConfig()
func (*ChannelSet) GetLoraConfig ¶
func (x *ChannelSet) GetLoraConfig() *Config_LoRaConfig
func (*ChannelSet) GetSettings ¶
func (x *ChannelSet) GetSettings() []*ChannelSettings
func (*ChannelSet) HasLoraConfig ¶
func (x *ChannelSet) HasLoraConfig() bool
func (*ChannelSet) ProtoMessage ¶
func (*ChannelSet) ProtoMessage()
func (*ChannelSet) ProtoReflect ¶
func (x *ChannelSet) ProtoReflect() protoreflect.Message
func (*ChannelSet) Reset ¶
func (x *ChannelSet) Reset()
func (*ChannelSet) SetLoraConfig ¶
func (x *ChannelSet) SetLoraConfig(v *Config_LoRaConfig)
func (*ChannelSet) SetSettings ¶
func (x *ChannelSet) SetSettings(v []*ChannelSettings)
func (*ChannelSet) String ¶
func (x *ChannelSet) String() string
type ChannelSet_builder ¶
type ChannelSet_builder struct {
// Channel list with settings
Settings []*ChannelSettings
// LoRa config
LoraConfig *Config_LoRaConfig
// contains filtered or unexported fields
}
func (ChannelSet_builder) Build ¶
func (b0 ChannelSet_builder) Build() *ChannelSet
type ChannelSettings ¶
type ChannelSettings struct {
// Deprecated in favor of LoraConfig.channel_num
//
// Deprecated: Marked as deprecated in meshtastic/channel.proto.
ChannelNum uint32 `protobuf:"varint,1,opt,name=channel_num,json=channelNum,proto3" json:"channel_num,omitempty"`
// A simple pre-shared key for now for crypto.
// Must be either 0 bytes (no crypto), 16 bytes (AES128), or 32 bytes (AES256).
// A special shorthand is used for 1 byte long psks.
// These psks should be treated as only minimally secure,
// because they are listed in this source code.
// Those bytes are mapped using the following scheme:
// `0` = No crypto
// `1` = The special "default" channel key: {0xd4, 0xf1, 0xbb, 0x3a, 0x20, 0x29, 0x07, 0x59, 0xf0, 0xbc, 0xff, 0xab, 0xcf, 0x4e, 0x69, 0x01}
// `2` through 10 = The default channel key, except with 1 through 9 added to the last byte.
// Shown to user as simple1 through 10
Psk []byte `protobuf:"bytes,2,opt,name=psk,proto3" json:"psk,omitempty"`
// A SHORT name that will be packed into the URL.
// Less than 12 bytes.
// Something for end users to call the channel
// If this is the empty string it is assumed that this channel
// is the special (minimally secure) "Default"channel.
// In user interfaces it should be rendered as a local language translation of "X".
// For channel_num hashing empty string will be treated as "X".
// Where "X" is selected based on the English words listed above for ModemPreset
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Used to construct a globally unique channel ID.
// The full globally unique ID will be: "name.id" where ID is shown as base36.
// Assuming that the number of meshtastic users is below 20K (true for a long time)
// the chance of this 64 bit random number colliding with anyone else is super low.
// And the penalty for collision is low as well, it just means that anyone trying to decrypt channel messages might need to
// try multiple candidate channels.
// Any time a non wire compatible change is made to a channel, this field should be regenerated.
// There are a small number of 'special' globally known (and fairly) insecure standard channels.
// Those channels do not have a numeric id included in the settings, but instead it is pulled from
// a table of well known IDs.
// (see Well Known Channels FIXME)
Id uint32 `protobuf:"fixed32,4,opt,name=id,proto3" json:"id,omitempty"`
// If true, messages on the mesh will be sent to the *public* internet by any gateway ndoe
UplinkEnabled bool `protobuf:"varint,5,opt,name=uplink_enabled,json=uplinkEnabled,proto3" json:"uplink_enabled,omitempty"`
// If true, messages seen on the internet will be forwarded to the local mesh.
DownlinkEnabled bool `protobuf:"varint,6,opt,name=downlink_enabled,json=downlinkEnabled,proto3" json:"downlink_enabled,omitempty"`
// contains filtered or unexported fields
}
This information can be encoded as a QRcode/url so that other users can configure their radio to join the same channel. A note about how channel names are shown to users: channelname-X poundsymbol is a prefix used to indicate this is a channel name (idea from @professr). Where X is a letter from A-Z (base 26) representing a hash of the PSK for this channel - so that if the user changes anything about the channel (which does force a new PSK) this letter will also change. Thus preventing user confusion if two friends try to type in a channel name of "BobsChan" and then can't talk because their PSKs will be different. The PSK is hashed into this letter by "0x41 + [xor all bytes of the psk ] modulo 26" This also allows the option of someday if people have the PSK off (zero), the users COULD type in a channel name and be able to talk. FIXME: Add description of multi-channel support and how primary vs secondary channels are used. FIXME: explain how apps use channels for security. explain how remote settings and remote gpio are managed as an example
func (*ChannelSettings) GetChannelNum
deprecated
func (x *ChannelSettings) GetChannelNum() uint32
Deprecated: Marked as deprecated in meshtastic/channel.proto.
func (*ChannelSettings) GetDownlinkEnabled ¶
func (x *ChannelSettings) GetDownlinkEnabled() bool
func (*ChannelSettings) GetId ¶
func (x *ChannelSettings) GetId() uint32
func (*ChannelSettings) GetName ¶
func (x *ChannelSettings) GetName() string
func (*ChannelSettings) GetPsk ¶
func (x *ChannelSettings) GetPsk() []byte
func (*ChannelSettings) GetUplinkEnabled ¶
func (x *ChannelSettings) GetUplinkEnabled() bool
func (*ChannelSettings) ProtoMessage ¶
func (*ChannelSettings) ProtoMessage()
func (*ChannelSettings) ProtoReflect ¶
func (x *ChannelSettings) ProtoReflect() protoreflect.Message
func (*ChannelSettings) Reset ¶
func (x *ChannelSettings) Reset()
func (*ChannelSettings) SetChannelNum
deprecated
func (x *ChannelSettings) SetChannelNum(v uint32)
Deprecated: Marked as deprecated in meshtastic/channel.proto.
func (*ChannelSettings) SetDownlinkEnabled ¶
func (x *ChannelSettings) SetDownlinkEnabled(v bool)
func (*ChannelSettings) SetId ¶
func (x *ChannelSettings) SetId(v uint32)
func (*ChannelSettings) SetName ¶
func (x *ChannelSettings) SetName(v string)
func (*ChannelSettings) SetPsk ¶
func (x *ChannelSettings) SetPsk(v []byte)
func (*ChannelSettings) SetUplinkEnabled ¶
func (x *ChannelSettings) SetUplinkEnabled(v bool)
func (*ChannelSettings) String ¶
func (x *ChannelSettings) String() string
type ChannelSettings_builder ¶
type ChannelSettings_builder struct {
// Deprecated in favor of LoraConfig.channel_num
//
// Deprecated: Marked as deprecated in meshtastic/channel.proto.
ChannelNum uint32
// A simple pre-shared key for now for crypto.
// Must be either 0 bytes (no crypto), 16 bytes (AES128), or 32 bytes (AES256).
// A special shorthand is used for 1 byte long psks.
// These psks should be treated as only minimally secure,
// because they are listed in this source code.
// Those bytes are mapped using the following scheme:
// `0` = No crypto
// `1` = The special "default" channel key: {0xd4, 0xf1, 0xbb, 0x3a, 0x20, 0x29, 0x07, 0x59, 0xf0, 0xbc, 0xff, 0xab, 0xcf, 0x4e, 0x69, 0x01}
// `2` through 10 = The default channel key, except with 1 through 9 added to the last byte.
// Shown to user as simple1 through 10
Psk []byte
// A SHORT name that will be packed into the URL.
// Less than 12 bytes.
// Something for end users to call the channel
// If this is the empty string it is assumed that this channel
// is the special (minimally secure) "Default"channel.
// In user interfaces it should be rendered as a local language translation of "X".
// For channel_num hashing empty string will be treated as "X".
// Where "X" is selected based on the English words listed above for ModemPreset
Name string
// Used to construct a globally unique channel ID.
// The full globally unique ID will be: "name.id" where ID is shown as base36.
// Assuming that the number of meshtastic users is below 20K (true for a long time)
// the chance of this 64 bit random number colliding with anyone else is super low.
// And the penalty for collision is low as well, it just means that anyone trying to decrypt channel messages might need to
// try multiple candidate channels.
// Any time a non wire compatible change is made to a channel, this field should be regenerated.
// There are a small number of 'special' globally known (and fairly) insecure standard channels.
// Those channels do not have a numeric id included in the settings, but instead it is pulled from
// a table of well known IDs.
// (see Well Known Channels FIXME)
Id uint32
// If true, messages on the mesh will be sent to the *public* internet by any gateway ndoe
UplinkEnabled bool
// If true, messages seen on the internet will be forwarded to the local mesh.
DownlinkEnabled bool
// contains filtered or unexported fields
}
func (ChannelSettings_builder) Build ¶
func (b0 ChannelSettings_builder) Build() *ChannelSettings
type Channel_Role ¶
type Channel_Role int32
How this channel is being used (or not). Note: this field is an enum to give us options for the future. In particular, someday we might make a 'SCANNING' option. SCANNING channels could have different frequencies and the radio would occasionally check that freq to see if anything is being transmitted. For devices that have multiple physical radios attached, we could keep multiple PRIMARY/SCANNING channels active at once to allow cross band routing as needed. If a device has only a single radio (the common case) only one channel can be PRIMARY at a time (but any number of SECONDARY channels can't be sent received on that common frequency)
const ( // This channel is not in use right now Channel_DISABLED Channel_Role = 0 // This channel is used to set the frequency for the radio - all other enabled channels must be SECONDARY Channel_PRIMARY Channel_Role = 1 // Secondary channels are only used for encryption/decryption/authentication purposes. // Their radio settings (freq etc) are ignored, only psk is used. Channel_SECONDARY Channel_Role = 2 )
func (Channel_Role) Descriptor ¶
func (Channel_Role) Descriptor() protoreflect.EnumDescriptor
func (Channel_Role) Enum ¶
func (x Channel_Role) Enum() *Channel_Role
func (Channel_Role) Number ¶
func (x Channel_Role) Number() protoreflect.EnumNumber
func (Channel_Role) String ¶
func (x Channel_Role) String() string
func (Channel_Role) Type ¶
func (Channel_Role) Type() protoreflect.EnumType
type Channel_builder ¶
type Channel_builder struct {
// The index of this channel in the channel table (from 0 to MAX_NUM_CHANNELS-1)
// (Someday - not currently implemented) An index of -1 could be used to mean "set by name",
// in which case the target node will find and set the channel by settings.name.
Index int32
// The new settings, or NULL to disable that channel
Settings *ChannelSettings
// TODO: REPLACE
Role Channel_Role
// contains filtered or unexported fields
}
func (Channel_builder) Build ¶
func (b0 Channel_builder) Build() *Channel
type Compressed ¶
type Compressed struct {
// PortNum to determine the how to handle the compressed payload.
Portnum PortNum `protobuf:"varint,1,opt,name=portnum,proto3,enum=meshtastic.PortNum" json:"portnum,omitempty"`
// Compressed data.
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
Compressed message payload
func (*Compressed) GetData ¶
func (x *Compressed) GetData() []byte
func (*Compressed) GetPortnum ¶
func (x *Compressed) GetPortnum() PortNum
func (*Compressed) ProtoMessage ¶
func (*Compressed) ProtoMessage()
func (*Compressed) ProtoReflect ¶
func (x *Compressed) ProtoReflect() protoreflect.Message
func (*Compressed) Reset ¶
func (x *Compressed) Reset()
func (*Compressed) SetData ¶
func (x *Compressed) SetData(v []byte)
func (*Compressed) SetPortnum ¶
func (x *Compressed) SetPortnum(v PortNum)
func (*Compressed) String ¶
func (x *Compressed) String() string
type Compressed_builder ¶
type Compressed_builder struct {
// PortNum to determine the how to handle the compressed payload.
Portnum PortNum
// Compressed data.
Data []byte
// contains filtered or unexported fields
}
func (Compressed_builder) Build ¶
func (b0 Compressed_builder) Build() *Compressed
type Config ¶
type Config struct {
// Payload Variant
//
// Types that are valid to be assigned to PayloadVariant:
//
// *Config_Device
// *Config_Position
// *Config_Power
// *Config_Network
// *Config_Display
// *Config_Lora
// *Config_Bluetooth
PayloadVariant isConfig_PayloadVariant `protobuf_oneof:"payload_variant"`
// contains filtered or unexported fields
}
func (*Config) GetBluetooth ¶
func (x *Config) GetBluetooth() *Config_BluetoothConfig
func (*Config) GetDevice ¶
func (x *Config) GetDevice() *Config_DeviceConfig
func (*Config) GetDisplay ¶
func (x *Config) GetDisplay() *Config_DisplayConfig
func (*Config) GetLora ¶
func (x *Config) GetLora() *Config_LoRaConfig
func (*Config) GetNetwork ¶
func (x *Config) GetNetwork() *Config_NetworkConfig
func (*Config) GetPosition ¶
func (x *Config) GetPosition() *Config_PositionConfig
func (*Config) GetPower ¶
func (x *Config) GetPower() *Config_PowerConfig
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
func (*Config) SetBluetooth ¶
func (x *Config) SetBluetooth(v *Config_BluetoothConfig)
func (*Config) SetDevice ¶
func (x *Config) SetDevice(v *Config_DeviceConfig)
func (*Config) SetDisplay ¶
func (x *Config) SetDisplay(v *Config_DisplayConfig)
func (*Config) SetLora ¶
func (x *Config) SetLora(v *Config_LoRaConfig)
func (*Config) SetNetwork ¶
func (x *Config) SetNetwork(v *Config_NetworkConfig)
func (*Config) SetPosition ¶
func (x *Config) SetPosition(v *Config_PositionConfig)
func (*Config) SetPower ¶
func (x *Config) SetPower(v *Config_PowerConfig)
type Config_Bluetooth ¶
type Config_Bluetooth struct {
Bluetooth *Config_BluetoothConfig `protobuf:"bytes,7,opt,name=bluetooth,proto3,oneof"`
}
type Config_BluetoothConfig ¶
type Config_BluetoothConfig struct {
// Enable Bluetooth on the device
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Determines the pairing strategy for the device
Mode Config_BluetoothConfig_PairingMode `protobuf:"varint,2,opt,name=mode,proto3,enum=meshtastic.Config_BluetoothConfig_PairingMode" json:"mode,omitempty"`
// Specified PIN for PairingMode.FixedPin
FixedPin uint32 `protobuf:"varint,3,opt,name=fixed_pin,json=fixedPin,proto3" json:"fixed_pin,omitempty"`
// contains filtered or unexported fields
}
func (*Config_BluetoothConfig) GetEnabled ¶
func (x *Config_BluetoothConfig) GetEnabled() bool
func (*Config_BluetoothConfig) GetFixedPin ¶
func (x *Config_BluetoothConfig) GetFixedPin() uint32
func (*Config_BluetoothConfig) GetMode ¶
func (x *Config_BluetoothConfig) GetMode() Config_BluetoothConfig_PairingMode
func (*Config_BluetoothConfig) ProtoMessage ¶
func (*Config_BluetoothConfig) ProtoMessage()
func (*Config_BluetoothConfig) ProtoReflect ¶
func (x *Config_BluetoothConfig) ProtoReflect() protoreflect.Message
func (*Config_BluetoothConfig) Reset ¶
func (x *Config_BluetoothConfig) Reset()
func (*Config_BluetoothConfig) SetEnabled ¶
func (x *Config_BluetoothConfig) SetEnabled(v bool)
func (*Config_BluetoothConfig) SetFixedPin ¶
func (x *Config_BluetoothConfig) SetFixedPin(v uint32)
func (*Config_BluetoothConfig) SetMode ¶
func (x *Config_BluetoothConfig) SetMode(v Config_BluetoothConfig_PairingMode)
func (*Config_BluetoothConfig) String ¶
func (x *Config_BluetoothConfig) String() string
type Config_BluetoothConfig_PairingMode ¶
type Config_BluetoothConfig_PairingMode int32
const ( // Device generates a random PIN that will be shown on the screen of the device for pairing Config_BluetoothConfig_RANDOM_PIN Config_BluetoothConfig_PairingMode = 0 // Device requires a specified fixed PIN for pairing Config_BluetoothConfig_FIXED_PIN Config_BluetoothConfig_PairingMode = 1 // Device requires no PIN for pairing Config_BluetoothConfig_NO_PIN Config_BluetoothConfig_PairingMode = 2 )
func (Config_BluetoothConfig_PairingMode) Descriptor ¶
func (Config_BluetoothConfig_PairingMode) Descriptor() protoreflect.EnumDescriptor
func (Config_BluetoothConfig_PairingMode) Enum ¶
func (x Config_BluetoothConfig_PairingMode) Enum() *Config_BluetoothConfig_PairingMode
func (Config_BluetoothConfig_PairingMode) Number ¶
func (x Config_BluetoothConfig_PairingMode) Number() protoreflect.EnumNumber
func (Config_BluetoothConfig_PairingMode) String ¶
func (x Config_BluetoothConfig_PairingMode) String() string
func (Config_BluetoothConfig_PairingMode) Type ¶
func (Config_BluetoothConfig_PairingMode) Type() protoreflect.EnumType
type Config_BluetoothConfig_builder ¶
type Config_BluetoothConfig_builder struct {
// Enable Bluetooth on the device
Enabled bool
// Determines the pairing strategy for the device
Mode Config_BluetoothConfig_PairingMode
// Specified PIN for PairingMode.FixedPin
FixedPin uint32
// contains filtered or unexported fields
}
func (Config_BluetoothConfig_builder) Build ¶
func (b0 Config_BluetoothConfig_builder) Build() *Config_BluetoothConfig
type Config_Device ¶
type Config_Device struct {
Device *Config_DeviceConfig `protobuf:"bytes,1,opt,name=device,proto3,oneof"`
}
type Config_DeviceConfig ¶
type Config_DeviceConfig struct {
// Sets the role of node
Role Config_DeviceConfig_Role `protobuf:"varint,1,opt,name=role,proto3,enum=meshtastic.Config_DeviceConfig_Role" json:"role,omitempty"`
// Disabling this will disable the SerialConsole by not initilizing the StreamAPI
SerialEnabled bool `protobuf:"varint,2,opt,name=serial_enabled,json=serialEnabled,proto3" json:"serial_enabled,omitempty"`
// By default we turn off logging as soon as an API client connects (to keep shared serial link quiet).
// Set this to true to leave the debug log outputting even when API is active.
DebugLogEnabled bool `protobuf:"varint,3,opt,name=debug_log_enabled,json=debugLogEnabled,proto3" json:"debug_log_enabled,omitempty"`
// For boards without a hard wired button, this is the pin number that will be used
// Boards that have more than one button can swap the function with this one. defaults to BUTTON_PIN if defined.
ButtonGpio uint32 `protobuf:"varint,4,opt,name=button_gpio,json=buttonGpio,proto3" json:"button_gpio,omitempty"`
// For boards without a PWM buzzer, this is the pin number that will be used
// Defaults to PIN_BUZZER if defined.
BuzzerGpio uint32 `protobuf:"varint,5,opt,name=buzzer_gpio,json=buzzerGpio,proto3" json:"buzzer_gpio,omitempty"`
// Sets the role of node
RebroadcastMode Config_DeviceConfig_RebroadcastMode `` /* 159-byte string literal not displayed */
// Send our nodeinfo this often
// Defaults to 900 Seconds (15 minutes)
NodeInfoBroadcastSecs uint32 `` /* 129-byte string literal not displayed */
// Treat double tap interrupt on supported accelerometers as a button press if set to true
DoubleTapAsButtonPress bool `` /* 134-byte string literal not displayed */
// If true, device is considered to be "managed" by a mesh administrator
// Clients should then limit available configuration and administrative options inside the user interface
IsManaged bool `protobuf:"varint,9,opt,name=is_managed,json=isManaged,proto3" json:"is_managed,omitempty"`
// Disables the triple-press of user button to enable or disable GPS
DisableTripleClick bool `protobuf:"varint,10,opt,name=disable_triple_click,json=disableTripleClick,proto3" json:"disable_triple_click,omitempty"`
// contains filtered or unexported fields
}
Configuration
func (*Config_DeviceConfig) GetButtonGpio ¶
func (x *Config_DeviceConfig) GetButtonGpio() uint32
func (*Config_DeviceConfig) GetBuzzerGpio ¶
func (x *Config_DeviceConfig) GetBuzzerGpio() uint32
func (*Config_DeviceConfig) GetDebugLogEnabled ¶
func (x *Config_DeviceConfig) GetDebugLogEnabled() bool
func (*Config_DeviceConfig) GetDisableTripleClick ¶
func (x *Config_DeviceConfig) GetDisableTripleClick() bool
func (*Config_DeviceConfig) GetDoubleTapAsButtonPress ¶
func (x *Config_DeviceConfig) GetDoubleTapAsButtonPress() bool
func (*Config_DeviceConfig) GetIsManaged ¶
func (x *Config_DeviceConfig) GetIsManaged() bool
func (*Config_DeviceConfig) GetNodeInfoBroadcastSecs ¶
func (x *Config_DeviceConfig) GetNodeInfoBroadcastSecs() uint32
func (*Config_DeviceConfig) GetRebroadcastMode ¶
func (x *Config_DeviceConfig) GetRebroadcastMode() Config_DeviceConfig_RebroadcastMode
func (*Config_DeviceConfig) GetRole ¶
func (x *Config_DeviceConfig) GetRole() Config_DeviceConfig_Role
func (*Config_DeviceConfig) GetSerialEnabled ¶
func (x *Config_DeviceConfig) GetSerialEnabled() bool
func (*Config_DeviceConfig) ProtoMessage ¶
func (*Config_DeviceConfig) ProtoMessage()
func (*Config_DeviceConfig) ProtoReflect ¶
func (x *Config_DeviceConfig) ProtoReflect() protoreflect.Message
func (*Config_DeviceConfig) Reset ¶
func (x *Config_DeviceConfig) Reset()
func (*Config_DeviceConfig) SetButtonGpio ¶
func (x *Config_DeviceConfig) SetButtonGpio(v uint32)
func (*Config_DeviceConfig) SetBuzzerGpio ¶
func (x *Config_DeviceConfig) SetBuzzerGpio(v uint32)
func (*Config_DeviceConfig) SetDebugLogEnabled ¶
func (x *Config_DeviceConfig) SetDebugLogEnabled(v bool)
func (*Config_DeviceConfig) SetDisableTripleClick ¶
func (x *Config_DeviceConfig) SetDisableTripleClick(v bool)
func (*Config_DeviceConfig) SetDoubleTapAsButtonPress ¶
func (x *Config_DeviceConfig) SetDoubleTapAsButtonPress(v bool)
func (*Config_DeviceConfig) SetIsManaged ¶
func (x *Config_DeviceConfig) SetIsManaged(v bool)
func (*Config_DeviceConfig) SetNodeInfoBroadcastSecs ¶
func (x *Config_DeviceConfig) SetNodeInfoBroadcastSecs(v uint32)
func (*Config_DeviceConfig) SetRebroadcastMode ¶
func (x *Config_DeviceConfig) SetRebroadcastMode(v Config_DeviceConfig_RebroadcastMode)
func (*Config_DeviceConfig) SetRole ¶
func (x *Config_DeviceConfig) SetRole(v Config_DeviceConfig_Role)
func (*Config_DeviceConfig) SetSerialEnabled ¶
func (x *Config_DeviceConfig) SetSerialEnabled(v bool)
func (*Config_DeviceConfig) String ¶
func (x *Config_DeviceConfig) String() string
type Config_DeviceConfig_RebroadcastMode ¶
type Config_DeviceConfig_RebroadcastMode int32
Defines the device's behavior for how messages are rebroadcast
const ( // Default behavior. // Rebroadcast any observed message, if it was on our private channel or from another mesh with the same lora params. Config_DeviceConfig_ALL Config_DeviceConfig_RebroadcastMode = 0 // Same as behavior as ALL but skips packet decoding and simply rebroadcasts them. // Only available in Repeater role. Setting this on any other roles will result in ALL behavior. Config_DeviceConfig_ALL_SKIP_DECODING Config_DeviceConfig_RebroadcastMode = 1 // Ignores observed messages from foreign meshes that are open or those which it cannot decrypt. // Only rebroadcasts message on the nodes local primary / secondary channels. Config_DeviceConfig_LOCAL_ONLY Config_DeviceConfig_RebroadcastMode = 2 // Ignores observed messages from foreign meshes like LOCAL_ONLY, // but takes it step further by also ignoring messages from nodenums not in the node's known list (NodeDB) Config_DeviceConfig_KNOWN_ONLY Config_DeviceConfig_RebroadcastMode = 3 )
func (Config_DeviceConfig_RebroadcastMode) Descriptor ¶
func (Config_DeviceConfig_RebroadcastMode) Descriptor() protoreflect.EnumDescriptor
func (Config_DeviceConfig_RebroadcastMode) Enum ¶
func (x Config_DeviceConfig_RebroadcastMode) Enum() *Config_DeviceConfig_RebroadcastMode
func (Config_DeviceConfig_RebroadcastMode) Number ¶
func (x Config_DeviceConfig_RebroadcastMode) Number() protoreflect.EnumNumber
func (Config_DeviceConfig_RebroadcastMode) String ¶
func (x Config_DeviceConfig_RebroadcastMode) String() string
func (Config_DeviceConfig_RebroadcastMode) Type ¶
func (Config_DeviceConfig_RebroadcastMode) Type() protoreflect.EnumType
type Config_DeviceConfig_Role ¶
type Config_DeviceConfig_Role int32
Defines the device's role on the Mesh network
const ( // Description: App connected or stand alone messaging device. // Technical Details: Default Role Config_DeviceConfig_CLIENT Config_DeviceConfig_Role = 0 // Description: Device that does not forward packets from other devices. Config_DeviceConfig_CLIENT_MUTE Config_DeviceConfig_Role = 1 // Description: Infrastructure node for extending network coverage by relaying messages. Visible in Nodes list. // Technical Details: Mesh packets will prefer to be routed over this node. This node will not be used by client apps. // // The wifi radio and the oled screen will be put to sleep. // This mode may still potentially have higher power usage due to it's preference in message rebroadcasting on the mesh. Config_DeviceConfig_ROUTER Config_DeviceConfig_Role = 2 // Description: Combination of both ROUTER and CLIENT. Not for mobile devices. Config_DeviceConfig_ROUTER_CLIENT Config_DeviceConfig_Role = 3 // Description: Infrastructure node for extending network coverage by relaying messages with minimal overhead. Not visible in Nodes list. // Technical Details: Mesh packets will simply be rebroadcasted over this node. Nodes configured with this role will not originate NodeInfo, Position, Telemetry // // or any other packet type. They will simply rebroadcast any mesh packets on the same frequency, channel num, spread factor, and coding rate. Config_DeviceConfig_REPEATER Config_DeviceConfig_Role = 4 // Description: Broadcasts GPS position packets as priority. // Technical Details: Position Mesh packets will be prioritized higher and sent more frequently by default. // // When used in conjunction with power.is_power_saving = true, nodes will wake up, // send position, and then sleep for position.position_broadcast_secs seconds. Config_DeviceConfig_TRACKER Config_DeviceConfig_Role = 5 // Description: Broadcasts telemetry packets as priority. // Technical Details: Telemetry Mesh packets will be prioritized higher and sent more frequently by default. // // When used in conjunction with power.is_power_saving = true, nodes will wake up, // send environment telemetry, and then sleep for telemetry.environment_update_interval seconds. Config_DeviceConfig_SENSOR Config_DeviceConfig_Role = 6 // Description: Optimized for ATAK system communication and reduces routine broadcasts. // Technical Details: Used for nodes dedicated for connection to an ATAK EUD. // // Turns off many of the routine broadcasts to favor CoT packet stream // from the Meshtastic ATAK plugin -> IMeshService -> Node Config_DeviceConfig_TAK Config_DeviceConfig_Role = 7 // Description: Device that only broadcasts as needed for stealth or power savings. // Technical Details: Used for nodes that "only speak when spoken to" // // Turns all of the routine broadcasts but allows for ad-hoc communication // Still rebroadcasts, but with local only rebroadcast mode (known meshes only) // Can be used for clandestine operation or to dramatically reduce airtime / power consumption Config_DeviceConfig_CLIENT_HIDDEN Config_DeviceConfig_Role = 8 // Description: Broadcasts location as message to default channel regularly for to assist with device recovery. // Technical Details: Used to automatically send a text message to the mesh // // with the current position of the device on a frequent interval: // "I'm lost! Position: lat / long" Config_DeviceConfig_LOST_AND_FOUND Config_DeviceConfig_Role = 9 // Description: Enables automatic TAK PLI broadcasts and reduces routine broadcasts. // Technical Details: Turns off many of the routine broadcasts to favor ATAK CoT packet stream // // and automatic TAK PLI (position location information) broadcasts. // Uses position module configuration to determine TAK PLI broadcast interval. Config_DeviceConfig_TAK_TRACKER Config_DeviceConfig_Role = 10 )
func (Config_DeviceConfig_Role) Descriptor ¶
func (Config_DeviceConfig_Role) Descriptor() protoreflect.EnumDescriptor
func (Config_DeviceConfig_Role) Enum ¶
func (x Config_DeviceConfig_Role) Enum() *Config_DeviceConfig_Role
func (Config_DeviceConfig_Role) Number ¶
func (x Config_DeviceConfig_Role) Number() protoreflect.EnumNumber
func (Config_DeviceConfig_Role) String ¶
func (x Config_DeviceConfig_Role) String() string
func (Config_DeviceConfig_Role) Type ¶
func (Config_DeviceConfig_Role) Type() protoreflect.EnumType
type Config_DeviceConfig_builder ¶
type Config_DeviceConfig_builder struct {
// Sets the role of node
Role Config_DeviceConfig_Role
// Disabling this will disable the SerialConsole by not initilizing the StreamAPI
SerialEnabled bool
// By default we turn off logging as soon as an API client connects (to keep shared serial link quiet).
// Set this to true to leave the debug log outputting even when API is active.
DebugLogEnabled bool
// For boards without a hard wired button, this is the pin number that will be used
// Boards that have more than one button can swap the function with this one. defaults to BUTTON_PIN if defined.
ButtonGpio uint32
// For boards without a PWM buzzer, this is the pin number that will be used
// Defaults to PIN_BUZZER if defined.
BuzzerGpio uint32
// Sets the role of node
RebroadcastMode Config_DeviceConfig_RebroadcastMode
// Send our nodeinfo this often
// Defaults to 900 Seconds (15 minutes)
NodeInfoBroadcastSecs uint32
// Treat double tap interrupt on supported accelerometers as a button press if set to true
DoubleTapAsButtonPress bool
// If true, device is considered to be "managed" by a mesh administrator
// Clients should then limit available configuration and administrative options inside the user interface
IsManaged bool
// Disables the triple-press of user button to enable or disable GPS
DisableTripleClick bool
// contains filtered or unexported fields
}
func (Config_DeviceConfig_builder) Build ¶
func (b0 Config_DeviceConfig_builder) Build() *Config_DeviceConfig
type Config_Display ¶
type Config_Display struct {
Display *Config_DisplayConfig `protobuf:"bytes,5,opt,name=display,proto3,oneof"`
}
type Config_DisplayConfig ¶
type Config_DisplayConfig struct {
// Number of seconds the screen stays on after pressing the user button or receiving a message
// 0 for default of one minute MAXUINT for always on
ScreenOnSecs uint32 `protobuf:"varint,1,opt,name=screen_on_secs,json=screenOnSecs,proto3" json:"screen_on_secs,omitempty"`
// How the GPS coordinates are formatted on the OLED screen.
GpsFormat Config_DisplayConfig_GpsCoordinateFormat `` /* 146-byte string literal not displayed */
// Automatically toggles to the next page on the screen like a carousel, based the specified interval in seconds.
// Potentially useful for devices without user buttons.
AutoScreenCarouselSecs uint32 `` /* 132-byte string literal not displayed */
// If this is set, the displayed compass will always point north. if unset, the old behaviour
// (top of display is heading direction) is used.
CompassNorthTop bool `protobuf:"varint,4,opt,name=compass_north_top,json=compassNorthTop,proto3" json:"compass_north_top,omitempty"`
// Flip screen vertically, for cases that mount the screen upside down
FlipScreen bool `protobuf:"varint,5,opt,name=flip_screen,json=flipScreen,proto3" json:"flip_screen,omitempty"`
// Perferred display units
Units Config_DisplayConfig_DisplayUnits `protobuf:"varint,6,opt,name=units,proto3,enum=meshtastic.Config_DisplayConfig_DisplayUnits" json:"units,omitempty"`
// Override auto-detect in screen
Oled Config_DisplayConfig_OledType `protobuf:"varint,7,opt,name=oled,proto3,enum=meshtastic.Config_DisplayConfig_OledType" json:"oled,omitempty"`
// Display Mode
Displaymode Config_DisplayConfig_DisplayMode `protobuf:"varint,8,opt,name=displaymode,proto3,enum=meshtastic.Config_DisplayConfig_DisplayMode" json:"displaymode,omitempty"`
// Print first line in pseudo-bold? FALSE is original style, TRUE is bold
HeadingBold bool `protobuf:"varint,9,opt,name=heading_bold,json=headingBold,proto3" json:"heading_bold,omitempty"`
// Should we wake the screen up on accelerometer detected motion or tap
WakeOnTapOrMotion bool `protobuf:"varint,10,opt,name=wake_on_tap_or_motion,json=wakeOnTapOrMotion,proto3" json:"wake_on_tap_or_motion,omitempty"`
// contains filtered or unexported fields
}
Display Config
func (*Config_DisplayConfig) GetAutoScreenCarouselSecs ¶
func (x *Config_DisplayConfig) GetAutoScreenCarouselSecs() uint32
func (*Config_DisplayConfig) GetCompassNorthTop ¶
func (x *Config_DisplayConfig) GetCompassNorthTop() bool
func (*Config_DisplayConfig) GetDisplaymode ¶
func (x *Config_DisplayConfig) GetDisplaymode() Config_DisplayConfig_DisplayMode
func (*Config_DisplayConfig) GetFlipScreen ¶
func (x *Config_DisplayConfig) GetFlipScreen() bool
func (*Config_DisplayConfig) GetGpsFormat ¶
func (x *Config_DisplayConfig) GetGpsFormat() Config_DisplayConfig_GpsCoordinateFormat
func (*Config_DisplayConfig) GetHeadingBold ¶
func (x *Config_DisplayConfig) GetHeadingBold() bool
func (*Config_DisplayConfig) GetOled ¶
func (x *Config_DisplayConfig) GetOled() Config_DisplayConfig_OledType
func (*Config_DisplayConfig) GetScreenOnSecs ¶
func (x *Config_DisplayConfig) GetScreenOnSecs() uint32
func (*Config_DisplayConfig) GetUnits ¶
func (x *Config_DisplayConfig) GetUnits() Config_DisplayConfig_DisplayUnits
func (*Config_DisplayConfig) GetWakeOnTapOrMotion ¶
func (x *Config_DisplayConfig) GetWakeOnTapOrMotion() bool
func (*Config_DisplayConfig) ProtoMessage ¶
func (*Config_DisplayConfig) ProtoMessage()
func (*Config_DisplayConfig) ProtoReflect ¶
func (x *Config_DisplayConfig) ProtoReflect() protoreflect.Message
func (*Config_DisplayConfig) Reset ¶
func (x *Config_DisplayConfig) Reset()
func (*Config_DisplayConfig) SetAutoScreenCarouselSecs ¶
func (x *Config_DisplayConfig) SetAutoScreenCarouselSecs(v uint32)
func (*Config_DisplayConfig) SetCompassNorthTop ¶
func (x *Config_DisplayConfig) SetCompassNorthTop(v bool)
func (*Config_DisplayConfig) SetDisplaymode ¶
func (x *Config_DisplayConfig) SetDisplaymode(v Config_DisplayConfig_DisplayMode)
func (*Config_DisplayConfig) SetFlipScreen ¶
func (x *Config_DisplayConfig) SetFlipScreen(v bool)
func (*Config_DisplayConfig) SetGpsFormat ¶
func (x *Config_DisplayConfig) SetGpsFormat(v Config_DisplayConfig_GpsCoordinateFormat)
func (*Config_DisplayConfig) SetHeadingBold ¶
func (x *Config_DisplayConfig) SetHeadingBold(v bool)
func (*Config_DisplayConfig) SetOled ¶
func (x *Config_DisplayConfig) SetOled(v Config_DisplayConfig_OledType)
func (*Config_DisplayConfig) SetScreenOnSecs ¶
func (x *Config_DisplayConfig) SetScreenOnSecs(v uint32)
func (*Config_DisplayConfig) SetUnits ¶
func (x *Config_DisplayConfig) SetUnits(v Config_DisplayConfig_DisplayUnits)
func (*Config_DisplayConfig) SetWakeOnTapOrMotion ¶
func (x *Config_DisplayConfig) SetWakeOnTapOrMotion(v bool)
func (*Config_DisplayConfig) String ¶
func (x *Config_DisplayConfig) String() string
type Config_DisplayConfig_DisplayMode ¶
type Config_DisplayConfig_DisplayMode int32
const ( // Default. The old style for the 128x64 OLED screen Config_DisplayConfig_DEFAULT Config_DisplayConfig_DisplayMode = 0 // Rearrange display elements to cater for bicolor OLED displays Config_DisplayConfig_TWOCOLOR Config_DisplayConfig_DisplayMode = 1 // Same as TwoColor, but with inverted top bar. Not so good for Epaper displays Config_DisplayConfig_INVERTED Config_DisplayConfig_DisplayMode = 2 // TFT Full Color Displays (not implemented yet) Config_DisplayConfig_COLOR Config_DisplayConfig_DisplayMode = 3 )
func (Config_DisplayConfig_DisplayMode) Descriptor ¶
func (Config_DisplayConfig_DisplayMode) Descriptor() protoreflect.EnumDescriptor
func (Config_DisplayConfig_DisplayMode) Enum ¶
func (x Config_DisplayConfig_DisplayMode) Enum() *Config_DisplayConfig_DisplayMode
func (Config_DisplayConfig_DisplayMode) Number ¶
func (x Config_DisplayConfig_DisplayMode) Number() protoreflect.EnumNumber
func (Config_DisplayConfig_DisplayMode) String ¶
func (x Config_DisplayConfig_DisplayMode) String() string
func (Config_DisplayConfig_DisplayMode) Type ¶
func (Config_DisplayConfig_DisplayMode) Type() protoreflect.EnumType
type Config_DisplayConfig_DisplayUnits ¶
type Config_DisplayConfig_DisplayUnits int32
Unit display preference
const ( // Metric (Default) Config_DisplayConfig_METRIC Config_DisplayConfig_DisplayUnits = 0 // Imperial Config_DisplayConfig_IMPERIAL Config_DisplayConfig_DisplayUnits = 1 )
func (Config_DisplayConfig_DisplayUnits) Descriptor ¶
func (Config_DisplayConfig_DisplayUnits) Descriptor() protoreflect.EnumDescriptor
func (Config_DisplayConfig_DisplayUnits) Enum ¶
func (x Config_DisplayConfig_DisplayUnits) Enum() *Config_DisplayConfig_DisplayUnits
func (Config_DisplayConfig_DisplayUnits) Number ¶
func (x Config_DisplayConfig_DisplayUnits) Number() protoreflect.EnumNumber
func (Config_DisplayConfig_DisplayUnits) String ¶
func (x Config_DisplayConfig_DisplayUnits) String() string
func (Config_DisplayConfig_DisplayUnits) Type ¶
func (Config_DisplayConfig_DisplayUnits) Type() protoreflect.EnumType
type Config_DisplayConfig_GpsCoordinateFormat ¶
type Config_DisplayConfig_GpsCoordinateFormat int32
How the GPS coordinates are displayed on the OLED screen.
const ( // GPS coordinates are displayed in the normal decimal degrees format: // DD.DDDDDD DDD.DDDDDD Config_DisplayConfig_DEC Config_DisplayConfig_GpsCoordinateFormat = 0 // GPS coordinates are displayed in the degrees minutes seconds format: // DD°MM'SS"C DDD°MM'SS"C, where C is the compass point representing the locations quadrant Config_DisplayConfig_DMS Config_DisplayConfig_GpsCoordinateFormat = 1 // Universal Transverse Mercator format: // ZZB EEEEEE NNNNNNN, where Z is zone, B is band, E is easting, N is northing Config_DisplayConfig_UTM Config_DisplayConfig_GpsCoordinateFormat = 2 // Military Grid Reference System format: // ZZB CD EEEEE NNNNN, where Z is zone, B is band, C is the east 100k square, D is the north 100k square, // E is easting, N is northing Config_DisplayConfig_MGRS Config_DisplayConfig_GpsCoordinateFormat = 3 // Open Location Code (aka Plus Codes). Config_DisplayConfig_OLC Config_DisplayConfig_GpsCoordinateFormat = 4 // Ordnance Survey Grid Reference (the National Grid System of the UK). // Format: AB EEEEE NNNNN, where A is the east 100k square, B is the north 100k square, // E is the easting, N is the northing Config_DisplayConfig_OSGR Config_DisplayConfig_GpsCoordinateFormat = 5 )
func (Config_DisplayConfig_GpsCoordinateFormat) Descriptor ¶
func (Config_DisplayConfig_GpsCoordinateFormat) Descriptor() protoreflect.EnumDescriptor
func (Config_DisplayConfig_GpsCoordinateFormat) Enum ¶
func (Config_DisplayConfig_GpsCoordinateFormat) Number ¶
func (x Config_DisplayConfig_GpsCoordinateFormat) Number() protoreflect.EnumNumber
func (Config_DisplayConfig_GpsCoordinateFormat) String ¶
func (x Config_DisplayConfig_GpsCoordinateFormat) String() string
func (Config_DisplayConfig_GpsCoordinateFormat) Type ¶
func (Config_DisplayConfig_GpsCoordinateFormat) Type() protoreflect.EnumType
type Config_DisplayConfig_OledType ¶
type Config_DisplayConfig_OledType int32
Override OLED outo detect with this if it fails.
const ( // Default / Auto Config_DisplayConfig_OLED_AUTO Config_DisplayConfig_OledType = 0 // Default / Auto Config_DisplayConfig_OLED_SSD1306 Config_DisplayConfig_OledType = 1 // Default / Auto Config_DisplayConfig_OLED_SH1106 Config_DisplayConfig_OledType = 2 // Can not be auto detected but set by proto. Used for 128x128 screens Config_DisplayConfig_OLED_SH1107 Config_DisplayConfig_OledType = 3 )
func (Config_DisplayConfig_OledType) Descriptor ¶
func (Config_DisplayConfig_OledType) Descriptor() protoreflect.EnumDescriptor
func (Config_DisplayConfig_OledType) Enum ¶
func (x Config_DisplayConfig_OledType) Enum() *Config_DisplayConfig_OledType
func (Config_DisplayConfig_OledType) Number ¶
func (x Config_DisplayConfig_OledType) Number() protoreflect.EnumNumber
func (Config_DisplayConfig_OledType) String ¶
func (x Config_DisplayConfig_OledType) String() string
func (Config_DisplayConfig_OledType) Type ¶
func (Config_DisplayConfig_OledType) Type() protoreflect.EnumType
type Config_DisplayConfig_builder ¶
type Config_DisplayConfig_builder struct {
// Number of seconds the screen stays on after pressing the user button or receiving a message
// 0 for default of one minute MAXUINT for always on
ScreenOnSecs uint32
// How the GPS coordinates are formatted on the OLED screen.
GpsFormat Config_DisplayConfig_GpsCoordinateFormat
// Automatically toggles to the next page on the screen like a carousel, based the specified interval in seconds.
// Potentially useful for devices without user buttons.
AutoScreenCarouselSecs uint32
// If this is set, the displayed compass will always point north. if unset, the old behaviour
// (top of display is heading direction) is used.
CompassNorthTop bool
// Flip screen vertically, for cases that mount the screen upside down
FlipScreen bool
// Perferred display units
Units Config_DisplayConfig_DisplayUnits
// Override auto-detect in screen
Oled Config_DisplayConfig_OledType
// Display Mode
Displaymode Config_DisplayConfig_DisplayMode
// Print first line in pseudo-bold? FALSE is original style, TRUE is bold
HeadingBold bool
// Should we wake the screen up on accelerometer detected motion or tap
WakeOnTapOrMotion bool
// contains filtered or unexported fields
}
func (Config_DisplayConfig_builder) Build ¶
func (b0 Config_DisplayConfig_builder) Build() *Config_DisplayConfig
type Config_LoRaConfig ¶
type Config_LoRaConfig struct {
// When enabled, the `modem_preset` fields will be adhered to, else the `bandwidth`/`spread_factor`/`coding_rate`
// will be taked from their respective manually defined fields
UsePreset bool `protobuf:"varint,1,opt,name=use_preset,json=usePreset,proto3" json:"use_preset,omitempty"`
// Either modem_config or bandwidth/spreading/coding will be specified - NOT BOTH.
// As a heuristic: If bandwidth is specified, do not use modem_config.
// Because protobufs take ZERO space when the value is zero this works out nicely.
// This value is replaced by bandwidth/spread_factor/coding_rate.
// If you'd like to experiment with other options add them to MeshRadio.cpp in the device code.
ModemPreset Config_LoRaConfig_ModemPreset `` /* 141-byte string literal not displayed */
// Bandwidth in MHz
// Certain bandwidth numbers are 'special' and will be converted to the
// appropriate floating point value: 31 -> 31.25MHz
Bandwidth uint32 `protobuf:"varint,3,opt,name=bandwidth,proto3" json:"bandwidth,omitempty"`
// A number from 7 to 12.
// Indicates number of chirps per symbol as 1<<spread_factor.
SpreadFactor uint32 `protobuf:"varint,4,opt,name=spread_factor,json=spreadFactor,proto3" json:"spread_factor,omitempty"`
// The denominator of the coding rate.
// ie for 4/5, the value is 5. 4/8 the value is 8.
CodingRate uint32 `protobuf:"varint,5,opt,name=coding_rate,json=codingRate,proto3" json:"coding_rate,omitempty"`
// This parameter is for advanced users with advanced test equipment, we do not recommend most users use it.
// A frequency offset that is added to to the calculated band center frequency.
// Used to correct for crystal calibration errors.
FrequencyOffset float32 `protobuf:"fixed32,6,opt,name=frequency_offset,json=frequencyOffset,proto3" json:"frequency_offset,omitempty"`
// The region code for the radio (US, CN, EU433, etc...)
Region Config_LoRaConfig_RegionCode `protobuf:"varint,7,opt,name=region,proto3,enum=meshtastic.Config_LoRaConfig_RegionCode" json:"region,omitempty"`
// Maximum number of hops. This can't be greater than 7.
// Default of 3
// Attempting to set a value > 7 results in the default
HopLimit uint32 `protobuf:"varint,8,opt,name=hop_limit,json=hopLimit,proto3" json:"hop_limit,omitempty"`
// Disable TX from the LoRa radio. Useful for hot-swapping antennas and other tests.
// Defaults to false
TxEnabled bool `protobuf:"varint,9,opt,name=tx_enabled,json=txEnabled,proto3" json:"tx_enabled,omitempty"`
// If zero, then use default max legal continuous power (ie. something that won't
// burn out the radio hardware)
// In most cases you should use zero here.
// Units are in dBm.
TxPower int32 `protobuf:"varint,10,opt,name=tx_power,json=txPower,proto3" json:"tx_power,omitempty"`
// This controls the actual hardware frequency the radio transmits on.
// Most users should never need to be exposed to this field/concept.
// A channel number between 1 and NUM_CHANNELS (whatever the max is in the current region).
// If ZERO then the rule is "use the old channel name hash based
// algorithm to derive the channel number")
// If using the hash algorithm the channel number will be: hash(channel_name) %
// NUM_CHANNELS (Where num channels depends on the regulatory region).
ChannelNum uint32 `protobuf:"varint,11,opt,name=channel_num,json=channelNum,proto3" json:"channel_num,omitempty"`
// If true, duty cycle limits will be exceeded and thus you're possibly not following
// the local regulations if you're not a HAM.
// Has no effect if the duty cycle of the used region is 100%.
OverrideDutyCycle bool `protobuf:"varint,12,opt,name=override_duty_cycle,json=overrideDutyCycle,proto3" json:"override_duty_cycle,omitempty"`
// If true, sets RX boosted gain mode on SX126X based radios
Sx126XRxBoostedGain bool `protobuf:"varint,13,opt,name=sx126x_rx_boosted_gain,json=sx126xRxBoostedGain,proto3" json:"sx126x_rx_boosted_gain,omitempty"`
// This parameter is for advanced users and licensed HAM radio operators.
// Ignore Channel Calculation and use this frequency instead. The frequency_offset
// will still be applied. This will allow you to use out-of-band frequencies.
// Please respect your local laws and regulations. If you are a HAM, make sure you
// enable HAM mode and turn off encryption.
OverrideFrequency float32 `protobuf:"fixed32,14,opt,name=override_frequency,json=overrideFrequency,proto3" json:"override_frequency,omitempty"`
// For testing it is useful sometimes to force a node to never listen to
// particular other nodes (simulating radio out of range). All nodenums listed
// in ignore_incoming will have packets they send dropped on receive (by router.cpp)
IgnoreIncoming []uint32 `protobuf:"varint,103,rep,packed,name=ignore_incoming,json=ignoreIncoming,proto3" json:"ignore_incoming,omitempty"`
// If true, the device will not process any packets received via LoRa that passed via MQTT anywhere on the path towards it.
IgnoreMqtt bool `protobuf:"varint,104,opt,name=ignore_mqtt,json=ignoreMqtt,proto3" json:"ignore_mqtt,omitempty"`
// contains filtered or unexported fields
}
Lora Config
func (*Config_LoRaConfig) GetBandwidth ¶
func (x *Config_LoRaConfig) GetBandwidth() uint32
func (*Config_LoRaConfig) GetChannelNum ¶
func (x *Config_LoRaConfig) GetChannelNum() uint32
func (*Config_LoRaConfig) GetCodingRate ¶
func (x *Config_LoRaConfig) GetCodingRate() uint32
func (*Config_LoRaConfig) GetFrequencyOffset ¶
func (x *Config_LoRaConfig) GetFrequencyOffset() float32
func (*Config_LoRaConfig) GetHopLimit ¶
func (x *Config_LoRaConfig) GetHopLimit() uint32
func (*Config_LoRaConfig) GetIgnoreIncoming ¶
func (x *Config_LoRaConfig) GetIgnoreIncoming() []uint32
func (*Config_LoRaConfig) GetIgnoreMqtt ¶
func (x *Config_LoRaConfig) GetIgnoreMqtt() bool
func (*Config_LoRaConfig) GetModemPreset ¶
func (x *Config_LoRaConfig) GetModemPreset() Config_LoRaConfig_ModemPreset
func (*Config_LoRaConfig) GetOverrideDutyCycle ¶
func (x *Config_LoRaConfig) GetOverrideDutyCycle() bool
func (*Config_LoRaConfig) GetOverrideFrequency ¶
func (x *Config_LoRaConfig) GetOverrideFrequency() float32
func (*Config_LoRaConfig) GetRegion ¶
func (x *Config_LoRaConfig) GetRegion() Config_LoRaConfig_RegionCode
func (*Config_LoRaConfig) GetSpreadFactor ¶
func (x *Config_LoRaConfig) GetSpreadFactor() uint32
func (*Config_LoRaConfig) GetSx126XRxBoostedGain ¶
func (x *Config_LoRaConfig) GetSx126XRxBoostedGain() bool
func (*Config_LoRaConfig) GetTxEnabled ¶
func (x *Config_LoRaConfig) GetTxEnabled() bool
func (*Config_LoRaConfig) GetTxPower ¶
func (x *Config_LoRaConfig) GetTxPower() int32
func (*Config_LoRaConfig) GetUsePreset ¶
func (x *Config_LoRaConfig) GetUsePreset() bool
func (*Config_LoRaConfig) ProtoMessage ¶
func (*Config_LoRaConfig) ProtoMessage()
func (*Config_LoRaConfig) ProtoReflect ¶
func (x *Config_LoRaConfig) ProtoReflect() protoreflect.Message
func (*Config_LoRaConfig) Reset ¶
func (x *Config_LoRaConfig) Reset()
func (*Config_LoRaConfig) SetBandwidth ¶
func (x *Config_LoRaConfig) SetBandwidth(v uint32)
func (*Config_LoRaConfig) SetChannelNum ¶
func (x *Config_LoRaConfig) SetChannelNum(v uint32)
func (*Config_LoRaConfig) SetCodingRate ¶
func (x *Config_LoRaConfig) SetCodingRate(v uint32)
func (*Config_LoRaConfig) SetFrequencyOffset ¶
func (x *Config_LoRaConfig) SetFrequencyOffset(v float32)
func (*Config_LoRaConfig) SetHopLimit ¶
func (x *Config_LoRaConfig) SetHopLimit(v uint32)
func (*Config_LoRaConfig) SetIgnoreIncoming ¶
func (x *Config_LoRaConfig) SetIgnoreIncoming(v []uint32)
func (*Config_LoRaConfig) SetIgnoreMqtt ¶
func (x *Config_LoRaConfig) SetIgnoreMqtt(v bool)
func (*Config_LoRaConfig) SetModemPreset ¶
func (x *Config_LoRaConfig) SetModemPreset(v Config_LoRaConfig_ModemPreset)
func (*Config_LoRaConfig) SetOverrideDutyCycle ¶
func (x *Config_LoRaConfig) SetOverrideDutyCycle(v bool)
func (*Config_LoRaConfig) SetOverrideFrequency ¶
func (x *Config_LoRaConfig) SetOverrideFrequency(v float32)
func (*Config_LoRaConfig) SetRegion ¶
func (x *Config_LoRaConfig) SetRegion(v Config_LoRaConfig_RegionCode)
func (*Config_LoRaConfig) SetSpreadFactor ¶
func (x *Config_LoRaConfig) SetSpreadFactor(v uint32)
func (*Config_LoRaConfig) SetSx126XRxBoostedGain ¶
func (x *Config_LoRaConfig) SetSx126XRxBoostedGain(v bool)
func (*Config_LoRaConfig) SetTxEnabled ¶
func (x *Config_LoRaConfig) SetTxEnabled(v bool)
func (*Config_LoRaConfig) SetTxPower ¶
func (x *Config_LoRaConfig) SetTxPower(v int32)
func (*Config_LoRaConfig) SetUsePreset ¶
func (x *Config_LoRaConfig) SetUsePreset(v bool)
func (*Config_LoRaConfig) String ¶
func (x *Config_LoRaConfig) String() string
type Config_LoRaConfig_ModemPreset ¶
type Config_LoRaConfig_ModemPreset int32
Standard predefined channel settings Note: these mappings must match ModemPreset Choice in the device code.
const ( // Long Range - Fast Config_LoRaConfig_LONG_FAST Config_LoRaConfig_ModemPreset = 0 // Long Range - Slow Config_LoRaConfig_LONG_SLOW Config_LoRaConfig_ModemPreset = 1 // Very Long Range - Slow Config_LoRaConfig_VERY_LONG_SLOW Config_LoRaConfig_ModemPreset = 2 // Medium Range - Slow Config_LoRaConfig_MEDIUM_SLOW Config_LoRaConfig_ModemPreset = 3 // Medium Range - Fast Config_LoRaConfig_MEDIUM_FAST Config_LoRaConfig_ModemPreset = 4 // Short Range - Slow Config_LoRaConfig_SHORT_SLOW Config_LoRaConfig_ModemPreset = 5 // Short Range - Fast Config_LoRaConfig_SHORT_FAST Config_LoRaConfig_ModemPreset = 6 // Long Range - Moderately Fast Config_LoRaConfig_LONG_MODERATE Config_LoRaConfig_ModemPreset = 7 )
func (Config_LoRaConfig_ModemPreset) Descriptor ¶
func (Config_LoRaConfig_ModemPreset) Descriptor() protoreflect.EnumDescriptor
func (Config_LoRaConfig_ModemPreset) Enum ¶
func (x Config_LoRaConfig_ModemPreset) Enum() *Config_LoRaConfig_ModemPreset
func (Config_LoRaConfig_ModemPreset) Number ¶
func (x Config_LoRaConfig_ModemPreset) Number() protoreflect.EnumNumber
func (Config_LoRaConfig_ModemPreset) String ¶
func (x Config_LoRaConfig_ModemPreset) String() string
func (Config_LoRaConfig_ModemPreset) Type ¶
func (Config_LoRaConfig_ModemPreset) Type() protoreflect.EnumType
type Config_LoRaConfig_RegionCode ¶
type Config_LoRaConfig_RegionCode int32
const ( // Region is not set Config_LoRaConfig_UNSET Config_LoRaConfig_RegionCode = 0 // United States Config_LoRaConfig_US Config_LoRaConfig_RegionCode = 1 // European Union 433mhz Config_LoRaConfig_EU_433 Config_LoRaConfig_RegionCode = 2 // European Union 868mhz Config_LoRaConfig_EU_868 Config_LoRaConfig_RegionCode = 3 // China Config_LoRaConfig_CN Config_LoRaConfig_RegionCode = 4 // Japan Config_LoRaConfig_JP Config_LoRaConfig_RegionCode = 5 // Australia / New Zealand Config_LoRaConfig_ANZ Config_LoRaConfig_RegionCode = 6 // Korea Config_LoRaConfig_KR Config_LoRaConfig_RegionCode = 7 // Taiwan Config_LoRaConfig_TW Config_LoRaConfig_RegionCode = 8 // Russia Config_LoRaConfig_RU Config_LoRaConfig_RegionCode = 9 // India Config_LoRaConfig_IN Config_LoRaConfig_RegionCode = 10 // New Zealand 865mhz Config_LoRaConfig_NZ_865 Config_LoRaConfig_RegionCode = 11 // Thailand Config_LoRaConfig_TH Config_LoRaConfig_RegionCode = 12 // WLAN Band Config_LoRaConfig_LORA_24 Config_LoRaConfig_RegionCode = 13 // Ukraine 433mhz Config_LoRaConfig_UA_433 Config_LoRaConfig_RegionCode = 14 // Ukraine 868mhz Config_LoRaConfig_UA_868 Config_LoRaConfig_RegionCode = 15 // Malaysia 433mhz Config_LoRaConfig_MY_433 Config_LoRaConfig_RegionCode = 16 // Malaysia 919mhz Config_LoRaConfig_MY_919 Config_LoRaConfig_RegionCode = 17 // Singapore 923mhz Config_LoRaConfig_SG_923 Config_LoRaConfig_RegionCode = 18 )
func (Config_LoRaConfig_RegionCode) Descriptor ¶
func (Config_LoRaConfig_RegionCode) Descriptor() protoreflect.EnumDescriptor
func (Config_LoRaConfig_RegionCode) Enum ¶
func (x Config_LoRaConfig_RegionCode) Enum() *Config_LoRaConfig_RegionCode
func (Config_LoRaConfig_RegionCode) Number ¶
func (x Config_LoRaConfig_RegionCode) Number() protoreflect.EnumNumber
func (Config_LoRaConfig_RegionCode) String ¶
func (x Config_LoRaConfig_RegionCode) String() string
func (Config_LoRaConfig_RegionCode) Type ¶
func (Config_LoRaConfig_RegionCode) Type() protoreflect.EnumType
type Config_LoRaConfig_builder ¶
type Config_LoRaConfig_builder struct {
// When enabled, the `modem_preset` fields will be adhered to, else the `bandwidth`/`spread_factor`/`coding_rate`
// will be taked from their respective manually defined fields
UsePreset bool
// Either modem_config or bandwidth/spreading/coding will be specified - NOT BOTH.
// As a heuristic: If bandwidth is specified, do not use modem_config.
// Because protobufs take ZERO space when the value is zero this works out nicely.
// This value is replaced by bandwidth/spread_factor/coding_rate.
// If you'd like to experiment with other options add them to MeshRadio.cpp in the device code.
ModemPreset Config_LoRaConfig_ModemPreset
// Bandwidth in MHz
// Certain bandwidth numbers are 'special' and will be converted to the
// appropriate floating point value: 31 -> 31.25MHz
Bandwidth uint32
// A number from 7 to 12.
// Indicates number of chirps per symbol as 1<<spread_factor.
SpreadFactor uint32
// The denominator of the coding rate.
// ie for 4/5, the value is 5. 4/8 the value is 8.
CodingRate uint32
// This parameter is for advanced users with advanced test equipment, we do not recommend most users use it.
// A frequency offset that is added to to the calculated band center frequency.
// Used to correct for crystal calibration errors.
FrequencyOffset float32
// The region code for the radio (US, CN, EU433, etc...)
Region Config_LoRaConfig_RegionCode
// Maximum number of hops. This can't be greater than 7.
// Default of 3
// Attempting to set a value > 7 results in the default
HopLimit uint32
// Disable TX from the LoRa radio. Useful for hot-swapping antennas and other tests.
// Defaults to false
TxEnabled bool
// If zero, then use default max legal continuous power (ie. something that won't
// burn out the radio hardware)
// In most cases you should use zero here.
// Units are in dBm.
TxPower int32
// This controls the actual hardware frequency the radio transmits on.
// Most users should never need to be exposed to this field/concept.
// A channel number between 1 and NUM_CHANNELS (whatever the max is in the current region).
// If ZERO then the rule is "use the old channel name hash based
// algorithm to derive the channel number")
// If using the hash algorithm the channel number will be: hash(channel_name) %
// NUM_CHANNELS (Where num channels depends on the regulatory region).
ChannelNum uint32
// If true, duty cycle limits will be exceeded and thus you're possibly not following
// the local regulations if you're not a HAM.
// Has no effect if the duty cycle of the used region is 100%.
OverrideDutyCycle bool
// If true, sets RX boosted gain mode on SX126X based radios
Sx126XRxBoostedGain bool
// This parameter is for advanced users and licensed HAM radio operators.
// Ignore Channel Calculation and use this frequency instead. The frequency_offset
// will still be applied. This will allow you to use out-of-band frequencies.
// Please respect your local laws and regulations. If you are a HAM, make sure you
// enable HAM mode and turn off encryption.
OverrideFrequency float32
// For testing it is useful sometimes to force a node to never listen to
// particular other nodes (simulating radio out of range). All nodenums listed
// in ignore_incoming will have packets they send dropped on receive (by router.cpp)
IgnoreIncoming []uint32
// If true, the device will not process any packets received via LoRa that passed via MQTT anywhere on the path towards it.
IgnoreMqtt bool
// contains filtered or unexported fields
}
func (Config_LoRaConfig_builder) Build ¶
func (b0 Config_LoRaConfig_builder) Build() *Config_LoRaConfig
type Config_Lora ¶
type Config_Lora struct {
Lora *Config_LoRaConfig `protobuf:"bytes,6,opt,name=lora,proto3,oneof"`
}
type Config_Network ¶
type Config_Network struct {
Network *Config_NetworkConfig `protobuf:"bytes,4,opt,name=network,proto3,oneof"`
}
type Config_NetworkConfig ¶
type Config_NetworkConfig struct {
// Enable WiFi (disables Bluetooth)
WifiEnabled bool `protobuf:"varint,1,opt,name=wifi_enabled,json=wifiEnabled,proto3" json:"wifi_enabled,omitempty"`
// If set, this node will try to join the specified wifi network and
// acquire an address via DHCP
WifiSsid string `protobuf:"bytes,3,opt,name=wifi_ssid,json=wifiSsid,proto3" json:"wifi_ssid,omitempty"`
// If set, will be use to authenticate to the named wifi
WifiPsk string `protobuf:"bytes,4,opt,name=wifi_psk,json=wifiPsk,proto3" json:"wifi_psk,omitempty"`
// NTP server to use if WiFi is conneced, defaults to `0.pool.ntp.org`
NtpServer string `protobuf:"bytes,5,opt,name=ntp_server,json=ntpServer,proto3" json:"ntp_server,omitempty"`
// Enable Ethernet
EthEnabled bool `protobuf:"varint,6,opt,name=eth_enabled,json=ethEnabled,proto3" json:"eth_enabled,omitempty"`
// acquire an address via DHCP or assign static
AddressMode Config_NetworkConfig_AddressMode `` /* 144-byte string literal not displayed */
// struct to keep static address
Ipv4Config *Config_NetworkConfig_IpV4Config `protobuf:"bytes,8,opt,name=ipv4_config,json=ipv4Config,proto3" json:"ipv4_config,omitempty"`
// rsyslog Server and Port
RsyslogServer string `protobuf:"bytes,9,opt,name=rsyslog_server,json=rsyslogServer,proto3" json:"rsyslog_server,omitempty"`
// contains filtered or unexported fields
}
Network Config
func (*Config_NetworkConfig) ClearIpv4Config ¶
func (x *Config_NetworkConfig) ClearIpv4Config()
func (*Config_NetworkConfig) GetAddressMode ¶
func (x *Config_NetworkConfig) GetAddressMode() Config_NetworkConfig_AddressMode
func (*Config_NetworkConfig) GetEthEnabled ¶
func (x *Config_NetworkConfig) GetEthEnabled() bool
func (*Config_NetworkConfig) GetIpv4Config ¶
func (x *Config_NetworkConfig) GetIpv4Config() *Config_NetworkConfig_IpV4Config
func (*Config_NetworkConfig) GetNtpServer ¶
func (x *Config_NetworkConfig) GetNtpServer() string
func (*Config_NetworkConfig) GetRsyslogServer ¶
func (x *Config_NetworkConfig) GetRsyslogServer() string
func (*Config_NetworkConfig) GetWifiEnabled ¶
func (x *Config_NetworkConfig) GetWifiEnabled() bool
func (*Config_NetworkConfig) GetWifiPsk ¶
func (x *Config_NetworkConfig) GetWifiPsk() string
func (*Config_NetworkConfig) GetWifiSsid ¶
func (x *Config_NetworkConfig) GetWifiSsid() string
func (*Config_NetworkConfig) HasIpv4Config ¶
func (x *Config_NetworkConfig) HasIpv4Config() bool
func (*Config_NetworkConfig) ProtoMessage ¶
func (*Config_NetworkConfig) ProtoMessage()
func (*Config_NetworkConfig) ProtoReflect ¶
func (x *Config_NetworkConfig) ProtoReflect() protoreflect.Message
func (*Config_NetworkConfig) Reset ¶
func (x *Config_NetworkConfig) Reset()
func (*Config_NetworkConfig) SetAddressMode ¶
func (x *Config_NetworkConfig) SetAddressMode(v Config_NetworkConfig_AddressMode)
func (*Config_NetworkConfig) SetEthEnabled ¶
func (x *Config_NetworkConfig) SetEthEnabled(v bool)
func (*Config_NetworkConfig) SetIpv4Config ¶
func (x *Config_NetworkConfig) SetIpv4Config(v *Config_NetworkConfig_IpV4Config)
func (*Config_NetworkConfig) SetNtpServer ¶
func (x *Config_NetworkConfig) SetNtpServer(v string)
func (*Config_NetworkConfig) SetRsyslogServer ¶
func (x *Config_NetworkConfig) SetRsyslogServer(v string)
func (*Config_NetworkConfig) SetWifiEnabled ¶
func (x *Config_NetworkConfig) SetWifiEnabled(v bool)
func (*Config_NetworkConfig) SetWifiPsk ¶
func (x *Config_NetworkConfig) SetWifiPsk(v string)
func (*Config_NetworkConfig) SetWifiSsid ¶
func (x *Config_NetworkConfig) SetWifiSsid(v string)
func (*Config_NetworkConfig) String ¶
func (x *Config_NetworkConfig) String() string
type Config_NetworkConfig_AddressMode ¶
type Config_NetworkConfig_AddressMode int32
const ( // obtain ip address via DHCP Config_NetworkConfig_DHCP Config_NetworkConfig_AddressMode = 0 // use static ip address Config_NetworkConfig_STATIC Config_NetworkConfig_AddressMode = 1 )
func (Config_NetworkConfig_AddressMode) Descriptor ¶
func (Config_NetworkConfig_AddressMode) Descriptor() protoreflect.EnumDescriptor
func (Config_NetworkConfig_AddressMode) Enum ¶
func (x Config_NetworkConfig_AddressMode) Enum() *Config_NetworkConfig_AddressMode
func (Config_NetworkConfig_AddressMode) Number ¶
func (x Config_NetworkConfig_AddressMode) Number() protoreflect.EnumNumber
func (Config_NetworkConfig_AddressMode) String ¶
func (x Config_NetworkConfig_AddressMode) String() string
func (Config_NetworkConfig_AddressMode) Type ¶
func (Config_NetworkConfig_AddressMode) Type() protoreflect.EnumType
type Config_NetworkConfig_IpV4Config ¶
type Config_NetworkConfig_IpV4Config struct {
// Static IP address
Ip uint32 `protobuf:"fixed32,1,opt,name=ip,proto3" json:"ip,omitempty"`
// Static gateway address
Gateway uint32 `protobuf:"fixed32,2,opt,name=gateway,proto3" json:"gateway,omitempty"`
// Static subnet mask
Subnet uint32 `protobuf:"fixed32,3,opt,name=subnet,proto3" json:"subnet,omitempty"`
// Static DNS server address
Dns uint32 `protobuf:"fixed32,4,opt,name=dns,proto3" json:"dns,omitempty"`
// contains filtered or unexported fields
}
func (*Config_NetworkConfig_IpV4Config) GetDns ¶
func (x *Config_NetworkConfig_IpV4Config) GetDns() uint32
func (*Config_NetworkConfig_IpV4Config) GetGateway ¶
func (x *Config_NetworkConfig_IpV4Config) GetGateway() uint32
func (*Config_NetworkConfig_IpV4Config) GetIp ¶
func (x *Config_NetworkConfig_IpV4Config) GetIp() uint32
func (*Config_NetworkConfig_IpV4Config) GetSubnet ¶
func (x *Config_NetworkConfig_IpV4Config) GetSubnet() uint32
func (*Config_NetworkConfig_IpV4Config) ProtoMessage ¶
func (*Config_NetworkConfig_IpV4Config) ProtoMessage()
func (*Config_NetworkConfig_IpV4Config) ProtoReflect ¶
func (x *Config_NetworkConfig_IpV4Config) ProtoReflect() protoreflect.Message
func (*Config_NetworkConfig_IpV4Config) Reset ¶
func (x *Config_NetworkConfig_IpV4Config) Reset()
func (*Config_NetworkConfig_IpV4Config) SetDns ¶
func (x *Config_NetworkConfig_IpV4Config) SetDns(v uint32)
func (*Config_NetworkConfig_IpV4Config) SetGateway ¶
func (x *Config_NetworkConfig_IpV4Config) SetGateway(v uint32)
func (*Config_NetworkConfig_IpV4Config) SetIp ¶
func (x *Config_NetworkConfig_IpV4Config) SetIp(v uint32)
func (*Config_NetworkConfig_IpV4Config) SetSubnet ¶
func (x *Config_NetworkConfig_IpV4Config) SetSubnet(v uint32)
func (*Config_NetworkConfig_IpV4Config) String ¶
func (x *Config_NetworkConfig_IpV4Config) String() string
type Config_NetworkConfig_IpV4Config_builder ¶
type Config_NetworkConfig_IpV4Config_builder struct {
// Static IP address
Ip uint32
// Static gateway address
Gateway uint32
// Static subnet mask
Subnet uint32
// Static DNS server address
Dns uint32
// contains filtered or unexported fields
}
func (Config_NetworkConfig_IpV4Config_builder) Build ¶
func (b0 Config_NetworkConfig_IpV4Config_builder) Build() *Config_NetworkConfig_IpV4Config
type Config_NetworkConfig_builder ¶
type Config_NetworkConfig_builder struct {
// Enable WiFi (disables Bluetooth)
WifiEnabled bool
// If set, this node will try to join the specified wifi network and
// acquire an address via DHCP
WifiSsid string
// If set, will be use to authenticate to the named wifi
WifiPsk string
// NTP server to use if WiFi is conneced, defaults to `0.pool.ntp.org`
NtpServer string
// Enable Ethernet
EthEnabled bool
// acquire an address via DHCP or assign static
AddressMode Config_NetworkConfig_AddressMode
// struct to keep static address
Ipv4Config *Config_NetworkConfig_IpV4Config
// rsyslog Server and Port
RsyslogServer string
// contains filtered or unexported fields
}
func (Config_NetworkConfig_builder) Build ¶
func (b0 Config_NetworkConfig_builder) Build() *Config_NetworkConfig
type Config_Position ¶
type Config_Position struct {
Position *Config_PositionConfig `protobuf:"bytes,2,opt,name=position,proto3,oneof"`
}
type Config_PositionConfig ¶
type Config_PositionConfig struct {
// We should send our position this often (but only if it has changed significantly)
// Defaults to 15 minutes
PositionBroadcastSecs uint32 `` /* 127-byte string literal not displayed */
// Adaptive position braoadcast, which is now the default.
PositionBroadcastSmartEnabled bool `` /* 153-byte string literal not displayed */
// If set, this node is at a fixed position.
// We will generate GPS position updates at the regular interval, but use whatever the last lat/lon/alt we have for the node.
// The lat/lon/alt can be set by an internal GPS or with the help of the app.
FixedPosition bool `protobuf:"varint,3,opt,name=fixed_position,json=fixedPosition,proto3" json:"fixed_position,omitempty"`
// Is GPS enabled for this node?
//
// Deprecated: Marked as deprecated in meshtastic/config.proto.
GpsEnabled bool `protobuf:"varint,4,opt,name=gps_enabled,json=gpsEnabled,proto3" json:"gps_enabled,omitempty"`
// How often should we try to get GPS position (in seconds)
// or zero for the default of once every 30 seconds
// or a very large value (maxint) to update only once at boot.
GpsUpdateInterval uint32 `protobuf:"varint,5,opt,name=gps_update_interval,json=gpsUpdateInterval,proto3" json:"gps_update_interval,omitempty"`
// Deprecated in favor of using smart / regular broadcast intervals as implicit attempt time
//
// Deprecated: Marked as deprecated in meshtastic/config.proto.
GpsAttemptTime uint32 `protobuf:"varint,6,opt,name=gps_attempt_time,json=gpsAttemptTime,proto3" json:"gps_attempt_time,omitempty"`
// Bit field of boolean configuration options for POSITION messages
// (bitwise OR of PositionFlags)
PositionFlags uint32 `protobuf:"varint,7,opt,name=position_flags,json=positionFlags,proto3" json:"position_flags,omitempty"`
// (Re)define GPS_RX_PIN for your board.
RxGpio uint32 `protobuf:"varint,8,opt,name=rx_gpio,json=rxGpio,proto3" json:"rx_gpio,omitempty"`
// (Re)define GPS_TX_PIN for your board.
TxGpio uint32 `protobuf:"varint,9,opt,name=tx_gpio,json=txGpio,proto3" json:"tx_gpio,omitempty"`
// The minimum distance in meters traveled (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
BroadcastSmartMinimumDistance uint32 `` /* 154-byte string literal not displayed */
// The minimum number of seconds (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
BroadcastSmartMinimumIntervalSecs uint32 `` /* 168-byte string literal not displayed */
// (Re)define PIN_GPS_EN for your board.
GpsEnGpio uint32 `protobuf:"varint,12,opt,name=gps_en_gpio,json=gpsEnGpio,proto3" json:"gps_en_gpio,omitempty"`
// Set where GPS is enabled, disabled, or not present
GpsMode Config_PositionConfig_GpsMode `` /* 130-byte string literal not displayed */
// Set GPS precision in bits per channel, or 0 for disabled
ChannelPrecision []uint32 `protobuf:"varint,14,rep,packed,name=channel_precision,json=channelPrecision,proto3" json:"channel_precision,omitempty"`
// contains filtered or unexported fields
}
Position Config
func (*Config_PositionConfig) GetBroadcastSmartMinimumDistance ¶
func (x *Config_PositionConfig) GetBroadcastSmartMinimumDistance() uint32
func (*Config_PositionConfig) GetBroadcastSmartMinimumIntervalSecs ¶
func (x *Config_PositionConfig) GetBroadcastSmartMinimumIntervalSecs() uint32
func (*Config_PositionConfig) GetChannelPrecision ¶
func (x *Config_PositionConfig) GetChannelPrecision() []uint32
func (*Config_PositionConfig) GetFixedPosition ¶
func (x *Config_PositionConfig) GetFixedPosition() bool
func (*Config_PositionConfig) GetGpsAttemptTime
deprecated
func (x *Config_PositionConfig) GetGpsAttemptTime() uint32
Deprecated: Marked as deprecated in meshtastic/config.proto.
func (*Config_PositionConfig) GetGpsEnGpio ¶
func (x *Config_PositionConfig) GetGpsEnGpio() uint32
func (*Config_PositionConfig) GetGpsEnabled
deprecated
func (x *Config_PositionConfig) GetGpsEnabled() bool
Deprecated: Marked as deprecated in meshtastic/config.proto.
func (*Config_PositionConfig) GetGpsMode ¶
func (x *Config_PositionConfig) GetGpsMode() Config_PositionConfig_GpsMode
func (*Config_PositionConfig) GetGpsUpdateInterval ¶
func (x *Config_PositionConfig) GetGpsUpdateInterval() uint32
func (*Config_PositionConfig) GetPositionBroadcastSecs ¶
func (x *Config_PositionConfig) GetPositionBroadcastSecs() uint32
func (*Config_PositionConfig) GetPositionBroadcastSmartEnabled ¶
func (x *Config_PositionConfig) GetPositionBroadcastSmartEnabled() bool
func (*Config_PositionConfig) GetPositionFlags ¶
func (x *Config_PositionConfig) GetPositionFlags() uint32
func (*Config_PositionConfig) GetRxGpio ¶
func (x *Config_PositionConfig) GetRxGpio() uint32
func (*Config_PositionConfig) GetTxGpio ¶
func (x *Config_PositionConfig) GetTxGpio() uint32
func (*Config_PositionConfig) ProtoMessage ¶
func (*Config_PositionConfig) ProtoMessage()
func (*Config_PositionConfig) ProtoReflect ¶
func (x *Config_PositionConfig) ProtoReflect() protoreflect.Message
func (*Config_PositionConfig) Reset ¶
func (x *Config_PositionConfig) Reset()
func (*Config_PositionConfig) SetBroadcastSmartMinimumDistance ¶
func (x *Config_PositionConfig) SetBroadcastSmartMinimumDistance(v uint32)
func (*Config_PositionConfig) SetBroadcastSmartMinimumIntervalSecs ¶
func (x *Config_PositionConfig) SetBroadcastSmartMinimumIntervalSecs(v uint32)
func (*Config_PositionConfig) SetChannelPrecision ¶
func (x *Config_PositionConfig) SetChannelPrecision(v []uint32)
func (*Config_PositionConfig) SetFixedPosition ¶
func (x *Config_PositionConfig) SetFixedPosition(v bool)
func (*Config_PositionConfig) SetGpsAttemptTime
deprecated
func (x *Config_PositionConfig) SetGpsAttemptTime(v uint32)
Deprecated: Marked as deprecated in meshtastic/config.proto.
func (*Config_PositionConfig) SetGpsEnGpio ¶
func (x *Config_PositionConfig) SetGpsEnGpio(v uint32)
func (*Config_PositionConfig) SetGpsEnabled
deprecated
func (x *Config_PositionConfig) SetGpsEnabled(v bool)
Deprecated: Marked as deprecated in meshtastic/config.proto.
func (*Config_PositionConfig) SetGpsMode ¶
func (x *Config_PositionConfig) SetGpsMode(v Config_PositionConfig_GpsMode)
func (*Config_PositionConfig) SetGpsUpdateInterval ¶
func (x *Config_PositionConfig) SetGpsUpdateInterval(v uint32)
func (*Config_PositionConfig) SetPositionBroadcastSecs ¶
func (x *Config_PositionConfig) SetPositionBroadcastSecs(v uint32)
func (*Config_PositionConfig) SetPositionBroadcastSmartEnabled ¶
func (x *Config_PositionConfig) SetPositionBroadcastSmartEnabled(v bool)
func (*Config_PositionConfig) SetPositionFlags ¶
func (x *Config_PositionConfig) SetPositionFlags(v uint32)
func (*Config_PositionConfig) SetRxGpio ¶
func (x *Config_PositionConfig) SetRxGpio(v uint32)
func (*Config_PositionConfig) SetTxGpio ¶
func (x *Config_PositionConfig) SetTxGpio(v uint32)
func (*Config_PositionConfig) String ¶
func (x *Config_PositionConfig) String() string
type Config_PositionConfig_GpsMode ¶
type Config_PositionConfig_GpsMode int32
const ( // GPS is present but disabled Config_PositionConfig_DISABLED Config_PositionConfig_GpsMode = 0 // GPS is present and enabled Config_PositionConfig_ENABLED Config_PositionConfig_GpsMode = 1 // GPS is not present on the device Config_PositionConfig_NOT_PRESENT Config_PositionConfig_GpsMode = 2 )
func (Config_PositionConfig_GpsMode) Descriptor ¶
func (Config_PositionConfig_GpsMode) Descriptor() protoreflect.EnumDescriptor
func (Config_PositionConfig_GpsMode) Enum ¶
func (x Config_PositionConfig_GpsMode) Enum() *Config_PositionConfig_GpsMode
func (Config_PositionConfig_GpsMode) Number ¶
func (x Config_PositionConfig_GpsMode) Number() protoreflect.EnumNumber
func (Config_PositionConfig_GpsMode) String ¶
func (x Config_PositionConfig_GpsMode) String() string
func (Config_PositionConfig_GpsMode) Type ¶
func (Config_PositionConfig_GpsMode) Type() protoreflect.EnumType
type Config_PositionConfig_PositionFlags ¶
type Config_PositionConfig_PositionFlags int32
Bit field of boolean configuration options, indicating which optional fields to include when assembling POSITION messages. Longitude, latitude, altitude, speed, heading, and DOP are always included (also time if GPS-synced) NOTE: the more fields are included, the larger the message will be -
leading to longer airtime and a higher risk of packet loss
const ( // Required for compilation Config_PositionConfig_UNSET Config_PositionConfig_PositionFlags = 0 // Include an altitude value (if available) Config_PositionConfig_ALTITUDE Config_PositionConfig_PositionFlags = 1 // Altitude value is MSL Config_PositionConfig_ALTITUDE_MSL Config_PositionConfig_PositionFlags = 2 // Include geoidal separation Config_PositionConfig_GEOIDAL_SEPARATION Config_PositionConfig_PositionFlags = 4 // Include the DOP value ; PDOP used by default, see below Config_PositionConfig_DOP Config_PositionConfig_PositionFlags = 8 // If POS_DOP set, send separate HDOP / VDOP values instead of PDOP Config_PositionConfig_HVDOP Config_PositionConfig_PositionFlags = 16 // Include number of "satellites in view" Config_PositionConfig_SATINVIEW Config_PositionConfig_PositionFlags = 32 // Include a sequence number incremented per packet Config_PositionConfig_SEQ_NO Config_PositionConfig_PositionFlags = 64 // Include positional timestamp (from GPS solution) Config_PositionConfig_TIMESTAMP Config_PositionConfig_PositionFlags = 128 // Include positional heading // Intended for use with vehicle not walking speeds // walking speeds are likely to be error prone like the compass Config_PositionConfig_HEADING Config_PositionConfig_PositionFlags = 256 // Include positional speed // Intended for use with vehicle not walking speeds // walking speeds are likely to be error prone like the compass Config_PositionConfig_SPEED Config_PositionConfig_PositionFlags = 512 )
func (Config_PositionConfig_PositionFlags) Descriptor ¶
func (Config_PositionConfig_PositionFlags) Descriptor() protoreflect.EnumDescriptor
func (Config_PositionConfig_PositionFlags) Enum ¶
func (x Config_PositionConfig_PositionFlags) Enum() *Config_PositionConfig_PositionFlags
func (Config_PositionConfig_PositionFlags) Number ¶
func (x Config_PositionConfig_PositionFlags) Number() protoreflect.EnumNumber
func (Config_PositionConfig_PositionFlags) String ¶
func (x Config_PositionConfig_PositionFlags) String() string
func (Config_PositionConfig_PositionFlags) Type ¶
func (Config_PositionConfig_PositionFlags) Type() protoreflect.EnumType
type Config_PositionConfig_builder ¶
type Config_PositionConfig_builder struct {
// We should send our position this often (but only if it has changed significantly)
// Defaults to 15 minutes
PositionBroadcastSecs uint32
// Adaptive position braoadcast, which is now the default.
PositionBroadcastSmartEnabled bool
// If set, this node is at a fixed position.
// We will generate GPS position updates at the regular interval, but use whatever the last lat/lon/alt we have for the node.
// The lat/lon/alt can be set by an internal GPS or with the help of the app.
FixedPosition bool
// Is GPS enabled for this node?
//
// Deprecated: Marked as deprecated in meshtastic/config.proto.
GpsEnabled bool
// How often should we try to get GPS position (in seconds)
// or zero for the default of once every 30 seconds
// or a very large value (maxint) to update only once at boot.
GpsUpdateInterval uint32
// Deprecated in favor of using smart / regular broadcast intervals as implicit attempt time
//
// Deprecated: Marked as deprecated in meshtastic/config.proto.
GpsAttemptTime uint32
// Bit field of boolean configuration options for POSITION messages
// (bitwise OR of PositionFlags)
PositionFlags uint32
// (Re)define GPS_RX_PIN for your board.
RxGpio uint32
// (Re)define GPS_TX_PIN for your board.
TxGpio uint32
// The minimum distance in meters traveled (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
BroadcastSmartMinimumDistance uint32
// The minimum number of seconds (since the last send) before we can send a position to the mesh if position_broadcast_smart_enabled
BroadcastSmartMinimumIntervalSecs uint32
// (Re)define PIN_GPS_EN for your board.
GpsEnGpio uint32
// Set where GPS is enabled, disabled, or not present
GpsMode Config_PositionConfig_GpsMode
// Set GPS precision in bits per channel, or 0 for disabled
ChannelPrecision []uint32
// contains filtered or unexported fields
}
func (Config_PositionConfig_builder) Build ¶
func (b0 Config_PositionConfig_builder) Build() *Config_PositionConfig
type Config_Power ¶
type Config_Power struct {
Power *Config_PowerConfig `protobuf:"bytes,3,opt,name=power,proto3,oneof"`
}
type Config_PowerConfig ¶
type Config_PowerConfig struct {
// If set, we are powered from a low-current source (i.e. solar), so even if it looks like we have power flowing in
// we should try to minimize power consumption as much as possible.
// YOU DO NOT NEED TO SET THIS IF YOU'VE set is_router (it is implied in that case).
// Advanced Option
IsPowerSaving bool `protobuf:"varint,1,opt,name=is_power_saving,json=isPowerSaving,proto3" json:"is_power_saving,omitempty"`
// If non-zero, the device will fully power off this many seconds after external power is removed.
OnBatteryShutdownAfterSecs uint32 `` /* 146-byte string literal not displayed */
// Ratio of voltage divider for battery pin eg. 3.20 (R1=100k, R2=220k)
// Overrides the ADC_MULTIPLIER defined in variant for battery voltage calculation.
// Should be set to floating point value between 2 and 4
// Fixes issues on Heltec v2
AdcMultiplierOverride float32 `` /* 128-byte string literal not displayed */
// Wait Bluetooth Seconds
// The number of seconds for to wait before turning off BLE in No Bluetooth states
// 0 for default of 1 minute
WaitBluetoothSecs uint32 `protobuf:"varint,4,opt,name=wait_bluetooth_secs,json=waitBluetoothSecs,proto3" json:"wait_bluetooth_secs,omitempty"`
// Super Deep Sleep Seconds
// While in Light Sleep if mesh_sds_timeout_secs is exceeded we will lower into super deep sleep
// for this value (default 1 year) or a button press
// 0 for default of one year
SdsSecs uint32 `protobuf:"varint,6,opt,name=sds_secs,json=sdsSecs,proto3" json:"sds_secs,omitempty"`
// Light Sleep Seconds
// In light sleep the CPU is suspended, LoRa radio is on, BLE is off an GPS is on
// ESP32 Only
// 0 for default of 300
LsSecs uint32 `protobuf:"varint,7,opt,name=ls_secs,json=lsSecs,proto3" json:"ls_secs,omitempty"`
// Minimum Wake Seconds
// While in light sleep when we receive packets on the LoRa radio we will wake and handle them and stay awake in no BLE mode for this value
// 0 for default of 10 seconds
MinWakeSecs uint32 `protobuf:"varint,8,opt,name=min_wake_secs,json=minWakeSecs,proto3" json:"min_wake_secs,omitempty"`
// I2C address of INA_2XX to use for reading device battery voltage
DeviceBatteryInaAddress uint32 `` /* 135-byte string literal not displayed */
// contains filtered or unexported fields
}
Power Config\ See [Power Config](/docs/settings/config/power) for additional power config details.
func (*Config_PowerConfig) GetAdcMultiplierOverride ¶
func (x *Config_PowerConfig) GetAdcMultiplierOverride() float32
func (*Config_PowerConfig) GetDeviceBatteryInaAddress ¶
func (x *Config_PowerConfig) GetDeviceBatteryInaAddress() uint32
func (*Config_PowerConfig) GetIsPowerSaving ¶
func (x *Config_PowerConfig) GetIsPowerSaving() bool
func (*Config_PowerConfig) GetLsSecs ¶
func (x *Config_PowerConfig) GetLsSecs() uint32
func (*Config_PowerConfig) GetMinWakeSecs ¶
func (x *Config_PowerConfig) GetMinWakeSecs() uint32
func (*Config_PowerConfig) GetOnBatteryShutdownAfterSecs ¶
func (x *Config_PowerConfig) GetOnBatteryShutdownAfterSecs() uint32
func (*Config_PowerConfig) GetSdsSecs ¶
func (x *Config_PowerConfig) GetSdsSecs() uint32
func (*Config_PowerConfig) GetWaitBluetoothSecs ¶
func (x *Config_PowerConfig) GetWaitBluetoothSecs() uint32
func (*Config_PowerConfig) ProtoMessage ¶
func (*Config_PowerConfig) ProtoMessage()
func (*Config_PowerConfig) ProtoReflect ¶
func (x *Config_PowerConfig) ProtoReflect() protoreflect.Message
func (*Config_PowerConfig) Reset ¶
func (x *Config_PowerConfig) Reset()
func (*Config_PowerConfig) SetAdcMultiplierOverride ¶
func (x *Config_PowerConfig) SetAdcMultiplierOverride(v float32)
func (*Config_PowerConfig) SetDeviceBatteryInaAddress ¶
func (x *Config_PowerConfig) SetDeviceBatteryInaAddress(v uint32)
func (*Config_PowerConfig) SetIsPowerSaving ¶
func (x *Config_PowerConfig) SetIsPowerSaving(v bool)
func (*Config_PowerConfig) SetLsSecs ¶
func (x *Config_PowerConfig) SetLsSecs(v uint32)
func (*Config_PowerConfig) SetMinWakeSecs ¶
func (x *Config_PowerConfig) SetMinWakeSecs(v uint32)
func (*Config_PowerConfig) SetOnBatteryShutdownAfterSecs ¶
func (x *Config_PowerConfig) SetOnBatteryShutdownAfterSecs(v uint32)
func (*Config_PowerConfig) SetSdsSecs ¶
func (x *Config_PowerConfig) SetSdsSecs(v uint32)
func (*Config_PowerConfig) SetWaitBluetoothSecs ¶
func (x *Config_PowerConfig) SetWaitBluetoothSecs(v uint32)
func (*Config_PowerConfig) String ¶
func (x *Config_PowerConfig) String() string
type Config_PowerConfig_builder ¶
type Config_PowerConfig_builder struct {
// If set, we are powered from a low-current source (i.e. solar), so even if it looks like we have power flowing in
// we should try to minimize power consumption as much as possible.
// YOU DO NOT NEED TO SET THIS IF YOU'VE set is_router (it is implied in that case).
// Advanced Option
IsPowerSaving bool
// If non-zero, the device will fully power off this many seconds after external power is removed.
OnBatteryShutdownAfterSecs uint32
// Ratio of voltage divider for battery pin eg. 3.20 (R1=100k, R2=220k)
// Overrides the ADC_MULTIPLIER defined in variant for battery voltage calculation.
// Should be set to floating point value between 2 and 4
// Fixes issues on Heltec v2
AdcMultiplierOverride float32
// Wait Bluetooth Seconds
// The number of seconds for to wait before turning off BLE in No Bluetooth states
// 0 for default of 1 minute
WaitBluetoothSecs uint32
// Super Deep Sleep Seconds
// While in Light Sleep if mesh_sds_timeout_secs is exceeded we will lower into super deep sleep
// for this value (default 1 year) or a button press
// 0 for default of one year
SdsSecs uint32
// Light Sleep Seconds
// In light sleep the CPU is suspended, LoRa radio is on, BLE is off an GPS is on
// ESP32 Only
// 0 for default of 300
LsSecs uint32
// Minimum Wake Seconds
// While in light sleep when we receive packets on the LoRa radio we will wake and handle them and stay awake in no BLE mode for this value
// 0 for default of 10 seconds
MinWakeSecs uint32
// I2C address of INA_2XX to use for reading device battery voltage
DeviceBatteryInaAddress uint32
// contains filtered or unexported fields
}
func (Config_PowerConfig_builder) Build ¶
func (b0 Config_PowerConfig_builder) Build() *Config_PowerConfig
type Config_builder ¶
type Config_builder struct {
// Fields of oneof PayloadVariant:
Device *Config_DeviceConfig
Position *Config_PositionConfig
Power *Config_PowerConfig
Network *Config_NetworkConfig
Display *Config_DisplayConfig
Lora *Config_LoRaConfig
Bluetooth *Config_BluetoothConfig
// contains filtered or unexported fields
}
func (Config_builder) Build ¶
func (b0 Config_builder) Build() *Config
type Constants ¶
type Constants int32
Shared constants between device and phone
const ( // First enum must be zero, and we are just using this enum to // pass int constants between two very different environments Constants_ZERO Constants = 0 // From mesh.options // note: this payload length is ONLY the bytes that are sent inside of the Data protobuf (excluding protobuf overhead). The 16 byte header is // outside of this envelope Constants_DATA_PAYLOAD_LEN Constants = 237 )
func (Constants) Descriptor ¶
func (Constants) Descriptor() protoreflect.EnumDescriptor
func (Constants) Number ¶
func (x Constants) Number() protoreflect.EnumNumber
func (Constants) Type ¶
func (Constants) Type() protoreflect.EnumType
type Contact ¶
type Contact struct {
// Callsign
Callsign string `protobuf:"bytes,1,opt,name=callsign,proto3" json:"callsign,omitempty"`
// Device callsign
DeviceCallsign string `protobuf:"bytes,2,opt,name=device_callsign,json=deviceCallsign,proto3" json:"device_callsign,omitempty"`
// contains filtered or unexported fields
}
ATAK Contact <contact endpoint='0.0.0.0:4242:tcp' phone='+12345678' callsign='FALKE'/>
func (*Contact) ProtoReflect ¶
func (x *Contact) ProtoReflect() protoreflect.Message
type Contact_builder ¶
type Contact_builder struct {
// Callsign
Callsign string
// Device callsign
DeviceCallsign string
// contains filtered or unexported fields
}
func (Contact_builder) Build ¶
func (b0 Contact_builder) Build() *Contact
type CriticalErrorCode ¶
type CriticalErrorCode int32
Error codes for critical errors The device might report these fault codes on the screen. If you encounter a fault code, please post on the meshtastic.discourse.group and we'll try to help.
const ( // TODO: REPLACE CriticalErrorCode_NONE CriticalErrorCode = 0 // A software bug was detected while trying to send lora CriticalErrorCode_TX_WATCHDOG CriticalErrorCode = 1 // A software bug was detected on entry to sleep CriticalErrorCode_SLEEP_ENTER_WAIT CriticalErrorCode = 2 // No Lora radio hardware could be found CriticalErrorCode_NO_RADIO CriticalErrorCode = 3 // Not normally used CriticalErrorCode_UNSPECIFIED CriticalErrorCode = 4 // We failed while configuring a UBlox GPS CriticalErrorCode_UBLOX_UNIT_FAILED CriticalErrorCode = 5 // This board was expected to have a power management chip and it is missing or broken CriticalErrorCode_NO_AXP192 CriticalErrorCode = 6 // The channel tried to set a radio setting which is not supported by this chipset, // radio comms settings are now undefined. CriticalErrorCode_INVALID_RADIO_SETTING CriticalErrorCode = 7 // Radio transmit hardware failure. We sent data to the radio chip, but it didn't // reply with an interrupt. CriticalErrorCode_TRANSMIT_FAILED CriticalErrorCode = 8 // We detected that the main CPU voltage dropped below the minimum acceptable value CriticalErrorCode_BROWNOUT CriticalErrorCode = 9 // Selftest of SX1262 radio chip failed CriticalErrorCode_SX1262_FAILURE CriticalErrorCode = 10 // A (likely software but possibly hardware) failure was detected while trying to send packets. // If this occurs on your board, please post in the forum so that we can ask you to collect some information to allow fixing this bug CriticalErrorCode_RADIO_SPI_BUG CriticalErrorCode = 11 )
func (CriticalErrorCode) Descriptor ¶
func (CriticalErrorCode) Descriptor() protoreflect.EnumDescriptor
func (CriticalErrorCode) Enum ¶
func (x CriticalErrorCode) Enum() *CriticalErrorCode
func (CriticalErrorCode) Number ¶
func (x CriticalErrorCode) Number() protoreflect.EnumNumber
func (CriticalErrorCode) String ¶
func (x CriticalErrorCode) String() string
func (CriticalErrorCode) Type ¶
func (CriticalErrorCode) Type() protoreflect.EnumType
type Data ¶
type Data struct {
// Formerly named typ and of type Type
Portnum PortNum `protobuf:"varint,1,opt,name=portnum,proto3,enum=meshtastic.PortNum" json:"portnum,omitempty"`
// TODO: REPLACE
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
// Not normally used, but for testing a sender can request that recipient
// responds in kind (i.e. if it received a position, it should unicast back it's position).
// Note: that if you set this on a broadcast you will receive many replies.
WantResponse bool `protobuf:"varint,3,opt,name=want_response,json=wantResponse,proto3" json:"want_response,omitempty"`
// The address of the destination node.
// This field is is filled in by the mesh radio device software, application
// layer software should never need it.
// RouteDiscovery messages _must_ populate this.
// Other message types might need to if they are doing multihop routing.
Dest uint32 `protobuf:"fixed32,4,opt,name=dest,proto3" json:"dest,omitempty"`
// The address of the original sender for this message.
// This field should _only_ be populated for reliable multihop packets (to keep
// packets small).
Source uint32 `protobuf:"fixed32,5,opt,name=source,proto3" json:"source,omitempty"`
// Only used in routing or response messages.
// Indicates the original message ID that this message is reporting failure on. (formerly called original_id)
RequestId uint32 `protobuf:"fixed32,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// If set, this message is intened to be a reply to a previously sent message with the defined id.
ReplyId uint32 `protobuf:"fixed32,7,opt,name=reply_id,json=replyId,proto3" json:"reply_id,omitempty"`
// Defaults to false. If true, then what is in the payload should be treated as an emoji like giving
// a message a heart or poop emoji.
Emoji uint32 `protobuf:"fixed32,8,opt,name=emoji,proto3" json:"emoji,omitempty"`
// contains filtered or unexported fields
}
(Formerly called SubPacket) The payload portion fo a packet, this is the actual bytes that are sent inside a radio packet (because from/to are broken out by the comms library)
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Data_builder ¶
type Data_builder struct {
// Formerly named typ and of type Type
Portnum PortNum
// TODO: REPLACE
Payload []byte
// Not normally used, but for testing a sender can request that recipient
// responds in kind (i.e. if it received a position, it should unicast back it's position).
// Note: that if you set this on a broadcast you will receive many replies.
WantResponse bool
// The address of the destination node.
// This field is is filled in by the mesh radio device software, application
// layer software should never need it.
// RouteDiscovery messages _must_ populate this.
// Other message types might need to if they are doing multihop routing.
Dest uint32
// The address of the original sender for this message.
// This field should _only_ be populated for reliable multihop packets (to keep
// packets small).
Source uint32
// Only used in routing or response messages.
// Indicates the original message ID that this message is reporting failure on. (formerly called original_id)
RequestId uint32
// If set, this message is intened to be a reply to a previously sent message with the defined id.
ReplyId uint32
// Defaults to false. If true, then what is in the payload should be treated as an emoji like giving
// a message a heart or poop emoji.
Emoji uint32
// contains filtered or unexported fields
}
func (Data_builder) Build ¶
func (b0 Data_builder) Build() *Data
type DeviceConnectionStatus ¶
type DeviceConnectionStatus struct {
// WiFi Status
Wifi *WifiConnectionStatus `protobuf:"bytes,1,opt,name=wifi,proto3,oneof" json:"wifi,omitempty"`
// WiFi Status
Ethernet *EthernetConnectionStatus `protobuf:"bytes,2,opt,name=ethernet,proto3,oneof" json:"ethernet,omitempty"`
// Bluetooth Status
Bluetooth *BluetoothConnectionStatus `protobuf:"bytes,3,opt,name=bluetooth,proto3,oneof" json:"bluetooth,omitempty"`
// Serial Status
Serial *SerialConnectionStatus `protobuf:"bytes,4,opt,name=serial,proto3,oneof" json:"serial,omitempty"`
// contains filtered or unexported fields
}
func (*DeviceConnectionStatus) ClearBluetooth ¶
func (x *DeviceConnectionStatus) ClearBluetooth()
func (*DeviceConnectionStatus) ClearEthernet ¶
func (x *DeviceConnectionStatus) ClearEthernet()
func (*DeviceConnectionStatus) ClearSerial ¶
func (x *DeviceConnectionStatus) ClearSerial()
func (*DeviceConnectionStatus) ClearWifi ¶
func (x *DeviceConnectionStatus) ClearWifi()
func (*DeviceConnectionStatus) GetBluetooth ¶
func (x *DeviceConnectionStatus) GetBluetooth() *BluetoothConnectionStatus
func (*DeviceConnectionStatus) GetEthernet ¶
func (x *DeviceConnectionStatus) GetEthernet() *EthernetConnectionStatus
func (*DeviceConnectionStatus) GetSerial ¶
func (x *DeviceConnectionStatus) GetSerial() *SerialConnectionStatus
func (*DeviceConnectionStatus) GetWifi ¶
func (x *DeviceConnectionStatus) GetWifi() *WifiConnectionStatus
func (*DeviceConnectionStatus) HasBluetooth ¶
func (x *DeviceConnectionStatus) HasBluetooth() bool
func (*DeviceConnectionStatus) HasEthernet ¶
func (x *DeviceConnectionStatus) HasEthernet() bool
func (*DeviceConnectionStatus) HasSerial ¶
func (x *DeviceConnectionStatus) HasSerial() bool
func (*DeviceConnectionStatus) HasWifi ¶
func (x *DeviceConnectionStatus) HasWifi() bool
func (*DeviceConnectionStatus) ProtoMessage ¶
func (*DeviceConnectionStatus) ProtoMessage()
func (*DeviceConnectionStatus) ProtoReflect ¶
func (x *DeviceConnectionStatus) ProtoReflect() protoreflect.Message
func (*DeviceConnectionStatus) Reset ¶
func (x *DeviceConnectionStatus) Reset()
func (*DeviceConnectionStatus) SetBluetooth ¶
func (x *DeviceConnectionStatus) SetBluetooth(v *BluetoothConnectionStatus)
func (*DeviceConnectionStatus) SetEthernet ¶
func (x *DeviceConnectionStatus) SetEthernet(v *EthernetConnectionStatus)
func (*DeviceConnectionStatus) SetSerial ¶
func (x *DeviceConnectionStatus) SetSerial(v *SerialConnectionStatus)
func (*DeviceConnectionStatus) SetWifi ¶
func (x *DeviceConnectionStatus) SetWifi(v *WifiConnectionStatus)
func (*DeviceConnectionStatus) String ¶
func (x *DeviceConnectionStatus) String() string
type DeviceConnectionStatus_builder ¶
type DeviceConnectionStatus_builder struct {
// WiFi Status
Wifi *WifiConnectionStatus
// WiFi Status
Ethernet *EthernetConnectionStatus
// Bluetooth Status
Bluetooth *BluetoothConnectionStatus
// Serial Status
Serial *SerialConnectionStatus
// contains filtered or unexported fields
}
func (DeviceConnectionStatus_builder) Build ¶
func (b0 DeviceConnectionStatus_builder) Build() *DeviceConnectionStatus
type DeviceMetadata ¶
type DeviceMetadata struct {
// Device firmware version string
FirmwareVersion string `protobuf:"bytes,1,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
// Device state version
DeviceStateVersion uint32 `protobuf:"varint,2,opt,name=device_state_version,json=deviceStateVersion,proto3" json:"device_state_version,omitempty"`
// Indicates whether the device can shutdown CPU natively or via power management chip
CanShutdown bool `protobuf:"varint,3,opt,name=canShutdown,proto3" json:"canShutdown,omitempty"`
// Indicates that the device has native wifi capability
HasWifi bool `protobuf:"varint,4,opt,name=hasWifi,proto3" json:"hasWifi,omitempty"`
// Indicates that the device has native bluetooth capability
HasBluetooth bool `protobuf:"varint,5,opt,name=hasBluetooth,proto3" json:"hasBluetooth,omitempty"`
// Indicates that the device has an ethernet peripheral
HasEthernet bool `protobuf:"varint,6,opt,name=hasEthernet,proto3" json:"hasEthernet,omitempty"`
// Indicates that the device's role in the mesh
Role Config_DeviceConfig_Role `protobuf:"varint,7,opt,name=role,proto3,enum=meshtastic.Config_DeviceConfig_Role" json:"role,omitempty"`
// Indicates the device's current enabled position flags
PositionFlags uint32 `protobuf:"varint,8,opt,name=position_flags,json=positionFlags,proto3" json:"position_flags,omitempty"`
// Device hardware model
HwModel HardwareModel `protobuf:"varint,9,opt,name=hw_model,json=hwModel,proto3,enum=meshtastic.HardwareModel" json:"hw_model,omitempty"`
// Has Remote Hardware enabled
HasRemoteHardware bool `protobuf:"varint,10,opt,name=hasRemoteHardware,proto3" json:"hasRemoteHardware,omitempty"`
// contains filtered or unexported fields
}
Device metadata response
func (*DeviceMetadata) GetCanShutdown ¶
func (x *DeviceMetadata) GetCanShutdown() bool
func (*DeviceMetadata) GetDeviceStateVersion ¶
func (x *DeviceMetadata) GetDeviceStateVersion() uint32
func (*DeviceMetadata) GetFirmwareVersion ¶
func (x *DeviceMetadata) GetFirmwareVersion() string
func (*DeviceMetadata) GetHasBluetooth ¶
func (x *DeviceMetadata) GetHasBluetooth() bool
func (*DeviceMetadata) GetHasEthernet ¶
func (x *DeviceMetadata) GetHasEthernet() bool
func (*DeviceMetadata) GetHasRemoteHardware ¶
func (x *DeviceMetadata) GetHasRemoteHardware() bool
func (*DeviceMetadata) GetHasWifi ¶
func (x *DeviceMetadata) GetHasWifi() bool
func (*DeviceMetadata) GetHwModel ¶
func (x *DeviceMetadata) GetHwModel() HardwareModel
func (*DeviceMetadata) GetPositionFlags ¶
func (x *DeviceMetadata) GetPositionFlags() uint32
func (*DeviceMetadata) GetRole ¶
func (x *DeviceMetadata) GetRole() Config_DeviceConfig_Role
func (*DeviceMetadata) ProtoMessage ¶
func (*DeviceMetadata) ProtoMessage()
func (*DeviceMetadata) ProtoReflect ¶
func (x *DeviceMetadata) ProtoReflect() protoreflect.Message
func (*DeviceMetadata) Reset ¶
func (x *DeviceMetadata) Reset()
func (*DeviceMetadata) SetCanShutdown ¶
func (x *DeviceMetadata) SetCanShutdown(v bool)
func (*DeviceMetadata) SetDeviceStateVersion ¶
func (x *DeviceMetadata) SetDeviceStateVersion(v uint32)
func (*DeviceMetadata) SetFirmwareVersion ¶
func (x *DeviceMetadata) SetFirmwareVersion(v string)
func (*DeviceMetadata) SetHasBluetooth ¶
func (x *DeviceMetadata) SetHasBluetooth(v bool)
func (*DeviceMetadata) SetHasEthernet ¶
func (x *DeviceMetadata) SetHasEthernet(v bool)
func (*DeviceMetadata) SetHasRemoteHardware ¶
func (x *DeviceMetadata) SetHasRemoteHardware(v bool)
func (*DeviceMetadata) SetHasWifi ¶
func (x *DeviceMetadata) SetHasWifi(v bool)
func (*DeviceMetadata) SetHwModel ¶
func (x *DeviceMetadata) SetHwModel(v HardwareModel)
func (*DeviceMetadata) SetPositionFlags ¶
func (x *DeviceMetadata) SetPositionFlags(v uint32)
func (*DeviceMetadata) SetRole ¶
func (x *DeviceMetadata) SetRole(v Config_DeviceConfig_Role)
func (*DeviceMetadata) String ¶
func (x *DeviceMetadata) String() string
type DeviceMetadata_builder ¶
type DeviceMetadata_builder struct {
// Device firmware version string
FirmwareVersion string
// Device state version
DeviceStateVersion uint32
// Indicates whether the device can shutdown CPU natively or via power management chip
CanShutdown bool
// Indicates that the device has native wifi capability
HasWifi bool
// Indicates that the device has native bluetooth capability
HasBluetooth bool
// Indicates that the device has an ethernet peripheral
HasEthernet bool
// Indicates that the device's role in the mesh
Role Config_DeviceConfig_Role
// Indicates the device's current enabled position flags
PositionFlags uint32
// Device hardware model
HwModel HardwareModel
// Has Remote Hardware enabled
HasRemoteHardware bool
// contains filtered or unexported fields
}
func (DeviceMetadata_builder) Build ¶
func (b0 DeviceMetadata_builder) Build() *DeviceMetadata
type DeviceMetrics ¶
type DeviceMetrics struct {
//
// 0-100 (>100 means powered)
BatteryLevel uint32 `protobuf:"varint,1,opt,name=battery_level,json=batteryLevel,proto3" json:"battery_level,omitempty"`
//
// Voltage measured
Voltage float32 `protobuf:"fixed32,2,opt,name=voltage,proto3" json:"voltage,omitempty"`
//
// Utilization for the current channel, including well formed TX, RX and malformed RX (aka noise).
ChannelUtilization float32 `protobuf:"fixed32,3,opt,name=channel_utilization,json=channelUtilization,proto3" json:"channel_utilization,omitempty"`
//
// Percent of airtime for transmission used within the last hour.
AirUtilTx float32 `protobuf:"fixed32,4,opt,name=air_util_tx,json=airUtilTx,proto3" json:"air_util_tx,omitempty"`
// contains filtered or unexported fields
}
Key native device metrics such as battery level
func (*DeviceMetrics) GetAirUtilTx ¶
func (x *DeviceMetrics) GetAirUtilTx() float32
func (*DeviceMetrics) GetBatteryLevel ¶
func (x *DeviceMetrics) GetBatteryLevel() uint32
func (*DeviceMetrics) GetChannelUtilization ¶
func (x *DeviceMetrics) GetChannelUtilization() float32
func (*DeviceMetrics) GetVoltage ¶
func (x *DeviceMetrics) GetVoltage() float32
func (*DeviceMetrics) ProtoMessage ¶
func (*DeviceMetrics) ProtoMessage()
func (*DeviceMetrics) ProtoReflect ¶
func (x *DeviceMetrics) ProtoReflect() protoreflect.Message
func (*DeviceMetrics) Reset ¶
func (x *DeviceMetrics) Reset()
func (*DeviceMetrics) SetAirUtilTx ¶
func (x *DeviceMetrics) SetAirUtilTx(v float32)
func (*DeviceMetrics) SetBatteryLevel ¶
func (x *DeviceMetrics) SetBatteryLevel(v uint32)
func (*DeviceMetrics) SetChannelUtilization ¶
func (x *DeviceMetrics) SetChannelUtilization(v float32)
func (*DeviceMetrics) SetVoltage ¶
func (x *DeviceMetrics) SetVoltage(v float32)
func (*DeviceMetrics) String ¶
func (x *DeviceMetrics) String() string
type DeviceMetrics_builder ¶
type DeviceMetrics_builder struct {
//
// 0-100 (>100 means powered)
BatteryLevel uint32
//
// Voltage measured
Voltage float32
//
// Utilization for the current channel, including well formed TX, RX and malformed RX (aka noise).
ChannelUtilization float32
//
// Percent of airtime for transmission used within the last hour.
AirUtilTx float32
// contains filtered or unexported fields
}
func (DeviceMetrics_builder) Build ¶
func (b0 DeviceMetrics_builder) Build() *DeviceMetrics
type DeviceProfile ¶
type DeviceProfile struct {
// Long name for the node
LongName *string `protobuf:"bytes,1,opt,name=long_name,json=longName,proto3,oneof" json:"long_name,omitempty"`
// Short name of the node
ShortName *string `protobuf:"bytes,2,opt,name=short_name,json=shortName,proto3,oneof" json:"short_name,omitempty"`
// The url of the channels from our node
ChannelUrl *string `protobuf:"bytes,3,opt,name=channel_url,json=channelUrl,proto3,oneof" json:"channel_url,omitempty"`
// The Config of the node
Config *LocalConfig `protobuf:"bytes,4,opt,name=config,proto3,oneof" json:"config,omitempty"`
// The ModuleConfig of the node
ModuleConfig *LocalModuleConfig `protobuf:"bytes,5,opt,name=module_config,json=moduleConfig,proto3,oneof" json:"module_config,omitempty"`
// contains filtered or unexported fields
}
This abstraction is used to contain any configuration for provisioning a node on any client. It is useful for importing and exporting configurations.
func (*DeviceProfile) ClearChannelUrl ¶
func (x *DeviceProfile) ClearChannelUrl()
func (*DeviceProfile) ClearConfig ¶
func (x *DeviceProfile) ClearConfig()
func (*DeviceProfile) ClearLongName ¶
func (x *DeviceProfile) ClearLongName()
func (*DeviceProfile) ClearModuleConfig ¶
func (x *DeviceProfile) ClearModuleConfig()
func (*DeviceProfile) ClearShortName ¶
func (x *DeviceProfile) ClearShortName()
func (*DeviceProfile) GetChannelUrl ¶
func (x *DeviceProfile) GetChannelUrl() string
func (*DeviceProfile) GetConfig ¶
func (x *DeviceProfile) GetConfig() *LocalConfig
func (*DeviceProfile) GetLongName ¶
func (x *DeviceProfile) GetLongName() string
func (*DeviceProfile) GetModuleConfig ¶
func (x *DeviceProfile) GetModuleConfig() *LocalModuleConfig
func (*DeviceProfile) GetShortName ¶
func (x *DeviceProfile) GetShortName() string
func (*DeviceProfile) HasChannelUrl ¶
func (x *DeviceProfile) HasChannelUrl() bool
func (*DeviceProfile) HasConfig ¶
func (x *DeviceProfile) HasConfig() bool
func (*DeviceProfile) HasLongName ¶
func (x *DeviceProfile) HasLongName() bool
func (*DeviceProfile) HasModuleConfig ¶
func (x *DeviceProfile) HasModuleConfig() bool
func (*DeviceProfile) HasShortName ¶
func (x *DeviceProfile) HasShortName() bool
func (*DeviceProfile) ProtoMessage ¶
func (*DeviceProfile) ProtoMessage()
func (*DeviceProfile) ProtoReflect ¶
func (x *DeviceProfile) ProtoReflect() protoreflect.Message
func (*DeviceProfile) Reset ¶
func (x *DeviceProfile) Reset()
func (*DeviceProfile) SetChannelUrl ¶
func (x *DeviceProfile) SetChannelUrl(v string)
func (*DeviceProfile) SetConfig ¶
func (x *DeviceProfile) SetConfig(v *LocalConfig)
func (*DeviceProfile) SetLongName ¶
func (x *DeviceProfile) SetLongName(v string)
func (*DeviceProfile) SetModuleConfig ¶
func (x *DeviceProfile) SetModuleConfig(v *LocalModuleConfig)
func (*DeviceProfile) SetShortName ¶
func (x *DeviceProfile) SetShortName(v string)
func (*DeviceProfile) String ¶
func (x *DeviceProfile) String() string
type DeviceProfile_builder ¶
type DeviceProfile_builder struct {
// Long name for the node
LongName *string
// Short name of the node
ShortName *string
// The url of the channels from our node
ChannelUrl *string
// The Config of the node
Config *LocalConfig
// The ModuleConfig of the node
ModuleConfig *LocalModuleConfig
// contains filtered or unexported fields
}
func (DeviceProfile_builder) Build ¶
func (b0 DeviceProfile_builder) Build() *DeviceProfile
type DeviceState ¶
type DeviceState struct {
// Read only settings/info about this node
MyNode *MyNodeInfo `protobuf:"bytes,2,opt,name=my_node,json=myNode,proto3" json:"my_node,omitempty"`
// My owner info
Owner *User `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
// Received packets saved for delivery to the phone
ReceiveQueue []*MeshPacket `protobuf:"bytes,5,rep,name=receive_queue,json=receiveQueue,proto3" json:"receive_queue,omitempty"`
// A version integer used to invalidate old save files when we make
// incompatible changes This integer is set at build time and is private to
// NodeDB.cpp in the device code.
Version uint32 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
// We keep the last received text message (only) stored in the device flash,
// so we can show it on the screen.
// Might be null
RxTextMessage *MeshPacket `protobuf:"bytes,7,opt,name=rx_text_message,json=rxTextMessage,proto3" json:"rx_text_message,omitempty"`
// Used only during development.
// Indicates developer is testing and changes should never be saved to flash.
NoSave bool `protobuf:"varint,9,opt,name=no_save,json=noSave,proto3" json:"no_save,omitempty"`
// Some GPS receivers seem to have bogus settings from the factory, so we always do one factory reset.
DidGpsReset bool `protobuf:"varint,11,opt,name=did_gps_reset,json=didGpsReset,proto3" json:"did_gps_reset,omitempty"`
// We keep the last received waypoint stored in the device flash,
// so we can show it on the screen.
// Might be null
RxWaypoint *MeshPacket `protobuf:"bytes,12,opt,name=rx_waypoint,json=rxWaypoint,proto3" json:"rx_waypoint,omitempty"`
// The mesh's nodes with their available gpio pins for RemoteHardware module
NodeRemoteHardwarePins []*NodeRemoteHardwarePin `` /* 132-byte string literal not displayed */
// New lite version of NodeDB to decrease memory footprint
NodeDbLite []*NodeInfoLite `protobuf:"bytes,14,rep,name=node_db_lite,json=nodeDbLite,proto3" json:"node_db_lite,omitempty"`
// contains filtered or unexported fields
}
This message is never sent over the wire, but it is used for serializing DB state to flash in the device code FIXME, since we write this each time we enter deep sleep (and have infinite flash) it would be better to use some sort of append only data structure for the receive queue and use the preferences store for the other stuff
func (*DeviceState) ClearMyNode ¶
func (x *DeviceState) ClearMyNode()
func (*DeviceState) ClearOwner ¶
func (x *DeviceState) ClearOwner()
func (*DeviceState) ClearRxTextMessage ¶
func (x *DeviceState) ClearRxTextMessage()
func (*DeviceState) ClearRxWaypoint ¶
func (x *DeviceState) ClearRxWaypoint()
func (*DeviceState) GetDidGpsReset ¶
func (x *DeviceState) GetDidGpsReset() bool
func (*DeviceState) GetMyNode ¶
func (x *DeviceState) GetMyNode() *MyNodeInfo
func (*DeviceState) GetNoSave ¶
func (x *DeviceState) GetNoSave() bool
func (*DeviceState) GetNodeDbLite ¶
func (x *DeviceState) GetNodeDbLite() []*NodeInfoLite
func (*DeviceState) GetNodeRemoteHardwarePins ¶
func (x *DeviceState) GetNodeRemoteHardwarePins() []*NodeRemoteHardwarePin
func (*DeviceState) GetOwner ¶
func (x *DeviceState) GetOwner() *User
func (*DeviceState) GetReceiveQueue ¶
func (x *DeviceState) GetReceiveQueue() []*MeshPacket
func (*DeviceState) GetRxTextMessage ¶
func (x *DeviceState) GetRxTextMessage() *MeshPacket
func (*DeviceState) GetRxWaypoint ¶
func (x *DeviceState) GetRxWaypoint() *MeshPacket
func (*DeviceState) GetVersion ¶
func (x *DeviceState) GetVersion() uint32
func (*DeviceState) HasMyNode ¶
func (x *DeviceState) HasMyNode() bool
func (*DeviceState) HasOwner ¶
func (x *DeviceState) HasOwner() bool
func (*DeviceState) HasRxTextMessage ¶
func (x *DeviceState) HasRxTextMessage() bool
func (*DeviceState) HasRxWaypoint ¶
func (x *DeviceState) HasRxWaypoint() bool
func (*DeviceState) ProtoMessage ¶
func (*DeviceState) ProtoMessage()
func (*DeviceState) ProtoReflect ¶
func (x *DeviceState) ProtoReflect() protoreflect.Message
func (*DeviceState) Reset ¶
func (x *DeviceState) Reset()
func (*DeviceState) SetDidGpsReset ¶
func (x *DeviceState) SetDidGpsReset(v bool)
func (*DeviceState) SetMyNode ¶
func (x *DeviceState) SetMyNode(v *MyNodeInfo)
func (*DeviceState) SetNoSave ¶
func (x *DeviceState) SetNoSave(v bool)
func (*DeviceState) SetNodeDbLite ¶
func (x *DeviceState) SetNodeDbLite(v []*NodeInfoLite)
func (*DeviceState) SetNodeRemoteHardwarePins ¶
func (x *DeviceState) SetNodeRemoteHardwarePins(v []*NodeRemoteHardwarePin)
func (*DeviceState) SetOwner ¶
func (x *DeviceState) SetOwner(v *User)
func (*DeviceState) SetReceiveQueue ¶
func (x *DeviceState) SetReceiveQueue(v []*MeshPacket)
func (*DeviceState) SetRxTextMessage ¶
func (x *DeviceState) SetRxTextMessage(v *MeshPacket)
func (*DeviceState) SetRxWaypoint ¶
func (x *DeviceState) SetRxWaypoint(v *MeshPacket)
func (*DeviceState) SetVersion ¶
func (x *DeviceState) SetVersion(v uint32)
func (*DeviceState) String ¶
func (x *DeviceState) String() string
type DeviceState_builder ¶
type DeviceState_builder struct {
// Read only settings/info about this node
MyNode *MyNodeInfo
// My owner info
Owner *User
// Received packets saved for delivery to the phone
ReceiveQueue []*MeshPacket
// A version integer used to invalidate old save files when we make
// incompatible changes This integer is set at build time and is private to
// NodeDB.cpp in the device code.
Version uint32
// We keep the last received text message (only) stored in the device flash,
// so we can show it on the screen.
// Might be null
RxTextMessage *MeshPacket
// Used only during development.
// Indicates developer is testing and changes should never be saved to flash.
NoSave bool
// Some GPS receivers seem to have bogus settings from the factory, so we always do one factory reset.
DidGpsReset bool
// We keep the last received waypoint stored in the device flash,
// so we can show it on the screen.
// Might be null
RxWaypoint *MeshPacket
// The mesh's nodes with their available gpio pins for RemoteHardware module
NodeRemoteHardwarePins []*NodeRemoteHardwarePin
// New lite version of NodeDB to decrease memory footprint
NodeDbLite []*NodeInfoLite
// contains filtered or unexported fields
}
func (DeviceState_builder) Build ¶
func (b0 DeviceState_builder) Build() *DeviceState
type EnvironmentMetrics ¶
type EnvironmentMetrics struct {
//
// Temperature measured
Temperature float32 `protobuf:"fixed32,1,opt,name=temperature,proto3" json:"temperature,omitempty"`
//
// Relative humidity percent measured
RelativeHumidity float32 `protobuf:"fixed32,2,opt,name=relative_humidity,json=relativeHumidity,proto3" json:"relative_humidity,omitempty"`
//
// Barometric pressure in hPA measured
BarometricPressure float32 `protobuf:"fixed32,3,opt,name=barometric_pressure,json=barometricPressure,proto3" json:"barometric_pressure,omitempty"`
//
// Gas resistance in MOhm measured
GasResistance float32 `protobuf:"fixed32,4,opt,name=gas_resistance,json=gasResistance,proto3" json:"gas_resistance,omitempty"`
//
// Voltage measured (To be depreciated in favor of PowerMetrics in Meshtastic 3.x)
Voltage float32 `protobuf:"fixed32,5,opt,name=voltage,proto3" json:"voltage,omitempty"`
//
// Current measured (To be depreciated in favor of PowerMetrics in Meshtastic 3.x)
Current float32 `protobuf:"fixed32,6,opt,name=current,proto3" json:"current,omitempty"`
// contains filtered or unexported fields
}
Weather station or other environmental metrics
func (*EnvironmentMetrics) GetBarometricPressure ¶
func (x *EnvironmentMetrics) GetBarometricPressure() float32
func (*EnvironmentMetrics) GetCurrent ¶
func (x *EnvironmentMetrics) GetCurrent() float32
func (*EnvironmentMetrics) GetGasResistance ¶
func (x *EnvironmentMetrics) GetGasResistance() float32
func (*EnvironmentMetrics) GetRelativeHumidity ¶
func (x *EnvironmentMetrics) GetRelativeHumidity() float32
func (*EnvironmentMetrics) GetTemperature ¶
func (x *EnvironmentMetrics) GetTemperature() float32
func (*EnvironmentMetrics) GetVoltage ¶
func (x *EnvironmentMetrics) GetVoltage() float32
func (*EnvironmentMetrics) ProtoMessage ¶
func (*EnvironmentMetrics) ProtoMessage()
func (*EnvironmentMetrics) ProtoReflect ¶
func (x *EnvironmentMetrics) ProtoReflect() protoreflect.Message
func (*EnvironmentMetrics) Reset ¶
func (x *EnvironmentMetrics) Reset()
func (*EnvironmentMetrics) SetBarometricPressure ¶
func (x *EnvironmentMetrics) SetBarometricPressure(v float32)
func (*EnvironmentMetrics) SetCurrent ¶
func (x *EnvironmentMetrics) SetCurrent(v float32)
func (*EnvironmentMetrics) SetGasResistance ¶
func (x *EnvironmentMetrics) SetGasResistance(v float32)
func (*EnvironmentMetrics) SetRelativeHumidity ¶
func (x *EnvironmentMetrics) SetRelativeHumidity(v float32)
func (*EnvironmentMetrics) SetTemperature ¶
func (x *EnvironmentMetrics) SetTemperature(v float32)
func (*EnvironmentMetrics) SetVoltage ¶
func (x *EnvironmentMetrics) SetVoltage(v float32)
func (*EnvironmentMetrics) String ¶
func (x *EnvironmentMetrics) String() string
type EnvironmentMetrics_builder ¶
type EnvironmentMetrics_builder struct {
//
// Temperature measured
Temperature float32
//
// Relative humidity percent measured
RelativeHumidity float32
//
// Barometric pressure in hPA measured
BarometricPressure float32
//
// Gas resistance in MOhm measured
GasResistance float32
//
// Voltage measured (To be depreciated in favor of PowerMetrics in Meshtastic 3.x)
Voltage float32
//
// Current measured (To be depreciated in favor of PowerMetrics in Meshtastic 3.x)
Current float32
// contains filtered or unexported fields
}
func (EnvironmentMetrics_builder) Build ¶
func (b0 EnvironmentMetrics_builder) Build() *EnvironmentMetrics
type EthernetConnectionStatus ¶
type EthernetConnectionStatus struct {
// Connection status
Status *NetworkConnectionStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Ethernet connection status
func (*EthernetConnectionStatus) ClearStatus ¶
func (x *EthernetConnectionStatus) ClearStatus()
func (*EthernetConnectionStatus) GetStatus ¶
func (x *EthernetConnectionStatus) GetStatus() *NetworkConnectionStatus
func (*EthernetConnectionStatus) HasStatus ¶
func (x *EthernetConnectionStatus) HasStatus() bool
func (*EthernetConnectionStatus) ProtoMessage ¶
func (*EthernetConnectionStatus) ProtoMessage()
func (*EthernetConnectionStatus) ProtoReflect ¶
func (x *EthernetConnectionStatus) ProtoReflect() protoreflect.Message
func (*EthernetConnectionStatus) Reset ¶
func (x *EthernetConnectionStatus) Reset()
func (*EthernetConnectionStatus) SetStatus ¶
func (x *EthernetConnectionStatus) SetStatus(v *NetworkConnectionStatus)
func (*EthernetConnectionStatus) String ¶
func (x *EthernetConnectionStatus) String() string
type EthernetConnectionStatus_builder ¶
type EthernetConnectionStatus_builder struct {
// Connection status
Status *NetworkConnectionStatus
// contains filtered or unexported fields
}
func (EthernetConnectionStatus_builder) Build ¶
func (b0 EthernetConnectionStatus_builder) Build() *EthernetConnectionStatus
type FromRadio ¶
type FromRadio struct {
// The packet id, used to allow the phone to request missing read packets from the FIFO,
// see our bluetooth docs
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// Log levels, chosen to match python logging conventions.
//
// Types that are valid to be assigned to PayloadVariant:
//
// *FromRadio_Packet
// *FromRadio_MyInfo
// *FromRadio_NodeInfo
// *FromRadio_Config
// *FromRadio_LogRecord
// *FromRadio_ConfigCompleteId
// *FromRadio_Rebooted
// *FromRadio_ModuleConfig
// *FromRadio_Channel
// *FromRadio_QueueStatus
// *FromRadio_XmodemPacket
// *FromRadio_Metadata
// *FromRadio_MqttClientProxyMessage
PayloadVariant isFromRadio_PayloadVariant `protobuf_oneof:"payload_variant"`
// contains filtered or unexported fields
}
Packets from the radio to the phone will appear on the fromRadio characteristic. It will support READ and NOTIFY. When a new packet arrives the device will BLE notify? It will sit in that descriptor until consumed by the phone, at which point the next item in the FIFO will be populated.
func (*FromRadio) GetMetadata ¶
func (x *FromRadio) GetMetadata() *DeviceMetadata
func (*FromRadio) GetModuleConfig ¶
func (x *FromRadio) GetModuleConfig() *ModuleConfig
func (*FromRadio) GetMqttClientProxyMessage ¶
func (x *FromRadio) GetMqttClientProxyMessage() *MqttClientProxyMessage
func (*FromRadio) GetMyInfo ¶
func (x *FromRadio) GetMyInfo() *MyNodeInfo
func (*FromRadio) GetPacket ¶
func (x *FromRadio) GetPacket() *MeshPacket
func (*FromRadio) GetPayloadVariant ¶
func (x *FromRadio) GetPayloadVariant() isFromRadio_PayloadVariant
func (*FromRadio) GetQueueStatus ¶
func (x *FromRadio) GetQueueStatus() *QueueStatus
func (*FromRadio) ProtoReflect ¶
func (x *FromRadio) ProtoReflect() protoreflect.Message
func (*FromRadio) SetMetadata ¶
func (x *FromRadio) SetMetadata(v *DeviceMetadata)
func (*FromRadio) SetModuleConfig ¶
func (x *FromRadio) SetModuleConfig(v *ModuleConfig)
func (*FromRadio) SetMqttClientProxyMessage ¶
func (x *FromRadio) SetMqttClientProxyMessage(v *MqttClientProxyMessage)
func (*FromRadio) SetMyInfo ¶
func (x *FromRadio) SetMyInfo(v *MyNodeInfo)
func (*FromRadio) SetPacket ¶
func (x *FromRadio) SetPacket(v *MeshPacket)
func (*FromRadio) SetQueueStatus ¶
func (x *FromRadio) SetQueueStatus(v *QueueStatus)
type FromRadio_Channel ¶
type FromRadio_Channel struct {
// One packet is sent for each channel
Channel *Channel `protobuf:"bytes,10,opt,name=channel,proto3,oneof"`
}
type FromRadio_Config ¶
type FromRadio_Config struct {
// Include a part of the config (was: RadioConfig radio)
Config *Config `protobuf:"bytes,5,opt,name=config,proto3,oneof"`
}
type FromRadio_ConfigCompleteId ¶
type FromRadio_ConfigCompleteId struct {
// Sent as true once the device has finished sending all of the responses to want_config
// recipient should check if this ID matches our original request nonce, if
// not, it means your config responses haven't started yet.
// NOTE: This ID must not change - to keep (minimal) compatibility with <1.2 version of android apps.
ConfigCompleteId uint32 `protobuf:"varint,7,opt,name=config_complete_id,json=configCompleteId,proto3,oneof"`
}
type FromRadio_LogRecord ¶
type FromRadio_LogRecord struct {
// Set to send debug console output over our protobuf stream
LogRecord *LogRecord `protobuf:"bytes,6,opt,name=log_record,json=logRecord,proto3,oneof"`
}
type FromRadio_Metadata ¶
type FromRadio_Metadata struct {
// Device metadata message
Metadata *DeviceMetadata `protobuf:"bytes,13,opt,name=metadata,proto3,oneof"`
}
type FromRadio_ModuleConfig ¶
type FromRadio_ModuleConfig struct {
// Include module config
ModuleConfig *ModuleConfig `protobuf:"bytes,9,opt,name=moduleConfig,proto3,oneof"`
}
type FromRadio_MqttClientProxyMessage ¶
type FromRadio_MqttClientProxyMessage struct {
// MQTT Client Proxy Message (device sending to client / phone for publishing to MQTT)
MqttClientProxyMessage *MqttClientProxyMessage `protobuf:"bytes,14,opt,name=mqttClientProxyMessage,proto3,oneof"`
}
type FromRadio_MyInfo ¶
type FromRadio_MyInfo struct {
// Tells the phone what our node number is, can be -1 if we've not yet joined a mesh.
// NOTE: This ID must not change - to keep (minimal) compatibility with <1.2 version of android apps.
MyInfo *MyNodeInfo `protobuf:"bytes,3,opt,name=my_info,json=myInfo,proto3,oneof"`
}
type FromRadio_NodeInfo ¶
type FromRadio_NodeInfo struct {
// One packet is sent for each node in the on radio DB
// starts over with the first node in our DB
NodeInfo *NodeInfo `protobuf:"bytes,4,opt,name=node_info,json=nodeInfo,proto3,oneof"`
}
type FromRadio_Packet ¶
type FromRadio_Packet struct {
// Log levels, chosen to match python logging conventions.
Packet *MeshPacket `protobuf:"bytes,2,opt,name=packet,proto3,oneof"`
}
type FromRadio_QueueStatus ¶
type FromRadio_QueueStatus struct {
// Queue status info
QueueStatus *QueueStatus `protobuf:"bytes,11,opt,name=queueStatus,proto3,oneof"`
}
type FromRadio_Rebooted ¶
type FromRadio_Rebooted struct {
// Sent to tell clients the radio has just rebooted.
// Set to true if present.
// Not used on all transports, currently just used for the serial console.
// NOTE: This ID must not change - to keep (minimal) compatibility with <1.2 version of android apps.
Rebooted bool `protobuf:"varint,8,opt,name=rebooted,proto3,oneof"`
}
type FromRadio_XmodemPacket ¶
type FromRadio_XmodemPacket struct {
// File Transfer Chunk
XmodemPacket *XModem `protobuf:"bytes,12,opt,name=xmodemPacket,proto3,oneof"`
}
type FromRadio_builder ¶
type FromRadio_builder struct {
// The packet id, used to allow the phone to request missing read packets from the FIFO,
// see our bluetooth docs
Id uint32
// Fields of oneof PayloadVariant:
//
// Log levels, chosen to match python logging conventions.
Packet *MeshPacket
// Tells the phone what our node number is, can be -1 if we've not yet joined a mesh.
// NOTE: This ID must not change - to keep (minimal) compatibility with <1.2 version of android apps.
MyInfo *MyNodeInfo
// One packet is sent for each node in the on radio DB
// starts over with the first node in our DB
NodeInfo *NodeInfo
// Include a part of the config (was: RadioConfig radio)
Config *Config
// Set to send debug console output over our protobuf stream
LogRecord *LogRecord
// Sent as true once the device has finished sending all of the responses to want_config
// recipient should check if this ID matches our original request nonce, if
// not, it means your config responses haven't started yet.
// NOTE: This ID must not change - to keep (minimal) compatibility with <1.2 version of android apps.
ConfigCompleteId *uint32
// Sent to tell clients the radio has just rebooted.
// Set to true if present.
// Not used on all transports, currently just used for the serial console.
// NOTE: This ID must not change - to keep (minimal) compatibility with <1.2 version of android apps.
Rebooted *bool
// Include module config
ModuleConfig *ModuleConfig
// One packet is sent for each channel
Channel *Channel
// Queue status info
QueueStatus *QueueStatus
// File Transfer Chunk
XmodemPacket *XModem
// Device metadata message
Metadata *DeviceMetadata
// MQTT Client Proxy Message (device sending to client / phone for publishing to MQTT)
MqttClientProxyMessage *MqttClientProxyMessage
// contains filtered or unexported fields
}
func (FromRadio_builder) Build ¶
func (b0 FromRadio_builder) Build() *FromRadio
type GeoChat ¶
type GeoChat struct {
// The text message
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Uid recipient of the message
To *string `protobuf:"bytes,2,opt,name=to,proto3,oneof" json:"to,omitempty"`
// contains filtered or unexported fields
}
ATAK GeoChat message
func (*GeoChat) ProtoReflect ¶
func (x *GeoChat) ProtoReflect() protoreflect.Message
type GeoChat_builder ¶
type GeoChat_builder struct {
// The text message
Message string
// Uid recipient of the message
To *string
// contains filtered or unexported fields
}
func (GeoChat_builder) Build ¶
func (b0 GeoChat_builder) Build() *GeoChat
type Group ¶
type Group struct {
// Role of the group member
Role MemberRole `protobuf:"varint,1,opt,name=role,proto3,enum=meshtastic.MemberRole" json:"role,omitempty"`
// Team (color)
// Default Cyan
Team Team `protobuf:"varint,2,opt,name=team,proto3,enum=meshtastic.Team" json:"team,omitempty"`
// contains filtered or unexported fields
}
ATAK Group <__group role='Team Member' name='Cyan'/>
func (*Group) GetRole ¶
func (x *Group) GetRole() MemberRole
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
func (*Group) SetRole ¶
func (x *Group) SetRole(v MemberRole)
type Group_builder ¶
type Group_builder struct {
// Role of the group member
Role MemberRole
// Team (color)
// Default Cyan
Team Team
// contains filtered or unexported fields
}
func (Group_builder) Build ¶
func (b0 Group_builder) Build() *Group
type HamParameters ¶
type HamParameters struct {
// Amateur radio call sign, eg. KD2ABC
CallSign string `protobuf:"bytes,1,opt,name=call_sign,json=callSign,proto3" json:"call_sign,omitempty"`
// Transmit power in dBm at the LoRA transceiver, not including any amplification
TxPower int32 `protobuf:"varint,2,opt,name=tx_power,json=txPower,proto3" json:"tx_power,omitempty"`
// The selected frequency of LoRA operation
// Please respect your local laws, regulations, and band plans.
// Ensure your radio is capable of operating of the selected frequency before setting this.
Frequency float32 `protobuf:"fixed32,3,opt,name=frequency,proto3" json:"frequency,omitempty"`
// Optional short name of user
ShortName string `protobuf:"bytes,4,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
// contains filtered or unexported fields
}
Parameters for setting up Meshtastic for ameteur radio usage
func (*HamParameters) GetCallSign ¶
func (x *HamParameters) GetCallSign() string
func (*HamParameters) GetFrequency ¶
func (x *HamParameters) GetFrequency() float32
func (*HamParameters) GetShortName ¶
func (x *HamParameters) GetShortName() string
func (*HamParameters) GetTxPower ¶
func (x *HamParameters) GetTxPower() int32
func (*HamParameters) ProtoMessage ¶
func (*HamParameters) ProtoMessage()
func (*HamParameters) ProtoReflect ¶
func (x *HamParameters) ProtoReflect() protoreflect.Message
func (*HamParameters) Reset ¶
func (x *HamParameters) Reset()
func (*HamParameters) SetCallSign ¶
func (x *HamParameters) SetCallSign(v string)
func (*HamParameters) SetFrequency ¶
func (x *HamParameters) SetFrequency(v float32)
func (*HamParameters) SetShortName ¶
func (x *HamParameters) SetShortName(v string)
func (*HamParameters) SetTxPower ¶
func (x *HamParameters) SetTxPower(v int32)
func (*HamParameters) String ¶
func (x *HamParameters) String() string
type HamParameters_builder ¶
type HamParameters_builder struct {
// Amateur radio call sign, eg. KD2ABC
CallSign string
// Transmit power in dBm at the LoRA transceiver, not including any amplification
TxPower int32
// The selected frequency of LoRA operation
// Please respect your local laws, regulations, and band plans.
// Ensure your radio is capable of operating of the selected frequency before setting this.
Frequency float32
// Optional short name of user
ShortName string
// contains filtered or unexported fields
}
func (HamParameters_builder) Build ¶
func (b0 HamParameters_builder) Build() *HamParameters
type HardwareMessage ¶
type HardwareMessage struct {
// What type of HardwareMessage is this?
Type HardwareMessage_Type `protobuf:"varint,1,opt,name=type,proto3,enum=meshtastic.HardwareMessage_Type" json:"type,omitempty"`
// What gpios are we changing. Not used for all MessageTypes, see MessageType for details
GpioMask uint64 `protobuf:"varint,2,opt,name=gpio_mask,json=gpioMask,proto3" json:"gpio_mask,omitempty"`
// For gpios that were listed in gpio_mask as valid, what are the signal levels for those gpios.
// Not used for all MessageTypes, see MessageType for details
GpioValue uint64 `protobuf:"varint,3,opt,name=gpio_value,json=gpioValue,proto3" json:"gpio_value,omitempty"`
// contains filtered or unexported fields
}
An example app to show off the module system. This message is used for REMOTE_HARDWARE_APP PortNums. Also provides easy remote access to any GPIO. In the future other remote hardware operations can be added based on user interest (i.e. serial output, spi/i2c input/output). FIXME - currently this feature is turned on by default which is dangerous because no security yet (beyond the channel mechanism). It should be off by default and then protected based on some TBD mechanism (a special channel once multichannel support is included?)
func (*HardwareMessage) GetGpioMask ¶
func (x *HardwareMessage) GetGpioMask() uint64
func (*HardwareMessage) GetGpioValue ¶
func (x *HardwareMessage) GetGpioValue() uint64
func (*HardwareMessage) GetType ¶
func (x *HardwareMessage) GetType() HardwareMessage_Type
func (*HardwareMessage) ProtoMessage ¶
func (*HardwareMessage) ProtoMessage()
func (*HardwareMessage) ProtoReflect ¶
func (x *HardwareMessage) ProtoReflect() protoreflect.Message
func (*HardwareMessage) Reset ¶
func (x *HardwareMessage) Reset()
func (*HardwareMessage) SetGpioMask ¶
func (x *HardwareMessage) SetGpioMask(v uint64)
func (*HardwareMessage) SetGpioValue ¶
func (x *HardwareMessage) SetGpioValue(v uint64)
func (*HardwareMessage) SetType ¶
func (x *HardwareMessage) SetType(v HardwareMessage_Type)
func (*HardwareMessage) String ¶
func (x *HardwareMessage) String() string
type HardwareMessage_Type ¶
type HardwareMessage_Type int32
TODO: REPLACE
const ( // Unset/unused HardwareMessage_UNSET HardwareMessage_Type = 0 // Set gpio gpios based on gpio_mask/gpio_value HardwareMessage_WRITE_GPIOS HardwareMessage_Type = 1 // We are now interested in watching the gpio_mask gpios. // If the selected gpios change, please broadcast GPIOS_CHANGED. // Will implicitly change the gpios requested to be INPUT gpios. HardwareMessage_WATCH_GPIOS HardwareMessage_Type = 2 // The gpios listed in gpio_mask have changed, the new values are listed in gpio_value HardwareMessage_GPIOS_CHANGED HardwareMessage_Type = 3 // Read the gpios specified in gpio_mask, send back a READ_GPIOS_REPLY reply with gpio_value populated HardwareMessage_READ_GPIOS HardwareMessage_Type = 4 // A reply to READ_GPIOS. gpio_mask and gpio_value will be populated HardwareMessage_READ_GPIOS_REPLY HardwareMessage_Type = 5 )
func (HardwareMessage_Type) Descriptor ¶
func (HardwareMessage_Type) Descriptor() protoreflect.EnumDescriptor
func (HardwareMessage_Type) Enum ¶
func (x HardwareMessage_Type) Enum() *HardwareMessage_Type
func (HardwareMessage_Type) Number ¶
func (x HardwareMessage_Type) Number() protoreflect.EnumNumber
func (HardwareMessage_Type) String ¶
func (x HardwareMessage_Type) String() string
func (HardwareMessage_Type) Type ¶
func (HardwareMessage_Type) Type() protoreflect.EnumType
type HardwareMessage_builder ¶
type HardwareMessage_builder struct {
// What type of HardwareMessage is this?
Type HardwareMessage_Type
// What gpios are we changing. Not used for all MessageTypes, see MessageType for details
GpioMask uint64
// For gpios that were listed in gpio_mask as valid, what are the signal levels for those gpios.
// Not used for all MessageTypes, see MessageType for details
GpioValue uint64
// contains filtered or unexported fields
}
func (HardwareMessage_builder) Build ¶
func (b0 HardwareMessage_builder) Build() *HardwareMessage
type HardwareModel ¶
type HardwareModel int32
Note: these enum names must EXACTLY match the string used in the device bin/build-all.sh script. Because they will be used to find firmware filenames in the android app for OTA updates. To match the old style filenames, _ is converted to -, p is converted to .
const ( // TODO: REPLACE HardwareModel_UNSET HardwareModel = 0 // TODO: REPLACE HardwareModel_TLORA_V2 HardwareModel = 1 // TODO: REPLACE HardwareModel_TLORA_V1 HardwareModel = 2 // TODO: REPLACE HardwareModel_TLORA_V2_1_1P6 HardwareModel = 3 // TODO: REPLACE HardwareModel_TBEAM HardwareModel = 4 // The original heltec WiFi_Lora_32_V2, which had battery voltage sensing hooked to GPIO 13 // (see HELTEC_V2 for the new version). HardwareModel_HELTEC_V2_0 HardwareModel = 5 // TODO: REPLACE HardwareModel_TBEAM_V0P7 HardwareModel = 6 // TODO: REPLACE HardwareModel_T_ECHO HardwareModel = 7 // TODO: REPLACE HardwareModel_TLORA_V1_1P3 HardwareModel = 8 // TODO: REPLACE HardwareModel_RAK4631 HardwareModel = 9 // The new version of the heltec WiFi_Lora_32_V2 board that has battery sensing hooked to GPIO 37. // Sadly they did not update anything on the silkscreen to identify this board HardwareModel_HELTEC_V2_1 HardwareModel = 10 // Ancient heltec WiFi_Lora_32 board HardwareModel_HELTEC_V1 HardwareModel = 11 // New T-BEAM with ESP32-S3 CPU HardwareModel_LILYGO_TBEAM_S3_CORE HardwareModel = 12 // RAK WisBlock ESP32 core: https://docs.rakwireless.com/Product-Categories/WisBlock/RAK11200/Overview/ HardwareModel_RAK11200 HardwareModel = 13 // B&Q Consulting Nano Edition G1: https://uniteng.com/wiki/doku.php?id=meshtastic:nano HardwareModel_NANO_G1 HardwareModel = 14 // TODO: REPLACE HardwareModel_TLORA_V2_1_1P8 HardwareModel = 15 // TODO: REPLACE HardwareModel_TLORA_T3_S3 HardwareModel = 16 // B&Q Consulting Nano G1 Explorer: https://wiki.uniteng.com/en/meshtastic/nano-g1-explorer HardwareModel_NANO_G1_EXPLORER HardwareModel = 17 // B&Q Consulting Nano G2 Ultra: https://wiki.uniteng.com/en/meshtastic/nano-g2-ultra HardwareModel_NANO_G2_ULTRA HardwareModel = 18 // LoRAType device: https://loratype.org/ HardwareModel_LORA_TYPE HardwareModel = 19 // B&Q Consulting Station Edition G1: https://uniteng.com/wiki/doku.php?id=meshtastic:station HardwareModel_STATION_G1 HardwareModel = 25 // RAK11310 (RP2040 + SX1262) HardwareModel_RAK11310 HardwareModel = 26 // Makerfabs SenseLoRA Receiver (RP2040 + RFM96) HardwareModel_SENSELORA_RP2040 HardwareModel = 27 // Makerfabs SenseLoRA Industrial Monitor (ESP32-S3 + RFM96) HardwareModel_SENSELORA_S3 HardwareModel = 28 // Canary Radio Company - CanaryOne: https://canaryradio.io/products/canaryone HardwareModel_CANARYONE HardwareModel = 29 // Waveshare RP2040 LoRa - https://www.waveshare.com/rp2040-lora.htm HardwareModel_RP2040_LORA HardwareModel = 30 // --------------------------------------------------------------------------- // Less common/prototype boards listed here (needs one more byte over the air) // --------------------------------------------------------------------------- HardwareModel_LORA_RELAY_V1 HardwareModel = 32 // TODO: REPLACE HardwareModel_NRF52840DK HardwareModel = 33 // TODO: REPLACE HardwareModel_PPR HardwareModel = 34 // TODO: REPLACE HardwareModel_GENIEBLOCKS HardwareModel = 35 // TODO: REPLACE HardwareModel_NRF52_UNKNOWN HardwareModel = 36 // TODO: REPLACE HardwareModel_PORTDUINO HardwareModel = 37 // The simulator built into the android app HardwareModel_ANDROID_SIM HardwareModel = 38 // Custom DIY device based on @NanoVHF schematics: https://github.com/NanoVHF/Meshtastic-DIY/tree/main/Schematics HardwareModel_DIY_V1 HardwareModel = 39 // nRF52840 Dongle : https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dongle/ HardwareModel_NRF52840_PCA10059 HardwareModel = 40 // Custom Disaster Radio esp32 v3 device https://github.com/sudomesh/disaster-radio/tree/master/hardware/board_esp32_v3 HardwareModel_DR_DEV HardwareModel = 41 // M5 esp32 based MCU modules with enclosure, TFT and LORA Shields. All Variants (Basic, Core, Fire, Core2, Paper) https://m5stack.com/ HardwareModel_M5STACK HardwareModel = 42 // New Heltec LoRA32 with ESP32-S3 CPU HardwareModel_HELTEC_V3 HardwareModel = 43 // New Heltec Wireless Stick Lite with ESP32-S3 CPU HardwareModel_HELTEC_WSL_V3 HardwareModel = 44 // New BETAFPV ELRS Micro TX Module 2.4G with ESP32 CPU HardwareModel_BETAFPV_2400_TX HardwareModel = 45 // BetaFPV ExpressLRS "Nano" TX Module 900MHz with ESP32 CPU HardwareModel_BETAFPV_900_NANO_TX HardwareModel = 46 // Raspberry Pi Pico (W) with Waveshare SX1262 LoRa Node Module HardwareModel_RPI_PICO HardwareModel = 47 // Heltec Wireless Tracker with ESP32-S3 CPU, built-in GPS, and TFT // Newer V1.1, version is written on the PCB near the display. HardwareModel_HELTEC_WIRELESS_TRACKER HardwareModel = 48 // Heltec Wireless Paper with ESP32-S3 CPU and E-Ink display HardwareModel_HELTEC_WIRELESS_PAPER HardwareModel = 49 // LilyGo T-Deck with ESP32-S3 CPU, Keyboard and IPS display HardwareModel_T_DECK HardwareModel = 50 // LilyGo T-Watch S3 with ESP32-S3 CPU and IPS display HardwareModel_T_WATCH_S3 HardwareModel = 51 // Bobricius Picomputer with ESP32-S3 CPU, Keyboard and IPS display HardwareModel_PICOMPUTER_S3 HardwareModel = 52 // Heltec HT-CT62 with ESP32-C3 CPU and SX1262 LoRa HardwareModel_HELTEC_HT62 HardwareModel = 53 // EBYTE SPI LoRa module and ESP32-S3 HardwareModel_EBYTE_ESP32_S3 HardwareModel = 54 // Waveshare ESP32-S3-PICO with PICO LoRa HAT and 2.9inch e-Ink HardwareModel_ESP32_S3_PICO HardwareModel = 55 // CircuitMess Chatter 2 LLCC68 Lora Module and ESP32 Wroom // Lora module can be swapped out for a Heltec RA-62 which is "almost" pin compatible // with one cut and one jumper Meshtastic works HardwareModel_CHATTER_2 HardwareModel = 56 // Heltec Wireless Paper, With ESP32-S3 CPU and E-Ink display // Older "V1.0" Variant, has no "version sticker" // E-Ink model is DEPG0213BNS800 // Tab on the screen protector is RED // Flex connector marking is FPC-7528B HardwareModel_HELTEC_WIRELESS_PAPER_V1_0 HardwareModel = 57 // Heltec Wireless Tracker with ESP32-S3 CPU, built-in GPS, and TFT // Older "V1.0" Variant HardwareModel_HELTEC_WIRELESS_TRACKER_V1_0 HardwareModel = 58 // ------------------------------------------------------------------------------------------------------------------------------------------ // Reserved ID For developing private Ports. These will show up in live traffic sparsely, so we can use a high number. Keep it within 8 bits. // ------------------------------------------------------------------------------------------------------------------------------------------ HardwareModel_PRIVATE_HW HardwareModel = 255 )
func (HardwareModel) Descriptor ¶
func (HardwareModel) Descriptor() protoreflect.EnumDescriptor
func (HardwareModel) Enum ¶
func (x HardwareModel) Enum() *HardwareModel
func (HardwareModel) Number ¶
func (x HardwareModel) Number() protoreflect.EnumNumber
func (HardwareModel) String ¶
func (x HardwareModel) String() string
func (HardwareModel) Type ¶
func (HardwareModel) Type() protoreflect.EnumType
type LocalConfig ¶
type LocalConfig struct {
// The part of the config that is specific to the Device
Device *Config_DeviceConfig `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
// The part of the config that is specific to the GPS Position
Position *Config_PositionConfig `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
// The part of the config that is specific to the Power settings
Power *Config_PowerConfig `protobuf:"bytes,3,opt,name=power,proto3" json:"power,omitempty"`
// The part of the config that is specific to the Wifi Settings
Network *Config_NetworkConfig `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
// The part of the config that is specific to the Display
Display *Config_DisplayConfig `protobuf:"bytes,5,opt,name=display,proto3" json:"display,omitempty"`
// The part of the config that is specific to the Lora Radio
Lora *Config_LoRaConfig `protobuf:"bytes,6,opt,name=lora,proto3" json:"lora,omitempty"`
// The part of the config that is specific to the Bluetooth settings
Bluetooth *Config_BluetoothConfig `protobuf:"bytes,7,opt,name=bluetooth,proto3" json:"bluetooth,omitempty"`
// A version integer used to invalidate old save files when we make
// incompatible changes This integer is set at build time and is private to
// NodeDB.cpp in the device code.
Version uint32 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*LocalConfig) ClearBluetooth ¶
func (x *LocalConfig) ClearBluetooth()
func (*LocalConfig) ClearDevice ¶
func (x *LocalConfig) ClearDevice()
func (*LocalConfig) ClearDisplay ¶
func (x *LocalConfig) ClearDisplay()
func (*LocalConfig) ClearLora ¶
func (x *LocalConfig) ClearLora()
func (*LocalConfig) ClearNetwork ¶
func (x *LocalConfig) ClearNetwork()
func (*LocalConfig) ClearPosition ¶
func (x *LocalConfig) ClearPosition()
func (*LocalConfig) ClearPower ¶
func (x *LocalConfig) ClearPower()
func (*LocalConfig) GetBluetooth ¶
func (x *LocalConfig) GetBluetooth() *Config_BluetoothConfig
func (*LocalConfig) GetDevice ¶
func (x *LocalConfig) GetDevice() *Config_DeviceConfig
func (*LocalConfig) GetDisplay ¶
func (x *LocalConfig) GetDisplay() *Config_DisplayConfig
func (*LocalConfig) GetLora ¶
func (x *LocalConfig) GetLora() *Config_LoRaConfig
func (*LocalConfig) GetNetwork ¶
func (x *LocalConfig) GetNetwork() *Config_NetworkConfig
func (*LocalConfig) GetPosition ¶
func (x *LocalConfig) GetPosition() *Config_PositionConfig
func (*LocalConfig) GetPower ¶
func (x *LocalConfig) GetPower() *Config_PowerConfig
func (*LocalConfig) GetVersion ¶
func (x *LocalConfig) GetVersion() uint32
func (*LocalConfig) HasBluetooth ¶
func (x *LocalConfig) HasBluetooth() bool
func (*LocalConfig) HasDevice ¶
func (x *LocalConfig) HasDevice() bool
func (*LocalConfig) HasDisplay ¶
func (x *LocalConfig) HasDisplay() bool
func (*LocalConfig) HasLora ¶
func (x *LocalConfig) HasLora() bool
func (*LocalConfig) HasNetwork ¶
func (x *LocalConfig) HasNetwork() bool
func (*LocalConfig) HasPosition ¶
func (x *LocalConfig) HasPosition() bool
func (*LocalConfig) HasPower ¶
func (x *LocalConfig) HasPower() bool
func (*LocalConfig) ProtoMessage ¶
func (*LocalConfig) ProtoMessage()
func (*LocalConfig) ProtoReflect ¶
func (x *LocalConfig) ProtoReflect() protoreflect.Message
func (*LocalConfig) Reset ¶
func (x *LocalConfig) Reset()
func (*LocalConfig) SetBluetooth ¶
func (x *LocalConfig) SetBluetooth(v *Config_BluetoothConfig)
func (*LocalConfig) SetDevice ¶
func (x *LocalConfig) SetDevice(v *Config_DeviceConfig)
func (*LocalConfig) SetDisplay ¶
func (x *LocalConfig) SetDisplay(v *Config_DisplayConfig)
func (*LocalConfig) SetLora ¶
func (x *LocalConfig) SetLora(v *Config_LoRaConfig)
func (*LocalConfig) SetNetwork ¶
func (x *LocalConfig) SetNetwork(v *Config_NetworkConfig)
func (*LocalConfig) SetPosition ¶
func (x *LocalConfig) SetPosition(v *Config_PositionConfig)
func (*LocalConfig) SetPower ¶
func (x *LocalConfig) SetPower(v *Config_PowerConfig)
func (*LocalConfig) SetVersion ¶
func (x *LocalConfig) SetVersion(v uint32)
func (*LocalConfig) String ¶
func (x *LocalConfig) String() string
type LocalConfig_builder ¶
type LocalConfig_builder struct {
// The part of the config that is specific to the Device
Device *Config_DeviceConfig
// The part of the config that is specific to the GPS Position
Position *Config_PositionConfig
// The part of the config that is specific to the Power settings
Power *Config_PowerConfig
// The part of the config that is specific to the Wifi Settings
Network *Config_NetworkConfig
// The part of the config that is specific to the Display
Display *Config_DisplayConfig
// The part of the config that is specific to the Lora Radio
Lora *Config_LoRaConfig
// The part of the config that is specific to the Bluetooth settings
Bluetooth *Config_BluetoothConfig
// A version integer used to invalidate old save files when we make
// incompatible changes This integer is set at build time and is private to
// NodeDB.cpp in the device code.
Version uint32
// contains filtered or unexported fields
}
func (LocalConfig_builder) Build ¶
func (b0 LocalConfig_builder) Build() *LocalConfig
type LocalModuleConfig ¶
type LocalModuleConfig struct {
// The part of the config that is specific to the MQTT module
Mqtt *ModuleConfig_MQTTConfig `protobuf:"bytes,1,opt,name=mqtt,proto3" json:"mqtt,omitempty"`
// The part of the config that is specific to the Serial module
Serial *ModuleConfig_SerialConfig `protobuf:"bytes,2,opt,name=serial,proto3" json:"serial,omitempty"`
// The part of the config that is specific to the ExternalNotification module
ExternalNotification *ModuleConfig_ExternalNotificationConfig `protobuf:"bytes,3,opt,name=external_notification,json=externalNotification,proto3" json:"external_notification,omitempty"`
// The part of the config that is specific to the Store & Forward module
StoreForward *ModuleConfig_StoreForwardConfig `protobuf:"bytes,4,opt,name=store_forward,json=storeForward,proto3" json:"store_forward,omitempty"`
// The part of the config that is specific to the RangeTest module
RangeTest *ModuleConfig_RangeTestConfig `protobuf:"bytes,5,opt,name=range_test,json=rangeTest,proto3" json:"range_test,omitempty"`
// The part of the config that is specific to the Telemetry module
Telemetry *ModuleConfig_TelemetryConfig `protobuf:"bytes,6,opt,name=telemetry,proto3" json:"telemetry,omitempty"`
// The part of the config that is specific to the Canned Message module
CannedMessage *ModuleConfig_CannedMessageConfig `protobuf:"bytes,7,opt,name=canned_message,json=cannedMessage,proto3" json:"canned_message,omitempty"`
// The part of the config that is specific to the Audio module
Audio *ModuleConfig_AudioConfig `protobuf:"bytes,9,opt,name=audio,proto3" json:"audio,omitempty"`
// The part of the config that is specific to the Remote Hardware module
RemoteHardware *ModuleConfig_RemoteHardwareConfig `protobuf:"bytes,10,opt,name=remote_hardware,json=remoteHardware,proto3" json:"remote_hardware,omitempty"`
// The part of the config that is specific to the Neighbor Info module
NeighborInfo *ModuleConfig_NeighborInfoConfig `protobuf:"bytes,11,opt,name=neighbor_info,json=neighborInfo,proto3" json:"neighbor_info,omitempty"`
// The part of the config that is specific to the Ambient Lighting module
AmbientLighting *ModuleConfig_AmbientLightingConfig `protobuf:"bytes,12,opt,name=ambient_lighting,json=ambientLighting,proto3" json:"ambient_lighting,omitempty"`
// The part of the config that is specific to the Detection Sensor module
DetectionSensor *ModuleConfig_DetectionSensorConfig `protobuf:"bytes,13,opt,name=detection_sensor,json=detectionSensor,proto3" json:"detection_sensor,omitempty"`
// Paxcounter Config
Paxcounter *ModuleConfig_PaxcounterConfig `protobuf:"bytes,14,opt,name=paxcounter,proto3" json:"paxcounter,omitempty"`
// A version integer used to invalidate old save files when we make
// incompatible changes This integer is set at build time and is private to
// NodeDB.cpp in the device code.
Version uint32 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*LocalModuleConfig) ClearAmbientLighting ¶
func (x *LocalModuleConfig) ClearAmbientLighting()
func (*LocalModuleConfig) ClearAudio ¶
func (x *LocalModuleConfig) ClearAudio()
func (*LocalModuleConfig) ClearCannedMessage ¶
func (x *LocalModuleConfig) ClearCannedMessage()
func (*LocalModuleConfig) ClearDetectionSensor ¶
func (x *LocalModuleConfig) ClearDetectionSensor()
func (*LocalModuleConfig) ClearExternalNotification ¶
func (x *LocalModuleConfig) ClearExternalNotification()
func (*LocalModuleConfig) ClearMqtt ¶
func (x *LocalModuleConfig) ClearMqtt()
func (*LocalModuleConfig) ClearNeighborInfo ¶
func (x *LocalModuleConfig) ClearNeighborInfo()
func (*LocalModuleConfig) ClearPaxcounter ¶
func (x *LocalModuleConfig) ClearPaxcounter()
func (*LocalModuleConfig) ClearRangeTest ¶
func (x *LocalModuleConfig) ClearRangeTest()
func (*LocalModuleConfig) ClearRemoteHardware ¶
func (x *LocalModuleConfig) ClearRemoteHardware()
func (*LocalModuleConfig) ClearSerial ¶
func (x *LocalModuleConfig) ClearSerial()
func (*LocalModuleConfig) ClearStoreForward ¶
func (x *LocalModuleConfig) ClearStoreForward()
func (*LocalModuleConfig) ClearTelemetry ¶
func (x *LocalModuleConfig) ClearTelemetry()
func (*LocalModuleConfig) GetAmbientLighting ¶
func (x *LocalModuleConfig) GetAmbientLighting() *ModuleConfig_AmbientLightingConfig
func (*LocalModuleConfig) GetAudio ¶
func (x *LocalModuleConfig) GetAudio() *ModuleConfig_AudioConfig
func (*LocalModuleConfig) GetCannedMessage ¶
func (x *LocalModuleConfig) GetCannedMessage() *ModuleConfig_CannedMessageConfig
func (*LocalModuleConfig) GetDetectionSensor ¶
func (x *LocalModuleConfig) GetDetectionSensor() *ModuleConfig_DetectionSensorConfig
func (*LocalModuleConfig) GetExternalNotification ¶
func (x *LocalModuleConfig) GetExternalNotification() *ModuleConfig_ExternalNotificationConfig
func (*LocalModuleConfig) GetMqtt ¶
func (x *LocalModuleConfig) GetMqtt() *ModuleConfig_MQTTConfig
func (*LocalModuleConfig) GetNeighborInfo ¶
func (x *LocalModuleConfig) GetNeighborInfo() *ModuleConfig_NeighborInfoConfig
func (*LocalModuleConfig) GetPaxcounter ¶
func (x *LocalModuleConfig) GetPaxcounter() *ModuleConfig_PaxcounterConfig
func (*LocalModuleConfig) GetRangeTest ¶
func (x *LocalModuleConfig) GetRangeTest() *ModuleConfig_RangeTestConfig
func (*LocalModuleConfig) GetRemoteHardware ¶
func (x *LocalModuleConfig) GetRemoteHardware() *ModuleConfig_RemoteHardwareConfig
func (*LocalModuleConfig) GetSerial ¶
func (x *LocalModuleConfig) GetSerial() *ModuleConfig_SerialConfig
func (*LocalModuleConfig) GetStoreForward ¶
func (x *LocalModuleConfig) GetStoreForward() *ModuleConfig_StoreForwardConfig
func (*LocalModuleConfig) GetTelemetry ¶
func (x *LocalModuleConfig) GetTelemetry() *ModuleConfig_TelemetryConfig
func (*LocalModuleConfig) GetVersion ¶
func (x *LocalModuleConfig) GetVersion() uint32
func (*LocalModuleConfig) HasAmbientLighting ¶
func (x *LocalModuleConfig) HasAmbientLighting() bool
func (*LocalModuleConfig) HasAudio ¶
func (x *LocalModuleConfig) HasAudio() bool
func (*LocalModuleConfig) HasCannedMessage ¶
func (x *LocalModuleConfig) HasCannedMessage() bool
func (*LocalModuleConfig) HasDetectionSensor ¶
func (x *LocalModuleConfig) HasDetectionSensor() bool
func (*LocalModuleConfig) HasExternalNotification ¶
func (x *LocalModuleConfig) HasExternalNotification() bool
func (*LocalModuleConfig) HasMqtt ¶
func (x *LocalModuleConfig) HasMqtt() bool
func (*LocalModuleConfig) HasNeighborInfo ¶
func (x *LocalModuleConfig) HasNeighborInfo() bool
func (*LocalModuleConfig) HasPaxcounter ¶
func (x *LocalModuleConfig) HasPaxcounter() bool
func (*LocalModuleConfig) HasRangeTest ¶
func (x *LocalModuleConfig) HasRangeTest() bool
func (*LocalModuleConfig) HasRemoteHardware ¶
func (x *LocalModuleConfig) HasRemoteHardware() bool
func (*LocalModuleConfig) HasSerial ¶
func (x *LocalModuleConfig) HasSerial() bool
func (*LocalModuleConfig) HasStoreForward ¶
func (x *LocalModuleConfig) HasStoreForward() bool
func (*LocalModuleConfig) HasTelemetry ¶
func (x *LocalModuleConfig) HasTelemetry() bool
func (*LocalModuleConfig) ProtoMessage ¶
func (*LocalModuleConfig) ProtoMessage()
func (*LocalModuleConfig) ProtoReflect ¶
func (x *LocalModuleConfig) ProtoReflect() protoreflect.Message
func (*LocalModuleConfig) Reset ¶
func (x *LocalModuleConfig) Reset()
func (*LocalModuleConfig) SetAmbientLighting ¶
func (x *LocalModuleConfig) SetAmbientLighting(v *ModuleConfig_AmbientLightingConfig)
func (*LocalModuleConfig) SetAudio ¶
func (x *LocalModuleConfig) SetAudio(v *ModuleConfig_AudioConfig)
func (*LocalModuleConfig) SetCannedMessage ¶
func (x *LocalModuleConfig) SetCannedMessage(v *ModuleConfig_CannedMessageConfig)
func (*LocalModuleConfig) SetDetectionSensor ¶
func (x *LocalModuleConfig) SetDetectionSensor(v *ModuleConfig_DetectionSensorConfig)
func (*LocalModuleConfig) SetExternalNotification ¶
func (x *LocalModuleConfig) SetExternalNotification(v *ModuleConfig_ExternalNotificationConfig)
func (*LocalModuleConfig) SetMqtt ¶
func (x *LocalModuleConfig) SetMqtt(v *ModuleConfig_MQTTConfig)
func (*LocalModuleConfig) SetNeighborInfo ¶
func (x *LocalModuleConfig) SetNeighborInfo(v *ModuleConfig_NeighborInfoConfig)
func (*LocalModuleConfig) SetPaxcounter ¶
func (x *LocalModuleConfig) SetPaxcounter(v *ModuleConfig_PaxcounterConfig)
func (*LocalModuleConfig) SetRangeTest ¶
func (x *LocalModuleConfig) SetRangeTest(v *ModuleConfig_RangeTestConfig)
func (*LocalModuleConfig) SetRemoteHardware ¶
func (x *LocalModuleConfig) SetRemoteHardware(v *ModuleConfig_RemoteHardwareConfig)
func (*LocalModuleConfig) SetSerial ¶
func (x *LocalModuleConfig) SetSerial(v *ModuleConfig_SerialConfig)
func (*LocalModuleConfig) SetStoreForward ¶
func (x *LocalModuleConfig) SetStoreForward(v *ModuleConfig_StoreForwardConfig)
func (*LocalModuleConfig) SetTelemetry ¶
func (x *LocalModuleConfig) SetTelemetry(v *ModuleConfig_TelemetryConfig)
func (*LocalModuleConfig) SetVersion ¶
func (x *LocalModuleConfig) SetVersion(v uint32)
func (*LocalModuleConfig) String ¶
func (x *LocalModuleConfig) String() string
type LocalModuleConfig_builder ¶
type LocalModuleConfig_builder struct {
// The part of the config that is specific to the MQTT module
Mqtt *ModuleConfig_MQTTConfig
// The part of the config that is specific to the Serial module
Serial *ModuleConfig_SerialConfig
// The part of the config that is specific to the ExternalNotification module
ExternalNotification *ModuleConfig_ExternalNotificationConfig
// The part of the config that is specific to the Store & Forward module
StoreForward *ModuleConfig_StoreForwardConfig
// The part of the config that is specific to the RangeTest module
RangeTest *ModuleConfig_RangeTestConfig
// The part of the config that is specific to the Telemetry module
Telemetry *ModuleConfig_TelemetryConfig
// The part of the config that is specific to the Canned Message module
CannedMessage *ModuleConfig_CannedMessageConfig
// The part of the config that is specific to the Audio module
Audio *ModuleConfig_AudioConfig
// The part of the config that is specific to the Remote Hardware module
RemoteHardware *ModuleConfig_RemoteHardwareConfig
// The part of the config that is specific to the Neighbor Info module
NeighborInfo *ModuleConfig_NeighborInfoConfig
// The part of the config that is specific to the Ambient Lighting module
AmbientLighting *ModuleConfig_AmbientLightingConfig
// The part of the config that is specific to the Detection Sensor module
DetectionSensor *ModuleConfig_DetectionSensorConfig
// Paxcounter Config
Paxcounter *ModuleConfig_PaxcounterConfig
// A version integer used to invalidate old save files when we make
// incompatible changes This integer is set at build time and is private to
// NodeDB.cpp in the device code.
Version uint32
// contains filtered or unexported fields
}
func (LocalModuleConfig_builder) Build ¶
func (b0 LocalModuleConfig_builder) Build() *LocalModuleConfig
type LogRecord ¶
type LogRecord struct {
// Log levels, chosen to match python logging conventions.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Seconds since 1970 - or 0 for unknown/unset
Time uint32 `protobuf:"fixed32,2,opt,name=time,proto3" json:"time,omitempty"`
// Usually based on thread name - if known
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
// Not yet set
Level LogRecord_Level `protobuf:"varint,4,opt,name=level,proto3,enum=meshtastic.LogRecord_Level" json:"level,omitempty"`
// contains filtered or unexported fields
}
Debug output from the device. To minimize the size of records inside the device code, if a time/source/level is not set on the message it is assumed to be a continuation of the previously sent message. This allows the device code to use fixed maxlen 64 byte strings for messages, and then extend as needed by emitting multiple records.
func (*LogRecord) GetLevel ¶
func (x *LogRecord) GetLevel() LogRecord_Level
func (*LogRecord) ProtoReflect ¶
func (x *LogRecord) ProtoReflect() protoreflect.Message
func (*LogRecord) SetLevel ¶
func (x *LogRecord) SetLevel(v LogRecord_Level)
type LogRecord_Level ¶
type LogRecord_Level int32
Log levels, chosen to match python logging conventions.
const ( // Log levels, chosen to match python logging conventions. LogRecord_UNSET LogRecord_Level = 0 // Log levels, chosen to match python logging conventions. LogRecord_CRITICAL LogRecord_Level = 50 // Log levels, chosen to match python logging conventions. LogRecord_ERROR LogRecord_Level = 40 // Log levels, chosen to match python logging conventions. LogRecord_WARNING LogRecord_Level = 30 // Log levels, chosen to match python logging conventions. LogRecord_INFO LogRecord_Level = 20 // Log levels, chosen to match python logging conventions. LogRecord_DEBUG LogRecord_Level = 10 // Log levels, chosen to match python logging conventions. LogRecord_TRACE LogRecord_Level = 5 )
func (LogRecord_Level) Descriptor ¶
func (LogRecord_Level) Descriptor() protoreflect.EnumDescriptor
func (LogRecord_Level) Enum ¶
func (x LogRecord_Level) Enum() *LogRecord_Level
func (LogRecord_Level) Number ¶
func (x LogRecord_Level) Number() protoreflect.EnumNumber
func (LogRecord_Level) String ¶
func (x LogRecord_Level) String() string
func (LogRecord_Level) Type ¶
func (LogRecord_Level) Type() protoreflect.EnumType
type LogRecord_builder ¶
type LogRecord_builder struct {
// Log levels, chosen to match python logging conventions.
Message string
// Seconds since 1970 - or 0 for unknown/unset
Time uint32
// Usually based on thread name - if known
Source string
// Not yet set
Level LogRecord_Level
// contains filtered or unexported fields
}
func (LogRecord_builder) Build ¶
func (b0 LogRecord_builder) Build() *LogRecord
type MemberRole ¶
type MemberRole int32
Role of the group member
const ( // Unspecifed MemberRole_Unspecifed MemberRole = 0 // Team Member MemberRole_TeamMember MemberRole = 1 // Team Lead MemberRole_TeamLead MemberRole = 2 // Headquarters MemberRole_HQ MemberRole = 3 // Airsoft enthusiast MemberRole_Sniper MemberRole = 4 // Medic MemberRole_Medic MemberRole = 5 // ForwardObserver MemberRole_ForwardObserver MemberRole = 6 // Radio Telephone Operator MemberRole_RTO MemberRole = 7 // Doggo MemberRole_K9 MemberRole = 8 )
func (MemberRole) Descriptor ¶
func (MemberRole) Descriptor() protoreflect.EnumDescriptor
func (MemberRole) Enum ¶
func (x MemberRole) Enum() *MemberRole
func (MemberRole) Number ¶
func (x MemberRole) Number() protoreflect.EnumNumber
func (MemberRole) String ¶
func (x MemberRole) String() string
func (MemberRole) Type ¶
func (MemberRole) Type() protoreflect.EnumType
type MeshPacket ¶
type MeshPacket struct {
// The sending node number.
// Note: Our crypto implementation uses this field as well.
// See [crypto](/docs/overview/encryption) for details.
// FIXME - really should be fixed32 instead, this encoding only hurts the ble link though.
From uint32 `protobuf:"fixed32,1,opt,name=from,proto3" json:"from,omitempty"`
// The (immediatSee Priority description for more details.y should be fixed32 instead, this encoding only
// hurts the ble link though.
To uint32 `protobuf:"fixed32,2,opt,name=to,proto3" json:"to,omitempty"`
// (Usually) If set, this indicates the index in the secondary_channels table that this packet was sent/received on.
// If unset, packet was on the primary channel.
// A particular node might know only a subset of channels in use on the mesh.
// Therefore channel_index is inherently a local concept and meaningless to send between nodes.
// Very briefly, while sending and receiving deep inside the device Router code, this field instead
// contains the 'channel hash' instead of the index.
// This 'trick' is only used while the payload_variant is an 'encrypted'.
Channel uint32 `protobuf:"varint,3,opt,name=channel,proto3" json:"channel,omitempty"`
// Types that are valid to be assigned to PayloadVariant:
//
// *MeshPacket_Decoded
// *MeshPacket_Encrypted
PayloadVariant isMeshPacket_PayloadVariant `protobuf_oneof:"payload_variant"`
// A unique ID for this packet.
// Always 0 for no-ack packets or non broadcast packets (and therefore take zero bytes of space).
// Otherwise a unique ID for this packet, useful for flooding algorithms.
// ID only needs to be unique on a _per sender_ basis, and it only
// needs to be unique for a few minutes (long enough to last for the length of
// any ACK or the completion of a mesh broadcast flood).
// Note: Our crypto implementation uses this id as well.
// See [crypto](/docs/overview/encryption) for details.
// FIXME - really should be fixed32 instead, this encoding only
// hurts the ble link though.
Id uint32 `protobuf:"fixed32,6,opt,name=id,proto3" json:"id,omitempty"`
// The time this message was received by the esp32 (secs since 1970).
// Note: this field is _never_ sent on the radio link itself (to save space) Times
// are typically not sent over the mesh, but they will be added to any Packet
// (chain of SubPacket) sent to the phone (so the phone can know exact time of reception)
RxTime uint32 `protobuf:"fixed32,7,opt,name=rx_time,json=rxTime,proto3" json:"rx_time,omitempty"`
// *Never* sent over the radio links.
// Set during reception to indicate the SNR of this packet.
// Used to collect statistics on current link quality.
RxSnr float32 `protobuf:"fixed32,8,opt,name=rx_snr,json=rxSnr,proto3" json:"rx_snr,omitempty"`
// If unset treated as zero (no forwarding, send to adjacent nodes only)
// if 1, allow hopping through one node, etc...
// For our usecase real world topologies probably have a max of about 3.
// This field is normally placed into a few of bits in the header.
HopLimit uint32 `protobuf:"varint,9,opt,name=hop_limit,json=hopLimit,proto3" json:"hop_limit,omitempty"`
// This packet is being sent as a reliable message, we would prefer it to arrive at the destination.
// We would like to receive a ack packet in response.
// Broadcasts messages treat this flag specially: Since acks for broadcasts would
// rapidly flood the channel, the normal ack behavior is suppressed.
// Instead, the original sender listens to see if at least one node is rebroadcasting this packet (because naive flooding algorithm).
// If it hears that the odds (given typical LoRa topologies) the odds are very high that every node should eventually receive the message.
// So FloodingRouter.cpp generates an implicit ack which is delivered to the original sender.
// If after some time we don't hear anyone rebroadcast our packet, we will timeout and retransmit, using the regular resend logic.
// Note: This flag is normally sent in a flag bit in the header when sent over the wire
WantAck bool `protobuf:"varint,10,opt,name=want_ack,json=wantAck,proto3" json:"want_ack,omitempty"`
// The priority of this message for sending.
// See MeshPacket.Priority description for more details.
Priority MeshPacket_Priority `protobuf:"varint,11,opt,name=priority,proto3,enum=meshtastic.MeshPacket_Priority" json:"priority,omitempty"`
// rssi of received packet. Only sent to phone for dispay purposes.
RxRssi int32 `protobuf:"varint,12,opt,name=rx_rssi,json=rxRssi,proto3" json:"rx_rssi,omitempty"`
// Describe if this message is delayed
//
// Deprecated: Marked as deprecated in meshtastic/mesh.proto.
Delayed MeshPacket_Delayed `protobuf:"varint,13,opt,name=delayed,proto3,enum=meshtastic.MeshPacket_Delayed" json:"delayed,omitempty"`
// Describes whether this packet passed via MQTT somewhere along the path it currently took.
ViaMqtt bool `protobuf:"varint,14,opt,name=via_mqtt,json=viaMqtt,proto3" json:"via_mqtt,omitempty"`
// contains filtered or unexported fields
}
A packet envelope sent/received over the mesh only payload_variant is sent in the payload portion of the LORA packet. The other fields are either not sent at all, or sent in the special 16 byte LORA header.
func (*MeshPacket) ClearDecoded ¶
func (x *MeshPacket) ClearDecoded()
func (*MeshPacket) ClearEncrypted ¶
func (x *MeshPacket) ClearEncrypted()
func (*MeshPacket) ClearPayloadVariant ¶
func (x *MeshPacket) ClearPayloadVariant()
func (*MeshPacket) GetChannel ¶
func (x *MeshPacket) GetChannel() uint32
func (*MeshPacket) GetDecoded ¶
func (x *MeshPacket) GetDecoded() *Data
func (*MeshPacket) GetDelayed
deprecated
func (x *MeshPacket) GetDelayed() MeshPacket_Delayed
Deprecated: Marked as deprecated in meshtastic/mesh.proto.
func (*MeshPacket) GetEncrypted ¶
func (x *MeshPacket) GetEncrypted() []byte
func (*MeshPacket) GetFrom ¶
func (x *MeshPacket) GetFrom() uint32
func (*MeshPacket) GetHopLimit ¶
func (x *MeshPacket) GetHopLimit() uint32
func (*MeshPacket) GetId ¶
func (x *MeshPacket) GetId() uint32
func (*MeshPacket) GetPayloadVariant ¶
func (x *MeshPacket) GetPayloadVariant() isMeshPacket_PayloadVariant
func (*MeshPacket) GetPriority ¶
func (x *MeshPacket) GetPriority() MeshPacket_Priority
func (*MeshPacket) GetRxRssi ¶
func (x *MeshPacket) GetRxRssi() int32
func (*MeshPacket) GetRxSnr ¶
func (x *MeshPacket) GetRxSnr() float32
func (*MeshPacket) GetRxTime ¶
func (x *MeshPacket) GetRxTime() uint32
func (*MeshPacket) GetTo ¶
func (x *MeshPacket) GetTo() uint32
func (*MeshPacket) GetViaMqtt ¶
func (x *MeshPacket) GetViaMqtt() bool
func (*MeshPacket) GetWantAck ¶
func (x *MeshPacket) GetWantAck() bool
func (*MeshPacket) HasDecoded ¶
func (x *MeshPacket) HasDecoded() bool
func (*MeshPacket) HasEncrypted ¶
func (x *MeshPacket) HasEncrypted() bool
func (*MeshPacket) HasPayloadVariant ¶
func (x *MeshPacket) HasPayloadVariant() bool
func (*MeshPacket) ProtoMessage ¶
func (*MeshPacket) ProtoMessage()
func (*MeshPacket) ProtoReflect ¶
func (x *MeshPacket) ProtoReflect() protoreflect.Message
func (*MeshPacket) Reset ¶
func (x *MeshPacket) Reset()
func (*MeshPacket) SetChannel ¶
func (x *MeshPacket) SetChannel(v uint32)
func (*MeshPacket) SetDecoded ¶
func (x *MeshPacket) SetDecoded(v *Data)
func (*MeshPacket) SetDelayed
deprecated
func (x *MeshPacket) SetDelayed(v MeshPacket_Delayed)
Deprecated: Marked as deprecated in meshtastic/mesh.proto.
func (*MeshPacket) SetEncrypted ¶
func (x *MeshPacket) SetEncrypted(v []byte)
func (*MeshPacket) SetFrom ¶
func (x *MeshPacket) SetFrom(v uint32)
func (*MeshPacket) SetHopLimit ¶
func (x *MeshPacket) SetHopLimit(v uint32)
func (*MeshPacket) SetId ¶
func (x *MeshPacket) SetId(v uint32)
func (*MeshPacket) SetPriority ¶
func (x *MeshPacket) SetPriority(v MeshPacket_Priority)
func (*MeshPacket) SetRxRssi ¶
func (x *MeshPacket) SetRxRssi(v int32)
func (*MeshPacket) SetRxSnr ¶
func (x *MeshPacket) SetRxSnr(v float32)
func (*MeshPacket) SetRxTime ¶
func (x *MeshPacket) SetRxTime(v uint32)
func (*MeshPacket) SetTo ¶
func (x *MeshPacket) SetTo(v uint32)
func (*MeshPacket) SetViaMqtt ¶
func (x *MeshPacket) SetViaMqtt(v bool)
func (*MeshPacket) SetWantAck ¶
func (x *MeshPacket) SetWantAck(v bool)
func (*MeshPacket) String ¶
func (x *MeshPacket) String() string
func (*MeshPacket) WhichPayloadVariant ¶
func (x *MeshPacket) WhichPayloadVariant() case_MeshPacket_PayloadVariant
type MeshPacket_Decoded ¶
type MeshPacket_Decoded struct {
// TODO: REPLACE
Decoded *Data `protobuf:"bytes,4,opt,name=decoded,proto3,oneof"`
}
type MeshPacket_Delayed ¶
type MeshPacket_Delayed int32
Identify if this is a delayed packet
const ( // If unset, the message is being sent in real time. MeshPacket_NO_DELAY MeshPacket_Delayed = 0 // The message is delayed and was originally a broadcast MeshPacket_DELAYED_BROADCAST MeshPacket_Delayed = 1 // The message is delayed and was originally a direct message MeshPacket_DELAYED_DIRECT MeshPacket_Delayed = 2 )
func (MeshPacket_Delayed) Descriptor ¶
func (MeshPacket_Delayed) Descriptor() protoreflect.EnumDescriptor
func (MeshPacket_Delayed) Enum ¶
func (x MeshPacket_Delayed) Enum() *MeshPacket_Delayed
func (MeshPacket_Delayed) Number ¶
func (x MeshPacket_Delayed) Number() protoreflect.EnumNumber
func (MeshPacket_Delayed) String ¶
func (x MeshPacket_Delayed) String() string
func (MeshPacket_Delayed) Type ¶
func (MeshPacket_Delayed) Type() protoreflect.EnumType
type MeshPacket_Encrypted ¶
type MeshPacket_Encrypted struct {
// TODO: REPLACE
Encrypted []byte `protobuf:"bytes,5,opt,name=encrypted,proto3,oneof"`
}
type MeshPacket_Priority ¶
type MeshPacket_Priority int32
The priority of this message for sending. Higher priorities are sent first (when managing the transmit queue). This field is never sent over the air, it is only used internally inside of a local device node. API clients (either on the local node or connected directly to the node) can set this parameter if necessary. (values must be <= 127 to keep protobuf field to one byte in size. Detailed background on this field: I noticed a funny side effect of lora being so slow: Usually when making a protocol there isn’t much need to use message priority to change the order of transmission (because interfaces are fairly fast). But for lora where packets can take a few seconds each, it is very important to make sure that critical packets are sent ASAP. In the case of meshtastic that means we want to send protocol acks as soon as possible (to prevent unneeded retransmissions), we want routing messages to be sent next, then messages marked as reliable and finally 'background' packets like periodic position updates. So I bit the bullet and implemented a new (internal - not sent over the air) field in MeshPacket called 'priority'. And the transmission queue in the router object is now a priority queue.
const ( // Treated as Priority.DEFAULT MeshPacket_UNSET MeshPacket_Priority = 0 // TODO: REPLACE MeshPacket_MIN MeshPacket_Priority = 1 // Background position updates are sent with very low priority - // if the link is super congested they might not go out at all MeshPacket_BACKGROUND MeshPacket_Priority = 10 // This priority is used for most messages that don't have a priority set MeshPacket_DEFAULT MeshPacket_Priority = 64 // If priority is unset but the message is marked as want_ack, // assume it is important and use a slightly higher priority MeshPacket_RELIABLE MeshPacket_Priority = 70 // Ack/naks are sent with very high priority to ensure that retransmission // stops as soon as possible MeshPacket_ACK MeshPacket_Priority = 120 // TODO: REPLACE MeshPacket_MAX MeshPacket_Priority = 127 )
func (MeshPacket_Priority) Descriptor ¶
func (MeshPacket_Priority) Descriptor() protoreflect.EnumDescriptor
func (MeshPacket_Priority) Enum ¶
func (x MeshPacket_Priority) Enum() *MeshPacket_Priority
func (MeshPacket_Priority) Number ¶
func (x MeshPacket_Priority) Number() protoreflect.EnumNumber
func (MeshPacket_Priority) String ¶
func (x MeshPacket_Priority) String() string
func (MeshPacket_Priority) Type ¶
func (MeshPacket_Priority) Type() protoreflect.EnumType
type MeshPacket_builder ¶
type MeshPacket_builder struct {
// The sending node number.
// Note: Our crypto implementation uses this field as well.
// See [crypto](/docs/overview/encryption) for details.
// FIXME - really should be fixed32 instead, this encoding only hurts the ble link though.
From uint32
// The (immediatSee Priority description for more details.y should be fixed32 instead, this encoding only
// hurts the ble link though.
To uint32
// (Usually) If set, this indicates the index in the secondary_channels table that this packet was sent/received on.
// If unset, packet was on the primary channel.
// A particular node might know only a subset of channels in use on the mesh.
// Therefore channel_index is inherently a local concept and meaningless to send between nodes.
// Very briefly, while sending and receiving deep inside the device Router code, this field instead
// contains the 'channel hash' instead of the index.
// This 'trick' is only used while the payload_variant is an 'encrypted'.
Channel uint32
// Fields of oneof PayloadVariant:
//
// TODO: REPLACE
Decoded *Data
// TODO: REPLACE
Encrypted []byte
// -- end of PayloadVariant
//
// A unique ID for this packet.
// Always 0 for no-ack packets or non broadcast packets (and therefore take zero bytes of space).
// Otherwise a unique ID for this packet, useful for flooding algorithms.
// ID only needs to be unique on a _per sender_ basis, and it only
// needs to be unique for a few minutes (long enough to last for the length of
// any ACK or the completion of a mesh broadcast flood).
// Note: Our crypto implementation uses this id as well.
// See [crypto](/docs/overview/encryption) for details.
// FIXME - really should be fixed32 instead, this encoding only
// hurts the ble link though.
Id uint32
// The time this message was received by the esp32 (secs since 1970).
// Note: this field is _never_ sent on the radio link itself (to save space) Times
// are typically not sent over the mesh, but they will be added to any Packet
// (chain of SubPacket) sent to the phone (so the phone can know exact time of reception)
RxTime uint32
// *Never* sent over the radio links.
// Set during reception to indicate the SNR of this packet.
// Used to collect statistics on current link quality.
RxSnr float32
// If unset treated as zero (no forwarding, send to adjacent nodes only)
// if 1, allow hopping through one node, etc...
// For our usecase real world topologies probably have a max of about 3.
// This field is normally placed into a few of bits in the header.
HopLimit uint32
// This packet is being sent as a reliable message, we would prefer it to arrive at the destination.
// We would like to receive a ack packet in response.
// Broadcasts messages treat this flag specially: Since acks for broadcasts would
// rapidly flood the channel, the normal ack behavior is suppressed.
// Instead, the original sender listens to see if at least one node is rebroadcasting this packet (because naive flooding algorithm).
// If it hears that the odds (given typical LoRa topologies) the odds are very high that every node should eventually receive the message.
// So FloodingRouter.cpp generates an implicit ack which is delivered to the original sender.
// If after some time we don't hear anyone rebroadcast our packet, we will timeout and retransmit, using the regular resend logic.
// Note: This flag is normally sent in a flag bit in the header when sent over the wire
WantAck bool
// The priority of this message for sending.
// See MeshPacket.Priority description for more details.
Priority MeshPacket_Priority
// rssi of received packet. Only sent to phone for dispay purposes.
RxRssi int32
// Describe if this message is delayed
//
// Deprecated: Marked as deprecated in meshtastic/mesh.proto.
Delayed MeshPacket_Delayed
// Describes whether this packet passed via MQTT somewhere along the path it currently took.
ViaMqtt bool
// contains filtered or unexported fields
}
func (MeshPacket_builder) Build ¶
func (b0 MeshPacket_builder) Build() *MeshPacket
type ModuleConfig ¶
type ModuleConfig struct {
// TODO: REPLACE
//
// Types that are valid to be assigned to PayloadVariant:
//
// *ModuleConfig_Mqtt
// *ModuleConfig_Serial
// *ModuleConfig_ExternalNotification
// *ModuleConfig_StoreForward
// *ModuleConfig_RangeTest
// *ModuleConfig_Telemetry
// *ModuleConfig_CannedMessage
// *ModuleConfig_Audio
// *ModuleConfig_RemoteHardware
// *ModuleConfig_NeighborInfo
// *ModuleConfig_AmbientLighting
// *ModuleConfig_DetectionSensor
// *ModuleConfig_Paxcounter
PayloadVariant isModuleConfig_PayloadVariant `protobuf_oneof:"payload_variant"`
// contains filtered or unexported fields
}
Module Config
func (*ModuleConfig) ClearAmbientLighting ¶
func (x *ModuleConfig) ClearAmbientLighting()
func (*ModuleConfig) ClearAudio ¶
func (x *ModuleConfig) ClearAudio()
func (*ModuleConfig) ClearCannedMessage ¶
func (x *ModuleConfig) ClearCannedMessage()
func (*ModuleConfig) ClearDetectionSensor ¶
func (x *ModuleConfig) ClearDetectionSensor()
func (*ModuleConfig) ClearExternalNotification ¶
func (x *ModuleConfig) ClearExternalNotification()
func (*ModuleConfig) ClearMqtt ¶
func (x *ModuleConfig) ClearMqtt()
func (*ModuleConfig) ClearNeighborInfo ¶
func (x *ModuleConfig) ClearNeighborInfo()
func (*ModuleConfig) ClearPaxcounter ¶
func (x *ModuleConfig) ClearPaxcounter()
func (*ModuleConfig) ClearPayloadVariant ¶
func (x *ModuleConfig) ClearPayloadVariant()
func (*ModuleConfig) ClearRangeTest ¶
func (x *ModuleConfig) ClearRangeTest()
func (*ModuleConfig) ClearRemoteHardware ¶
func (x *ModuleConfig) ClearRemoteHardware()
func (*ModuleConfig) ClearSerial ¶
func (x *ModuleConfig) ClearSerial()
func (*ModuleConfig) ClearStoreForward ¶
func (x *ModuleConfig) ClearStoreForward()
func (*ModuleConfig) ClearTelemetry ¶
func (x *ModuleConfig) ClearTelemetry()
func (*ModuleConfig) GetAmbientLighting ¶
func (x *ModuleConfig) GetAmbientLighting() *ModuleConfig_AmbientLightingConfig
func (*ModuleConfig) GetAudio ¶
func (x *ModuleConfig) GetAudio() *ModuleConfig_AudioConfig
func (*ModuleConfig) GetCannedMessage ¶
func (x *ModuleConfig) GetCannedMessage() *ModuleConfig_CannedMessageConfig
func (*ModuleConfig) GetDetectionSensor ¶
func (x *ModuleConfig) GetDetectionSensor() *ModuleConfig_DetectionSensorConfig
func (*ModuleConfig) GetExternalNotification ¶
func (x *ModuleConfig) GetExternalNotification() *ModuleConfig_ExternalNotificationConfig
func (*ModuleConfig) GetMqtt ¶
func (x *ModuleConfig) GetMqtt() *ModuleConfig_MQTTConfig
func (*ModuleConfig) GetNeighborInfo ¶
func (x *ModuleConfig) GetNeighborInfo() *ModuleConfig_NeighborInfoConfig
func (*ModuleConfig) GetPaxcounter ¶
func (x *ModuleConfig) GetPaxcounter() *ModuleConfig_PaxcounterConfig
func (*ModuleConfig) GetPayloadVariant ¶
func (x *ModuleConfig) GetPayloadVariant() isModuleConfig_PayloadVariant
func (*ModuleConfig) GetRangeTest ¶
func (x *ModuleConfig) GetRangeTest() *ModuleConfig_RangeTestConfig
func (*ModuleConfig) GetRemoteHardware ¶
func (x *ModuleConfig) GetRemoteHardware() *ModuleConfig_RemoteHardwareConfig
func (*ModuleConfig) GetSerial ¶
func (x *ModuleConfig) GetSerial() *ModuleConfig_SerialConfig
func (*ModuleConfig) GetStoreForward ¶
func (x *ModuleConfig) GetStoreForward() *ModuleConfig_StoreForwardConfig
func (*ModuleConfig) GetTelemetry ¶
func (x *ModuleConfig) GetTelemetry() *ModuleConfig_TelemetryConfig
func (*ModuleConfig) HasAmbientLighting ¶
func (x *ModuleConfig) HasAmbientLighting() bool
func (*ModuleConfig) HasAudio ¶
func (x *ModuleConfig) HasAudio() bool
func (*ModuleConfig) HasCannedMessage ¶
func (x *ModuleConfig) HasCannedMessage() bool
func (*ModuleConfig) HasDetectionSensor ¶
func (x *ModuleConfig) HasDetectionSensor() bool
func (*ModuleConfig) HasExternalNotification ¶
func (x *ModuleConfig) HasExternalNotification() bool
func (*ModuleConfig) HasMqtt ¶
func (x *ModuleConfig) HasMqtt() bool
func (*ModuleConfig) HasNeighborInfo ¶
func (x *ModuleConfig) HasNeighborInfo() bool
func (*ModuleConfig) HasPaxcounter ¶
func (x *ModuleConfig) HasPaxcounter() bool
func (*ModuleConfig) HasPayloadVariant ¶
func (x *ModuleConfig) HasPayloadVariant() bool
func (*ModuleConfig) HasRangeTest ¶
func (x *ModuleConfig) HasRangeTest() bool
func (*ModuleConfig) HasRemoteHardware ¶
func (x *ModuleConfig) HasRemoteHardware() bool
func (*ModuleConfig) HasSerial ¶
func (x *ModuleConfig) HasSerial() bool
func (*ModuleConfig) HasStoreForward ¶
func (x *ModuleConfig) HasStoreForward() bool
func (*ModuleConfig) HasTelemetry ¶
func (x *ModuleConfig) HasTelemetry() bool
func (*ModuleConfig) ProtoMessage ¶
func (*ModuleConfig) ProtoMessage()
func (*ModuleConfig) ProtoReflect ¶
func (x *ModuleConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig) Reset ¶
func (x *ModuleConfig) Reset()
func (*ModuleConfig) SetAmbientLighting ¶
func (x *ModuleConfig) SetAmbientLighting(v *ModuleConfig_AmbientLightingConfig)
func (*ModuleConfig) SetAudio ¶
func (x *ModuleConfig) SetAudio(v *ModuleConfig_AudioConfig)
func (*ModuleConfig) SetCannedMessage ¶
func (x *ModuleConfig) SetCannedMessage(v *ModuleConfig_CannedMessageConfig)
func (*ModuleConfig) SetDetectionSensor ¶
func (x *ModuleConfig) SetDetectionSensor(v *ModuleConfig_DetectionSensorConfig)
func (*ModuleConfig) SetExternalNotification ¶
func (x *ModuleConfig) SetExternalNotification(v *ModuleConfig_ExternalNotificationConfig)
func (*ModuleConfig) SetMqtt ¶
func (x *ModuleConfig) SetMqtt(v *ModuleConfig_MQTTConfig)
func (*ModuleConfig) SetNeighborInfo ¶
func (x *ModuleConfig) SetNeighborInfo(v *ModuleConfig_NeighborInfoConfig)
func (*ModuleConfig) SetPaxcounter ¶
func (x *ModuleConfig) SetPaxcounter(v *ModuleConfig_PaxcounterConfig)
func (*ModuleConfig) SetRangeTest ¶
func (x *ModuleConfig) SetRangeTest(v *ModuleConfig_RangeTestConfig)
func (*ModuleConfig) SetRemoteHardware ¶
func (x *ModuleConfig) SetRemoteHardware(v *ModuleConfig_RemoteHardwareConfig)
func (*ModuleConfig) SetSerial ¶
func (x *ModuleConfig) SetSerial(v *ModuleConfig_SerialConfig)
func (*ModuleConfig) SetStoreForward ¶
func (x *ModuleConfig) SetStoreForward(v *ModuleConfig_StoreForwardConfig)
func (*ModuleConfig) SetTelemetry ¶
func (x *ModuleConfig) SetTelemetry(v *ModuleConfig_TelemetryConfig)
func (*ModuleConfig) String ¶
func (x *ModuleConfig) String() string
func (*ModuleConfig) WhichPayloadVariant ¶
func (x *ModuleConfig) WhichPayloadVariant() case_ModuleConfig_PayloadVariant
type ModuleConfig_AmbientLighting ¶
type ModuleConfig_AmbientLighting struct {
// TODO: REPLACE
AmbientLighting *ModuleConfig_AmbientLightingConfig `protobuf:"bytes,11,opt,name=ambient_lighting,json=ambientLighting,proto3,oneof"`
}
type ModuleConfig_AmbientLightingConfig ¶
type ModuleConfig_AmbientLightingConfig struct {
// Sets LED to on or off.
LedState bool `protobuf:"varint,1,opt,name=led_state,json=ledState,proto3" json:"led_state,omitempty"`
// Sets the current for the LED output. Default is 10.
Current uint32 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"`
// Sets the red LED level. Values are 0-255.
Red uint32 `protobuf:"varint,3,opt,name=red,proto3" json:"red,omitempty"`
// Sets the green LED level. Values are 0-255.
Green uint32 `protobuf:"varint,4,opt,name=green,proto3" json:"green,omitempty"`
// Sets the blue LED level. Values are 0-255.
Blue uint32 `protobuf:"varint,5,opt,name=blue,proto3" json:"blue,omitempty"`
// contains filtered or unexported fields
}
Ambient Lighting Module - Settings for control of onboard LEDs to allow users to adjust the brightness levels and respective color levels. Initially created for the RAK14001 RGB LED module.
func (*ModuleConfig_AmbientLightingConfig) GetBlue ¶
func (x *ModuleConfig_AmbientLightingConfig) GetBlue() uint32
func (*ModuleConfig_AmbientLightingConfig) GetCurrent ¶
func (x *ModuleConfig_AmbientLightingConfig) GetCurrent() uint32
func (*ModuleConfig_AmbientLightingConfig) GetGreen ¶
func (x *ModuleConfig_AmbientLightingConfig) GetGreen() uint32
func (*ModuleConfig_AmbientLightingConfig) GetLedState ¶
func (x *ModuleConfig_AmbientLightingConfig) GetLedState() bool
func (*ModuleConfig_AmbientLightingConfig) GetRed ¶
func (x *ModuleConfig_AmbientLightingConfig) GetRed() uint32
func (*ModuleConfig_AmbientLightingConfig) ProtoMessage ¶
func (*ModuleConfig_AmbientLightingConfig) ProtoMessage()
func (*ModuleConfig_AmbientLightingConfig) ProtoReflect ¶
func (x *ModuleConfig_AmbientLightingConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_AmbientLightingConfig) Reset ¶
func (x *ModuleConfig_AmbientLightingConfig) Reset()
func (*ModuleConfig_AmbientLightingConfig) SetBlue ¶
func (x *ModuleConfig_AmbientLightingConfig) SetBlue(v uint32)
func (*ModuleConfig_AmbientLightingConfig) SetCurrent ¶
func (x *ModuleConfig_AmbientLightingConfig) SetCurrent(v uint32)
func (*ModuleConfig_AmbientLightingConfig) SetGreen ¶
func (x *ModuleConfig_AmbientLightingConfig) SetGreen(v uint32)
func (*ModuleConfig_AmbientLightingConfig) SetLedState ¶
func (x *ModuleConfig_AmbientLightingConfig) SetLedState(v bool)
func (*ModuleConfig_AmbientLightingConfig) SetRed ¶
func (x *ModuleConfig_AmbientLightingConfig) SetRed(v uint32)
func (*ModuleConfig_AmbientLightingConfig) String ¶
func (x *ModuleConfig_AmbientLightingConfig) String() string
type ModuleConfig_AmbientLightingConfig_builder ¶
type ModuleConfig_AmbientLightingConfig_builder struct {
// Sets LED to on or off.
LedState bool
// Sets the current for the LED output. Default is 10.
Current uint32
// Sets the red LED level. Values are 0-255.
Red uint32
// Sets the green LED level. Values are 0-255.
Green uint32
// Sets the blue LED level. Values are 0-255.
Blue uint32
// contains filtered or unexported fields
}
func (ModuleConfig_AmbientLightingConfig_builder) Build ¶
func (b0 ModuleConfig_AmbientLightingConfig_builder) Build() *ModuleConfig_AmbientLightingConfig
type ModuleConfig_Audio ¶
type ModuleConfig_Audio struct {
// TODO: REPLACE
Audio *ModuleConfig_AudioConfig `protobuf:"bytes,8,opt,name=audio,proto3,oneof"`
}
type ModuleConfig_AudioConfig ¶
type ModuleConfig_AudioConfig struct {
// Whether Audio is enabled
Codec2Enabled bool `protobuf:"varint,1,opt,name=codec2_enabled,json=codec2Enabled,proto3" json:"codec2_enabled,omitempty"`
// PTT Pin
PttPin uint32 `protobuf:"varint,2,opt,name=ptt_pin,json=pttPin,proto3" json:"ptt_pin,omitempty"`
// The audio sample rate to use for codec2
Bitrate ModuleConfig_AudioConfig_Audio_Baud `protobuf:"varint,3,opt,name=bitrate,proto3,enum=meshtastic.ModuleConfig_AudioConfig_Audio_Baud" json:"bitrate,omitempty"`
// I2S Word Select
I2SWs uint32 `protobuf:"varint,4,opt,name=i2s_ws,json=i2sWs,proto3" json:"i2s_ws,omitempty"`
// I2S Data IN
I2SSd uint32 `protobuf:"varint,5,opt,name=i2s_sd,json=i2sSd,proto3" json:"i2s_sd,omitempty"`
// I2S Data OUT
I2SDin uint32 `protobuf:"varint,6,opt,name=i2s_din,json=i2sDin,proto3" json:"i2s_din,omitempty"`
// I2S Clock
I2SSck uint32 `protobuf:"varint,7,opt,name=i2s_sck,json=i2sSck,proto3" json:"i2s_sck,omitempty"`
// contains filtered or unexported fields
}
Audio Config for codec2 voice
func (*ModuleConfig_AudioConfig) GetBitrate ¶
func (x *ModuleConfig_AudioConfig) GetBitrate() ModuleConfig_AudioConfig_Audio_Baud
func (*ModuleConfig_AudioConfig) GetCodec2Enabled ¶
func (x *ModuleConfig_AudioConfig) GetCodec2Enabled() bool
func (*ModuleConfig_AudioConfig) GetI2SDin ¶
func (x *ModuleConfig_AudioConfig) GetI2SDin() uint32
func (*ModuleConfig_AudioConfig) GetI2SSck ¶
func (x *ModuleConfig_AudioConfig) GetI2SSck() uint32
func (*ModuleConfig_AudioConfig) GetI2SSd ¶
func (x *ModuleConfig_AudioConfig) GetI2SSd() uint32
func (*ModuleConfig_AudioConfig) GetI2SWs ¶
func (x *ModuleConfig_AudioConfig) GetI2SWs() uint32
func (*ModuleConfig_AudioConfig) GetPttPin ¶
func (x *ModuleConfig_AudioConfig) GetPttPin() uint32
func (*ModuleConfig_AudioConfig) ProtoMessage ¶
func (*ModuleConfig_AudioConfig) ProtoMessage()
func (*ModuleConfig_AudioConfig) ProtoReflect ¶
func (x *ModuleConfig_AudioConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_AudioConfig) Reset ¶
func (x *ModuleConfig_AudioConfig) Reset()
func (*ModuleConfig_AudioConfig) SetBitrate ¶
func (x *ModuleConfig_AudioConfig) SetBitrate(v ModuleConfig_AudioConfig_Audio_Baud)
func (*ModuleConfig_AudioConfig) SetCodec2Enabled ¶
func (x *ModuleConfig_AudioConfig) SetCodec2Enabled(v bool)
func (*ModuleConfig_AudioConfig) SetI2SDin ¶
func (x *ModuleConfig_AudioConfig) SetI2SDin(v uint32)
func (*ModuleConfig_AudioConfig) SetI2SSck ¶
func (x *ModuleConfig_AudioConfig) SetI2SSck(v uint32)
func (*ModuleConfig_AudioConfig) SetI2SSd ¶
func (x *ModuleConfig_AudioConfig) SetI2SSd(v uint32)
func (*ModuleConfig_AudioConfig) SetI2SWs ¶
func (x *ModuleConfig_AudioConfig) SetI2SWs(v uint32)
func (*ModuleConfig_AudioConfig) SetPttPin ¶
func (x *ModuleConfig_AudioConfig) SetPttPin(v uint32)
func (*ModuleConfig_AudioConfig) String ¶
func (x *ModuleConfig_AudioConfig) String() string
type ModuleConfig_AudioConfig_Audio_Baud ¶
type ModuleConfig_AudioConfig_Audio_Baud int32
Baudrate for codec2 voice
const ( ModuleConfig_AudioConfig_CODEC2_DEFAULT ModuleConfig_AudioConfig_Audio_Baud = 0 ModuleConfig_AudioConfig_CODEC2_3200 ModuleConfig_AudioConfig_Audio_Baud = 1 ModuleConfig_AudioConfig_CODEC2_2400 ModuleConfig_AudioConfig_Audio_Baud = 2 ModuleConfig_AudioConfig_CODEC2_1600 ModuleConfig_AudioConfig_Audio_Baud = 3 ModuleConfig_AudioConfig_CODEC2_1400 ModuleConfig_AudioConfig_Audio_Baud = 4 ModuleConfig_AudioConfig_CODEC2_1300 ModuleConfig_AudioConfig_Audio_Baud = 5 ModuleConfig_AudioConfig_CODEC2_1200 ModuleConfig_AudioConfig_Audio_Baud = 6 ModuleConfig_AudioConfig_CODEC2_700 ModuleConfig_AudioConfig_Audio_Baud = 7 ModuleConfig_AudioConfig_CODEC2_700B ModuleConfig_AudioConfig_Audio_Baud = 8 )
func (ModuleConfig_AudioConfig_Audio_Baud) Descriptor ¶
func (ModuleConfig_AudioConfig_Audio_Baud) Descriptor() protoreflect.EnumDescriptor
func (ModuleConfig_AudioConfig_Audio_Baud) Enum ¶
func (x ModuleConfig_AudioConfig_Audio_Baud) Enum() *ModuleConfig_AudioConfig_Audio_Baud
func (ModuleConfig_AudioConfig_Audio_Baud) Number ¶
func (x ModuleConfig_AudioConfig_Audio_Baud) Number() protoreflect.EnumNumber
func (ModuleConfig_AudioConfig_Audio_Baud) String ¶
func (x ModuleConfig_AudioConfig_Audio_Baud) String() string
func (ModuleConfig_AudioConfig_Audio_Baud) Type ¶
func (ModuleConfig_AudioConfig_Audio_Baud) Type() protoreflect.EnumType
type ModuleConfig_AudioConfig_builder ¶
type ModuleConfig_AudioConfig_builder struct {
// Whether Audio is enabled
Codec2Enabled bool
// PTT Pin
PttPin uint32
// The audio sample rate to use for codec2
Bitrate ModuleConfig_AudioConfig_Audio_Baud
// I2S Word Select
I2SWs uint32
// I2S Data IN
I2SSd uint32
// I2S Data OUT
I2SDin uint32
// I2S Clock
I2SSck uint32
// contains filtered or unexported fields
}
func (ModuleConfig_AudioConfig_builder) Build ¶
func (b0 ModuleConfig_AudioConfig_builder) Build() *ModuleConfig_AudioConfig
type ModuleConfig_CannedMessage ¶
type ModuleConfig_CannedMessage struct {
// TODO: REPLACE
CannedMessage *ModuleConfig_CannedMessageConfig `protobuf:"bytes,7,opt,name=canned_message,json=cannedMessage,proto3,oneof"`
}
type ModuleConfig_CannedMessageConfig ¶
type ModuleConfig_CannedMessageConfig struct {
// Enable the rotary encoder #1. This is a 'dumb' encoder sending pulses on both A and B pins while rotating.
Rotary1Enabled bool `protobuf:"varint,1,opt,name=rotary1_enabled,json=rotary1Enabled,proto3" json:"rotary1_enabled,omitempty"`
// GPIO pin for rotary encoder A port.
InputbrokerPinA uint32 `protobuf:"varint,2,opt,name=inputbroker_pin_a,json=inputbrokerPinA,proto3" json:"inputbroker_pin_a,omitempty"`
// GPIO pin for rotary encoder B port.
InputbrokerPinB uint32 `protobuf:"varint,3,opt,name=inputbroker_pin_b,json=inputbrokerPinB,proto3" json:"inputbroker_pin_b,omitempty"`
// GPIO pin for rotary encoder Press port.
InputbrokerPinPress uint32 `protobuf:"varint,4,opt,name=inputbroker_pin_press,json=inputbrokerPinPress,proto3" json:"inputbroker_pin_press,omitempty"`
// Generate input event on CW of this kind.
InputbrokerEventCw ModuleConfig_CannedMessageConfig_InputEventChar `` /* 182-byte string literal not displayed */
// Generate input event on CCW of this kind.
InputbrokerEventCcw ModuleConfig_CannedMessageConfig_InputEventChar `` /* 185-byte string literal not displayed */
// Generate input event on Press of this kind.
InputbrokerEventPress ModuleConfig_CannedMessageConfig_InputEventChar `` /* 191-byte string literal not displayed */
// Enable the Up/Down/Select input device. Can be RAK rotary encoder or 3 buttons. Uses the a/b/press definitions from inputbroker.
Updown1Enabled bool `protobuf:"varint,8,opt,name=updown1_enabled,json=updown1Enabled,proto3" json:"updown1_enabled,omitempty"`
// Enable/disable CannedMessageModule.
Enabled bool `protobuf:"varint,9,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Input event origin accepted by the canned message module.
// Can be e.g. "rotEnc1", "upDownEnc1" or keyword "_any"
AllowInputSource string `protobuf:"bytes,10,opt,name=allow_input_source,json=allowInputSource,proto3" json:"allow_input_source,omitempty"`
// CannedMessageModule also sends a bell character with the messages.
// ExternalNotificationModule can benefit from this feature.
SendBell bool `protobuf:"varint,11,opt,name=send_bell,json=sendBell,proto3" json:"send_bell,omitempty"`
// contains filtered or unexported fields
}
TODO: REPLACE
func (*ModuleConfig_CannedMessageConfig) GetAllowInputSource ¶
func (x *ModuleConfig_CannedMessageConfig) GetAllowInputSource() string
func (*ModuleConfig_CannedMessageConfig) GetEnabled ¶
func (x *ModuleConfig_CannedMessageConfig) GetEnabled() bool
func (*ModuleConfig_CannedMessageConfig) GetInputbrokerEventCcw ¶
func (x *ModuleConfig_CannedMessageConfig) GetInputbrokerEventCcw() ModuleConfig_CannedMessageConfig_InputEventChar
func (*ModuleConfig_CannedMessageConfig) GetInputbrokerEventCw ¶
func (x *ModuleConfig_CannedMessageConfig) GetInputbrokerEventCw() ModuleConfig_CannedMessageConfig_InputEventChar
func (*ModuleConfig_CannedMessageConfig) GetInputbrokerEventPress ¶
func (x *ModuleConfig_CannedMessageConfig) GetInputbrokerEventPress() ModuleConfig_CannedMessageConfig_InputEventChar
func (*ModuleConfig_CannedMessageConfig) GetInputbrokerPinA ¶
func (x *ModuleConfig_CannedMessageConfig) GetInputbrokerPinA() uint32
func (*ModuleConfig_CannedMessageConfig) GetInputbrokerPinB ¶
func (x *ModuleConfig_CannedMessageConfig) GetInputbrokerPinB() uint32
func (*ModuleConfig_CannedMessageConfig) GetInputbrokerPinPress ¶
func (x *ModuleConfig_CannedMessageConfig) GetInputbrokerPinPress() uint32
func (*ModuleConfig_CannedMessageConfig) GetRotary1Enabled ¶
func (x *ModuleConfig_CannedMessageConfig) GetRotary1Enabled() bool
func (*ModuleConfig_CannedMessageConfig) GetSendBell ¶
func (x *ModuleConfig_CannedMessageConfig) GetSendBell() bool
func (*ModuleConfig_CannedMessageConfig) GetUpdown1Enabled ¶
func (x *ModuleConfig_CannedMessageConfig) GetUpdown1Enabled() bool
func (*ModuleConfig_CannedMessageConfig) ProtoMessage ¶
func (*ModuleConfig_CannedMessageConfig) ProtoMessage()
func (*ModuleConfig_CannedMessageConfig) ProtoReflect ¶
func (x *ModuleConfig_CannedMessageConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_CannedMessageConfig) Reset ¶
func (x *ModuleConfig_CannedMessageConfig) Reset()
func (*ModuleConfig_CannedMessageConfig) SetAllowInputSource ¶
func (x *ModuleConfig_CannedMessageConfig) SetAllowInputSource(v string)
func (*ModuleConfig_CannedMessageConfig) SetEnabled ¶
func (x *ModuleConfig_CannedMessageConfig) SetEnabled(v bool)
func (*ModuleConfig_CannedMessageConfig) SetInputbrokerEventCcw ¶
func (x *ModuleConfig_CannedMessageConfig) SetInputbrokerEventCcw(v ModuleConfig_CannedMessageConfig_InputEventChar)
func (*ModuleConfig_CannedMessageConfig) SetInputbrokerEventCw ¶
func (x *ModuleConfig_CannedMessageConfig) SetInputbrokerEventCw(v ModuleConfig_CannedMessageConfig_InputEventChar)
func (*ModuleConfig_CannedMessageConfig) SetInputbrokerEventPress ¶
func (x *ModuleConfig_CannedMessageConfig) SetInputbrokerEventPress(v ModuleConfig_CannedMessageConfig_InputEventChar)
func (*ModuleConfig_CannedMessageConfig) SetInputbrokerPinA ¶
func (x *ModuleConfig_CannedMessageConfig) SetInputbrokerPinA(v uint32)
func (*ModuleConfig_CannedMessageConfig) SetInputbrokerPinB ¶
func (x *ModuleConfig_CannedMessageConfig) SetInputbrokerPinB(v uint32)
func (*ModuleConfig_CannedMessageConfig) SetInputbrokerPinPress ¶
func (x *ModuleConfig_CannedMessageConfig) SetInputbrokerPinPress(v uint32)
func (*ModuleConfig_CannedMessageConfig) SetRotary1Enabled ¶
func (x *ModuleConfig_CannedMessageConfig) SetRotary1Enabled(v bool)
func (*ModuleConfig_CannedMessageConfig) SetSendBell ¶
func (x *ModuleConfig_CannedMessageConfig) SetSendBell(v bool)
func (*ModuleConfig_CannedMessageConfig) SetUpdown1Enabled ¶
func (x *ModuleConfig_CannedMessageConfig) SetUpdown1Enabled(v bool)
func (*ModuleConfig_CannedMessageConfig) String ¶
func (x *ModuleConfig_CannedMessageConfig) String() string
type ModuleConfig_CannedMessageConfig_InputEventChar ¶
type ModuleConfig_CannedMessageConfig_InputEventChar int32
TODO: REPLACE
const ( // TODO: REPLACE ModuleConfig_CannedMessageConfig_NONE ModuleConfig_CannedMessageConfig_InputEventChar = 0 // TODO: REPLACE ModuleConfig_CannedMessageConfig_UP ModuleConfig_CannedMessageConfig_InputEventChar = 17 // TODO: REPLACE ModuleConfig_CannedMessageConfig_DOWN ModuleConfig_CannedMessageConfig_InputEventChar = 18 // TODO: REPLACE ModuleConfig_CannedMessageConfig_LEFT ModuleConfig_CannedMessageConfig_InputEventChar = 19 // TODO: REPLACE ModuleConfig_CannedMessageConfig_RIGHT ModuleConfig_CannedMessageConfig_InputEventChar = 20 // '\n' ModuleConfig_CannedMessageConfig_SELECT ModuleConfig_CannedMessageConfig_InputEventChar = 10 // TODO: REPLACE ModuleConfig_CannedMessageConfig_BACK ModuleConfig_CannedMessageConfig_InputEventChar = 27 // TODO: REPLACE ModuleConfig_CannedMessageConfig_CANCEL ModuleConfig_CannedMessageConfig_InputEventChar = 24 )
func (ModuleConfig_CannedMessageConfig_InputEventChar) Descriptor ¶
func (ModuleConfig_CannedMessageConfig_InputEventChar) Descriptor() protoreflect.EnumDescriptor
func (ModuleConfig_CannedMessageConfig_InputEventChar) Enum ¶
func (ModuleConfig_CannedMessageConfig_InputEventChar) Number ¶
func (x ModuleConfig_CannedMessageConfig_InputEventChar) Number() protoreflect.EnumNumber
func (ModuleConfig_CannedMessageConfig_InputEventChar) String ¶
func (x ModuleConfig_CannedMessageConfig_InputEventChar) String() string
func (ModuleConfig_CannedMessageConfig_InputEventChar) Type ¶
type ModuleConfig_CannedMessageConfig_builder ¶
type ModuleConfig_CannedMessageConfig_builder struct {
// Enable the rotary encoder #1. This is a 'dumb' encoder sending pulses on both A and B pins while rotating.
Rotary1Enabled bool
// GPIO pin for rotary encoder A port.
InputbrokerPinA uint32
// GPIO pin for rotary encoder B port.
InputbrokerPinB uint32
// GPIO pin for rotary encoder Press port.
InputbrokerPinPress uint32
// Generate input event on CW of this kind.
InputbrokerEventCw ModuleConfig_CannedMessageConfig_InputEventChar
// Generate input event on CCW of this kind.
InputbrokerEventCcw ModuleConfig_CannedMessageConfig_InputEventChar
// Generate input event on Press of this kind.
InputbrokerEventPress ModuleConfig_CannedMessageConfig_InputEventChar
// Enable the Up/Down/Select input device. Can be RAK rotary encoder or 3 buttons. Uses the a/b/press definitions from inputbroker.
Updown1Enabled bool
// Enable/disable CannedMessageModule.
Enabled bool
// Input event origin accepted by the canned message module.
// Can be e.g. "rotEnc1", "upDownEnc1" or keyword "_any"
AllowInputSource string
// CannedMessageModule also sends a bell character with the messages.
// ExternalNotificationModule can benefit from this feature.
SendBell bool
// contains filtered or unexported fields
}
func (ModuleConfig_CannedMessageConfig_builder) Build ¶
func (b0 ModuleConfig_CannedMessageConfig_builder) Build() *ModuleConfig_CannedMessageConfig
type ModuleConfig_DetectionSensor ¶
type ModuleConfig_DetectionSensor struct {
// TODO: REPLACE
DetectionSensor *ModuleConfig_DetectionSensorConfig `protobuf:"bytes,12,opt,name=detection_sensor,json=detectionSensor,proto3,oneof"`
}
type ModuleConfig_DetectionSensorConfig ¶
type ModuleConfig_DetectionSensorConfig struct {
// Whether the Module is enabled
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Interval in seconds of how often we can send a message to the mesh when a state change is detected
MinimumBroadcastSecs uint32 `protobuf:"varint,2,opt,name=minimum_broadcast_secs,json=minimumBroadcastSecs,proto3" json:"minimum_broadcast_secs,omitempty"`
// Interval in seconds of how often we should send a message to the mesh with the current state regardless of changes
// When set to 0, only state changes will be broadcasted
// Works as a sort of status heartbeat for peace of mind
StateBroadcastSecs uint32 `protobuf:"varint,3,opt,name=state_broadcast_secs,json=stateBroadcastSecs,proto3" json:"state_broadcast_secs,omitempty"`
// Send ASCII bell with alert message
// Useful for triggering ext. notification on bell
SendBell bool `protobuf:"varint,4,opt,name=send_bell,json=sendBell,proto3" json:"send_bell,omitempty"`
// Friendly name used to format message sent to mesh
// Example: A name "Motion" would result in a message "Motion detected"
// Maximum length of 20 characters
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
// GPIO pin to monitor for state changes
MonitorPin uint32 `protobuf:"varint,6,opt,name=monitor_pin,json=monitorPin,proto3" json:"monitor_pin,omitempty"`
// Whether or not the GPIO pin state detection is triggered on HIGH (1)
// Otherwise LOW (0)
DetectionTriggeredHigh bool `` /* 130-byte string literal not displayed */
// Whether or not use INPUT_PULLUP mode for GPIO pin
// Only applicable if the board uses pull-up resistors on the pin
UsePullup bool `protobuf:"varint,8,opt,name=use_pullup,json=usePullup,proto3" json:"use_pullup,omitempty"`
// contains filtered or unexported fields
}
Detection Sensor Module Config
func (*ModuleConfig_DetectionSensorConfig) GetDetectionTriggeredHigh ¶
func (x *ModuleConfig_DetectionSensorConfig) GetDetectionTriggeredHigh() bool
func (*ModuleConfig_DetectionSensorConfig) GetEnabled ¶
func (x *ModuleConfig_DetectionSensorConfig) GetEnabled() bool
func (*ModuleConfig_DetectionSensorConfig) GetMinimumBroadcastSecs ¶
func (x *ModuleConfig_DetectionSensorConfig) GetMinimumBroadcastSecs() uint32
func (*ModuleConfig_DetectionSensorConfig) GetMonitorPin ¶
func (x *ModuleConfig_DetectionSensorConfig) GetMonitorPin() uint32
func (*ModuleConfig_DetectionSensorConfig) GetName ¶
func (x *ModuleConfig_DetectionSensorConfig) GetName() string
func (*ModuleConfig_DetectionSensorConfig) GetSendBell ¶
func (x *ModuleConfig_DetectionSensorConfig) GetSendBell() bool
func (*ModuleConfig_DetectionSensorConfig) GetStateBroadcastSecs ¶
func (x *ModuleConfig_DetectionSensorConfig) GetStateBroadcastSecs() uint32
func (*ModuleConfig_DetectionSensorConfig) GetUsePullup ¶
func (x *ModuleConfig_DetectionSensorConfig) GetUsePullup() bool
func (*ModuleConfig_DetectionSensorConfig) ProtoMessage ¶
func (*ModuleConfig_DetectionSensorConfig) ProtoMessage()
func (*ModuleConfig_DetectionSensorConfig) ProtoReflect ¶
func (x *ModuleConfig_DetectionSensorConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_DetectionSensorConfig) Reset ¶
func (x *ModuleConfig_DetectionSensorConfig) Reset()
func (*ModuleConfig_DetectionSensorConfig) SetDetectionTriggeredHigh ¶
func (x *ModuleConfig_DetectionSensorConfig) SetDetectionTriggeredHigh(v bool)
func (*ModuleConfig_DetectionSensorConfig) SetEnabled ¶
func (x *ModuleConfig_DetectionSensorConfig) SetEnabled(v bool)
func (*ModuleConfig_DetectionSensorConfig) SetMinimumBroadcastSecs ¶
func (x *ModuleConfig_DetectionSensorConfig) SetMinimumBroadcastSecs(v uint32)
func (*ModuleConfig_DetectionSensorConfig) SetMonitorPin ¶
func (x *ModuleConfig_DetectionSensorConfig) SetMonitorPin(v uint32)
func (*ModuleConfig_DetectionSensorConfig) SetName ¶
func (x *ModuleConfig_DetectionSensorConfig) SetName(v string)
func (*ModuleConfig_DetectionSensorConfig) SetSendBell ¶
func (x *ModuleConfig_DetectionSensorConfig) SetSendBell(v bool)
func (*ModuleConfig_DetectionSensorConfig) SetStateBroadcastSecs ¶
func (x *ModuleConfig_DetectionSensorConfig) SetStateBroadcastSecs(v uint32)
func (*ModuleConfig_DetectionSensorConfig) SetUsePullup ¶
func (x *ModuleConfig_DetectionSensorConfig) SetUsePullup(v bool)
func (*ModuleConfig_DetectionSensorConfig) String ¶
func (x *ModuleConfig_DetectionSensorConfig) String() string
type ModuleConfig_DetectionSensorConfig_builder ¶
type ModuleConfig_DetectionSensorConfig_builder struct {
// Whether the Module is enabled
Enabled bool
// Interval in seconds of how often we can send a message to the mesh when a state change is detected
MinimumBroadcastSecs uint32
// Interval in seconds of how often we should send a message to the mesh with the current state regardless of changes
// When set to 0, only state changes will be broadcasted
// Works as a sort of status heartbeat for peace of mind
StateBroadcastSecs uint32
// Send ASCII bell with alert message
// Useful for triggering ext. notification on bell
SendBell bool
// Friendly name used to format message sent to mesh
// Example: A name "Motion" would result in a message "Motion detected"
// Maximum length of 20 characters
Name string
// GPIO pin to monitor for state changes
MonitorPin uint32
// Whether or not the GPIO pin state detection is triggered on HIGH (1)
// Otherwise LOW (0)
DetectionTriggeredHigh bool
// Whether or not use INPUT_PULLUP mode for GPIO pin
// Only applicable if the board uses pull-up resistors on the pin
UsePullup bool
// contains filtered or unexported fields
}
func (ModuleConfig_DetectionSensorConfig_builder) Build ¶
func (b0 ModuleConfig_DetectionSensorConfig_builder) Build() *ModuleConfig_DetectionSensorConfig
type ModuleConfig_ExternalNotification ¶
type ModuleConfig_ExternalNotification struct {
// TODO: REPLACE
ExternalNotification *ModuleConfig_ExternalNotificationConfig `protobuf:"bytes,3,opt,name=external_notification,json=externalNotification,proto3,oneof"`
}
type ModuleConfig_ExternalNotificationConfig ¶
type ModuleConfig_ExternalNotificationConfig struct {
// Enable the ExternalNotificationModule
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// When using in On/Off mode, keep the output on for this many
// milliseconds. Default 1000ms (1 second).
OutputMs uint32 `protobuf:"varint,2,opt,name=output_ms,json=outputMs,proto3" json:"output_ms,omitempty"`
// Define the output pin GPIO setting Defaults to
// EXT_NOTIFY_OUT if set for the board.
// In standalone devices this pin should drive the LED to match the UI.
Output uint32 `protobuf:"varint,3,opt,name=output,proto3" json:"output,omitempty"`
// Optional: Define a secondary output pin for a vibra motor
// This is used in standalone devices to match the UI.
OutputVibra uint32 `protobuf:"varint,8,opt,name=output_vibra,json=outputVibra,proto3" json:"output_vibra,omitempty"`
// Optional: Define a tertiary output pin for an active buzzer
// This is used in standalone devices to to match the UI.
OutputBuzzer uint32 `protobuf:"varint,9,opt,name=output_buzzer,json=outputBuzzer,proto3" json:"output_buzzer,omitempty"`
// IF this is true, the 'output' Pin will be pulled active high, false
// means active low.
Active bool `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"`
// True: Alert when a text message arrives (output)
AlertMessage bool `protobuf:"varint,5,opt,name=alert_message,json=alertMessage,proto3" json:"alert_message,omitempty"`
// True: Alert when a text message arrives (output_vibra)
AlertMessageVibra bool `protobuf:"varint,10,opt,name=alert_message_vibra,json=alertMessageVibra,proto3" json:"alert_message_vibra,omitempty"`
// True: Alert when a text message arrives (output_buzzer)
AlertMessageBuzzer bool `protobuf:"varint,11,opt,name=alert_message_buzzer,json=alertMessageBuzzer,proto3" json:"alert_message_buzzer,omitempty"`
// True: Alert when the bell character is received (output)
AlertBell bool `protobuf:"varint,6,opt,name=alert_bell,json=alertBell,proto3" json:"alert_bell,omitempty"`
// True: Alert when the bell character is received (output_vibra)
AlertBellVibra bool `protobuf:"varint,12,opt,name=alert_bell_vibra,json=alertBellVibra,proto3" json:"alert_bell_vibra,omitempty"`
// True: Alert when the bell character is received (output_buzzer)
AlertBellBuzzer bool `protobuf:"varint,13,opt,name=alert_bell_buzzer,json=alertBellBuzzer,proto3" json:"alert_bell_buzzer,omitempty"`
// use a PWM output instead of a simple on/off output. This will ignore
// the 'output', 'output_ms' and 'active' settings and use the
// device.buzzer_gpio instead.
UsePwm bool `protobuf:"varint,7,opt,name=use_pwm,json=usePwm,proto3" json:"use_pwm,omitempty"`
// The notification will toggle with 'output_ms' for this time of seconds.
// Default is 0 which means don't repeat at all. 60 would mean blink
// and/or beep for 60 seconds
NagTimeout uint32 `protobuf:"varint,14,opt,name=nag_timeout,json=nagTimeout,proto3" json:"nag_timeout,omitempty"`
// When true, enables devices with native I2S audio output to use the RTTTL over speaker like a buzzer
// T-Watch S3 and T-Deck for example have this capability
UseI2SAsBuzzer bool `protobuf:"varint,15,opt,name=use_i2s_as_buzzer,json=useI2sAsBuzzer,proto3" json:"use_i2s_as_buzzer,omitempty"`
// contains filtered or unexported fields
}
External Notifications Config
func (*ModuleConfig_ExternalNotificationConfig) GetActive ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetActive() bool
func (*ModuleConfig_ExternalNotificationConfig) GetAlertBell ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetAlertBell() bool
func (*ModuleConfig_ExternalNotificationConfig) GetAlertBellBuzzer ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetAlertBellBuzzer() bool
func (*ModuleConfig_ExternalNotificationConfig) GetAlertBellVibra ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetAlertBellVibra() bool
func (*ModuleConfig_ExternalNotificationConfig) GetAlertMessage ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetAlertMessage() bool
func (*ModuleConfig_ExternalNotificationConfig) GetAlertMessageBuzzer ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetAlertMessageBuzzer() bool
func (*ModuleConfig_ExternalNotificationConfig) GetAlertMessageVibra ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetAlertMessageVibra() bool
func (*ModuleConfig_ExternalNotificationConfig) GetEnabled ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetEnabled() bool
func (*ModuleConfig_ExternalNotificationConfig) GetNagTimeout ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetNagTimeout() uint32
func (*ModuleConfig_ExternalNotificationConfig) GetOutput ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetOutput() uint32
func (*ModuleConfig_ExternalNotificationConfig) GetOutputBuzzer ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetOutputBuzzer() uint32
func (*ModuleConfig_ExternalNotificationConfig) GetOutputMs ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetOutputMs() uint32
func (*ModuleConfig_ExternalNotificationConfig) GetOutputVibra ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetOutputVibra() uint32
func (*ModuleConfig_ExternalNotificationConfig) GetUseI2SAsBuzzer ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetUseI2SAsBuzzer() bool
func (*ModuleConfig_ExternalNotificationConfig) GetUsePwm ¶
func (x *ModuleConfig_ExternalNotificationConfig) GetUsePwm() bool
func (*ModuleConfig_ExternalNotificationConfig) ProtoMessage ¶
func (*ModuleConfig_ExternalNotificationConfig) ProtoMessage()
func (*ModuleConfig_ExternalNotificationConfig) ProtoReflect ¶
func (x *ModuleConfig_ExternalNotificationConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_ExternalNotificationConfig) Reset ¶
func (x *ModuleConfig_ExternalNotificationConfig) Reset()
func (*ModuleConfig_ExternalNotificationConfig) SetActive ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetActive(v bool)
func (*ModuleConfig_ExternalNotificationConfig) SetAlertBell ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetAlertBell(v bool)
func (*ModuleConfig_ExternalNotificationConfig) SetAlertBellBuzzer ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetAlertBellBuzzer(v bool)
func (*ModuleConfig_ExternalNotificationConfig) SetAlertBellVibra ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetAlertBellVibra(v bool)
func (*ModuleConfig_ExternalNotificationConfig) SetAlertMessage ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetAlertMessage(v bool)
func (*ModuleConfig_ExternalNotificationConfig) SetAlertMessageBuzzer ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetAlertMessageBuzzer(v bool)
func (*ModuleConfig_ExternalNotificationConfig) SetAlertMessageVibra ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetAlertMessageVibra(v bool)
func (*ModuleConfig_ExternalNotificationConfig) SetEnabled ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetEnabled(v bool)
func (*ModuleConfig_ExternalNotificationConfig) SetNagTimeout ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetNagTimeout(v uint32)
func (*ModuleConfig_ExternalNotificationConfig) SetOutput ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetOutput(v uint32)
func (*ModuleConfig_ExternalNotificationConfig) SetOutputBuzzer ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetOutputBuzzer(v uint32)
func (*ModuleConfig_ExternalNotificationConfig) SetOutputMs ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetOutputMs(v uint32)
func (*ModuleConfig_ExternalNotificationConfig) SetOutputVibra ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetOutputVibra(v uint32)
func (*ModuleConfig_ExternalNotificationConfig) SetUseI2SAsBuzzer ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetUseI2SAsBuzzer(v bool)
func (*ModuleConfig_ExternalNotificationConfig) SetUsePwm ¶
func (x *ModuleConfig_ExternalNotificationConfig) SetUsePwm(v bool)
func (*ModuleConfig_ExternalNotificationConfig) String ¶
func (x *ModuleConfig_ExternalNotificationConfig) String() string
type ModuleConfig_ExternalNotificationConfig_builder ¶
type ModuleConfig_ExternalNotificationConfig_builder struct {
// Enable the ExternalNotificationModule
Enabled bool
// When using in On/Off mode, keep the output on for this many
// milliseconds. Default 1000ms (1 second).
OutputMs uint32
// Define the output pin GPIO setting Defaults to
// EXT_NOTIFY_OUT if set for the board.
// In standalone devices this pin should drive the LED to match the UI.
Output uint32
// Optional: Define a secondary output pin for a vibra motor
// This is used in standalone devices to match the UI.
OutputVibra uint32
// Optional: Define a tertiary output pin for an active buzzer
// This is used in standalone devices to to match the UI.
OutputBuzzer uint32
// IF this is true, the 'output' Pin will be pulled active high, false
// means active low.
Active bool
// True: Alert when a text message arrives (output)
AlertMessage bool
// True: Alert when a text message arrives (output_vibra)
AlertMessageVibra bool
// True: Alert when a text message arrives (output_buzzer)
AlertMessageBuzzer bool
// True: Alert when the bell character is received (output)
AlertBell bool
// True: Alert when the bell character is received (output_vibra)
AlertBellVibra bool
// True: Alert when the bell character is received (output_buzzer)
AlertBellBuzzer bool
// use a PWM output instead of a simple on/off output. This will ignore
// the 'output', 'output_ms' and 'active' settings and use the
// device.buzzer_gpio instead.
UsePwm bool
// The notification will toggle with 'output_ms' for this time of seconds.
// Default is 0 which means don't repeat at all. 60 would mean blink
// and/or beep for 60 seconds
NagTimeout uint32
// When true, enables devices with native I2S audio output to use the RTTTL over speaker like a buzzer
// T-Watch S3 and T-Deck for example have this capability
UseI2SAsBuzzer bool
// contains filtered or unexported fields
}
func (ModuleConfig_ExternalNotificationConfig_builder) Build ¶
type ModuleConfig_MQTTConfig ¶
type ModuleConfig_MQTTConfig struct {
// If a meshtastic node is able to reach the internet it will normally attempt to gateway any channels that are marked as
// is_uplink_enabled or is_downlink_enabled.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// The server to use for our MQTT global message gateway feature.
// If not set, the default server will be used
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// MQTT username to use (most useful for a custom MQTT server).
// If using a custom server, this will be honoured even if empty.
// If using the default server, this will only be honoured if set, otherwise the device will use the default username
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
// MQTT password to use (most useful for a custom MQTT server).
// If using a custom server, this will be honoured even if empty.
// If using the default server, this will only be honoured if set, otherwise the device will use the default password
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
// Whether to send encrypted or decrypted packets to MQTT.
// This parameter is only honoured if you also set server
// (the default official mqtt.meshtastic.org server can handle encrypted packets)
// Decrypted packets may be useful for external systems that want to consume meshtastic packets
EncryptionEnabled bool `protobuf:"varint,5,opt,name=encryption_enabled,json=encryptionEnabled,proto3" json:"encryption_enabled,omitempty"`
// Whether to send / consume json packets on MQTT
JsonEnabled bool `protobuf:"varint,6,opt,name=json_enabled,json=jsonEnabled,proto3" json:"json_enabled,omitempty"`
// If true, we attempt to establish a secure connection using TLS
TlsEnabled bool `protobuf:"varint,7,opt,name=tls_enabled,json=tlsEnabled,proto3" json:"tls_enabled,omitempty"`
// The root topic to use for MQTT messages. Default is "msh".
// This is useful if you want to use a single MQTT server for multiple meshtastic networks and separate them via ACLs
Root string `protobuf:"bytes,8,opt,name=root,proto3" json:"root,omitempty"`
// If true, we can use the connected phone / client to proxy messages to MQTT instead of a direct connection
ProxyToClientEnabled bool `` /* 126-byte string literal not displayed */
// contains filtered or unexported fields
}
MQTT Client Config
func (*ModuleConfig_MQTTConfig) GetAddress ¶
func (x *ModuleConfig_MQTTConfig) GetAddress() string
func (*ModuleConfig_MQTTConfig) GetEnabled ¶
func (x *ModuleConfig_MQTTConfig) GetEnabled() bool
func (*ModuleConfig_MQTTConfig) GetEncryptionEnabled ¶
func (x *ModuleConfig_MQTTConfig) GetEncryptionEnabled() bool
func (*ModuleConfig_MQTTConfig) GetJsonEnabled ¶
func (x *ModuleConfig_MQTTConfig) GetJsonEnabled() bool
func (*ModuleConfig_MQTTConfig) GetPassword ¶
func (x *ModuleConfig_MQTTConfig) GetPassword() string
func (*ModuleConfig_MQTTConfig) GetProxyToClientEnabled ¶
func (x *ModuleConfig_MQTTConfig) GetProxyToClientEnabled() bool
func (*ModuleConfig_MQTTConfig) GetRoot ¶
func (x *ModuleConfig_MQTTConfig) GetRoot() string
func (*ModuleConfig_MQTTConfig) GetTlsEnabled ¶
func (x *ModuleConfig_MQTTConfig) GetTlsEnabled() bool
func (*ModuleConfig_MQTTConfig) GetUsername ¶
func (x *ModuleConfig_MQTTConfig) GetUsername() string
func (*ModuleConfig_MQTTConfig) ProtoMessage ¶
func (*ModuleConfig_MQTTConfig) ProtoMessage()
func (*ModuleConfig_MQTTConfig) ProtoReflect ¶
func (x *ModuleConfig_MQTTConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_MQTTConfig) Reset ¶
func (x *ModuleConfig_MQTTConfig) Reset()
func (*ModuleConfig_MQTTConfig) SetAddress ¶
func (x *ModuleConfig_MQTTConfig) SetAddress(v string)
func (*ModuleConfig_MQTTConfig) SetEnabled ¶
func (x *ModuleConfig_MQTTConfig) SetEnabled(v bool)
func (*ModuleConfig_MQTTConfig) SetEncryptionEnabled ¶
func (x *ModuleConfig_MQTTConfig) SetEncryptionEnabled(v bool)
func (*ModuleConfig_MQTTConfig) SetJsonEnabled ¶
func (x *ModuleConfig_MQTTConfig) SetJsonEnabled(v bool)
func (*ModuleConfig_MQTTConfig) SetPassword ¶
func (x *ModuleConfig_MQTTConfig) SetPassword(v string)
func (*ModuleConfig_MQTTConfig) SetProxyToClientEnabled ¶
func (x *ModuleConfig_MQTTConfig) SetProxyToClientEnabled(v bool)
func (*ModuleConfig_MQTTConfig) SetRoot ¶
func (x *ModuleConfig_MQTTConfig) SetRoot(v string)
func (*ModuleConfig_MQTTConfig) SetTlsEnabled ¶
func (x *ModuleConfig_MQTTConfig) SetTlsEnabled(v bool)
func (*ModuleConfig_MQTTConfig) SetUsername ¶
func (x *ModuleConfig_MQTTConfig) SetUsername(v string)
func (*ModuleConfig_MQTTConfig) String ¶
func (x *ModuleConfig_MQTTConfig) String() string
type ModuleConfig_MQTTConfig_builder ¶
type ModuleConfig_MQTTConfig_builder struct {
// If a meshtastic node is able to reach the internet it will normally attempt to gateway any channels that are marked as
// is_uplink_enabled or is_downlink_enabled.
Enabled bool
// The server to use for our MQTT global message gateway feature.
// If not set, the default server will be used
Address string
// MQTT username to use (most useful for a custom MQTT server).
// If using a custom server, this will be honoured even if empty.
// If using the default server, this will only be honoured if set, otherwise the device will use the default username
Username string
// MQTT password to use (most useful for a custom MQTT server).
// If using a custom server, this will be honoured even if empty.
// If using the default server, this will only be honoured if set, otherwise the device will use the default password
Password string
// Whether to send encrypted or decrypted packets to MQTT.
// This parameter is only honoured if you also set server
// (the default official mqtt.meshtastic.org server can handle encrypted packets)
// Decrypted packets may be useful for external systems that want to consume meshtastic packets
EncryptionEnabled bool
// Whether to send / consume json packets on MQTT
JsonEnabled bool
// If true, we attempt to establish a secure connection using TLS
TlsEnabled bool
// The root topic to use for MQTT messages. Default is "msh".
// This is useful if you want to use a single MQTT server for multiple meshtastic networks and separate them via ACLs
Root string
// If true, we can use the connected phone / client to proxy messages to MQTT instead of a direct connection
ProxyToClientEnabled bool
// contains filtered or unexported fields
}
func (ModuleConfig_MQTTConfig_builder) Build ¶
func (b0 ModuleConfig_MQTTConfig_builder) Build() *ModuleConfig_MQTTConfig
type ModuleConfig_Mqtt ¶
type ModuleConfig_Mqtt struct {
// TODO: REPLACE
Mqtt *ModuleConfig_MQTTConfig `protobuf:"bytes,1,opt,name=mqtt,proto3,oneof"`
}
type ModuleConfig_NeighborInfo ¶
type ModuleConfig_NeighborInfo struct {
// TODO: REPLACE
NeighborInfo *ModuleConfig_NeighborInfoConfig `protobuf:"bytes,10,opt,name=neighbor_info,json=neighborInfo,proto3,oneof"`
}
type ModuleConfig_NeighborInfoConfig ¶
type ModuleConfig_NeighborInfoConfig struct {
// Whether the Module is enabled
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Interval in seconds of how often we should try to send our
// Neighbor Info to the mesh
UpdateInterval uint32 `protobuf:"varint,2,opt,name=update_interval,json=updateInterval,proto3" json:"update_interval,omitempty"`
// contains filtered or unexported fields
}
NeighborInfoModule Config
func (*ModuleConfig_NeighborInfoConfig) GetEnabled ¶
func (x *ModuleConfig_NeighborInfoConfig) GetEnabled() bool
func (*ModuleConfig_NeighborInfoConfig) GetUpdateInterval ¶
func (x *ModuleConfig_NeighborInfoConfig) GetUpdateInterval() uint32
func (*ModuleConfig_NeighborInfoConfig) ProtoMessage ¶
func (*ModuleConfig_NeighborInfoConfig) ProtoMessage()
func (*ModuleConfig_NeighborInfoConfig) ProtoReflect ¶
func (x *ModuleConfig_NeighborInfoConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_NeighborInfoConfig) Reset ¶
func (x *ModuleConfig_NeighborInfoConfig) Reset()
func (*ModuleConfig_NeighborInfoConfig) SetEnabled ¶
func (x *ModuleConfig_NeighborInfoConfig) SetEnabled(v bool)
func (*ModuleConfig_NeighborInfoConfig) SetUpdateInterval ¶
func (x *ModuleConfig_NeighborInfoConfig) SetUpdateInterval(v uint32)
func (*ModuleConfig_NeighborInfoConfig) String ¶
func (x *ModuleConfig_NeighborInfoConfig) String() string
type ModuleConfig_NeighborInfoConfig_builder ¶
type ModuleConfig_NeighborInfoConfig_builder struct {
// Whether the Module is enabled
Enabled bool
// Interval in seconds of how often we should try to send our
// Neighbor Info to the mesh
UpdateInterval uint32
// contains filtered or unexported fields
}
func (ModuleConfig_NeighborInfoConfig_builder) Build ¶
func (b0 ModuleConfig_NeighborInfoConfig_builder) Build() *ModuleConfig_NeighborInfoConfig
type ModuleConfig_Paxcounter ¶
type ModuleConfig_Paxcounter struct {
// TODO: REPLACE
Paxcounter *ModuleConfig_PaxcounterConfig `protobuf:"bytes,13,opt,name=paxcounter,proto3,oneof"`
}
type ModuleConfig_PaxcounterConfig ¶
type ModuleConfig_PaxcounterConfig struct {
// Enable the Paxcounter Module
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
PaxcounterUpdateInterval uint32 `` /* 136-byte string literal not displayed */
// contains filtered or unexported fields
}
Config for the Paxcounter Module
func (*ModuleConfig_PaxcounterConfig) GetEnabled ¶
func (x *ModuleConfig_PaxcounterConfig) GetEnabled() bool
func (*ModuleConfig_PaxcounterConfig) GetPaxcounterUpdateInterval ¶
func (x *ModuleConfig_PaxcounterConfig) GetPaxcounterUpdateInterval() uint32
func (*ModuleConfig_PaxcounterConfig) ProtoMessage ¶
func (*ModuleConfig_PaxcounterConfig) ProtoMessage()
func (*ModuleConfig_PaxcounterConfig) ProtoReflect ¶
func (x *ModuleConfig_PaxcounterConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_PaxcounterConfig) Reset ¶
func (x *ModuleConfig_PaxcounterConfig) Reset()
func (*ModuleConfig_PaxcounterConfig) SetEnabled ¶
func (x *ModuleConfig_PaxcounterConfig) SetEnabled(v bool)
func (*ModuleConfig_PaxcounterConfig) SetPaxcounterUpdateInterval ¶
func (x *ModuleConfig_PaxcounterConfig) SetPaxcounterUpdateInterval(v uint32)
func (*ModuleConfig_PaxcounterConfig) String ¶
func (x *ModuleConfig_PaxcounterConfig) String() string
type ModuleConfig_PaxcounterConfig_builder ¶
type ModuleConfig_PaxcounterConfig_builder struct {
// Enable the Paxcounter Module
Enabled bool
PaxcounterUpdateInterval uint32
// contains filtered or unexported fields
}
func (ModuleConfig_PaxcounterConfig_builder) Build ¶
func (b0 ModuleConfig_PaxcounterConfig_builder) Build() *ModuleConfig_PaxcounterConfig
type ModuleConfig_RangeTest ¶
type ModuleConfig_RangeTest struct {
// TODO: REPLACE
RangeTest *ModuleConfig_RangeTestConfig `protobuf:"bytes,5,opt,name=range_test,json=rangeTest,proto3,oneof"`
}
type ModuleConfig_RangeTestConfig ¶
type ModuleConfig_RangeTestConfig struct {
// Enable the Range Test Module
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Send out range test messages from this node
Sender uint32 `protobuf:"varint,2,opt,name=sender,proto3" json:"sender,omitempty"`
// Bool value indicating that this node should save a RangeTest.csv file.
// ESP32 Only
Save bool `protobuf:"varint,3,opt,name=save,proto3" json:"save,omitempty"`
// contains filtered or unexported fields
}
Preferences for the RangeTestModule
func (*ModuleConfig_RangeTestConfig) GetEnabled ¶
func (x *ModuleConfig_RangeTestConfig) GetEnabled() bool
func (*ModuleConfig_RangeTestConfig) GetSave ¶
func (x *ModuleConfig_RangeTestConfig) GetSave() bool
func (*ModuleConfig_RangeTestConfig) GetSender ¶
func (x *ModuleConfig_RangeTestConfig) GetSender() uint32
func (*ModuleConfig_RangeTestConfig) ProtoMessage ¶
func (*ModuleConfig_RangeTestConfig) ProtoMessage()
func (*ModuleConfig_RangeTestConfig) ProtoReflect ¶
func (x *ModuleConfig_RangeTestConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_RangeTestConfig) Reset ¶
func (x *ModuleConfig_RangeTestConfig) Reset()
func (*ModuleConfig_RangeTestConfig) SetEnabled ¶
func (x *ModuleConfig_RangeTestConfig) SetEnabled(v bool)
func (*ModuleConfig_RangeTestConfig) SetSave ¶
func (x *ModuleConfig_RangeTestConfig) SetSave(v bool)
func (*ModuleConfig_RangeTestConfig) SetSender ¶
func (x *ModuleConfig_RangeTestConfig) SetSender(v uint32)
func (*ModuleConfig_RangeTestConfig) String ¶
func (x *ModuleConfig_RangeTestConfig) String() string
type ModuleConfig_RangeTestConfig_builder ¶
type ModuleConfig_RangeTestConfig_builder struct {
// Enable the Range Test Module
Enabled bool
// Send out range test messages from this node
Sender uint32
// Bool value indicating that this node should save a RangeTest.csv file.
// ESP32 Only
Save bool
// contains filtered or unexported fields
}
func (ModuleConfig_RangeTestConfig_builder) Build ¶
func (b0 ModuleConfig_RangeTestConfig_builder) Build() *ModuleConfig_RangeTestConfig
type ModuleConfig_RemoteHardware ¶
type ModuleConfig_RemoteHardware struct {
// TODO: REPLACE
RemoteHardware *ModuleConfig_RemoteHardwareConfig `protobuf:"bytes,9,opt,name=remote_hardware,json=remoteHardware,proto3,oneof"`
}
type ModuleConfig_RemoteHardwareConfig ¶
type ModuleConfig_RemoteHardwareConfig struct {
// Whether the Module is enabled
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Whether the Module allows consumers to read / write to pins not defined in available_pins
AllowUndefinedPinAccess bool `` /* 135-byte string literal not displayed */
// Exposes the available pins to the mesh for reading and writing
AvailablePins []*RemoteHardwarePin `protobuf:"bytes,3,rep,name=available_pins,json=availablePins,proto3" json:"available_pins,omitempty"`
// contains filtered or unexported fields
}
RemoteHardwareModule Config
func (*ModuleConfig_RemoteHardwareConfig) GetAllowUndefinedPinAccess ¶
func (x *ModuleConfig_RemoteHardwareConfig) GetAllowUndefinedPinAccess() bool
func (*ModuleConfig_RemoteHardwareConfig) GetAvailablePins ¶
func (x *ModuleConfig_RemoteHardwareConfig) GetAvailablePins() []*RemoteHardwarePin
func (*ModuleConfig_RemoteHardwareConfig) GetEnabled ¶
func (x *ModuleConfig_RemoteHardwareConfig) GetEnabled() bool
func (*ModuleConfig_RemoteHardwareConfig) ProtoMessage ¶
func (*ModuleConfig_RemoteHardwareConfig) ProtoMessage()
func (*ModuleConfig_RemoteHardwareConfig) ProtoReflect ¶
func (x *ModuleConfig_RemoteHardwareConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_RemoteHardwareConfig) Reset ¶
func (x *ModuleConfig_RemoteHardwareConfig) Reset()
func (*ModuleConfig_RemoteHardwareConfig) SetAllowUndefinedPinAccess ¶
func (x *ModuleConfig_RemoteHardwareConfig) SetAllowUndefinedPinAccess(v bool)
func (*ModuleConfig_RemoteHardwareConfig) SetAvailablePins ¶
func (x *ModuleConfig_RemoteHardwareConfig) SetAvailablePins(v []*RemoteHardwarePin)
func (*ModuleConfig_RemoteHardwareConfig) SetEnabled ¶
func (x *ModuleConfig_RemoteHardwareConfig) SetEnabled(v bool)
func (*ModuleConfig_RemoteHardwareConfig) String ¶
func (x *ModuleConfig_RemoteHardwareConfig) String() string
type ModuleConfig_RemoteHardwareConfig_builder ¶
type ModuleConfig_RemoteHardwareConfig_builder struct {
// Whether the Module is enabled
Enabled bool
// Whether the Module allows consumers to read / write to pins not defined in available_pins
AllowUndefinedPinAccess bool
// Exposes the available pins to the mesh for reading and writing
AvailablePins []*RemoteHardwarePin
// contains filtered or unexported fields
}
func (ModuleConfig_RemoteHardwareConfig_builder) Build ¶
func (b0 ModuleConfig_RemoteHardwareConfig_builder) Build() *ModuleConfig_RemoteHardwareConfig
type ModuleConfig_Serial ¶
type ModuleConfig_Serial struct {
// TODO: REPLACE
Serial *ModuleConfig_SerialConfig `protobuf:"bytes,2,opt,name=serial,proto3,oneof"`
}
type ModuleConfig_SerialConfig ¶
type ModuleConfig_SerialConfig struct {
// Preferences for the SerialModule
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// TODO: REPLACE
Echo bool `protobuf:"varint,2,opt,name=echo,proto3" json:"echo,omitempty"`
// RX pin (should match Arduino gpio pin number)
Rxd uint32 `protobuf:"varint,3,opt,name=rxd,proto3" json:"rxd,omitempty"`
// TX pin (should match Arduino gpio pin number)
Txd uint32 `protobuf:"varint,4,opt,name=txd,proto3" json:"txd,omitempty"`
// Serial baud rate
Baud ModuleConfig_SerialConfig_Serial_Baud `protobuf:"varint,5,opt,name=baud,proto3,enum=meshtastic.ModuleConfig_SerialConfig_Serial_Baud" json:"baud,omitempty"`
// TODO: REPLACE
Timeout uint32 `protobuf:"varint,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
// Mode for serial module operation
Mode ModuleConfig_SerialConfig_Serial_Mode `protobuf:"varint,7,opt,name=mode,proto3,enum=meshtastic.ModuleConfig_SerialConfig_Serial_Mode" json:"mode,omitempty"`
// Overrides the platform's defacto Serial port instance to use with Serial module config settings
// This is currently only usable in output modes like NMEA / CalTopo and may behave strangely or not work at all in other modes
// Existing logging over the Serial Console will still be present
OverrideConsoleSerialPort bool `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
Serial Config
func (*ModuleConfig_SerialConfig) GetBaud ¶
func (x *ModuleConfig_SerialConfig) GetBaud() ModuleConfig_SerialConfig_Serial_Baud
func (*ModuleConfig_SerialConfig) GetEcho ¶
func (x *ModuleConfig_SerialConfig) GetEcho() bool
func (*ModuleConfig_SerialConfig) GetEnabled ¶
func (x *ModuleConfig_SerialConfig) GetEnabled() bool
func (*ModuleConfig_SerialConfig) GetMode ¶
func (x *ModuleConfig_SerialConfig) GetMode() ModuleConfig_SerialConfig_Serial_Mode
func (*ModuleConfig_SerialConfig) GetOverrideConsoleSerialPort ¶
func (x *ModuleConfig_SerialConfig) GetOverrideConsoleSerialPort() bool
func (*ModuleConfig_SerialConfig) GetRxd ¶
func (x *ModuleConfig_SerialConfig) GetRxd() uint32
func (*ModuleConfig_SerialConfig) GetTimeout ¶
func (x *ModuleConfig_SerialConfig) GetTimeout() uint32
func (*ModuleConfig_SerialConfig) GetTxd ¶
func (x *ModuleConfig_SerialConfig) GetTxd() uint32
func (*ModuleConfig_SerialConfig) ProtoMessage ¶
func (*ModuleConfig_SerialConfig) ProtoMessage()
func (*ModuleConfig_SerialConfig) ProtoReflect ¶
func (x *ModuleConfig_SerialConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_SerialConfig) Reset ¶
func (x *ModuleConfig_SerialConfig) Reset()
func (*ModuleConfig_SerialConfig) SetBaud ¶
func (x *ModuleConfig_SerialConfig) SetBaud(v ModuleConfig_SerialConfig_Serial_Baud)
func (*ModuleConfig_SerialConfig) SetEcho ¶
func (x *ModuleConfig_SerialConfig) SetEcho(v bool)
func (*ModuleConfig_SerialConfig) SetEnabled ¶
func (x *ModuleConfig_SerialConfig) SetEnabled(v bool)
func (*ModuleConfig_SerialConfig) SetMode ¶
func (x *ModuleConfig_SerialConfig) SetMode(v ModuleConfig_SerialConfig_Serial_Mode)
func (*ModuleConfig_SerialConfig) SetOverrideConsoleSerialPort ¶
func (x *ModuleConfig_SerialConfig) SetOverrideConsoleSerialPort(v bool)
func (*ModuleConfig_SerialConfig) SetRxd ¶
func (x *ModuleConfig_SerialConfig) SetRxd(v uint32)
func (*ModuleConfig_SerialConfig) SetTimeout ¶
func (x *ModuleConfig_SerialConfig) SetTimeout(v uint32)
func (*ModuleConfig_SerialConfig) SetTxd ¶
func (x *ModuleConfig_SerialConfig) SetTxd(v uint32)
func (*ModuleConfig_SerialConfig) String ¶
func (x *ModuleConfig_SerialConfig) String() string
type ModuleConfig_SerialConfig_Serial_Baud ¶
type ModuleConfig_SerialConfig_Serial_Baud int32
TODO: REPLACE
const ( ModuleConfig_SerialConfig_BAUD_DEFAULT ModuleConfig_SerialConfig_Serial_Baud = 0 ModuleConfig_SerialConfig_BAUD_110 ModuleConfig_SerialConfig_Serial_Baud = 1 ModuleConfig_SerialConfig_BAUD_300 ModuleConfig_SerialConfig_Serial_Baud = 2 ModuleConfig_SerialConfig_BAUD_600 ModuleConfig_SerialConfig_Serial_Baud = 3 ModuleConfig_SerialConfig_BAUD_1200 ModuleConfig_SerialConfig_Serial_Baud = 4 ModuleConfig_SerialConfig_BAUD_2400 ModuleConfig_SerialConfig_Serial_Baud = 5 ModuleConfig_SerialConfig_BAUD_4800 ModuleConfig_SerialConfig_Serial_Baud = 6 ModuleConfig_SerialConfig_BAUD_9600 ModuleConfig_SerialConfig_Serial_Baud = 7 ModuleConfig_SerialConfig_BAUD_19200 ModuleConfig_SerialConfig_Serial_Baud = 8 ModuleConfig_SerialConfig_BAUD_38400 ModuleConfig_SerialConfig_Serial_Baud = 9 ModuleConfig_SerialConfig_BAUD_57600 ModuleConfig_SerialConfig_Serial_Baud = 10 ModuleConfig_SerialConfig_BAUD_115200 ModuleConfig_SerialConfig_Serial_Baud = 11 ModuleConfig_SerialConfig_BAUD_230400 ModuleConfig_SerialConfig_Serial_Baud = 12 ModuleConfig_SerialConfig_BAUD_460800 ModuleConfig_SerialConfig_Serial_Baud = 13 ModuleConfig_SerialConfig_BAUD_576000 ModuleConfig_SerialConfig_Serial_Baud = 14 ModuleConfig_SerialConfig_BAUD_921600 ModuleConfig_SerialConfig_Serial_Baud = 15 )
func (ModuleConfig_SerialConfig_Serial_Baud) Descriptor ¶
func (ModuleConfig_SerialConfig_Serial_Baud) Descriptor() protoreflect.EnumDescriptor
func (ModuleConfig_SerialConfig_Serial_Baud) Enum ¶
func (ModuleConfig_SerialConfig_Serial_Baud) Number ¶
func (x ModuleConfig_SerialConfig_Serial_Baud) Number() protoreflect.EnumNumber
func (ModuleConfig_SerialConfig_Serial_Baud) String ¶
func (x ModuleConfig_SerialConfig_Serial_Baud) String() string
func (ModuleConfig_SerialConfig_Serial_Baud) Type ¶
func (ModuleConfig_SerialConfig_Serial_Baud) Type() protoreflect.EnumType
type ModuleConfig_SerialConfig_Serial_Mode ¶
type ModuleConfig_SerialConfig_Serial_Mode int32
TODO: REPLACE
const ( ModuleConfig_SerialConfig_DEFAULT ModuleConfig_SerialConfig_Serial_Mode = 0 ModuleConfig_SerialConfig_SIMPLE ModuleConfig_SerialConfig_Serial_Mode = 1 ModuleConfig_SerialConfig_PROTO ModuleConfig_SerialConfig_Serial_Mode = 2 ModuleConfig_SerialConfig_TEXTMSG ModuleConfig_SerialConfig_Serial_Mode = 3 ModuleConfig_SerialConfig_NMEA ModuleConfig_SerialConfig_Serial_Mode = 4 // NMEA messages specifically tailored for CalTopo ModuleConfig_SerialConfig_CALTOPO ModuleConfig_SerialConfig_Serial_Mode = 5 )
func (ModuleConfig_SerialConfig_Serial_Mode) Descriptor ¶
func (ModuleConfig_SerialConfig_Serial_Mode) Descriptor() protoreflect.EnumDescriptor
func (ModuleConfig_SerialConfig_Serial_Mode) Enum ¶
func (ModuleConfig_SerialConfig_Serial_Mode) Number ¶
func (x ModuleConfig_SerialConfig_Serial_Mode) Number() protoreflect.EnumNumber
func (ModuleConfig_SerialConfig_Serial_Mode) String ¶
func (x ModuleConfig_SerialConfig_Serial_Mode) String() string
func (ModuleConfig_SerialConfig_Serial_Mode) Type ¶
func (ModuleConfig_SerialConfig_Serial_Mode) Type() protoreflect.EnumType
type ModuleConfig_SerialConfig_builder ¶
type ModuleConfig_SerialConfig_builder struct {
// Preferences for the SerialModule
Enabled bool
// TODO: REPLACE
Echo bool
// RX pin (should match Arduino gpio pin number)
Rxd uint32
// TX pin (should match Arduino gpio pin number)
Txd uint32
// Serial baud rate
Baud ModuleConfig_SerialConfig_Serial_Baud
// TODO: REPLACE
Timeout uint32
// Mode for serial module operation
Mode ModuleConfig_SerialConfig_Serial_Mode
// Overrides the platform's defacto Serial port instance to use with Serial module config settings
// This is currently only usable in output modes like NMEA / CalTopo and may behave strangely or not work at all in other modes
// Existing logging over the Serial Console will still be present
OverrideConsoleSerialPort bool
// contains filtered or unexported fields
}
func (ModuleConfig_SerialConfig_builder) Build ¶
func (b0 ModuleConfig_SerialConfig_builder) Build() *ModuleConfig_SerialConfig
type ModuleConfig_StoreForward ¶
type ModuleConfig_StoreForward struct {
// TODO: REPLACE
StoreForward *ModuleConfig_StoreForwardConfig `protobuf:"bytes,4,opt,name=store_forward,json=storeForward,proto3,oneof"`
}
type ModuleConfig_StoreForwardConfig ¶
type ModuleConfig_StoreForwardConfig struct {
// Enable the Store and Forward Module
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// TODO: REPLACE
Heartbeat bool `protobuf:"varint,2,opt,name=heartbeat,proto3" json:"heartbeat,omitempty"`
// TODO: REPLACE
Records uint32 `protobuf:"varint,3,opt,name=records,proto3" json:"records,omitempty"`
// TODO: REPLACE
HistoryReturnMax uint32 `protobuf:"varint,4,opt,name=history_return_max,json=historyReturnMax,proto3" json:"history_return_max,omitempty"`
// TODO: REPLACE
HistoryReturnWindow uint32 `protobuf:"varint,5,opt,name=history_return_window,json=historyReturnWindow,proto3" json:"history_return_window,omitempty"`
// contains filtered or unexported fields
}
Store and Forward Module Config
func (*ModuleConfig_StoreForwardConfig) GetEnabled ¶
func (x *ModuleConfig_StoreForwardConfig) GetEnabled() bool
func (*ModuleConfig_StoreForwardConfig) GetHeartbeat ¶
func (x *ModuleConfig_StoreForwardConfig) GetHeartbeat() bool
func (*ModuleConfig_StoreForwardConfig) GetHistoryReturnMax ¶
func (x *ModuleConfig_StoreForwardConfig) GetHistoryReturnMax() uint32
func (*ModuleConfig_StoreForwardConfig) GetHistoryReturnWindow ¶
func (x *ModuleConfig_StoreForwardConfig) GetHistoryReturnWindow() uint32
func (*ModuleConfig_StoreForwardConfig) GetRecords ¶
func (x *ModuleConfig_StoreForwardConfig) GetRecords() uint32
func (*ModuleConfig_StoreForwardConfig) ProtoMessage ¶
func (*ModuleConfig_StoreForwardConfig) ProtoMessage()
func (*ModuleConfig_StoreForwardConfig) ProtoReflect ¶
func (x *ModuleConfig_StoreForwardConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_StoreForwardConfig) Reset ¶
func (x *ModuleConfig_StoreForwardConfig) Reset()
func (*ModuleConfig_StoreForwardConfig) SetEnabled ¶
func (x *ModuleConfig_StoreForwardConfig) SetEnabled(v bool)
func (*ModuleConfig_StoreForwardConfig) SetHeartbeat ¶
func (x *ModuleConfig_StoreForwardConfig) SetHeartbeat(v bool)
func (*ModuleConfig_StoreForwardConfig) SetHistoryReturnMax ¶
func (x *ModuleConfig_StoreForwardConfig) SetHistoryReturnMax(v uint32)
func (*ModuleConfig_StoreForwardConfig) SetHistoryReturnWindow ¶
func (x *ModuleConfig_StoreForwardConfig) SetHistoryReturnWindow(v uint32)
func (*ModuleConfig_StoreForwardConfig) SetRecords ¶
func (x *ModuleConfig_StoreForwardConfig) SetRecords(v uint32)
func (*ModuleConfig_StoreForwardConfig) String ¶
func (x *ModuleConfig_StoreForwardConfig) String() string
type ModuleConfig_StoreForwardConfig_builder ¶
type ModuleConfig_StoreForwardConfig_builder struct {
// Enable the Store and Forward Module
Enabled bool
// TODO: REPLACE
Heartbeat bool
// TODO: REPLACE
Records uint32
// TODO: REPLACE
HistoryReturnMax uint32
// TODO: REPLACE
HistoryReturnWindow uint32
// contains filtered or unexported fields
}
func (ModuleConfig_StoreForwardConfig_builder) Build ¶
func (b0 ModuleConfig_StoreForwardConfig_builder) Build() *ModuleConfig_StoreForwardConfig
type ModuleConfig_Telemetry ¶
type ModuleConfig_Telemetry struct {
// TODO: REPLACE
Telemetry *ModuleConfig_TelemetryConfig `protobuf:"bytes,6,opt,name=telemetry,proto3,oneof"`
}
type ModuleConfig_TelemetryConfig ¶
type ModuleConfig_TelemetryConfig struct {
// Interval in seconds of how often we should try to send our
// device metrics to the mesh
DeviceUpdateInterval uint32 `protobuf:"varint,1,opt,name=device_update_interval,json=deviceUpdateInterval,proto3" json:"device_update_interval,omitempty"`
EnvironmentUpdateInterval uint32 `` /* 139-byte string literal not displayed */
// Preferences for the Telemetry Module (Environment)
// Enable/Disable the telemetry measurement module measurement collection
EnvironmentMeasurementEnabled bool `` /* 151-byte string literal not displayed */
// Enable/Disable the telemetry measurement module on-device display
EnvironmentScreenEnabled bool `` /* 136-byte string literal not displayed */
// We'll always read the sensor in Celsius, but sometimes we might want to
// display the results in Fahrenheit as a "user preference".
EnvironmentDisplayFahrenheit bool `` /* 148-byte string literal not displayed */
// Enable/Disable the air quality metrics
AirQualityEnabled bool `protobuf:"varint,6,opt,name=air_quality_enabled,json=airQualityEnabled,proto3" json:"air_quality_enabled,omitempty"`
// Interval in seconds of how often we should try to send our
// air quality metrics to the mesh
AirQualityInterval uint32 `protobuf:"varint,7,opt,name=air_quality_interval,json=airQualityInterval,proto3" json:"air_quality_interval,omitempty"`
// Interval in seconds of how often we should try to send our
// air quality metrics to the mesh
PowerMeasurementEnabled bool `` /* 133-byte string literal not displayed */
// Interval in seconds of how often we should try to send our
// air quality metrics to the mesh
PowerUpdateInterval uint32 `protobuf:"varint,9,opt,name=power_update_interval,json=powerUpdateInterval,proto3" json:"power_update_interval,omitempty"`
// Interval in seconds of how often we should try to send our
// air quality metrics to the mesh
PowerScreenEnabled bool `protobuf:"varint,10,opt,name=power_screen_enabled,json=powerScreenEnabled,proto3" json:"power_screen_enabled,omitempty"`
// contains filtered or unexported fields
}
Configuration for both device and environment metrics
func (*ModuleConfig_TelemetryConfig) GetAirQualityEnabled ¶
func (x *ModuleConfig_TelemetryConfig) GetAirQualityEnabled() bool
func (*ModuleConfig_TelemetryConfig) GetAirQualityInterval ¶
func (x *ModuleConfig_TelemetryConfig) GetAirQualityInterval() uint32
func (*ModuleConfig_TelemetryConfig) GetDeviceUpdateInterval ¶
func (x *ModuleConfig_TelemetryConfig) GetDeviceUpdateInterval() uint32
func (*ModuleConfig_TelemetryConfig) GetEnvironmentDisplayFahrenheit ¶
func (x *ModuleConfig_TelemetryConfig) GetEnvironmentDisplayFahrenheit() bool
func (*ModuleConfig_TelemetryConfig) GetEnvironmentMeasurementEnabled ¶
func (x *ModuleConfig_TelemetryConfig) GetEnvironmentMeasurementEnabled() bool
func (*ModuleConfig_TelemetryConfig) GetEnvironmentScreenEnabled ¶
func (x *ModuleConfig_TelemetryConfig) GetEnvironmentScreenEnabled() bool
func (*ModuleConfig_TelemetryConfig) GetEnvironmentUpdateInterval ¶
func (x *ModuleConfig_TelemetryConfig) GetEnvironmentUpdateInterval() uint32
func (*ModuleConfig_TelemetryConfig) GetPowerMeasurementEnabled ¶
func (x *ModuleConfig_TelemetryConfig) GetPowerMeasurementEnabled() bool
func (*ModuleConfig_TelemetryConfig) GetPowerScreenEnabled ¶
func (x *ModuleConfig_TelemetryConfig) GetPowerScreenEnabled() bool
func (*ModuleConfig_TelemetryConfig) GetPowerUpdateInterval ¶
func (x *ModuleConfig_TelemetryConfig) GetPowerUpdateInterval() uint32
func (*ModuleConfig_TelemetryConfig) ProtoMessage ¶
func (*ModuleConfig_TelemetryConfig) ProtoMessage()
func (*ModuleConfig_TelemetryConfig) ProtoReflect ¶
func (x *ModuleConfig_TelemetryConfig) ProtoReflect() protoreflect.Message
func (*ModuleConfig_TelemetryConfig) Reset ¶
func (x *ModuleConfig_TelemetryConfig) Reset()
func (*ModuleConfig_TelemetryConfig) SetAirQualityEnabled ¶
func (x *ModuleConfig_TelemetryConfig) SetAirQualityEnabled(v bool)
func (*ModuleConfig_TelemetryConfig) SetAirQualityInterval ¶
func (x *ModuleConfig_TelemetryConfig) SetAirQualityInterval(v uint32)
func (*ModuleConfig_TelemetryConfig) SetDeviceUpdateInterval ¶
func (x *ModuleConfig_TelemetryConfig) SetDeviceUpdateInterval(v uint32)
func (*ModuleConfig_TelemetryConfig) SetEnvironmentDisplayFahrenheit ¶
func (x *ModuleConfig_TelemetryConfig) SetEnvironmentDisplayFahrenheit(v bool)
func (*ModuleConfig_TelemetryConfig) SetEnvironmentMeasurementEnabled ¶
func (x *ModuleConfig_TelemetryConfig) SetEnvironmentMeasurementEnabled(v bool)
func (*ModuleConfig_TelemetryConfig) SetEnvironmentScreenEnabled ¶
func (x *ModuleConfig_TelemetryConfig) SetEnvironmentScreenEnabled(v bool)
func (*ModuleConfig_TelemetryConfig) SetEnvironmentUpdateInterval ¶
func (x *ModuleConfig_TelemetryConfig) SetEnvironmentUpdateInterval(v uint32)
func (*ModuleConfig_TelemetryConfig) SetPowerMeasurementEnabled ¶
func (x *ModuleConfig_TelemetryConfig) SetPowerMeasurementEnabled(v bool)
func (*ModuleConfig_TelemetryConfig) SetPowerScreenEnabled ¶
func (x *ModuleConfig_TelemetryConfig) SetPowerScreenEnabled(v bool)
func (*ModuleConfig_TelemetryConfig) SetPowerUpdateInterval ¶
func (x *ModuleConfig_TelemetryConfig) SetPowerUpdateInterval(v uint32)
func (*ModuleConfig_TelemetryConfig) String ¶
func (x *ModuleConfig_TelemetryConfig) String() string
type ModuleConfig_TelemetryConfig_builder ¶
type ModuleConfig_TelemetryConfig_builder struct {
// Interval in seconds of how often we should try to send our
// device metrics to the mesh
DeviceUpdateInterval uint32
EnvironmentUpdateInterval uint32
// Preferences for the Telemetry Module (Environment)
// Enable/Disable the telemetry measurement module measurement collection
EnvironmentMeasurementEnabled bool
// Enable/Disable the telemetry measurement module on-device display
EnvironmentScreenEnabled bool
// We'll always read the sensor in Celsius, but sometimes we might want to
// display the results in Fahrenheit as a "user preference".
EnvironmentDisplayFahrenheit bool
// Enable/Disable the air quality metrics
AirQualityEnabled bool
// Interval in seconds of how often we should try to send our
// air quality metrics to the mesh
AirQualityInterval uint32
// Interval in seconds of how often we should try to send our
// air quality metrics to the mesh
PowerMeasurementEnabled bool
// Interval in seconds of how often we should try to send our
// air quality metrics to the mesh
PowerUpdateInterval uint32
// Interval in seconds of how often we should try to send our
// air quality metrics to the mesh
PowerScreenEnabled bool
// contains filtered or unexported fields
}
func (ModuleConfig_TelemetryConfig_builder) Build ¶
func (b0 ModuleConfig_TelemetryConfig_builder) Build() *ModuleConfig_TelemetryConfig
type ModuleConfig_builder ¶
type ModuleConfig_builder struct {
// Fields of oneof PayloadVariant:
//
// TODO: REPLACE
Mqtt *ModuleConfig_MQTTConfig
// TODO: REPLACE
Serial *ModuleConfig_SerialConfig
// TODO: REPLACE
ExternalNotification *ModuleConfig_ExternalNotificationConfig
// TODO: REPLACE
StoreForward *ModuleConfig_StoreForwardConfig
// TODO: REPLACE
RangeTest *ModuleConfig_RangeTestConfig
// TODO: REPLACE
Telemetry *ModuleConfig_TelemetryConfig
// TODO: REPLACE
CannedMessage *ModuleConfig_CannedMessageConfig
// TODO: REPLACE
Audio *ModuleConfig_AudioConfig
// TODO: REPLACE
RemoteHardware *ModuleConfig_RemoteHardwareConfig
// TODO: REPLACE
NeighborInfo *ModuleConfig_NeighborInfoConfig
// TODO: REPLACE
AmbientLighting *ModuleConfig_AmbientLightingConfig
// TODO: REPLACE
DetectionSensor *ModuleConfig_DetectionSensorConfig
// TODO: REPLACE
Paxcounter *ModuleConfig_PaxcounterConfig
// contains filtered or unexported fields
}
func (ModuleConfig_builder) Build ¶
func (b0 ModuleConfig_builder) Build() *ModuleConfig
type MqttClientProxyMessage ¶
type MqttClientProxyMessage struct {
// The MQTT topic this message will be sent /received on
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
// The actual service envelope payload or text for mqtt pub / sub
//
// Types that are valid to be assigned to PayloadVariant:
//
// *MqttClientProxyMessage_Data
// *MqttClientProxyMessage_Text
PayloadVariant isMqttClientProxyMessage_PayloadVariant `protobuf_oneof:"payload_variant"`
// Whether the message should be retained (or not)
Retained bool `protobuf:"varint,4,opt,name=retained,proto3" json:"retained,omitempty"`
// contains filtered or unexported fields
}
This message will be proxied over the PhoneAPI for the client to deliver to the MQTT server
func (*MqttClientProxyMessage) ClearData ¶
func (x *MqttClientProxyMessage) ClearData()
func (*MqttClientProxyMessage) ClearPayloadVariant ¶
func (x *MqttClientProxyMessage) ClearPayloadVariant()
func (*MqttClientProxyMessage) ClearText ¶
func (x *MqttClientProxyMessage) ClearText()
func (*MqttClientProxyMessage) GetData ¶
func (x *MqttClientProxyMessage) GetData() []byte
func (*MqttClientProxyMessage) GetPayloadVariant ¶
func (x *MqttClientProxyMessage) GetPayloadVariant() isMqttClientProxyMessage_PayloadVariant
func (*MqttClientProxyMessage) GetRetained ¶
func (x *MqttClientProxyMessage) GetRetained() bool
func (*MqttClientProxyMessage) GetText ¶
func (x *MqttClientProxyMessage) GetText() string
func (*MqttClientProxyMessage) GetTopic ¶
func (x *MqttClientProxyMessage) GetTopic() string
func (*MqttClientProxyMessage) HasData ¶
func (x *MqttClientProxyMessage) HasData() bool
func (*MqttClientProxyMessage) HasPayloadVariant ¶
func (x *MqttClientProxyMessage) HasPayloadVariant() bool
func (*MqttClientProxyMessage) HasText ¶
func (x *MqttClientProxyMessage) HasText() bool
func (*MqttClientProxyMessage) ProtoMessage ¶
func (*MqttClientProxyMessage) ProtoMessage()
func (*MqttClientProxyMessage) ProtoReflect ¶
func (x *MqttClientProxyMessage) ProtoReflect() protoreflect.Message
func (*MqttClientProxyMessage) Reset ¶
func (x *MqttClientProxyMessage) Reset()
func (*MqttClientProxyMessage) SetData ¶
func (x *MqttClientProxyMessage) SetData(v []byte)
func (*MqttClientProxyMessage) SetRetained ¶
func (x *MqttClientProxyMessage) SetRetained(v bool)
func (*MqttClientProxyMessage) SetText ¶
func (x *MqttClientProxyMessage) SetText(v string)
func (*MqttClientProxyMessage) SetTopic ¶
func (x *MqttClientProxyMessage) SetTopic(v string)
func (*MqttClientProxyMessage) String ¶
func (x *MqttClientProxyMessage) String() string
func (*MqttClientProxyMessage) WhichPayloadVariant ¶
func (x *MqttClientProxyMessage) WhichPayloadVariant() case_MqttClientProxyMessage_PayloadVariant
type MqttClientProxyMessage_Data ¶
type MqttClientProxyMessage_Data struct {
// Bytes
Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type MqttClientProxyMessage_Text ¶
type MqttClientProxyMessage_Text struct {
// Text
Text string `protobuf:"bytes,3,opt,name=text,proto3,oneof"`
}
type MqttClientProxyMessage_builder ¶
type MqttClientProxyMessage_builder struct {
// The MQTT topic this message will be sent /received on
Topic string
// Fields of oneof PayloadVariant:
//
// Bytes
Data []byte
// Text
Text *string
// -- end of PayloadVariant
//
// Whether the message should be retained (or not)
Retained bool
// contains filtered or unexported fields
}
func (MqttClientProxyMessage_builder) Build ¶
func (b0 MqttClientProxyMessage_builder) Build() *MqttClientProxyMessage
type MyNodeInfo ¶
type MyNodeInfo struct {
// Tells the phone what our node number is, default starting value is
// lowbyte of macaddr, but it will be fixed if that is already in use
MyNodeNum uint32 `protobuf:"varint,1,opt,name=my_node_num,json=myNodeNum,proto3" json:"my_node_num,omitempty"`
// The total number of reboots this node has ever encountered
// (well - since the last time we discarded preferences)
RebootCount uint32 `protobuf:"varint,8,opt,name=reboot_count,json=rebootCount,proto3" json:"reboot_count,omitempty"`
// The minimum app version that can talk to this device.
// Phone/PC apps should compare this to their build number and if too low tell the user they must update their app
MinAppVersion uint32 `protobuf:"varint,11,opt,name=min_app_version,json=minAppVersion,proto3" json:"min_app_version,omitempty"`
// contains filtered or unexported fields
}
Unique local debugging info for this node Note: we don't include position or the user info, because that will come in the Sent to the phone in response to WantNodes.
func (*MyNodeInfo) GetMinAppVersion ¶
func (x *MyNodeInfo) GetMinAppVersion() uint32
func (*MyNodeInfo) GetMyNodeNum ¶
func (x *MyNodeInfo) GetMyNodeNum() uint32
func (*MyNodeInfo) GetRebootCount ¶
func (x *MyNodeInfo) GetRebootCount() uint32
func (*MyNodeInfo) ProtoMessage ¶
func (*MyNodeInfo) ProtoMessage()
func (*MyNodeInfo) ProtoReflect ¶
func (x *MyNodeInfo) ProtoReflect() protoreflect.Message
func (*MyNodeInfo) Reset ¶
func (x *MyNodeInfo) Reset()
func (*MyNodeInfo) SetMinAppVersion ¶
func (x *MyNodeInfo) SetMinAppVersion(v uint32)
func (*MyNodeInfo) SetMyNodeNum ¶
func (x *MyNodeInfo) SetMyNodeNum(v uint32)
func (*MyNodeInfo) SetRebootCount ¶
func (x *MyNodeInfo) SetRebootCount(v uint32)
func (*MyNodeInfo) String ¶
func (x *MyNodeInfo) String() string
type MyNodeInfo_builder ¶
type MyNodeInfo_builder struct {
// Tells the phone what our node number is, default starting value is
// lowbyte of macaddr, but it will be fixed if that is already in use
MyNodeNum uint32
// The total number of reboots this node has ever encountered
// (well - since the last time we discarded preferences)
RebootCount uint32
// The minimum app version that can talk to this device.
// Phone/PC apps should compare this to their build number and if too low tell the user they must update their app
MinAppVersion uint32
// contains filtered or unexported fields
}
func (MyNodeInfo_builder) Build ¶
func (b0 MyNodeInfo_builder) Build() *MyNodeInfo
type Neighbor ¶
type Neighbor struct {
// Node ID of neighbor
NodeId uint32 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// SNR of last heard message
Snr float32 `protobuf:"fixed32,2,opt,name=snr,proto3" json:"snr,omitempty"`
// Reception time (in secs since 1970) of last message that was last sent by this ID.
// Note: this is for local storage only and will not be sent out over the mesh.
LastRxTime uint32 `protobuf:"fixed32,3,opt,name=last_rx_time,json=lastRxTime,proto3" json:"last_rx_time,omitempty"`
// Broadcast interval of this neighbor (in seconds).
// Note: this is for local storage only and will not be sent out over the mesh.
NodeBroadcastIntervalSecs uint32 `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
A single edge in the mesh
func (*Neighbor) GetNodeBroadcastIntervalSecs ¶
func (*Neighbor) ProtoReflect ¶
func (x *Neighbor) ProtoReflect() protoreflect.Message
func (*Neighbor) SetNodeBroadcastIntervalSecs ¶
type NeighborInfo ¶
type NeighborInfo struct {
// The node ID of the node sending info on its neighbors
NodeId uint32 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// Field to pass neighbor info for the next sending cycle
LastSentById uint32 `protobuf:"varint,2,opt,name=last_sent_by_id,json=lastSentById,proto3" json:"last_sent_by_id,omitempty"`
// Broadcast interval of the represented node (in seconds)
NodeBroadcastIntervalSecs uint32 `` /* 141-byte string literal not displayed */
// The list of out edges from this node
Neighbors []*Neighbor `protobuf:"bytes,4,rep,name=neighbors,proto3" json:"neighbors,omitempty"`
// contains filtered or unexported fields
}
Full info on edges for a single node
func (*NeighborInfo) GetLastSentById ¶
func (x *NeighborInfo) GetLastSentById() uint32
func (*NeighborInfo) GetNeighbors ¶
func (x *NeighborInfo) GetNeighbors() []*Neighbor
func (*NeighborInfo) GetNodeBroadcastIntervalSecs ¶
func (x *NeighborInfo) GetNodeBroadcastIntervalSecs() uint32
func (*NeighborInfo) GetNodeId ¶
func (x *NeighborInfo) GetNodeId() uint32
func (*NeighborInfo) ProtoMessage ¶
func (*NeighborInfo) ProtoMessage()
func (*NeighborInfo) ProtoReflect ¶
func (x *NeighborInfo) ProtoReflect() protoreflect.Message
func (*NeighborInfo) Reset ¶
func (x *NeighborInfo) Reset()
func (*NeighborInfo) SetLastSentById ¶
func (x *NeighborInfo) SetLastSentById(v uint32)
func (*NeighborInfo) SetNeighbors ¶
func (x *NeighborInfo) SetNeighbors(v []*Neighbor)
func (*NeighborInfo) SetNodeBroadcastIntervalSecs ¶
func (x *NeighborInfo) SetNodeBroadcastIntervalSecs(v uint32)
func (*NeighborInfo) SetNodeId ¶
func (x *NeighborInfo) SetNodeId(v uint32)
func (*NeighborInfo) String ¶
func (x *NeighborInfo) String() string
type NeighborInfo_builder ¶
type NeighborInfo_builder struct {
// The node ID of the node sending info on its neighbors
NodeId uint32
// Field to pass neighbor info for the next sending cycle
LastSentById uint32
// Broadcast interval of the represented node (in seconds)
NodeBroadcastIntervalSecs uint32
// The list of out edges from this node
Neighbors []*Neighbor
// contains filtered or unexported fields
}
func (NeighborInfo_builder) Build ¶
func (b0 NeighborInfo_builder) Build() *NeighborInfo
type Neighbor_builder ¶
type Neighbor_builder struct {
// Node ID of neighbor
NodeId uint32
// SNR of last heard message
Snr float32
// Reception time (in secs since 1970) of last message that was last sent by this ID.
// Note: this is for local storage only and will not be sent out over the mesh.
LastRxTime uint32
// Broadcast interval of this neighbor (in seconds).
// Note: this is for local storage only and will not be sent out over the mesh.
NodeBroadcastIntervalSecs uint32
// contains filtered or unexported fields
}
func (Neighbor_builder) Build ¶
func (b0 Neighbor_builder) Build() *Neighbor
type NetworkConnectionStatus ¶
type NetworkConnectionStatus struct {
// IP address of device
IpAddress uint32 `protobuf:"fixed32,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// Whether the device has an active connection or not
IsConnected bool `protobuf:"varint,2,opt,name=is_connected,json=isConnected,proto3" json:"is_connected,omitempty"`
// Whether the device has an active connection to an MQTT broker or not
IsMqttConnected bool `protobuf:"varint,3,opt,name=is_mqtt_connected,json=isMqttConnected,proto3" json:"is_mqtt_connected,omitempty"`
// Whether the device is actively remote syslogging or not
IsSyslogConnected bool `protobuf:"varint,4,opt,name=is_syslog_connected,json=isSyslogConnected,proto3" json:"is_syslog_connected,omitempty"`
// contains filtered or unexported fields
}
Ethernet or WiFi connection status
func (*NetworkConnectionStatus) GetIpAddress ¶
func (x *NetworkConnectionStatus) GetIpAddress() uint32
func (*NetworkConnectionStatus) GetIsConnected ¶
func (x *NetworkConnectionStatus) GetIsConnected() bool
func (*NetworkConnectionStatus) GetIsMqttConnected ¶
func (x *NetworkConnectionStatus) GetIsMqttConnected() bool
func (*NetworkConnectionStatus) GetIsSyslogConnected ¶
func (x *NetworkConnectionStatus) GetIsSyslogConnected() bool
func (*NetworkConnectionStatus) ProtoMessage ¶
func (*NetworkConnectionStatus) ProtoMessage()
func (*NetworkConnectionStatus) ProtoReflect ¶
func (x *NetworkConnectionStatus) ProtoReflect() protoreflect.Message
func (*NetworkConnectionStatus) Reset ¶
func (x *NetworkConnectionStatus) Reset()
func (*NetworkConnectionStatus) SetIpAddress ¶
func (x *NetworkConnectionStatus) SetIpAddress(v uint32)
func (*NetworkConnectionStatus) SetIsConnected ¶
func (x *NetworkConnectionStatus) SetIsConnected(v bool)
func (*NetworkConnectionStatus) SetIsMqttConnected ¶
func (x *NetworkConnectionStatus) SetIsMqttConnected(v bool)
func (*NetworkConnectionStatus) SetIsSyslogConnected ¶
func (x *NetworkConnectionStatus) SetIsSyslogConnected(v bool)
func (*NetworkConnectionStatus) String ¶
func (x *NetworkConnectionStatus) String() string
type NetworkConnectionStatus_builder ¶
type NetworkConnectionStatus_builder struct {
// IP address of device
IpAddress uint32
// Whether the device has an active connection or not
IsConnected bool
// Whether the device has an active connection to an MQTT broker or not
IsMqttConnected bool
// Whether the device is actively remote syslogging or not
IsSyslogConnected bool
// contains filtered or unexported fields
}
func (NetworkConnectionStatus_builder) Build ¶
func (b0 NetworkConnectionStatus_builder) Build() *NetworkConnectionStatus
type NodeInfo ¶
type NodeInfo struct {
// The node number
Num uint32 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
// The user info for this node
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
// This position data. Note: before 1.2.14 we would also store the last time we've heard from this node in position.time, that is no longer true.
// Position.time now indicates the last time we received a POSITION from that node.
Position *Position `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"`
// Returns the Signal-to-noise ratio (SNR) of the last received message,
// as measured by the receiver. Return SNR of the last received message in dB
Snr float32 `protobuf:"fixed32,4,opt,name=snr,proto3" json:"snr,omitempty"`
// Set to indicate the last time we received a packet from this node
LastHeard uint32 `protobuf:"fixed32,5,opt,name=last_heard,json=lastHeard,proto3" json:"last_heard,omitempty"`
// The latest device metrics for the node.
DeviceMetrics *DeviceMetrics `protobuf:"bytes,6,opt,name=device_metrics,json=deviceMetrics,proto3" json:"device_metrics,omitempty"`
// local channel index we heard that node on. Only populated if its not the default channel.
Channel uint32 `protobuf:"varint,7,opt,name=channel,proto3" json:"channel,omitempty"`
// contains filtered or unexported fields
}
The bluetooth to device link: Old BTLE protocol docs from TODO, merge in above and make real docs... use protocol buffers, and NanoPB messages from device to phone: POSITION_UPDATE (..., time) TEXT_RECEIVED(from, text, time) OPAQUE_RECEIVED(from, payload, time) (for signal messages or other applications) messages from phone to device: SET_MYID(id, human readable long, human readable short) (send down the unique ID string used for this node, a human readable string shown for that id, and a very short human readable string suitable for oled screen) SEND_OPAQUE(dest, payload) (for signal messages or other applications) SEND_TEXT(dest, text) Get all nodes() (returns list of nodes, with full info, last time seen, loc, battery level etc) SET_CONFIG (switches device to a new set of radio params and preshared key, drops all existing nodes, force our node to rejoin this new group) Full information about a node on the mesh
func (*NodeInfo) GetDeviceMetrics ¶
func (x *NodeInfo) GetDeviceMetrics() *DeviceMetrics
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo) SetDeviceMetrics ¶
func (x *NodeInfo) SetDeviceMetrics(v *DeviceMetrics)
type NodeInfoLite ¶
type NodeInfoLite struct {
// The node number
Num uint32 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
// The user info for this node
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
// This position data. Note: before 1.2.14 we would also store the last time we've heard from this node in position.time, that is no longer true.
// Position.time now indicates the last time we received a POSITION from that node.
Position *PositionLite `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"`
// Returns the Signal-to-noise ratio (SNR) of the last received message,
// as measured by the receiver. Return SNR of the last received message in dB
Snr float32 `protobuf:"fixed32,4,opt,name=snr,proto3" json:"snr,omitempty"`
// Set to indicate the last time we received a packet from this node
LastHeard uint32 `protobuf:"fixed32,5,opt,name=last_heard,json=lastHeard,proto3" json:"last_heard,omitempty"`
// The latest device metrics for the node.
DeviceMetrics *DeviceMetrics `protobuf:"bytes,6,opt,name=device_metrics,json=deviceMetrics,proto3" json:"device_metrics,omitempty"`
// local channel index we heard that node on. Only populated if its not the default channel.
Channel uint32 `protobuf:"varint,7,opt,name=channel,proto3" json:"channel,omitempty"`
// contains filtered or unexported fields
}
func (*NodeInfoLite) ClearDeviceMetrics ¶
func (x *NodeInfoLite) ClearDeviceMetrics()
func (*NodeInfoLite) ClearPosition ¶
func (x *NodeInfoLite) ClearPosition()
func (*NodeInfoLite) ClearUser ¶
func (x *NodeInfoLite) ClearUser()
func (*NodeInfoLite) GetChannel ¶
func (x *NodeInfoLite) GetChannel() uint32
func (*NodeInfoLite) GetDeviceMetrics ¶
func (x *NodeInfoLite) GetDeviceMetrics() *DeviceMetrics
func (*NodeInfoLite) GetLastHeard ¶
func (x *NodeInfoLite) GetLastHeard() uint32
func (*NodeInfoLite) GetNum ¶
func (x *NodeInfoLite) GetNum() uint32
func (*NodeInfoLite) GetPosition ¶
func (x *NodeInfoLite) GetPosition() *PositionLite
func (*NodeInfoLite) GetSnr ¶
func (x *NodeInfoLite) GetSnr() float32
func (*NodeInfoLite) GetUser ¶
func (x *NodeInfoLite) GetUser() *User
func (*NodeInfoLite) HasDeviceMetrics ¶
func (x *NodeInfoLite) HasDeviceMetrics() bool
func (*NodeInfoLite) HasPosition ¶
func (x *NodeInfoLite) HasPosition() bool
func (*NodeInfoLite) HasUser ¶
func (x *NodeInfoLite) HasUser() bool
func (*NodeInfoLite) ProtoMessage ¶
func (*NodeInfoLite) ProtoMessage()
func (*NodeInfoLite) ProtoReflect ¶
func (x *NodeInfoLite) ProtoReflect() protoreflect.Message
func (*NodeInfoLite) Reset ¶
func (x *NodeInfoLite) Reset()
func (*NodeInfoLite) SetChannel ¶
func (x *NodeInfoLite) SetChannel(v uint32)
func (*NodeInfoLite) SetDeviceMetrics ¶
func (x *NodeInfoLite) SetDeviceMetrics(v *DeviceMetrics)
func (*NodeInfoLite) SetLastHeard ¶
func (x *NodeInfoLite) SetLastHeard(v uint32)
func (*NodeInfoLite) SetNum ¶
func (x *NodeInfoLite) SetNum(v uint32)
func (*NodeInfoLite) SetPosition ¶
func (x *NodeInfoLite) SetPosition(v *PositionLite)
func (*NodeInfoLite) SetSnr ¶
func (x *NodeInfoLite) SetSnr(v float32)
func (*NodeInfoLite) SetUser ¶
func (x *NodeInfoLite) SetUser(v *User)
func (*NodeInfoLite) String ¶
func (x *NodeInfoLite) String() string
type NodeInfoLite_builder ¶
type NodeInfoLite_builder struct {
// The node number
Num uint32
// The user info for this node
User *User
// This position data. Note: before 1.2.14 we would also store the last time we've heard from this node in position.time, that is no longer true.
// Position.time now indicates the last time we received a POSITION from that node.
Position *PositionLite
// Returns the Signal-to-noise ratio (SNR) of the last received message,
// as measured by the receiver. Return SNR of the last received message in dB
Snr float32
// Set to indicate the last time we received a packet from this node
LastHeard uint32
// The latest device metrics for the node.
DeviceMetrics *DeviceMetrics
// local channel index we heard that node on. Only populated if its not the default channel.
Channel uint32
// contains filtered or unexported fields
}
func (NodeInfoLite_builder) Build ¶
func (b0 NodeInfoLite_builder) Build() *NodeInfoLite
type NodeInfo_builder ¶
type NodeInfo_builder struct {
// The node number
Num uint32
// The user info for this node
User *User
// This position data. Note: before 1.2.14 we would also store the last time we've heard from this node in position.time, that is no longer true.
// Position.time now indicates the last time we received a POSITION from that node.
Position *Position
// Returns the Signal-to-noise ratio (SNR) of the last received message,
// as measured by the receiver. Return SNR of the last received message in dB
Snr float32
// Set to indicate the last time we received a packet from this node
LastHeard uint32
// The latest device metrics for the node.
DeviceMetrics *DeviceMetrics
// local channel index we heard that node on. Only populated if its not the default channel.
Channel uint32
// contains filtered or unexported fields
}
func (NodeInfo_builder) Build ¶
func (b0 NodeInfo_builder) Build() *NodeInfo
type NodeRemoteHardwarePin ¶
type NodeRemoteHardwarePin struct {
// The node_num exposing the available gpio pin
NodeNum uint32 `protobuf:"varint,1,opt,name=node_num,json=nodeNum,proto3" json:"node_num,omitempty"`
// The the available gpio pin for usage with RemoteHardware module
Pin *RemoteHardwarePin `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"`
// contains filtered or unexported fields
}
RemoteHardwarePins associated with a node
func (*NodeRemoteHardwarePin) ClearPin ¶
func (x *NodeRemoteHardwarePin) ClearPin()
func (*NodeRemoteHardwarePin) GetNodeNum ¶
func (x *NodeRemoteHardwarePin) GetNodeNum() uint32
func (*NodeRemoteHardwarePin) GetPin ¶
func (x *NodeRemoteHardwarePin) GetPin() *RemoteHardwarePin
func (*NodeRemoteHardwarePin) HasPin ¶
func (x *NodeRemoteHardwarePin) HasPin() bool
func (*NodeRemoteHardwarePin) ProtoMessage ¶
func (*NodeRemoteHardwarePin) ProtoMessage()
func (*NodeRemoteHardwarePin) ProtoReflect ¶
func (x *NodeRemoteHardwarePin) ProtoReflect() protoreflect.Message
func (*NodeRemoteHardwarePin) Reset ¶
func (x *NodeRemoteHardwarePin) Reset()
func (*NodeRemoteHardwarePin) SetNodeNum ¶
func (x *NodeRemoteHardwarePin) SetNodeNum(v uint32)
func (*NodeRemoteHardwarePin) SetPin ¶
func (x *NodeRemoteHardwarePin) SetPin(v *RemoteHardwarePin)
func (*NodeRemoteHardwarePin) String ¶
func (x *NodeRemoteHardwarePin) String() string
type NodeRemoteHardwarePin_builder ¶
type NodeRemoteHardwarePin_builder struct {
// The node_num exposing the available gpio pin
NodeNum uint32
// The the available gpio pin for usage with RemoteHardware module
Pin *RemoteHardwarePin
// contains filtered or unexported fields
}
func (NodeRemoteHardwarePin_builder) Build ¶
func (b0 NodeRemoteHardwarePin_builder) Build() *NodeRemoteHardwarePin
type NodeRemoteHardwarePinsResponse ¶
type NodeRemoteHardwarePinsResponse struct {
// Nodes and their respective remote hardware GPIO pins
NodeRemoteHardwarePins []*NodeRemoteHardwarePin `` /* 131-byte string literal not displayed */
// contains filtered or unexported fields
}
Response envelope for node_remote_hardware_pins
func (*NodeRemoteHardwarePinsResponse) GetNodeRemoteHardwarePins ¶
func (x *NodeRemoteHardwarePinsResponse) GetNodeRemoteHardwarePins() []*NodeRemoteHardwarePin
func (*NodeRemoteHardwarePinsResponse) ProtoMessage ¶
func (*NodeRemoteHardwarePinsResponse) ProtoMessage()
func (*NodeRemoteHardwarePinsResponse) ProtoReflect ¶
func (x *NodeRemoteHardwarePinsResponse) ProtoReflect() protoreflect.Message
func (*NodeRemoteHardwarePinsResponse) Reset ¶
func (x *NodeRemoteHardwarePinsResponse) Reset()
func (*NodeRemoteHardwarePinsResponse) SetNodeRemoteHardwarePins ¶
func (x *NodeRemoteHardwarePinsResponse) SetNodeRemoteHardwarePins(v []*NodeRemoteHardwarePin)
func (*NodeRemoteHardwarePinsResponse) String ¶
func (x *NodeRemoteHardwarePinsResponse) String() string
type NodeRemoteHardwarePinsResponse_builder ¶
type NodeRemoteHardwarePinsResponse_builder struct {
// Nodes and their respective remote hardware GPIO pins
NodeRemoteHardwarePins []*NodeRemoteHardwarePin
// contains filtered or unexported fields
}
func (NodeRemoteHardwarePinsResponse_builder) Build ¶
func (b0 NodeRemoteHardwarePinsResponse_builder) Build() *NodeRemoteHardwarePinsResponse
type OEMStore ¶
type OEMStore struct {
// The Logo width in Px
OemIconWidth uint32 `protobuf:"varint,1,opt,name=oem_icon_width,json=oemIconWidth,proto3" json:"oem_icon_width,omitempty"`
// The Logo height in Px
OemIconHeight uint32 `protobuf:"varint,2,opt,name=oem_icon_height,json=oemIconHeight,proto3" json:"oem_icon_height,omitempty"`
// The Logo in XBM bytechar format
OemIconBits []byte `protobuf:"bytes,3,opt,name=oem_icon_bits,json=oemIconBits,proto3" json:"oem_icon_bits,omitempty"`
// Use this font for the OEM text.
OemFont ScreenFonts `protobuf:"varint,4,opt,name=oem_font,json=oemFont,proto3,enum=meshtastic.ScreenFonts" json:"oem_font,omitempty"`
// Use this font for the OEM text.
OemText string `protobuf:"bytes,5,opt,name=oem_text,json=oemText,proto3" json:"oem_text,omitempty"`
// The default device encryption key, 16 or 32 byte
OemAesKey []byte `protobuf:"bytes,6,opt,name=oem_aes_key,json=oemAesKey,proto3" json:"oem_aes_key,omitempty"`
// A Preset LocalConfig to apply during factory reset
OemLocalConfig *LocalConfig `protobuf:"bytes,7,opt,name=oem_local_config,json=oemLocalConfig,proto3" json:"oem_local_config,omitempty"`
// A Preset LocalModuleConfig to apply during factory reset
OemLocalModuleConfig *LocalModuleConfig `protobuf:"bytes,8,opt,name=oem_local_module_config,json=oemLocalModuleConfig,proto3" json:"oem_local_module_config,omitempty"`
// contains filtered or unexported fields
}
This can be used for customizing the firmware distribution. If populated, show a secondary bootup screen with custom logo and text for 2.5 seconds.
func (*OEMStore) GetOemFont ¶
func (x *OEMStore) GetOemFont() ScreenFonts
func (*OEMStore) GetOemLocalConfig ¶
func (x *OEMStore) GetOemLocalConfig() *LocalConfig
func (*OEMStore) GetOemLocalModuleConfig ¶
func (x *OEMStore) GetOemLocalModuleConfig() *LocalModuleConfig
func (*OEMStore) ProtoReflect ¶
func (x *OEMStore) ProtoReflect() protoreflect.Message
func (*OEMStore) SetOemFont ¶
func (x *OEMStore) SetOemFont(v ScreenFonts)
func (*OEMStore) SetOemLocalConfig ¶
func (x *OEMStore) SetOemLocalConfig(v *LocalConfig)
func (*OEMStore) SetOemLocalModuleConfig ¶
func (x *OEMStore) SetOemLocalModuleConfig(v *LocalModuleConfig)
type OEMStore_builder ¶
type OEMStore_builder struct {
// The Logo width in Px
OemIconWidth uint32
// The Logo height in Px
OemIconHeight uint32
// The Logo in XBM bytechar format
OemIconBits []byte
// Use this font for the OEM text.
OemFont ScreenFonts
// Use this font for the OEM text.
OemText string
// The default device encryption key, 16 or 32 byte
OemAesKey []byte
// A Preset LocalConfig to apply during factory reset
OemLocalConfig *LocalConfig
// A Preset LocalModuleConfig to apply during factory reset
OemLocalModuleConfig *LocalModuleConfig
// contains filtered or unexported fields
}
func (OEMStore_builder) Build ¶
func (b0 OEMStore_builder) Build() *OEMStore
type PLI ¶
type PLI struct {
// The new preferred location encoding, multiply by 1e-7 to get degrees
// in floating point
LatitudeI int32 `protobuf:"fixed32,1,opt,name=latitude_i,json=latitudeI,proto3" json:"latitude_i,omitempty"`
// The new preferred location encoding, multiply by 1e-7 to get degrees
// in floating point
LongitudeI int32 `protobuf:"fixed32,2,opt,name=longitude_i,json=longitudeI,proto3" json:"longitude_i,omitempty"`
// Altitude (ATAK prefers HAE)
Altitude uint32 `protobuf:"varint,3,opt,name=altitude,proto3" json:"altitude,omitempty"`
// Speed
Speed uint32 `protobuf:"varint,4,opt,name=speed,proto3" json:"speed,omitempty"`
// Course in degrees
Course uint32 `protobuf:"varint,5,opt,name=course,proto3" json:"course,omitempty"`
// contains filtered or unexported fields
}
Position Location Information from ATAK
func (*PLI) ProtoReflect ¶
func (x *PLI) ProtoReflect() protoreflect.Message
type PLI_builder ¶
type PLI_builder struct {
// The new preferred location encoding, multiply by 1e-7 to get degrees
// in floating point
LatitudeI int32
// The new preferred location encoding, multiply by 1e-7 to get degrees
// in floating point
LongitudeI int32
// Altitude (ATAK prefers HAE)
Altitude uint32
// Speed
Speed uint32
// Course in degrees
Course uint32
// contains filtered or unexported fields
}
func (PLI_builder) Build ¶
func (b0 PLI_builder) Build() *PLI
type Paxcount ¶
type Paxcount struct {
// seen Wifi devices
Wifi uint32 `protobuf:"varint,1,opt,name=wifi,proto3" json:"wifi,omitempty"`
// Seen BLE devices
Ble uint32 `protobuf:"varint,2,opt,name=ble,proto3" json:"ble,omitempty"`
// Uptime in seconds
Uptime uint32 `protobuf:"varint,3,opt,name=uptime,proto3" json:"uptime,omitempty"`
// contains filtered or unexported fields
}
TODO: REPLACE
func (*Paxcount) ProtoReflect ¶
func (x *Paxcount) ProtoReflect() protoreflect.Message
type Paxcount_builder ¶
type Paxcount_builder struct {
// seen Wifi devices
Wifi uint32
// Seen BLE devices
Ble uint32
// Uptime in seconds
Uptime uint32
// contains filtered or unexported fields
}
func (Paxcount_builder) Build ¶
func (b0 Paxcount_builder) Build() *Paxcount
type PortNum ¶
type PortNum int32
For any new 'apps' that run on the device or via sister apps on phones/PCs they should pick and use a unique 'portnum' for their application. If you are making a new app using meshtastic, please send in a pull request to add your 'portnum' to this master table. PortNums should be assigned in the following range: 0-63 Core Meshtastic use, do not use for third party apps 64-127 Registered 3rd party apps, send in a pull request that adds a new entry to portnums.proto to register your application 256-511 Use one of these portnums for your private applications that you don't want to register publically All other values are reserved. Note: This was formerly a Type enum named 'typ' with the same id # We have change to this 'portnum' based scheme for specifying app handlers for particular payloads. This change is backwards compatible by treating the legacy OPAQUE/CLEAR_TEXT values identically.
const ( // Deprecated: do not use in new code (formerly called OPAQUE) // A message sent from a device outside of the mesh, in a form the mesh does not understand // NOTE: This must be 0, because it is documented in IMeshService.aidl to be so // ENCODING: binary undefined PortNum_UNKNOWN_APP PortNum = 0 // A simple UTF-8 text message, which even the little micros in the mesh // can understand and show on their screen eventually in some circumstances // even signal might send messages in this form (see below) // ENCODING: UTF-8 Plaintext (?) PortNum_TEXT_MESSAGE_APP PortNum = 1 // Reserved for built-in GPIO/example app. // See remote_hardware.proto/HardwareMessage for details on the message sent/received to this port number // ENCODING: Protobuf PortNum_REMOTE_HARDWARE_APP PortNum = 2 // The built-in position messaging app. // Payload is a [Position](/docs/developers/protobufs/api#position) message // ENCODING: Protobuf PortNum_POSITION_APP PortNum = 3 // The built-in user info app. // Payload is a [User](/docs/developers/protobufs/api#user) message // ENCODING: Protobuf PortNum_NODEINFO_APP PortNum = 4 // Protocol control packets for mesh protocol use. // Payload is a [Routing](/docs/developers/protobufs/api#routing) message // ENCODING: Protobuf PortNum_ROUTING_APP PortNum = 5 // Admin control packets. // Payload is a [AdminMessage](/docs/developers/protobufs/api#adminmessage) message // ENCODING: Protobuf PortNum_ADMIN_APP PortNum = 6 // Compressed TEXT_MESSAGE payloads. // ENCODING: UTF-8 Plaintext (?) with Unishox2 Compression // NOTE: The Device Firmware converts a TEXT_MESSAGE_APP to TEXT_MESSAGE_COMPRESSED_APP if the compressed // payload is shorter. There's no need for app developers to do this themselves. Also the firmware will decompress // any incoming TEXT_MESSAGE_COMPRESSED_APP payload and convert to TEXT_MESSAGE_APP. PortNum_TEXT_MESSAGE_COMPRESSED_APP PortNum = 7 // Waypoint payloads. // Payload is a [Waypoint](/docs/developers/protobufs/api#waypoint) message // ENCODING: Protobuf PortNum_WAYPOINT_APP PortNum = 8 // Audio Payloads. // Encapsulated codec2 packets. On 2.4 GHZ Bandwidths only for now // ENCODING: codec2 audio frames // NOTE: audio frames contain a 3 byte header (0xc0 0xde 0xc2) and a one byte marker for the decompressed bitrate. // This marker comes from the 'moduleConfig.audio.bitrate' enum minus one. PortNum_AUDIO_APP PortNum = 9 // Same as Text Message but originating from Detection Sensor Module. // NOTE: This portnum traffic is not sent to the public MQTT starting at firmware version 2.2.9 PortNum_DETECTION_SENSOR_APP PortNum = 10 // Provides a 'ping' service that replies to any packet it receives. // Also serves as a small example module. // ENCODING: ASCII Plaintext PortNum_REPLY_APP PortNum = 32 // Used for the python IP tunnel feature // ENCODING: IP Packet. Handled by the python API, firmware ignores this one and pases on. PortNum_IP_TUNNEL_APP PortNum = 33 // Paxcounter lib included in the firmware // ENCODING: protobuf PortNum_PAXCOUNTER_APP PortNum = 34 // Provides a hardware serial interface to send and receive from the Meshtastic network. // Connect to the RX/TX pins of a device with 38400 8N1. Packets received from the Meshtastic // network is forwarded to the RX pin while sending a packet to TX will go out to the Mesh network. // Maximum packet size of 240 bytes. // Module is disabled by default can be turned on by setting SERIAL_MODULE_ENABLED = 1 in SerialPlugh.cpp. // ENCODING: binary undefined PortNum_SERIAL_APP PortNum = 64 // STORE_FORWARD_APP (Work in Progress) // Maintained by Jm Casler (MC Hamster) : jm@casler.org // ENCODING: Protobuf PortNum_STORE_FORWARD_APP PortNum = 65 // Optional port for messages for the range test module. // ENCODING: ASCII Plaintext // NOTE: This portnum traffic is not sent to the public MQTT starting at firmware version 2.2.9 PortNum_RANGE_TEST_APP PortNum = 66 // Provides a format to send and receive telemetry data from the Meshtastic network. // Maintained by Charles Crossan (crossan007) : crossan007@gmail.com // ENCODING: Protobuf PortNum_TELEMETRY_APP PortNum = 67 // Experimental tools for estimating node position without a GPS // Maintained by Github user a-f-G-U-C (a Meshtastic contributor) // Project files at https://github.com/a-f-G-U-C/Meshtastic-ZPS // ENCODING: arrays of int64 fields PortNum_ZPS_APP PortNum = 68 // Used to let multiple instances of Linux native applications communicate // as if they did using their LoRa chip. // Maintained by GitHub user GUVWAF. // Project files at https://github.com/GUVWAF/Meshtasticator // ENCODING: Protobuf (?) PortNum_SIMULATOR_APP PortNum = 69 // Provides a traceroute functionality to show the route a packet towards // a certain destination would take on the mesh. // ENCODING: Protobuf PortNum_TRACEROUTE_APP PortNum = 70 // Aggregates edge info for the network by sending out a list of each node's neighbors // ENCODING: Protobuf PortNum_NEIGHBORINFO_APP PortNum = 71 // ATAK Plugin // Portnum for payloads from the official Meshtastic ATAK plugin PortNum_ATAK_PLUGIN PortNum = 72 // Private applications should use portnums >= 256. // To simplify initial development and testing you can use "PRIVATE_APP" // in your code without needing to rebuild protobuf files (via [regen-protos.sh](https://github.com/meshtastic/firmware/blob/master/bin/regen-protos.sh)) PortNum_PRIVATE_APP PortNum = 256 // ATAK Forwarder Module https://github.com/paulmandal/atak-forwarder // ENCODING: libcotshrink PortNum_ATAK_FORWARDER PortNum = 257 // Currently we limit port nums to no higher than this value PortNum_MAX PortNum = 511 )
func (PortNum) Descriptor ¶
func (PortNum) Descriptor() protoreflect.EnumDescriptor
func (PortNum) Number ¶
func (x PortNum) Number() protoreflect.EnumNumber
func (PortNum) Type ¶
func (PortNum) Type() protoreflect.EnumType
type Position ¶
type Position struct {
// The new preferred location encoding, multiply by 1e-7 to get degrees
// in floating point
LatitudeI int32 `protobuf:"fixed32,1,opt,name=latitude_i,json=latitudeI,proto3" json:"latitude_i,omitempty"`
// TODO: REPLACE
LongitudeI int32 `protobuf:"fixed32,2,opt,name=longitude_i,json=longitudeI,proto3" json:"longitude_i,omitempty"`
// In meters above MSL (but see issue #359)
Altitude int32 `protobuf:"varint,3,opt,name=altitude,proto3" json:"altitude,omitempty"`
// This is usually not sent over the mesh (to save space), but it is sent
// from the phone so that the local device can set its time if it is sent over
// the mesh (because there are devices on the mesh without GPS or RTC).
// seconds since 1970
Time uint32 `protobuf:"fixed32,4,opt,name=time,proto3" json:"time,omitempty"`
// TODO: REPLACE
LocationSource Position_LocSource `` /* 139-byte string literal not displayed */
// TODO: REPLACE
AltitudeSource Position_AltSource `` /* 139-byte string literal not displayed */
// Positional timestamp (actual timestamp of GPS solution) in integer epoch seconds
Timestamp uint32 `protobuf:"fixed32,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Pos. timestamp milliseconds adjustment (rarely available or required)
TimestampMillisAdjust int32 `` /* 127-byte string literal not displayed */
// HAE altitude in meters - can be used instead of MSL altitude
AltitudeHae int32 `protobuf:"zigzag32,9,opt,name=altitude_hae,json=altitudeHae,proto3" json:"altitude_hae,omitempty"`
// Geoidal separation in meters
AltitudeGeoidalSeparation int32 `` /* 142-byte string literal not displayed */
// Horizontal, Vertical and Position Dilution of Precision, in 1/100 units
// - PDOP is sufficient for most cases
// - for higher precision scenarios, HDOP and VDOP can be used instead,
// in which case PDOP becomes redundant (PDOP=sqrt(HDOP^2 + VDOP^2))
//
// TODO: REMOVE/INTEGRATE
PDOP uint32 `protobuf:"varint,11,opt,name=PDOP,proto3" json:"PDOP,omitempty"`
// TODO: REPLACE
HDOP uint32 `protobuf:"varint,12,opt,name=HDOP,proto3" json:"HDOP,omitempty"`
// TODO: REPLACE
VDOP uint32 `protobuf:"varint,13,opt,name=VDOP,proto3" json:"VDOP,omitempty"`
// GPS accuracy (a hardware specific constant) in mm
//
// multiplied with DOP to calculate positional accuracy
//
// Default: "'bout three meters-ish" :)
GpsAccuracy uint32 `protobuf:"varint,14,opt,name=gps_accuracy,json=gpsAccuracy,proto3" json:"gps_accuracy,omitempty"`
// Ground speed in m/s and True North TRACK in 1/100 degrees
// Clarification of terms:
// - "track" is the direction of motion (measured in horizontal plane)
// - "heading" is where the fuselage points (measured in horizontal plane)
// - "yaw" indicates a relative rotation about the vertical axis
// TODO: REMOVE/INTEGRATE
GroundSpeed uint32 `protobuf:"varint,15,opt,name=ground_speed,json=groundSpeed,proto3" json:"ground_speed,omitempty"`
// TODO: REPLACE
GroundTrack uint32 `protobuf:"varint,16,opt,name=ground_track,json=groundTrack,proto3" json:"ground_track,omitempty"`
// GPS fix quality (from NMEA GxGGA statement or similar)
FixQuality uint32 `protobuf:"varint,17,opt,name=fix_quality,json=fixQuality,proto3" json:"fix_quality,omitempty"`
// GPS fix type 2D/3D (from NMEA GxGSA statement)
FixType uint32 `protobuf:"varint,18,opt,name=fix_type,json=fixType,proto3" json:"fix_type,omitempty"`
// GPS "Satellites in View" number
SatsInView uint32 `protobuf:"varint,19,opt,name=sats_in_view,json=satsInView,proto3" json:"sats_in_view,omitempty"`
// Sensor ID - in case multiple positioning sensors are being used
SensorId uint32 `protobuf:"varint,20,opt,name=sensor_id,json=sensorId,proto3" json:"sensor_id,omitempty"`
// Estimated/expected time (in seconds) until next update:
// - if we update at fixed intervals of X seconds, use X
// - if we update at dynamic intervals (based on relative movement etc),
// but "AT LEAST every Y seconds", use Y
NextUpdate uint32 `protobuf:"varint,21,opt,name=next_update,json=nextUpdate,proto3" json:"next_update,omitempty"`
// A sequence number, incremented with each Position message to help
//
// detect lost updates if needed
SeqNumber uint32 `protobuf:"varint,22,opt,name=seq_number,json=seqNumber,proto3" json:"seq_number,omitempty"`
// contains filtered or unexported fields
}
a gps position
func (*Position) GetAltitudeGeoidalSeparation ¶
func (*Position) GetAltitudeSource ¶
func (x *Position) GetAltitudeSource() Position_AltSource
func (*Position) GetLocationSource ¶
func (x *Position) GetLocationSource() Position_LocSource
func (*Position) ProtoReflect ¶
func (x *Position) ProtoReflect() protoreflect.Message
func (*Position) SetAltitudeGeoidalSeparation ¶
func (*Position) SetAltitudeSource ¶
func (x *Position) SetAltitudeSource(v Position_AltSource)
func (*Position) SetLocationSource ¶
func (x *Position) SetLocationSource(v Position_LocSource)
type PositionLite ¶
type PositionLite struct {
// The new preferred location encoding, multiply by 1e-7 to get degrees
// in floating point
LatitudeI int32 `protobuf:"fixed32,1,opt,name=latitude_i,json=latitudeI,proto3" json:"latitude_i,omitempty"`
// TODO: REPLACE
LongitudeI int32 `protobuf:"fixed32,2,opt,name=longitude_i,json=longitudeI,proto3" json:"longitude_i,omitempty"`
// In meters above MSL (but see issue #359)
Altitude int32 `protobuf:"varint,3,opt,name=altitude,proto3" json:"altitude,omitempty"`
// This is usually not sent over the mesh (to save space), but it is sent
// from the phone so that the local device can set its RTC If it is sent over
// the mesh (because there are devices on the mesh without GPS), it will only
// be sent by devices which has a hardware GPS clock.
// seconds since 1970
Time uint32 `protobuf:"fixed32,4,opt,name=time,proto3" json:"time,omitempty"`
// TODO: REPLACE
LocationSource Position_LocSource `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
Position with static location information only for NodeDBLite
func (*PositionLite) GetAltitude ¶
func (x *PositionLite) GetAltitude() int32
func (*PositionLite) GetLatitudeI ¶
func (x *PositionLite) GetLatitudeI() int32
func (*PositionLite) GetLocationSource ¶
func (x *PositionLite) GetLocationSource() Position_LocSource
func (*PositionLite) GetLongitudeI ¶
func (x *PositionLite) GetLongitudeI() int32
func (*PositionLite) GetTime ¶
func (x *PositionLite) GetTime() uint32
func (*PositionLite) ProtoMessage ¶
func (*PositionLite) ProtoMessage()
func (*PositionLite) ProtoReflect ¶
func (x *PositionLite) ProtoReflect() protoreflect.Message
func (*PositionLite) Reset ¶
func (x *PositionLite) Reset()
func (*PositionLite) SetAltitude ¶
func (x *PositionLite) SetAltitude(v int32)
func (*PositionLite) SetLatitudeI ¶
func (x *PositionLite) SetLatitudeI(v int32)
func (*PositionLite) SetLocationSource ¶
func (x *PositionLite) SetLocationSource(v Position_LocSource)
func (*PositionLite) SetLongitudeI ¶
func (x *PositionLite) SetLongitudeI(v int32)
func (*PositionLite) SetTime ¶
func (x *PositionLite) SetTime(v uint32)
func (*PositionLite) String ¶
func (x *PositionLite) String() string
type PositionLite_builder ¶
type PositionLite_builder struct {
// The new preferred location encoding, multiply by 1e-7 to get degrees
// in floating point
LatitudeI int32
// TODO: REPLACE
LongitudeI int32
// In meters above MSL (but see issue #359)
Altitude int32
// This is usually not sent over the mesh (to save space), but it is sent
// from the phone so that the local device can set its RTC If it is sent over
// the mesh (because there are devices on the mesh without GPS), it will only
// be sent by devices which has a hardware GPS clock.
// seconds since 1970
Time uint32
// TODO: REPLACE
LocationSource Position_LocSource
// contains filtered or unexported fields
}
func (PositionLite_builder) Build ¶
func (b0 PositionLite_builder) Build() *PositionLite
type Position_AltSource ¶
type Position_AltSource int32
How the altitude was acquired: manual, GPS int/ext, etc Default: same as location_source if present
const ( // TODO: REPLACE Position_ALT_UNSET Position_AltSource = 0 // TODO: REPLACE Position_ALT_MANUAL Position_AltSource = 1 // TODO: REPLACE Position_ALT_INTERNAL Position_AltSource = 2 // TODO: REPLACE Position_ALT_EXTERNAL Position_AltSource = 3 // TODO: REPLACE Position_ALT_BAROMETRIC Position_AltSource = 4 )
func (Position_AltSource) Descriptor ¶
func (Position_AltSource) Descriptor() protoreflect.EnumDescriptor
func (Position_AltSource) Enum ¶
func (x Position_AltSource) Enum() *Position_AltSource
func (Position_AltSource) Number ¶
func (x Position_AltSource) Number() protoreflect.EnumNumber
func (Position_AltSource) String ¶
func (x Position_AltSource) String() string
func (Position_AltSource) Type ¶
func (Position_AltSource) Type() protoreflect.EnumType
type Position_LocSource ¶
type Position_LocSource int32
How the location was acquired: manual, onboard GPS, external (EUD) GPS
const ( // TODO: REPLACE Position_LOC_UNSET Position_LocSource = 0 // TODO: REPLACE Position_LOC_MANUAL Position_LocSource = 1 // TODO: REPLACE Position_LOC_INTERNAL Position_LocSource = 2 // TODO: REPLACE Position_LOC_EXTERNAL Position_LocSource = 3 )
func (Position_LocSource) Descriptor ¶
func (Position_LocSource) Descriptor() protoreflect.EnumDescriptor
func (Position_LocSource) Enum ¶
func (x Position_LocSource) Enum() *Position_LocSource
func (Position_LocSource) Number ¶
func (x Position_LocSource) Number() protoreflect.EnumNumber
func (Position_LocSource) String ¶
func (x Position_LocSource) String() string
func (Position_LocSource) Type ¶
func (Position_LocSource) Type() protoreflect.EnumType
type Position_builder ¶
type Position_builder struct {
// The new preferred location encoding, multiply by 1e-7 to get degrees
// in floating point
LatitudeI int32
// TODO: REPLACE
LongitudeI int32
// In meters above MSL (but see issue #359)
Altitude int32
// This is usually not sent over the mesh (to save space), but it is sent
// from the phone so that the local device can set its time if it is sent over
// the mesh (because there are devices on the mesh without GPS or RTC).
// seconds since 1970
Time uint32
// TODO: REPLACE
LocationSource Position_LocSource
// TODO: REPLACE
AltitudeSource Position_AltSource
// Positional timestamp (actual timestamp of GPS solution) in integer epoch seconds
Timestamp uint32
// Pos. timestamp milliseconds adjustment (rarely available or required)
TimestampMillisAdjust int32
// HAE altitude in meters - can be used instead of MSL altitude
AltitudeHae int32
// Geoidal separation in meters
AltitudeGeoidalSeparation int32
// Horizontal, Vertical and Position Dilution of Precision, in 1/100 units
// - PDOP is sufficient for most cases
// - for higher precision scenarios, HDOP and VDOP can be used instead,
// in which case PDOP becomes redundant (PDOP=sqrt(HDOP^2 + VDOP^2))
//
// TODO: REMOVE/INTEGRATE
PDOP uint32
// TODO: REPLACE
HDOP uint32
// TODO: REPLACE
VDOP uint32
// GPS accuracy (a hardware specific constant) in mm
//
// multiplied with DOP to calculate positional accuracy
//
// Default: "'bout three meters-ish" :)
GpsAccuracy uint32
// Ground speed in m/s and True North TRACK in 1/100 degrees
// Clarification of terms:
// - "track" is the direction of motion (measured in horizontal plane)
// - "heading" is where the fuselage points (measured in horizontal plane)
// - "yaw" indicates a relative rotation about the vertical axis
// TODO: REMOVE/INTEGRATE
GroundSpeed uint32
// TODO: REPLACE
GroundTrack uint32
// GPS fix quality (from NMEA GxGGA statement or similar)
FixQuality uint32
// GPS fix type 2D/3D (from NMEA GxGSA statement)
FixType uint32
// GPS "Satellites in View" number
SatsInView uint32
// Sensor ID - in case multiple positioning sensors are being used
SensorId uint32
// Estimated/expected time (in seconds) until next update:
// - if we update at fixed intervals of X seconds, use X
// - if we update at dynamic intervals (based on relative movement etc),
// but "AT LEAST every Y seconds", use Y
NextUpdate uint32
// A sequence number, incremented with each Position message to help
//
// detect lost updates if needed
SeqNumber uint32
// contains filtered or unexported fields
}
func (Position_builder) Build ¶
func (b0 Position_builder) Build() *Position
type PowerMetrics ¶
type PowerMetrics struct {
//
// Voltage (Ch1)
Ch1Voltage float32 `protobuf:"fixed32,1,opt,name=ch1_voltage,json=ch1Voltage,proto3" json:"ch1_voltage,omitempty"`
//
// Current (Ch1)
Ch1Current float32 `protobuf:"fixed32,2,opt,name=ch1_current,json=ch1Current,proto3" json:"ch1_current,omitempty"`
//
// Voltage (Ch2)
Ch2Voltage float32 `protobuf:"fixed32,3,opt,name=ch2_voltage,json=ch2Voltage,proto3" json:"ch2_voltage,omitempty"`
//
// Current (Ch2)
Ch2Current float32 `protobuf:"fixed32,4,opt,name=ch2_current,json=ch2Current,proto3" json:"ch2_current,omitempty"`
//
// Voltage (Ch3)
Ch3Voltage float32 `protobuf:"fixed32,5,opt,name=ch3_voltage,json=ch3Voltage,proto3" json:"ch3_voltage,omitempty"`
//
// Current (Ch3)
Ch3Current float32 `protobuf:"fixed32,6,opt,name=ch3_current,json=ch3Current,proto3" json:"ch3_current,omitempty"`
// contains filtered or unexported fields
}
Power Metrics (voltage / current / etc)
func (*PowerMetrics) GetCh1Current ¶
func (x *PowerMetrics) GetCh1Current() float32
func (*PowerMetrics) GetCh1Voltage ¶
func (x *PowerMetrics) GetCh1Voltage() float32
func (*PowerMetrics) GetCh2Current ¶
func (x *PowerMetrics) GetCh2Current() float32
func (*PowerMetrics) GetCh2Voltage ¶
func (x *PowerMetrics) GetCh2Voltage() float32
func (*PowerMetrics) GetCh3Current ¶
func (x *PowerMetrics) GetCh3Current() float32
func (*PowerMetrics) GetCh3Voltage ¶
func (x *PowerMetrics) GetCh3Voltage() float32
func (*PowerMetrics) ProtoMessage ¶
func (*PowerMetrics) ProtoMessage()
func (*PowerMetrics) ProtoReflect ¶
func (x *PowerMetrics) ProtoReflect() protoreflect.Message
func (*PowerMetrics) Reset ¶
func (x *PowerMetrics) Reset()
func (*PowerMetrics) SetCh1Current ¶
func (x *PowerMetrics) SetCh1Current(v float32)
func (*PowerMetrics) SetCh1Voltage ¶
func (x *PowerMetrics) SetCh1Voltage(v float32)
func (*PowerMetrics) SetCh2Current ¶
func (x *PowerMetrics) SetCh2Current(v float32)
func (*PowerMetrics) SetCh2Voltage ¶
func (x *PowerMetrics) SetCh2Voltage(v float32)
func (*PowerMetrics) SetCh3Current ¶
func (x *PowerMetrics) SetCh3Current(v float32)
func (*PowerMetrics) SetCh3Voltage ¶
func (x *PowerMetrics) SetCh3Voltage(v float32)
func (*PowerMetrics) String ¶
func (x *PowerMetrics) String() string
type PowerMetrics_builder ¶
type PowerMetrics_builder struct {
//
// Voltage (Ch1)
Ch1Voltage float32
//
// Current (Ch1)
Ch1Current float32
//
// Voltage (Ch2)
Ch2Voltage float32
//
// Current (Ch2)
Ch2Current float32
//
// Voltage (Ch3)
Ch3Voltage float32
//
// Current (Ch3)
Ch3Current float32
// contains filtered or unexported fields
}
func (PowerMetrics_builder) Build ¶
func (b0 PowerMetrics_builder) Build() *PowerMetrics
type QueueStatus ¶
type QueueStatus struct {
// Last attempt to queue status, ErrorCode
Res int32 `protobuf:"varint,1,opt,name=res,proto3" json:"res,omitempty"`
// Free entries in the outgoing queue
Free uint32 `protobuf:"varint,2,opt,name=free,proto3" json:"free,omitempty"`
// Maximum entries in the outgoing queue
Maxlen uint32 `protobuf:"varint,3,opt,name=maxlen,proto3" json:"maxlen,omitempty"`
// What was mesh packet id that generated this response?
MeshPacketId uint32 `protobuf:"varint,4,opt,name=mesh_packet_id,json=meshPacketId,proto3" json:"mesh_packet_id,omitempty"`
// contains filtered or unexported fields
}
func (*QueueStatus) GetFree ¶
func (x *QueueStatus) GetFree() uint32
func (*QueueStatus) GetMaxlen ¶
func (x *QueueStatus) GetMaxlen() uint32
func (*QueueStatus) GetMeshPacketId ¶
func (x *QueueStatus) GetMeshPacketId() uint32
func (*QueueStatus) GetRes ¶
func (x *QueueStatus) GetRes() int32
func (*QueueStatus) ProtoMessage ¶
func (*QueueStatus) ProtoMessage()
func (*QueueStatus) ProtoReflect ¶
func (x *QueueStatus) ProtoReflect() protoreflect.Message
func (*QueueStatus) Reset ¶
func (x *QueueStatus) Reset()
func (*QueueStatus) SetFree ¶
func (x *QueueStatus) SetFree(v uint32)
func (*QueueStatus) SetMaxlen ¶
func (x *QueueStatus) SetMaxlen(v uint32)
func (*QueueStatus) SetMeshPacketId ¶
func (x *QueueStatus) SetMeshPacketId(v uint32)
func (*QueueStatus) SetRes ¶
func (x *QueueStatus) SetRes(v int32)
func (*QueueStatus) String ¶
func (x *QueueStatus) String() string
type QueueStatus_builder ¶
type QueueStatus_builder struct {
// Last attempt to queue status, ErrorCode
Res int32
// Free entries in the outgoing queue
Free uint32
// Maximum entries in the outgoing queue
Maxlen uint32
// What was mesh packet id that generated this response?
MeshPacketId uint32
// contains filtered or unexported fields
}
func (QueueStatus_builder) Build ¶
func (b0 QueueStatus_builder) Build() *QueueStatus
type RTTTLConfig ¶
type RTTTLConfig struct {
// Ringtone for PWM Buzzer in RTTTL Format.
Ringtone string `protobuf:"bytes,1,opt,name=ringtone,proto3" json:"ringtone,omitempty"`
// contains filtered or unexported fields
}
Canned message module configuration.
func (*RTTTLConfig) GetRingtone ¶
func (x *RTTTLConfig) GetRingtone() string
func (*RTTTLConfig) ProtoMessage ¶
func (*RTTTLConfig) ProtoMessage()
func (*RTTTLConfig) ProtoReflect ¶
func (x *RTTTLConfig) ProtoReflect() protoreflect.Message
func (*RTTTLConfig) Reset ¶
func (x *RTTTLConfig) Reset()
func (*RTTTLConfig) SetRingtone ¶
func (x *RTTTLConfig) SetRingtone(v string)
func (*RTTTLConfig) String ¶
func (x *RTTTLConfig) String() string
type RTTTLConfig_builder ¶
type RTTTLConfig_builder struct {
// Ringtone for PWM Buzzer in RTTTL Format.
Ringtone string
// contains filtered or unexported fields
}
func (RTTTLConfig_builder) Build ¶
func (b0 RTTTLConfig_builder) Build() *RTTTLConfig
type RemoteHardwarePin ¶
type RemoteHardwarePin struct {
// GPIO Pin number (must match Arduino)
GpioPin uint32 `protobuf:"varint,1,opt,name=gpio_pin,json=gpioPin,proto3" json:"gpio_pin,omitempty"`
// Name for the GPIO pin (i.e. Front gate, mailbox, etc)
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Type of GPIO access available to consumers on the mesh
Type RemoteHardwarePinType `protobuf:"varint,3,opt,name=type,proto3,enum=meshtastic.RemoteHardwarePinType" json:"type,omitempty"`
// contains filtered or unexported fields
}
A GPIO pin definition for remote hardware module
func (*RemoteHardwarePin) GetGpioPin ¶
func (x *RemoteHardwarePin) GetGpioPin() uint32
func (*RemoteHardwarePin) GetName ¶
func (x *RemoteHardwarePin) GetName() string
func (*RemoteHardwarePin) GetType ¶
func (x *RemoteHardwarePin) GetType() RemoteHardwarePinType
func (*RemoteHardwarePin) ProtoMessage ¶
func (*RemoteHardwarePin) ProtoMessage()
func (*RemoteHardwarePin) ProtoReflect ¶
func (x *RemoteHardwarePin) ProtoReflect() protoreflect.Message
func (*RemoteHardwarePin) Reset ¶
func (x *RemoteHardwarePin) Reset()
func (*RemoteHardwarePin) SetGpioPin ¶
func (x *RemoteHardwarePin) SetGpioPin(v uint32)
func (*RemoteHardwarePin) SetName ¶
func (x *RemoteHardwarePin) SetName(v string)
func (*RemoteHardwarePin) SetType ¶
func (x *RemoteHardwarePin) SetType(v RemoteHardwarePinType)
func (*RemoteHardwarePin) String ¶
func (x *RemoteHardwarePin) String() string
type RemoteHardwarePinType ¶
type RemoteHardwarePinType int32
const ( // Unset/unused RemoteHardwarePinType_UNKNOWN RemoteHardwarePinType = 0 // GPIO pin can be read (if it is high / low) RemoteHardwarePinType_DIGITAL_READ RemoteHardwarePinType = 1 // GPIO pin can be written to (high / low) RemoteHardwarePinType_DIGITAL_WRITE RemoteHardwarePinType = 2 )
func (RemoteHardwarePinType) Descriptor ¶
func (RemoteHardwarePinType) Descriptor() protoreflect.EnumDescriptor
func (RemoteHardwarePinType) Enum ¶
func (x RemoteHardwarePinType) Enum() *RemoteHardwarePinType
func (RemoteHardwarePinType) Number ¶
func (x RemoteHardwarePinType) Number() protoreflect.EnumNumber
func (RemoteHardwarePinType) String ¶
func (x RemoteHardwarePinType) String() string
func (RemoteHardwarePinType) Type ¶
func (RemoteHardwarePinType) Type() protoreflect.EnumType
type RemoteHardwarePin_builder ¶
type RemoteHardwarePin_builder struct {
// GPIO Pin number (must match Arduino)
GpioPin uint32
// Name for the GPIO pin (i.e. Front gate, mailbox, etc)
Name string
// Type of GPIO access available to consumers on the mesh
Type RemoteHardwarePinType
// contains filtered or unexported fields
}
func (RemoteHardwarePin_builder) Build ¶
func (b0 RemoteHardwarePin_builder) Build() *RemoteHardwarePin
type RouteDiscovery ¶
type RouteDiscovery struct {
// The list of nodenums this packet has visited so far
Route []uint32 `protobuf:"fixed32,1,rep,packed,name=route,proto3" json:"route,omitempty"`
// contains filtered or unexported fields
}
A message used in our Dynamic Source Routing protocol (RFC 4728 based)
func (*RouteDiscovery) GetRoute ¶
func (x *RouteDiscovery) GetRoute() []uint32
func (*RouteDiscovery) ProtoMessage ¶
func (*RouteDiscovery) ProtoMessage()
func (*RouteDiscovery) ProtoReflect ¶
func (x *RouteDiscovery) ProtoReflect() protoreflect.Message
func (*RouteDiscovery) Reset ¶
func (x *RouteDiscovery) Reset()
func (*RouteDiscovery) SetRoute ¶
func (x *RouteDiscovery) SetRoute(v []uint32)
func (*RouteDiscovery) String ¶
func (x *RouteDiscovery) String() string
type RouteDiscovery_builder ¶
type RouteDiscovery_builder struct {
// The list of nodenums this packet has visited so far
Route []uint32
// contains filtered or unexported fields
}
func (RouteDiscovery_builder) Build ¶
func (b0 RouteDiscovery_builder) Build() *RouteDiscovery
type Routing ¶
type Routing struct {
// Types that are valid to be assigned to Variant:
//
// *Routing_RouteRequest
// *Routing_RouteReply
// *Routing_ErrorReason
Variant isRouting_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
A Routing control Data packet handled by the routing module
func (*Routing) GetErrorReason ¶
func (x *Routing) GetErrorReason() Routing_Error
func (*Routing) GetRouteReply ¶
func (x *Routing) GetRouteReply() *RouteDiscovery
func (*Routing) GetRouteRequest ¶
func (x *Routing) GetRouteRequest() *RouteDiscovery
func (*Routing) ProtoReflect ¶
func (x *Routing) ProtoReflect() protoreflect.Message
func (*Routing) SetErrorReason ¶
func (x *Routing) SetErrorReason(v Routing_Error)
func (*Routing) SetRouteReply ¶
func (x *Routing) SetRouteReply(v *RouteDiscovery)
func (*Routing) SetRouteRequest ¶
func (x *Routing) SetRouteRequest(v *RouteDiscovery)
type Routing_Error ¶
type Routing_Error int32
A failure in delivering a message (usually used for routing control messages, but might be provided in addition to ack.fail_id to provide details on the type of failure).
const ( // This message is not a failure Routing_NONE Routing_Error = 0 // Our node doesn't have a route to the requested destination anymore. Routing_NO_ROUTE Routing_Error = 1 // We received a nak while trying to forward on your behalf Routing_GOT_NAK Routing_Error = 2 // TODO: REPLACE Routing_TIMEOUT Routing_Error = 3 // No suitable interface could be found for delivering this packet Routing_NO_INTERFACE Routing_Error = 4 // We reached the max retransmission count (typically for naive flood routing) Routing_MAX_RETRANSMIT Routing_Error = 5 // No suitable channel was found for sending this packet (i.e. was requested channel index disabled?) Routing_NO_CHANNEL Routing_Error = 6 // The packet was too big for sending (exceeds interface MTU after encoding) Routing_TOO_LARGE Routing_Error = 7 // The request had want_response set, the request reached the destination node, but no service on that node wants to send a response // (possibly due to bad channel permissions) Routing_NO_RESPONSE Routing_Error = 8 // Cannot send currently because duty cycle regulations will be violated. Routing_DUTY_CYCLE_LIMIT Routing_Error = 9 // The application layer service on the remote node received your request, but considered your request somehow invalid Routing_BAD_REQUEST Routing_Error = 32 // The application layer service on the remote node received your request, but considered your request not authorized // (i.e you did not send the request on the required bound channel) Routing_NOT_AUTHORIZED Routing_Error = 33 )
func (Routing_Error) Descriptor ¶
func (Routing_Error) Descriptor() protoreflect.EnumDescriptor
func (Routing_Error) Enum ¶
func (x Routing_Error) Enum() *Routing_Error
func (Routing_Error) Number ¶
func (x Routing_Error) Number() protoreflect.EnumNumber
func (Routing_Error) String ¶
func (x Routing_Error) String() string
func (Routing_Error) Type ¶
func (Routing_Error) Type() protoreflect.EnumType
type Routing_ErrorReason ¶
type Routing_ErrorReason struct {
// A failure in delivering a message (usually used for routing control messages, but might be provided
// in addition to ack.fail_id to provide details on the type of failure).
ErrorReason Routing_Error `protobuf:"varint,3,opt,name=error_reason,json=errorReason,proto3,enum=meshtastic.Routing_Error,oneof"`
}
type Routing_RouteReply ¶
type Routing_RouteReply struct {
// A route reply
RouteReply *RouteDiscovery `protobuf:"bytes,2,opt,name=route_reply,json=routeReply,proto3,oneof"`
}
type Routing_RouteRequest ¶
type Routing_RouteRequest struct {
// A route request going from the requester
RouteRequest *RouteDiscovery `protobuf:"bytes,1,opt,name=route_request,json=routeRequest,proto3,oneof"`
}
type Routing_builder ¶
type Routing_builder struct {
// Fields of oneof Variant:
//
// A route request going from the requester
RouteRequest *RouteDiscovery
// A route reply
RouteReply *RouteDiscovery
// A failure in delivering a message (usually used for routing control messages, but might be provided
// in addition to ack.fail_id to provide details on the type of failure).
ErrorReason *Routing_Error
// contains filtered or unexported fields
}
func (Routing_builder) Build ¶
func (b0 Routing_builder) Build() *Routing
type ScreenFonts ¶
type ScreenFonts int32
TODO: REPLACE
const ( // TODO: REPLACE ScreenFonts_FONT_SMALL ScreenFonts = 0 // TODO: REPLACE ScreenFonts_FONT_MEDIUM ScreenFonts = 1 // TODO: REPLACE ScreenFonts_FONT_LARGE ScreenFonts = 2 )
func (ScreenFonts) Descriptor ¶
func (ScreenFonts) Descriptor() protoreflect.EnumDescriptor
func (ScreenFonts) Enum ¶
func (x ScreenFonts) Enum() *ScreenFonts
func (ScreenFonts) Number ¶
func (x ScreenFonts) Number() protoreflect.EnumNumber
func (ScreenFonts) String ¶
func (x ScreenFonts) String() string
func (ScreenFonts) Type ¶
func (ScreenFonts) Type() protoreflect.EnumType
type SerialConnectionStatus ¶
type SerialConnectionStatus struct {
// Serial baud rate
Baud uint32 `protobuf:"varint,1,opt,name=baud,proto3" json:"baud,omitempty"`
// Whether the device has an active connection or not
IsConnected bool `protobuf:"varint,2,opt,name=is_connected,json=isConnected,proto3" json:"is_connected,omitempty"`
// contains filtered or unexported fields
}
Serial connection status
func (*SerialConnectionStatus) GetBaud ¶
func (x *SerialConnectionStatus) GetBaud() uint32
func (*SerialConnectionStatus) GetIsConnected ¶
func (x *SerialConnectionStatus) GetIsConnected() bool
func (*SerialConnectionStatus) ProtoMessage ¶
func (*SerialConnectionStatus) ProtoMessage()
func (*SerialConnectionStatus) ProtoReflect ¶
func (x *SerialConnectionStatus) ProtoReflect() protoreflect.Message
func (*SerialConnectionStatus) Reset ¶
func (x *SerialConnectionStatus) Reset()
func (*SerialConnectionStatus) SetBaud ¶
func (x *SerialConnectionStatus) SetBaud(v uint32)
func (*SerialConnectionStatus) SetIsConnected ¶
func (x *SerialConnectionStatus) SetIsConnected(v bool)
func (*SerialConnectionStatus) String ¶
func (x *SerialConnectionStatus) String() string
type SerialConnectionStatus_builder ¶
type SerialConnectionStatus_builder struct {
// Serial baud rate
Baud uint32
// Whether the device has an active connection or not
IsConnected bool
// contains filtered or unexported fields
}
func (SerialConnectionStatus_builder) Build ¶
func (b0 SerialConnectionStatus_builder) Build() *SerialConnectionStatus
type ServiceEnvelope ¶
type ServiceEnvelope struct {
// The (probably encrypted) packet
Packet *MeshPacket `protobuf:"bytes,1,opt,name=packet,proto3" json:"packet,omitempty"`
// The global channel ID it was sent on
ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
// The sending gateway node ID. Can we use this to authenticate/prevent fake
// nodeid impersonation for senders? - i.e. use gateway/mesh id (which is authenticated) + local node id as
// the globally trusted nodenum
GatewayId string `protobuf:"bytes,3,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
// contains filtered or unexported fields
}
This message wraps a MeshPacket with extra metadata about the sender and how it arrived.
func (*ServiceEnvelope) ClearPacket ¶
func (x *ServiceEnvelope) ClearPacket()
func (*ServiceEnvelope) GetChannelId ¶
func (x *ServiceEnvelope) GetChannelId() string
func (*ServiceEnvelope) GetGatewayId ¶
func (x *ServiceEnvelope) GetGatewayId() string
func (*ServiceEnvelope) GetPacket ¶
func (x *ServiceEnvelope) GetPacket() *MeshPacket
func (*ServiceEnvelope) HasPacket ¶
func (x *ServiceEnvelope) HasPacket() bool
func (*ServiceEnvelope) ProtoMessage ¶
func (*ServiceEnvelope) ProtoMessage()
func (*ServiceEnvelope) ProtoReflect ¶
func (x *ServiceEnvelope) ProtoReflect() protoreflect.Message
func (*ServiceEnvelope) Reset ¶
func (x *ServiceEnvelope) Reset()
func (*ServiceEnvelope) SetChannelId ¶
func (x *ServiceEnvelope) SetChannelId(v string)
func (*ServiceEnvelope) SetGatewayId ¶
func (x *ServiceEnvelope) SetGatewayId(v string)
func (*ServiceEnvelope) SetPacket ¶
func (x *ServiceEnvelope) SetPacket(v *MeshPacket)
func (*ServiceEnvelope) String ¶
func (x *ServiceEnvelope) String() string
type ServiceEnvelope_builder ¶
type ServiceEnvelope_builder struct {
// The (probably encrypted) packet
Packet *MeshPacket
// The global channel ID it was sent on
ChannelId string
// The sending gateway node ID. Can we use this to authenticate/prevent fake
// nodeid impersonation for senders? - i.e. use gateway/mesh id (which is authenticated) + local node id as
// the globally trusted nodenum
GatewayId string
// contains filtered or unexported fields
}
func (ServiceEnvelope_builder) Build ¶
func (b0 ServiceEnvelope_builder) Build() *ServiceEnvelope
type Status ¶
type Status struct {
// Battery level
Battery uint32 `protobuf:"varint,1,opt,name=battery,proto3" json:"battery,omitempty"`
// contains filtered or unexported fields
}
ATAK EUD Status <status battery='100' />
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type Status_builder ¶
type Status_builder struct {
// Battery level
Battery uint32
// contains filtered or unexported fields
}
func (Status_builder) Build ¶
func (b0 Status_builder) Build() *Status
type StoreAndForward ¶
type StoreAndForward struct {
// TODO: REPLACE
Rr StoreAndForward_RequestResponse `protobuf:"varint,1,opt,name=rr,proto3,enum=meshtastic.StoreAndForward_RequestResponse" json:"rr,omitempty"`
// TODO: REPLACE
//
// Types that are valid to be assigned to Variant:
//
// *StoreAndForward_Stats
// *StoreAndForward_History_
// *StoreAndForward_Heartbeat_
// *StoreAndForward_Text
Variant isStoreAndForward_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
TODO: REPLACE
func (*StoreAndForward) ClearHeartbeat ¶
func (x *StoreAndForward) ClearHeartbeat()
func (*StoreAndForward) ClearHistory ¶
func (x *StoreAndForward) ClearHistory()
func (*StoreAndForward) ClearStats ¶
func (x *StoreAndForward) ClearStats()
func (*StoreAndForward) ClearText ¶
func (x *StoreAndForward) ClearText()
func (*StoreAndForward) ClearVariant ¶
func (x *StoreAndForward) ClearVariant()
func (*StoreAndForward) GetHeartbeat ¶
func (x *StoreAndForward) GetHeartbeat() *StoreAndForward_Heartbeat
func (*StoreAndForward) GetHistory ¶
func (x *StoreAndForward) GetHistory() *StoreAndForward_History
func (*StoreAndForward) GetRr ¶
func (x *StoreAndForward) GetRr() StoreAndForward_RequestResponse
func (*StoreAndForward) GetStats ¶
func (x *StoreAndForward) GetStats() *StoreAndForward_Statistics
func (*StoreAndForward) GetText ¶
func (x *StoreAndForward) GetText() []byte
func (*StoreAndForward) GetVariant ¶
func (x *StoreAndForward) GetVariant() isStoreAndForward_Variant
func (*StoreAndForward) HasHeartbeat ¶
func (x *StoreAndForward) HasHeartbeat() bool
func (*StoreAndForward) HasHistory ¶
func (x *StoreAndForward) HasHistory() bool
func (*StoreAndForward) HasStats ¶
func (x *StoreAndForward) HasStats() bool
func (*StoreAndForward) HasText ¶
func (x *StoreAndForward) HasText() bool
func (*StoreAndForward) HasVariant ¶
func (x *StoreAndForward) HasVariant() bool
func (*StoreAndForward) ProtoMessage ¶
func (*StoreAndForward) ProtoMessage()
func (*StoreAndForward) ProtoReflect ¶
func (x *StoreAndForward) ProtoReflect() protoreflect.Message
func (*StoreAndForward) Reset ¶
func (x *StoreAndForward) Reset()
func (*StoreAndForward) SetHeartbeat ¶
func (x *StoreAndForward) SetHeartbeat(v *StoreAndForward_Heartbeat)
func (*StoreAndForward) SetHistory ¶
func (x *StoreAndForward) SetHistory(v *StoreAndForward_History)
func (*StoreAndForward) SetRr ¶
func (x *StoreAndForward) SetRr(v StoreAndForward_RequestResponse)
func (*StoreAndForward) SetStats ¶
func (x *StoreAndForward) SetStats(v *StoreAndForward_Statistics)
func (*StoreAndForward) SetText ¶
func (x *StoreAndForward) SetText(v []byte)
func (*StoreAndForward) String ¶
func (x *StoreAndForward) String() string
func (*StoreAndForward) WhichVariant ¶
func (x *StoreAndForward) WhichVariant() case_StoreAndForward_Variant
type StoreAndForward_Heartbeat ¶
type StoreAndForward_Heartbeat struct {
// Period in seconds that the heartbeat is sent out that will be sent to the client
Period uint32 `protobuf:"varint,1,opt,name=period,proto3" json:"period,omitempty"`
// If set, this is not the primary Store & Forward router on the mesh
Secondary uint32 `protobuf:"varint,2,opt,name=secondary,proto3" json:"secondary,omitempty"`
// contains filtered or unexported fields
}
TODO: REPLACE
func (*StoreAndForward_Heartbeat) GetPeriod ¶
func (x *StoreAndForward_Heartbeat) GetPeriod() uint32
func (*StoreAndForward_Heartbeat) GetSecondary ¶
func (x *StoreAndForward_Heartbeat) GetSecondary() uint32
func (*StoreAndForward_Heartbeat) ProtoMessage ¶
func (*StoreAndForward_Heartbeat) ProtoMessage()
func (*StoreAndForward_Heartbeat) ProtoReflect ¶
func (x *StoreAndForward_Heartbeat) ProtoReflect() protoreflect.Message
func (*StoreAndForward_Heartbeat) Reset ¶
func (x *StoreAndForward_Heartbeat) Reset()
func (*StoreAndForward_Heartbeat) SetPeriod ¶
func (x *StoreAndForward_Heartbeat) SetPeriod(v uint32)
func (*StoreAndForward_Heartbeat) SetSecondary ¶
func (x *StoreAndForward_Heartbeat) SetSecondary(v uint32)
func (*StoreAndForward_Heartbeat) String ¶
func (x *StoreAndForward_Heartbeat) String() string
type StoreAndForward_Heartbeat_ ¶
type StoreAndForward_Heartbeat_ struct {
// TODO: REPLACE
Heartbeat *StoreAndForward_Heartbeat `protobuf:"bytes,4,opt,name=heartbeat,proto3,oneof"`
}
type StoreAndForward_Heartbeat_builder ¶
type StoreAndForward_Heartbeat_builder struct {
// Period in seconds that the heartbeat is sent out that will be sent to the client
Period uint32
// If set, this is not the primary Store & Forward router on the mesh
Secondary uint32
// contains filtered or unexported fields
}
func (StoreAndForward_Heartbeat_builder) Build ¶
func (b0 StoreAndForward_Heartbeat_builder) Build() *StoreAndForward_Heartbeat
type StoreAndForward_History ¶
type StoreAndForward_History struct {
// Number of that will be sent to the client
HistoryMessages uint32 `protobuf:"varint,1,opt,name=history_messages,json=historyMessages,proto3" json:"history_messages,omitempty"`
// The window of messages that was used to filter the history client requested
Window uint32 `protobuf:"varint,2,opt,name=window,proto3" json:"window,omitempty"`
// Index in the packet history of the last message sent in a previous request to the server.
// Will be sent to the client before sending the history and can be set in a subsequent request to avoid getting packets the server already sent to the client.
LastRequest uint32 `protobuf:"varint,3,opt,name=last_request,json=lastRequest,proto3" json:"last_request,omitempty"`
// contains filtered or unexported fields
}
TODO: REPLACE
func (*StoreAndForward_History) GetHistoryMessages ¶
func (x *StoreAndForward_History) GetHistoryMessages() uint32
func (*StoreAndForward_History) GetLastRequest ¶
func (x *StoreAndForward_History) GetLastRequest() uint32
func (*StoreAndForward_History) GetWindow ¶
func (x *StoreAndForward_History) GetWindow() uint32
func (*StoreAndForward_History) ProtoMessage ¶
func (*StoreAndForward_History) ProtoMessage()
func (*StoreAndForward_History) ProtoReflect ¶
func (x *StoreAndForward_History) ProtoReflect() protoreflect.Message
func (*StoreAndForward_History) Reset ¶
func (x *StoreAndForward_History) Reset()
func (*StoreAndForward_History) SetHistoryMessages ¶
func (x *StoreAndForward_History) SetHistoryMessages(v uint32)
func (*StoreAndForward_History) SetLastRequest ¶
func (x *StoreAndForward_History) SetLastRequest(v uint32)
func (*StoreAndForward_History) SetWindow ¶
func (x *StoreAndForward_History) SetWindow(v uint32)
func (*StoreAndForward_History) String ¶
func (x *StoreAndForward_History) String() string
type StoreAndForward_History_ ¶
type StoreAndForward_History_ struct {
// TODO: REPLACE
History *StoreAndForward_History `protobuf:"bytes,3,opt,name=history,proto3,oneof"`
}
type StoreAndForward_History_builder ¶
type StoreAndForward_History_builder struct {
// Number of that will be sent to the client
HistoryMessages uint32
// The window of messages that was used to filter the history client requested
Window uint32
// Index in the packet history of the last message sent in a previous request to the server.
// Will be sent to the client before sending the history and can be set in a subsequent request to avoid getting packets the server already sent to the client.
LastRequest uint32
// contains filtered or unexported fields
}
func (StoreAndForward_History_builder) Build ¶
func (b0 StoreAndForward_History_builder) Build() *StoreAndForward_History
type StoreAndForward_RequestResponse ¶
type StoreAndForward_RequestResponse int32
001 - 063 = From Router 064 - 127 = From Client
const ( // Unset/unused StoreAndForward_UNSET StoreAndForward_RequestResponse = 0 // Router is an in error state. StoreAndForward_ROUTER_ERROR StoreAndForward_RequestResponse = 1 // Router heartbeat StoreAndForward_ROUTER_HEARTBEAT StoreAndForward_RequestResponse = 2 // Router has requested the client respond. This can work as a // "are you there" message. StoreAndForward_ROUTER_PING StoreAndForward_RequestResponse = 3 // The response to a "Ping" StoreAndForward_ROUTER_PONG StoreAndForward_RequestResponse = 4 // Router is currently busy. Please try again later. StoreAndForward_ROUTER_BUSY StoreAndForward_RequestResponse = 5 // Router is responding to a request for history. StoreAndForward_ROUTER_HISTORY StoreAndForward_RequestResponse = 6 // Router is responding to a request for stats. StoreAndForward_ROUTER_STATS StoreAndForward_RequestResponse = 7 // Router sends a text message from its history that was a direct message. StoreAndForward_ROUTER_TEXT_DIRECT StoreAndForward_RequestResponse = 8 // Router sends a text message from its history that was a broadcast. StoreAndForward_ROUTER_TEXT_BROADCAST StoreAndForward_RequestResponse = 9 // Client is an in error state. StoreAndForward_CLIENT_ERROR StoreAndForward_RequestResponse = 64 // Client has requested a replay from the router. StoreAndForward_CLIENT_HISTORY StoreAndForward_RequestResponse = 65 // Client has requested stats from the router. StoreAndForward_CLIENT_STATS StoreAndForward_RequestResponse = 66 // Client has requested the router respond. This can work as a // "are you there" message. StoreAndForward_CLIENT_PING StoreAndForward_RequestResponse = 67 // The response to a "Ping" StoreAndForward_CLIENT_PONG StoreAndForward_RequestResponse = 68 // Client has requested that the router abort processing the client's request StoreAndForward_CLIENT_ABORT StoreAndForward_RequestResponse = 106 )
func (StoreAndForward_RequestResponse) Descriptor ¶
func (StoreAndForward_RequestResponse) Descriptor() protoreflect.EnumDescriptor
func (StoreAndForward_RequestResponse) Enum ¶
func (x StoreAndForward_RequestResponse) Enum() *StoreAndForward_RequestResponse
func (StoreAndForward_RequestResponse) Number ¶
func (x StoreAndForward_RequestResponse) Number() protoreflect.EnumNumber
func (StoreAndForward_RequestResponse) String ¶
func (x StoreAndForward_RequestResponse) String() string
func (StoreAndForward_RequestResponse) Type ¶
func (StoreAndForward_RequestResponse) Type() protoreflect.EnumType
type StoreAndForward_Statistics ¶
type StoreAndForward_Statistics struct {
// Number of messages we have ever seen
MessagesTotal uint32 `protobuf:"varint,1,opt,name=messages_total,json=messagesTotal,proto3" json:"messages_total,omitempty"`
// Number of messages we have currently saved our history.
MessagesSaved uint32 `protobuf:"varint,2,opt,name=messages_saved,json=messagesSaved,proto3" json:"messages_saved,omitempty"`
// Maximum number of messages we will save
MessagesMax uint32 `protobuf:"varint,3,opt,name=messages_max,json=messagesMax,proto3" json:"messages_max,omitempty"`
// Router uptime in seconds
UpTime uint32 `protobuf:"varint,4,opt,name=up_time,json=upTime,proto3" json:"up_time,omitempty"`
// Number of times any client sent a request to the S&F.
Requests uint32 `protobuf:"varint,5,opt,name=requests,proto3" json:"requests,omitempty"`
// Number of times the history was requested.
RequestsHistory uint32 `protobuf:"varint,6,opt,name=requests_history,json=requestsHistory,proto3" json:"requests_history,omitempty"`
// Is the heartbeat enabled on the server?
Heartbeat bool `protobuf:"varint,7,opt,name=heartbeat,proto3" json:"heartbeat,omitempty"`
// Maximum number of messages the server will return.
ReturnMax uint32 `protobuf:"varint,8,opt,name=return_max,json=returnMax,proto3" json:"return_max,omitempty"`
// Maximum history window in minutes the server will return messages from.
ReturnWindow uint32 `protobuf:"varint,9,opt,name=return_window,json=returnWindow,proto3" json:"return_window,omitempty"`
// contains filtered or unexported fields
}
TODO: REPLACE
func (*StoreAndForward_Statistics) GetHeartbeat ¶
func (x *StoreAndForward_Statistics) GetHeartbeat() bool
func (*StoreAndForward_Statistics) GetMessagesMax ¶
func (x *StoreAndForward_Statistics) GetMessagesMax() uint32
func (*StoreAndForward_Statistics) GetMessagesSaved ¶
func (x *StoreAndForward_Statistics) GetMessagesSaved() uint32
func (*StoreAndForward_Statistics) GetMessagesTotal ¶
func (x *StoreAndForward_Statistics) GetMessagesTotal() uint32
func (*StoreAndForward_Statistics) GetRequests ¶
func (x *StoreAndForward_Statistics) GetRequests() uint32
func (*StoreAndForward_Statistics) GetRequestsHistory ¶
func (x *StoreAndForward_Statistics) GetRequestsHistory() uint32
func (*StoreAndForward_Statistics) GetReturnMax ¶
func (x *StoreAndForward_Statistics) GetReturnMax() uint32
func (*StoreAndForward_Statistics) GetReturnWindow ¶
func (x *StoreAndForward_Statistics) GetReturnWindow() uint32
func (*StoreAndForward_Statistics) GetUpTime ¶
func (x *StoreAndForward_Statistics) GetUpTime() uint32
func (*StoreAndForward_Statistics) ProtoMessage ¶
func (*StoreAndForward_Statistics) ProtoMessage()
func (*StoreAndForward_Statistics) ProtoReflect ¶
func (x *StoreAndForward_Statistics) ProtoReflect() protoreflect.Message
func (*StoreAndForward_Statistics) Reset ¶
func (x *StoreAndForward_Statistics) Reset()
func (*StoreAndForward_Statistics) SetHeartbeat ¶
func (x *StoreAndForward_Statistics) SetHeartbeat(v bool)
func (*StoreAndForward_Statistics) SetMessagesMax ¶
func (x *StoreAndForward_Statistics) SetMessagesMax(v uint32)
func (*StoreAndForward_Statistics) SetMessagesSaved ¶
func (x *StoreAndForward_Statistics) SetMessagesSaved(v uint32)
func (*StoreAndForward_Statistics) SetMessagesTotal ¶
func (x *StoreAndForward_Statistics) SetMessagesTotal(v uint32)
func (*StoreAndForward_Statistics) SetRequests ¶
func (x *StoreAndForward_Statistics) SetRequests(v uint32)
func (*StoreAndForward_Statistics) SetRequestsHistory ¶
func (x *StoreAndForward_Statistics) SetRequestsHistory(v uint32)
func (*StoreAndForward_Statistics) SetReturnMax ¶
func (x *StoreAndForward_Statistics) SetReturnMax(v uint32)
func (*StoreAndForward_Statistics) SetReturnWindow ¶
func (x *StoreAndForward_Statistics) SetReturnWindow(v uint32)
func (*StoreAndForward_Statistics) SetUpTime ¶
func (x *StoreAndForward_Statistics) SetUpTime(v uint32)
func (*StoreAndForward_Statistics) String ¶
func (x *StoreAndForward_Statistics) String() string
type StoreAndForward_Statistics_builder ¶
type StoreAndForward_Statistics_builder struct {
// Number of messages we have ever seen
MessagesTotal uint32
// Number of messages we have currently saved our history.
MessagesSaved uint32
// Maximum number of messages we will save
MessagesMax uint32
// Router uptime in seconds
UpTime uint32
// Number of times any client sent a request to the S&F.
Requests uint32
// Number of times the history was requested.
RequestsHistory uint32
// Is the heartbeat enabled on the server?
Heartbeat bool
// Maximum number of messages the server will return.
ReturnMax uint32
// Maximum history window in minutes the server will return messages from.
ReturnWindow uint32
// contains filtered or unexported fields
}
func (StoreAndForward_Statistics_builder) Build ¶
func (b0 StoreAndForward_Statistics_builder) Build() *StoreAndForward_Statistics
type StoreAndForward_Stats ¶
type StoreAndForward_Stats struct {
// TODO: REPLACE
Stats *StoreAndForward_Statistics `protobuf:"bytes,2,opt,name=stats,proto3,oneof"`
}
type StoreAndForward_Text ¶
type StoreAndForward_Text struct {
// Text from history message.
Text []byte `protobuf:"bytes,5,opt,name=text,proto3,oneof"`
}
type StoreAndForward_builder ¶
type StoreAndForward_builder struct {
// TODO: REPLACE
Rr StoreAndForward_RequestResponse
// Fields of oneof Variant:
//
// TODO: REPLACE
Stats *StoreAndForward_Statistics
// TODO: REPLACE
History *StoreAndForward_History
// TODO: REPLACE
Heartbeat *StoreAndForward_Heartbeat
// Text from history message.
Text []byte
// contains filtered or unexported fields
}
func (StoreAndForward_builder) Build ¶
func (b0 StoreAndForward_builder) Build() *StoreAndForward
type TAKPacket ¶
type TAKPacket struct {
// Are the payloads strings compressed for LoRA transport?
IsCompressed bool `protobuf:"varint,1,opt,name=is_compressed,json=isCompressed,proto3" json:"is_compressed,omitempty"`
// The contact / callsign for ATAK user
Contact *Contact `protobuf:"bytes,2,opt,name=contact,proto3" json:"contact,omitempty"`
// The group for ATAK user
Group *Group `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
// The status of the ATAK EUD
Status *Status `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
// The payload of the packet
//
// Types that are valid to be assigned to PayloadVariant:
//
// *TAKPacket_Pli
// *TAKPacket_Chat
PayloadVariant isTAKPacket_PayloadVariant `protobuf_oneof:"payload_variant"`
// contains filtered or unexported fields
}
Packets for the official ATAK Plugin
func (*TAKPacket) GetPayloadVariant ¶
func (x *TAKPacket) GetPayloadVariant() isTAKPacket_PayloadVariant
func (*TAKPacket) ProtoReflect ¶
func (x *TAKPacket) ProtoReflect() protoreflect.Message
type TAKPacket_Chat ¶
type TAKPacket_Chat struct {
// ATAK GeoChat message
Chat *GeoChat `protobuf:"bytes,6,opt,name=chat,proto3,oneof"`
}
type TAKPacket_Pli ¶
type TAKPacket_Pli struct {
// TAK position report
Pli *PLI `protobuf:"bytes,5,opt,name=pli,proto3,oneof"`
}
type TAKPacket_builder ¶
type TAKPacket_builder struct {
// Are the payloads strings compressed for LoRA transport?
IsCompressed bool
// The contact / callsign for ATAK user
Contact *Contact
// The group for ATAK user
Group *Group
// The status of the ATAK EUD
Status *Status
// Fields of oneof PayloadVariant:
//
// TAK position report
Pli *PLI
// ATAK GeoChat message
Chat *GeoChat
// contains filtered or unexported fields
}
func (TAKPacket_builder) Build ¶
func (b0 TAKPacket_builder) Build() *TAKPacket
type Team ¶
type Team int32
const ( // Unspecifed Team_Unspecifed_Color Team = 0 // White Team_White Team = 1 // Yellow Team_Yellow Team = 2 // Orange Team_Orange Team = 3 // Magenta Team_Magenta Team = 4 // Red Team_Red Team = 5 // Maroon Team_Maroon Team = 6 // Purple Team_Purple Team = 7 // Dark Blue Team_Dark_Blue Team = 8 // Blue Team_Blue Team = 9 // Cyan Team_Cyan Team = 10 // Teal Team_Teal Team = 11 // Green Team_Green Team = 12 // Dark Green Team_Dark_Green Team = 13 // Brown Team_Brown Team = 14 )
func (Team) Descriptor ¶
func (Team) Descriptor() protoreflect.EnumDescriptor
func (Team) Number ¶
func (x Team) Number() protoreflect.EnumNumber
func (Team) Type ¶
func (Team) Type() protoreflect.EnumType
type Telemetry ¶
type Telemetry struct {
//
// Seconds since 1970 - or 0 for unknown/unset
Time uint32 `protobuf:"fixed32,1,opt,name=time,proto3" json:"time,omitempty"`
// Types that are valid to be assigned to Variant:
//
// *Telemetry_DeviceMetrics
// *Telemetry_EnvironmentMetrics
// *Telemetry_AirQualityMetrics
// *Telemetry_PowerMetrics
Variant isTelemetry_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
Types of Measurements the telemetry module is equipped to handle
func (*Telemetry) GetAirQualityMetrics ¶
func (x *Telemetry) GetAirQualityMetrics() *AirQualityMetrics
func (*Telemetry) GetDeviceMetrics ¶
func (x *Telemetry) GetDeviceMetrics() *DeviceMetrics
func (*Telemetry) GetEnvironmentMetrics ¶
func (x *Telemetry) GetEnvironmentMetrics() *EnvironmentMetrics
func (*Telemetry) GetPowerMetrics ¶
func (x *Telemetry) GetPowerMetrics() *PowerMetrics
func (*Telemetry) ProtoReflect ¶
func (x *Telemetry) ProtoReflect() protoreflect.Message
func (*Telemetry) SetAirQualityMetrics ¶
func (x *Telemetry) SetAirQualityMetrics(v *AirQualityMetrics)
func (*Telemetry) SetDeviceMetrics ¶
func (x *Telemetry) SetDeviceMetrics(v *DeviceMetrics)
func (*Telemetry) SetEnvironmentMetrics ¶
func (x *Telemetry) SetEnvironmentMetrics(v *EnvironmentMetrics)
func (*Telemetry) SetPowerMetrics ¶
func (x *Telemetry) SetPowerMetrics(v *PowerMetrics)
type TelemetrySensorType ¶
type TelemetrySensorType int32
Supported I2C Sensors for telemetry in Meshtastic
const ( // // No external telemetry sensor explicitly set TelemetrySensorType_SENSOR_UNSET TelemetrySensorType = 0 // // High accuracy temperature, pressure, humidity TelemetrySensorType_BME280 TelemetrySensorType = 1 // // High accuracy temperature, pressure, humidity, and air resistance TelemetrySensorType_BME680 TelemetrySensorType = 2 // // Very high accuracy temperature TelemetrySensorType_MCP9808 TelemetrySensorType = 3 // // Moderate accuracy current and voltage TelemetrySensorType_INA260 TelemetrySensorType = 4 // // Moderate accuracy current and voltage TelemetrySensorType_INA219 TelemetrySensorType = 5 // // High accuracy temperature and pressure TelemetrySensorType_BMP280 TelemetrySensorType = 6 // // High accuracy temperature and humidity TelemetrySensorType_SHTC3 TelemetrySensorType = 7 // // High accuracy pressure TelemetrySensorType_LPS22 TelemetrySensorType = 8 // // 3-Axis magnetic sensor TelemetrySensorType_QMC6310 TelemetrySensorType = 9 // // 6-Axis inertial measurement sensor TelemetrySensorType_QMI8658 TelemetrySensorType = 10 // // 3-Axis magnetic sensor TelemetrySensorType_QMC5883L TelemetrySensorType = 11 // // High accuracy temperature and humidity TelemetrySensorType_SHT31 TelemetrySensorType = 12 // // PM2.5 air quality sensor TelemetrySensorType_PMSA003I TelemetrySensorType = 13 // // INA3221 3 Channel Voltage / Current Sensor TelemetrySensorType_INA3221 TelemetrySensorType = 14 )
func (TelemetrySensorType) Descriptor ¶
func (TelemetrySensorType) Descriptor() protoreflect.EnumDescriptor
func (TelemetrySensorType) Enum ¶
func (x TelemetrySensorType) Enum() *TelemetrySensorType
func (TelemetrySensorType) Number ¶
func (x TelemetrySensorType) Number() protoreflect.EnumNumber
func (TelemetrySensorType) String ¶
func (x TelemetrySensorType) String() string
func (TelemetrySensorType) Type ¶
func (TelemetrySensorType) Type() protoreflect.EnumType
type Telemetry_AirQualityMetrics ¶
type Telemetry_AirQualityMetrics struct {
//
// Air quality metrics
AirQualityMetrics *AirQualityMetrics `protobuf:"bytes,4,opt,name=air_quality_metrics,json=airQualityMetrics,proto3,oneof"`
}
type Telemetry_DeviceMetrics ¶
type Telemetry_DeviceMetrics struct {
//
// Key native device metrics such as battery level
DeviceMetrics *DeviceMetrics `protobuf:"bytes,2,opt,name=device_metrics,json=deviceMetrics,proto3,oneof"`
}
type Telemetry_EnvironmentMetrics ¶
type Telemetry_EnvironmentMetrics struct {
//
// Weather station or other environmental metrics
EnvironmentMetrics *EnvironmentMetrics `protobuf:"bytes,3,opt,name=environment_metrics,json=environmentMetrics,proto3,oneof"`
}
type Telemetry_PowerMetrics ¶
type Telemetry_PowerMetrics struct {
//
// Power Metrics
PowerMetrics *PowerMetrics `protobuf:"bytes,5,opt,name=power_metrics,json=powerMetrics,proto3,oneof"`
}
type Telemetry_builder ¶
type Telemetry_builder struct {
//
// Seconds since 1970 - or 0 for unknown/unset
Time uint32
// Fields of oneof Variant:
//
// Key native device metrics such as battery level
DeviceMetrics *DeviceMetrics
//
// Weather station or other environmental metrics
EnvironmentMetrics *EnvironmentMetrics
//
// Air quality metrics
AirQualityMetrics *AirQualityMetrics
//
// Power Metrics
PowerMetrics *PowerMetrics
// contains filtered or unexported fields
}
func (Telemetry_builder) Build ¶
func (b0 Telemetry_builder) Build() *Telemetry
type ToRadio ¶
type ToRadio struct {
// Log levels, chosen to match python logging conventions.
//
// Types that are valid to be assigned to PayloadVariant:
//
// *ToRadio_Packet
// *ToRadio_WantConfigId
// *ToRadio_Disconnect
// *ToRadio_XmodemPacket
// *ToRadio_MqttClientProxyMessage
PayloadVariant isToRadio_PayloadVariant `protobuf_oneof:"payload_variant"`
// contains filtered or unexported fields
}
Packets/commands to the radio will be written (reliably) to the toRadio characteristic. Once the write completes the phone can assume it is handled.
func (*ToRadio) GetMqttClientProxyMessage ¶
func (x *ToRadio) GetMqttClientProxyMessage() *MqttClientProxyMessage
func (*ToRadio) GetPacket ¶
func (x *ToRadio) GetPacket() *MeshPacket
func (*ToRadio) ProtoReflect ¶
func (x *ToRadio) ProtoReflect() protoreflect.Message
func (*ToRadio) SetMqttClientProxyMessage ¶
func (x *ToRadio) SetMqttClientProxyMessage(v *MqttClientProxyMessage)
func (*ToRadio) SetPacket ¶
func (x *ToRadio) SetPacket(v *MeshPacket)
type ToRadio_Disconnect ¶
type ToRadio_Disconnect struct {
// Tell API server we are disconnecting now.
// This is useful for serial links where there is no hardware/protocol based notification that the client has dropped the link.
// (Sending this message is optional for clients)
Disconnect bool `protobuf:"varint,4,opt,name=disconnect,proto3,oneof"`
}
type ToRadio_MqttClientProxyMessage ¶
type ToRadio_MqttClientProxyMessage struct {
// MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
MqttClientProxyMessage *MqttClientProxyMessage `protobuf:"bytes,6,opt,name=mqttClientProxyMessage,proto3,oneof"`
}
type ToRadio_Packet ¶
type ToRadio_Packet struct {
// Send this packet on the mesh
Packet *MeshPacket `protobuf:"bytes,1,opt,name=packet,proto3,oneof"`
}
type ToRadio_WantConfigId ¶
type ToRadio_WantConfigId struct {
// Phone wants radio to send full node db to the phone, This is
// typically the first packet sent to the radio when the phone gets a
// bluetooth connection. The radio will respond by sending back a
// MyNodeInfo, a owner, a radio config and a series of
// FromRadio.node_infos, and config_complete
// the integer you write into this field will be reported back in the
// config_complete_id response this allows clients to never be confused by
// a stale old partially sent config.
WantConfigId uint32 `protobuf:"varint,3,opt,name=want_config_id,json=wantConfigId,proto3,oneof"`
}
type ToRadio_XmodemPacket ¶
type ToRadio_XmodemPacket struct {
XmodemPacket *XModem `protobuf:"bytes,5,opt,name=xmodemPacket,proto3,oneof"`
}
type ToRadio_builder ¶
type ToRadio_builder struct {
// Fields of oneof PayloadVariant:
//
// Send this packet on the mesh
Packet *MeshPacket
// Phone wants radio to send full node db to the phone, This is
// typically the first packet sent to the radio when the phone gets a
// bluetooth connection. The radio will respond by sending back a
// MyNodeInfo, a owner, a radio config and a series of
// FromRadio.node_infos, and config_complete
// the integer you write into this field will be reported back in the
// config_complete_id response this allows clients to never be confused by
// a stale old partially sent config.
WantConfigId *uint32
// Tell API server we are disconnecting now.
// This is useful for serial links where there is no hardware/protocol based notification that the client has dropped the link.
// (Sending this message is optional for clients)
Disconnect *bool
XmodemPacket *XModem
// MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
MqttClientProxyMessage *MqttClientProxyMessage
// contains filtered or unexported fields
}
func (ToRadio_builder) Build ¶
func (b0 ToRadio_builder) Build() *ToRadio
type User ¶
type User struct {
// A globally unique ID string for this user.
// In the case of Signal that would mean +16504442323, for the default macaddr derived id it would be !<8 hexidecimal bytes>.
// Note: app developers are encouraged to also use the following standard
// node IDs "^all" (for broadcast), "^local" (for the locally connected node)
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// A full name for this user, i.e. "Kevin Hester"
LongName string `protobuf:"bytes,2,opt,name=long_name,json=longName,proto3" json:"long_name,omitempty"`
// A VERY short name, ideally two characters.
// Suitable for a tiny OLED screen
ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
// Deprecated in Meshtastic 2.1.x
// This is the addr of the radio.
// Not populated by the phone, but added by the esp32 when broadcasting
//
// Deprecated: Marked as deprecated in meshtastic/mesh.proto.
Macaddr []byte `protobuf:"bytes,4,opt,name=macaddr,proto3" json:"macaddr,omitempty"`
// TBEAM, HELTEC, etc...
// Starting in 1.2.11 moved to hw_model enum in the NodeInfo object.
// Apps will still need the string here for older builds
// (so OTA update can find the right image), but if the enum is available it will be used instead.
HwModel HardwareModel `protobuf:"varint,5,opt,name=hw_model,json=hwModel,proto3,enum=meshtastic.HardwareModel" json:"hw_model,omitempty"`
// In some regions Ham radio operators have different bandwidth limitations than others.
// If this user is a licensed operator, set this flag.
// Also, "long_name" should be their licence number.
IsLicensed bool `protobuf:"varint,6,opt,name=is_licensed,json=isLicensed,proto3" json:"is_licensed,omitempty"`
// Indicates that the user's role in the mesh
Role Config_DeviceConfig_Role `protobuf:"varint,7,opt,name=role,proto3,enum=meshtastic.Config_DeviceConfig_Role" json:"role,omitempty"`
// contains filtered or unexported fields
}
Broadcast when a newly powered mesh node wants to find a node num it can use Sent from the phone over bluetooth to set the user id for the owner of this node. Also sent from nodes to each other when a new node signs on (so all clients can have this info) The algorithm is as follows: when a node starts up, it broadcasts their user and the normal flow is for all other nodes to reply with their User as well (so the new node can build its nodedb) If a node ever receives a User (not just the first broadcast) message where the sender node number equals our node number, that indicates a collision has occurred and the following steps should happen: If the receiving node (that was already in the mesh)'s macaddr is LOWER than the new User who just tried to sign in: it gets to keep its nodenum. We send a broadcast message of OUR User (we use a broadcast so that the other node can receive our message, considering we have the same id - it also serves to let observers correct their nodedb) - this case is rare so it should be okay. If any node receives a User where the macaddr is GTE than their local macaddr, they have been vetoed and should pick a new random nodenum (filtering against whatever it knows about the nodedb) and rebroadcast their User. A few nodenums are reserved and will never be requested: 0xff - broadcast 0 through 3 - for future use
func (*User) GetHwModel ¶
func (x *User) GetHwModel() HardwareModel
func (*User) GetRole ¶
func (x *User) GetRole() Config_DeviceConfig_Role
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) SetHwModel ¶
func (x *User) SetHwModel(v HardwareModel)
func (*User) SetRole ¶
func (x *User) SetRole(v Config_DeviceConfig_Role)
type User_builder ¶
type User_builder struct {
// A globally unique ID string for this user.
// In the case of Signal that would mean +16504442323, for the default macaddr derived id it would be !<8 hexidecimal bytes>.
// Note: app developers are encouraged to also use the following standard
// node IDs "^all" (for broadcast), "^local" (for the locally connected node)
Id string
// A full name for this user, i.e. "Kevin Hester"
LongName string
// A VERY short name, ideally two characters.
// Suitable for a tiny OLED screen
ShortName string
// Deprecated in Meshtastic 2.1.x
// This is the addr of the radio.
// Not populated by the phone, but added by the esp32 when broadcasting
//
// Deprecated: Marked as deprecated in meshtastic/mesh.proto.
Macaddr []byte
// TBEAM, HELTEC, etc...
// Starting in 1.2.11 moved to hw_model enum in the NodeInfo object.
// Apps will still need the string here for older builds
// (so OTA update can find the right image), but if the enum is available it will be used instead.
HwModel HardwareModel
// In some regions Ham radio operators have different bandwidth limitations than others.
// If this user is a licensed operator, set this flag.
// Also, "long_name" should be their licence number.
IsLicensed bool
// Indicates that the user's role in the mesh
Role Config_DeviceConfig_Role
// contains filtered or unexported fields
}
func (User_builder) Build ¶
func (b0 User_builder) Build() *User
type Waypoint ¶
type Waypoint struct {
// Id of the waypoint
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// latitude_i
LatitudeI int32 `protobuf:"fixed32,2,opt,name=latitude_i,json=latitudeI,proto3" json:"latitude_i,omitempty"`
// longitude_i
LongitudeI int32 `protobuf:"fixed32,3,opt,name=longitude_i,json=longitudeI,proto3" json:"longitude_i,omitempty"`
// Time the waypoint is to expire (epoch)
Expire uint32 `protobuf:"varint,4,opt,name=expire,proto3" json:"expire,omitempty"`
// If greater than zero, treat the value as a nodenum only allowing them to update the waypoint.
// If zero, the waypoint is open to be edited by any member of the mesh.
LockedTo uint32 `protobuf:"varint,5,opt,name=locked_to,json=lockedTo,proto3" json:"locked_to,omitempty"`
// Name of the waypoint - max 30 chars
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// Description of the waypoint - max 100 chars
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
// Designator icon for the waypoint in the form of a unicode emoji
Icon uint32 `protobuf:"fixed32,8,opt,name=icon,proto3" json:"icon,omitempty"`
// contains filtered or unexported fields
}
Waypoint message, used to share arbitrary locations across the mesh
func (*Waypoint) ProtoReflect ¶
func (x *Waypoint) ProtoReflect() protoreflect.Message
type Waypoint_builder ¶
type Waypoint_builder struct {
// Id of the waypoint
Id uint32
// latitude_i
LatitudeI int32
// longitude_i
LongitudeI int32
// Time the waypoint is to expire (epoch)
Expire uint32
// If greater than zero, treat the value as a nodenum only allowing them to update the waypoint.
// If zero, the waypoint is open to be edited by any member of the mesh.
LockedTo uint32
// Name of the waypoint - max 30 chars
Name string
// Description of the waypoint - max 100 chars
Description string
// Designator icon for the waypoint in the form of a unicode emoji
Icon uint32
// contains filtered or unexported fields
}
func (Waypoint_builder) Build ¶
func (b0 Waypoint_builder) Build() *Waypoint
type WifiConnectionStatus ¶
type WifiConnectionStatus struct {
// Connection status
Status *NetworkConnectionStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// WiFi access point SSID
Ssid string `protobuf:"bytes,2,opt,name=ssid,proto3" json:"ssid,omitempty"`
// RSSI of wireless connection
Rssi int32 `protobuf:"varint,3,opt,name=rssi,proto3" json:"rssi,omitempty"`
// contains filtered or unexported fields
}
WiFi connection status
func (*WifiConnectionStatus) ClearStatus ¶
func (x *WifiConnectionStatus) ClearStatus()
func (*WifiConnectionStatus) GetRssi ¶
func (x *WifiConnectionStatus) GetRssi() int32
func (*WifiConnectionStatus) GetSsid ¶
func (x *WifiConnectionStatus) GetSsid() string
func (*WifiConnectionStatus) GetStatus ¶
func (x *WifiConnectionStatus) GetStatus() *NetworkConnectionStatus
func (*WifiConnectionStatus) HasStatus ¶
func (x *WifiConnectionStatus) HasStatus() bool
func (*WifiConnectionStatus) ProtoMessage ¶
func (*WifiConnectionStatus) ProtoMessage()
func (*WifiConnectionStatus) ProtoReflect ¶
func (x *WifiConnectionStatus) ProtoReflect() protoreflect.Message
func (*WifiConnectionStatus) Reset ¶
func (x *WifiConnectionStatus) Reset()
func (*WifiConnectionStatus) SetRssi ¶
func (x *WifiConnectionStatus) SetRssi(v int32)
func (*WifiConnectionStatus) SetSsid ¶
func (x *WifiConnectionStatus) SetSsid(v string)
func (*WifiConnectionStatus) SetStatus ¶
func (x *WifiConnectionStatus) SetStatus(v *NetworkConnectionStatus)
func (*WifiConnectionStatus) String ¶
func (x *WifiConnectionStatus) String() string
type WifiConnectionStatus_builder ¶
type WifiConnectionStatus_builder struct {
// Connection status
Status *NetworkConnectionStatus
// WiFi access point SSID
Ssid string
// RSSI of wireless connection
Rssi int32
// contains filtered or unexported fields
}
func (WifiConnectionStatus_builder) Build ¶
func (b0 WifiConnectionStatus_builder) Build() *WifiConnectionStatus
type XModem ¶
type XModem struct {
Control XModem_Control `protobuf:"varint,1,opt,name=control,proto3,enum=meshtastic.XModem_Control" json:"control,omitempty"`
Seq uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
Crc16 uint32 `protobuf:"varint,3,opt,name=crc16,proto3" json:"crc16,omitempty"`
Buffer []byte `protobuf:"bytes,4,opt,name=buffer,proto3" json:"buffer,omitempty"`
// contains filtered or unexported fields
}
func (*XModem) GetControl ¶
func (x *XModem) GetControl() XModem_Control
func (*XModem) ProtoReflect ¶
func (x *XModem) ProtoReflect() protoreflect.Message
func (*XModem) SetControl ¶
func (x *XModem) SetControl(v XModem_Control)
type XModem_Control ¶
type XModem_Control int32
const ( XModem_NUL XModem_Control = 0 XModem_SOH XModem_Control = 1 XModem_STX XModem_Control = 2 XModem_EOT XModem_Control = 4 XModem_ACK XModem_Control = 6 XModem_NAK XModem_Control = 21 XModem_CAN XModem_Control = 24 XModem_CTRLZ XModem_Control = 26 )
func (XModem_Control) Descriptor ¶
func (XModem_Control) Descriptor() protoreflect.EnumDescriptor
func (XModem_Control) Enum ¶
func (x XModem_Control) Enum() *XModem_Control
func (XModem_Control) Number ¶
func (x XModem_Control) Number() protoreflect.EnumNumber
func (XModem_Control) String ¶
func (x XModem_Control) String() string
func (XModem_Control) Type ¶
func (XModem_Control) Type() protoreflect.EnumType
type XModem_builder ¶
type XModem_builder struct {
Control XModem_Control
Seq uint32
Crc16 uint32
Buffer []byte
// contains filtered or unexported fields
}
func (XModem_builder) Build ¶
func (b0 XModem_builder) Build() *XModem
Source Files
¶
- admin.pb.go
- apponly.pb.go
- atak.pb.go
- cannedmessages.pb.go
- channel.pb.go
- clientonly.pb.go
- config.pb.go
- connection_status.pb.go
- deviceonly.pb.go
- localonly.pb.go
- mesh.pb.go
- module_config.pb.go
- mqtt.pb.go
- paxcount.pb.go
- portnums.pb.go
- remote_hardware.pb.go
- rtttl.pb.go
- storeforward.pb.go
- telemetry.pb.go
- xmodem.pb.go