meshtastic

package
v1.36.11-2026021218091... Latest Latest
Warning

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

Go to latest
Published: unknown License: GPL-3.0 Imports: 5 Imported by: 19

Documentation

Index

Constants

View Source
const AdminMessage_AddContact_case case_AdminMessage_PayloadVariant = 66
View Source
const AdminMessage_BackupPreferences_case case_AdminMessage_PayloadVariant = 24
View Source
const AdminMessage_BeginEditSettings_case case_AdminMessage_PayloadVariant = 64
View Source
const AdminMessage_CommitEditSettings_case case_AdminMessage_PayloadVariant = 65
View Source
const AdminMessage_DeleteFileRequest_case case_AdminMessage_PayloadVariant = 22
View Source
const AdminMessage_EnterDfuModeRequest_case case_AdminMessage_PayloadVariant = 21
View Source
const AdminMessage_ExitSimulator_case case_AdminMessage_PayloadVariant = 96
View Source
const AdminMessage_FactoryResetConfig_case case_AdminMessage_PayloadVariant = 99
View Source
const AdminMessage_FactoryResetDevice_case case_AdminMessage_PayloadVariant = 94
View Source
const AdminMessage_GetCannedMessageModuleMessagesRequest_case case_AdminMessage_PayloadVariant = 10
View Source
const AdminMessage_GetCannedMessageModuleMessagesResponse_case case_AdminMessage_PayloadVariant = 11
View Source
const AdminMessage_GetChannelRequest_case case_AdminMessage_PayloadVariant = 1
View Source
const AdminMessage_GetChannelResponse_case case_AdminMessage_PayloadVariant = 2
View Source
const AdminMessage_GetConfigRequest_case case_AdminMessage_PayloadVariant = 5
View Source
const AdminMessage_GetConfigResponse_case case_AdminMessage_PayloadVariant = 6
View Source
const AdminMessage_GetDeviceConnectionStatusRequest_case case_AdminMessage_PayloadVariant = 16
View Source
const AdminMessage_GetDeviceConnectionStatusResponse_case case_AdminMessage_PayloadVariant = 17
View Source
const AdminMessage_GetDeviceMetadataRequest_case case_AdminMessage_PayloadVariant = 12
View Source
const AdminMessage_GetDeviceMetadataResponse_case case_AdminMessage_PayloadVariant = 13
View Source
const AdminMessage_GetModuleConfigRequest_case case_AdminMessage_PayloadVariant = 7
View Source
const AdminMessage_GetModuleConfigResponse_case case_AdminMessage_PayloadVariant = 8
View Source
const AdminMessage_GetNodeRemoteHardwarePinsRequest_case case_AdminMessage_PayloadVariant = 19
View Source
const AdminMessage_GetNodeRemoteHardwarePinsResponse_case case_AdminMessage_PayloadVariant = 20
View Source
const AdminMessage_GetOwnerRequest_case case_AdminMessage_PayloadVariant = 3
View Source
const AdminMessage_GetOwnerResponse_case case_AdminMessage_PayloadVariant = 4
View Source
const AdminMessage_GetRingtoneRequest_case case_AdminMessage_PayloadVariant = 14
View Source
const AdminMessage_GetRingtoneResponse_case case_AdminMessage_PayloadVariant = 15
View Source
const AdminMessage_GetUiConfigRequest_case case_AdminMessage_PayloadVariant = 44
View Source
const AdminMessage_GetUiConfigResponse_case case_AdminMessage_PayloadVariant = 45
View Source
const AdminMessage_KeyVerification_case case_AdminMessage_PayloadVariant = 67
View Source
const AdminMessage_NodedbReset_case case_AdminMessage_PayloadVariant = 100
View Source
const AdminMessage_OtaRequest_case case_AdminMessage_PayloadVariant = 102
View Source
const AdminMessage_PayloadVariant_not_set_case case_AdminMessage_PayloadVariant = 0
View Source
const AdminMessage_RebootOtaSeconds_case case_AdminMessage_PayloadVariant = 95
View Source
const AdminMessage_RebootSeconds_case case_AdminMessage_PayloadVariant = 97
View Source
const AdminMessage_RemoveBackupPreferences_case case_AdminMessage_PayloadVariant = 26
View Source
const AdminMessage_RemoveByNodenum_case case_AdminMessage_PayloadVariant = 38
View Source
const AdminMessage_RemoveFavoriteNode_case case_AdminMessage_PayloadVariant = 40
View Source
const AdminMessage_RemoveFixedPosition_case case_AdminMessage_PayloadVariant = 42
View Source
const AdminMessage_RemoveIgnoredNode_case case_AdminMessage_PayloadVariant = 48
View Source
const AdminMessage_RestorePreferences_case case_AdminMessage_PayloadVariant = 25
View Source
const AdminMessage_SendInputEvent_case case_AdminMessage_PayloadVariant = 27
View Source
const AdminMessage_SensorConfig_case case_AdminMessage_PayloadVariant = 103
View Source
const AdminMessage_SetCannedMessageModuleMessages_case case_AdminMessage_PayloadVariant = 36
View Source
const AdminMessage_SetChannel_case case_AdminMessage_PayloadVariant = 33
View Source
const AdminMessage_SetConfig_case case_AdminMessage_PayloadVariant = 34
View Source
const AdminMessage_SetFavoriteNode_case case_AdminMessage_PayloadVariant = 39
View Source
const AdminMessage_SetFixedPosition_case case_AdminMessage_PayloadVariant = 41
View Source
const AdminMessage_SetHamMode_case case_AdminMessage_PayloadVariant = 18
View Source
const AdminMessage_SetIgnoredNode_case case_AdminMessage_PayloadVariant = 47
View Source
const AdminMessage_SetModuleConfig_case case_AdminMessage_PayloadVariant = 35
View Source
const AdminMessage_SetOwner_case case_AdminMessage_PayloadVariant = 32
View Source
const AdminMessage_SetRingtoneMessage_case case_AdminMessage_PayloadVariant = 37
View Source
const AdminMessage_SetScale_case case_AdminMessage_PayloadVariant = 23
View Source
const AdminMessage_SetTimeOnly_case case_AdminMessage_PayloadVariant = 43
View Source
const AdminMessage_ShutdownSeconds_case case_AdminMessage_PayloadVariant = 98
View Source
const AdminMessage_StoreUiConfig_case case_AdminMessage_PayloadVariant = 46
View Source
const AdminMessage_ToggleMutedNode_case case_AdminMessage_PayloadVariant = 49
View Source
const ChunkedPayloadResponse_AcceptTransfer_case case_ChunkedPayloadResponse_PayloadVariant = 3
View Source
const ChunkedPayloadResponse_PayloadVariant_not_set_case case_ChunkedPayloadResponse_PayloadVariant = 0
View Source
const ChunkedPayloadResponse_RequestTransfer_case case_ChunkedPayloadResponse_PayloadVariant = 2
View Source
const ChunkedPayloadResponse_ResendChunks_case case_ChunkedPayloadResponse_PayloadVariant = 4
View Source
const ClientNotification_DuplicatedPublicKey_case case_ClientNotification_PayloadVariant = 14
View Source
const ClientNotification_KeyVerificationFinal_case case_ClientNotification_PayloadVariant = 13
View Source
const ClientNotification_KeyVerificationNumberInform_case case_ClientNotification_PayloadVariant = 11
View Source
const ClientNotification_KeyVerificationNumberRequest_case case_ClientNotification_PayloadVariant = 12
View Source
const ClientNotification_LowEntropyKey_case case_ClientNotification_PayloadVariant = 15
View Source
const ClientNotification_PayloadVariant_not_set_case case_ClientNotification_PayloadVariant = 0
View Source
const Config_Bluetooth_case case_Config_PayloadVariant = 7
View Source
const Config_DeviceUi_case case_Config_PayloadVariant = 10
View Source
const Config_Device_case case_Config_PayloadVariant = 1
View Source
const Config_Display_case case_Config_PayloadVariant = 5
View Source
const Config_Lora_case case_Config_PayloadVariant = 6
View Source
const Config_Network_case case_Config_PayloadVariant = 4
View Source
const Config_PayloadVariant_not_set_case case_Config_PayloadVariant = 0
View Source
const Config_Position_case case_Config_PayloadVariant = 2
View Source
const Config_Power_case case_Config_PayloadVariant = 3
View Source
const Config_Security_case case_Config_PayloadVariant = 8
View Source
const Config_Sessionkey_case case_Config_PayloadVariant = 9
View Source
const FromRadio_Channel_case case_FromRadio_PayloadVariant = 10
View Source
const FromRadio_ClientNotification_case case_FromRadio_PayloadVariant = 16
View Source
const FromRadio_ConfigCompleteId_case case_FromRadio_PayloadVariant = 7
View Source
const FromRadio_Config_case case_FromRadio_PayloadVariant = 5
View Source
const FromRadio_DeviceuiConfig_case case_FromRadio_PayloadVariant = 17
View Source
const FromRadio_FileInfo_case case_FromRadio_PayloadVariant = 15
View Source
const FromRadio_LogRecord_case case_FromRadio_PayloadVariant = 6
View Source
const FromRadio_Metadata_case case_FromRadio_PayloadVariant = 13
View Source
const FromRadio_ModuleConfig_case case_FromRadio_PayloadVariant = 9
View Source
const FromRadio_MqttClientProxyMessage_case case_FromRadio_PayloadVariant = 14
View Source
const FromRadio_MyInfo_case case_FromRadio_PayloadVariant = 3
View Source
const FromRadio_NodeInfo_case case_FromRadio_PayloadVariant = 4
View Source
const FromRadio_Packet_case case_FromRadio_PayloadVariant = 2
View Source
const FromRadio_PayloadVariant_not_set_case case_FromRadio_PayloadVariant = 0
View Source
const FromRadio_QueueStatus_case case_FromRadio_PayloadVariant = 11
View Source
const FromRadio_Rebooted_case case_FromRadio_PayloadVariant = 8
View Source
const FromRadio_XmodemPacket_case case_FromRadio_PayloadVariant = 12
View Source
const InterdeviceMessage_Data_not_set_case case_InterdeviceMessage_Data = 0
View Source
const InterdeviceMessage_Nmea_case case_InterdeviceMessage_Data = 1
View Source
const InterdeviceMessage_Sensor_case case_InterdeviceMessage_Data = 2
View Source
const MeshPacket_Decoded_case case_MeshPacket_PayloadVariant = 4
View Source
const MeshPacket_Encrypted_case case_MeshPacket_PayloadVariant = 5
View Source
const MeshPacket_PayloadVariant_not_set_case case_MeshPacket_PayloadVariant = 0
View Source
const ModuleConfig_AmbientLighting_case case_ModuleConfig_PayloadVariant = 11
View Source
const ModuleConfig_Audio_case case_ModuleConfig_PayloadVariant = 8
View Source
const ModuleConfig_CannedMessage_case case_ModuleConfig_PayloadVariant = 7
View Source
const ModuleConfig_DetectionSensor_case case_ModuleConfig_PayloadVariant = 12
View Source
const ModuleConfig_ExternalNotification_case case_ModuleConfig_PayloadVariant = 3
View Source
const ModuleConfig_Mqtt_case case_ModuleConfig_PayloadVariant = 1
View Source
const ModuleConfig_NeighborInfo_case case_ModuleConfig_PayloadVariant = 10
View Source
const ModuleConfig_Paxcounter_case case_ModuleConfig_PayloadVariant = 13
View Source
const ModuleConfig_PayloadVariant_not_set_case case_ModuleConfig_PayloadVariant = 0
View Source
const ModuleConfig_RangeTest_case case_ModuleConfig_PayloadVariant = 5
View Source
const ModuleConfig_RemoteHardware_case case_ModuleConfig_PayloadVariant = 9
View Source
const ModuleConfig_Serial_case case_ModuleConfig_PayloadVariant = 2
View Source
const ModuleConfig_Statusmessage_case case_ModuleConfig_PayloadVariant = 14
View Source
const ModuleConfig_StoreForward_case case_ModuleConfig_PayloadVariant = 4
View Source
const ModuleConfig_Telemetry_case case_ModuleConfig_PayloadVariant = 6
View Source
const ModuleConfig_TrafficManagement_case case_ModuleConfig_PayloadVariant = 15
View Source
const MqttClientProxyMessage_Data_case case_MqttClientProxyMessage_PayloadVariant = 2
View Source
const MqttClientProxyMessage_PayloadVariant_not_set_case case_MqttClientProxyMessage_PayloadVariant = 0
View Source
const MqttClientProxyMessage_Text_case case_MqttClientProxyMessage_PayloadVariant = 3
View Source
const Routing_ErrorReason_case case_Routing_Variant = 3
View Source
const Routing_RouteReply_case case_Routing_Variant = 2
View Source
const Routing_RouteRequest_case case_Routing_Variant = 1
View Source
const Routing_Variant_not_set_case case_Routing_Variant = 0
View Source
const SensorData_Data_not_set_case case_SensorData_Data = 0
View Source
const SensorData_FloatValue_case case_SensorData_Data = 2
View Source
const SensorData_Uint32Value_case case_SensorData_Data = 3
View Source
const StoreAndForward_Heartbeat_case case_StoreAndForward_Variant = 4
View Source
const StoreAndForward_History_case case_StoreAndForward_Variant = 3
View Source
const StoreAndForward_Stats_case case_StoreAndForward_Variant = 2
View Source
const StoreAndForward_Text_case case_StoreAndForward_Variant = 5
View Source
const StoreAndForward_Variant_not_set_case case_StoreAndForward_Variant = 0
View Source
const TAKPacket_Chat_case case_TAKPacket_PayloadVariant = 6
View Source
const TAKPacket_Detail_case case_TAKPacket_PayloadVariant = 7
View Source
const TAKPacket_PayloadVariant_not_set_case case_TAKPacket_PayloadVariant = 0
View Source
const TAKPacket_Pli_case case_TAKPacket_PayloadVariant = 5
View Source
const Telemetry_AirQualityMetrics_case case_Telemetry_Variant = 4
View Source
const Telemetry_DeviceMetrics_case case_Telemetry_Variant = 2
View Source
const Telemetry_EnvironmentMetrics_case case_Telemetry_Variant = 3
View Source
const Telemetry_HealthMetrics_case case_Telemetry_Variant = 7
View Source
const Telemetry_HostMetrics_case case_Telemetry_Variant = 8
View Source
const Telemetry_LocalStats_case case_Telemetry_Variant = 6
View Source
const Telemetry_PowerMetrics_case case_Telemetry_Variant = 5
View Source
const Telemetry_TrafficManagementStats_case case_Telemetry_Variant = 9
View Source
const Telemetry_Variant_not_set_case case_Telemetry_Variant = 0
View Source
const ToRadio_Disconnect_case case_ToRadio_PayloadVariant = 4
View Source
const ToRadio_Heartbeat_case case_ToRadio_PayloadVariant = 7
View Source
const ToRadio_MqttClientProxyMessage_case case_ToRadio_PayloadVariant = 6
View Source
const ToRadio_Packet_case case_ToRadio_PayloadVariant = 1
View Source
const ToRadio_PayloadVariant_not_set_case case_ToRadio_PayloadVariant = 0
View Source
const ToRadio_WantConfigId_case case_ToRadio_PayloadVariant = 3
View Source
const ToRadio_XmodemPacket_case case_ToRadio_PayloadVariant = 5

Variables

View Source
var (
	OTAMode_name = map[int32]string{
		0: "NO_REBOOT_OTA",
		1: "OTA_BLE",
		2: "OTA_WIFI",
	}
	OTAMode_value = map[string]int32{
		"NO_REBOOT_OTA": 0,
		"OTA_BLE":       1,
		"OTA_WIFI":      2,
	}
)

Enum value maps for OTAMode.

View Source
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",
		7: "SECURITY_CONFIG",
		8: "SESSIONKEY_CONFIG",
		9: "DEVICEUI_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,
		"SECURITY_CONFIG":   7,
		"SESSIONKEY_CONFIG": 8,
		"DEVICEUI_CONFIG":   9,
	}
)

Enum value maps for AdminMessage_ConfigType.

View Source
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",
		13: "STATUSMESSAGE_CONFIG",
		14: "TRAFFICMANAGEMENT_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,
		"STATUSMESSAGE_CONFIG":     13,
		"TRAFFICMANAGEMENT_CONFIG": 14,
	}
)

Enum value maps for AdminMessage_ModuleConfigType.

View Source
var (
	AdminMessage_BackupLocation_name = map[int32]string{
		0: "FLASH",
		1: "SD",
	}
	AdminMessage_BackupLocation_value = map[string]int32{
		"FLASH": 0,
		"SD":    1,
	}
)

Enum value maps for AdminMessage_BackupLocation.

View Source
var (
	KeyVerificationAdmin_MessageType_name = map[int32]string{
		0: "INITIATE_VERIFICATION",
		1: "PROVIDE_SECURITY_NUMBER",
		2: "DO_VERIFY",
		3: "DO_NOT_VERIFY",
	}
	KeyVerificationAdmin_MessageType_value = map[string]int32{
		"INITIATE_VERIFICATION":   0,
		"PROVIDE_SECURITY_NUMBER": 1,
		"DO_VERIFY":               2,
		"DO_NOT_VERIFY":           3,
	}
)

Enum value maps for KeyVerificationAdmin_MessageType.

View Source
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.

View Source
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.

View Source
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.

View Source
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",
		11: "ROUTER_LATE",
		12: "CLIENT_BASE",
	}
	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,
		"ROUTER_LATE":    11,
		"CLIENT_BASE":    12,
	}
)

Enum value maps for Config_DeviceConfig_Role.

View Source
var (
	Config_DeviceConfig_RebroadcastMode_name = map[int32]string{
		0: "ALL",
		1: "ALL_SKIP_DECODING",
		2: "LOCAL_ONLY",
		3: "KNOWN_ONLY",
		4: "NONE",
		5: "CORE_PORTNUMS_ONLY",
	}
	Config_DeviceConfig_RebroadcastMode_value = map[string]int32{
		"ALL":                0,
		"ALL_SKIP_DECODING":  1,
		"LOCAL_ONLY":         2,
		"KNOWN_ONLY":         3,
		"NONE":               4,
		"CORE_PORTNUMS_ONLY": 5,
	}
)

Enum value maps for Config_DeviceConfig_RebroadcastMode.

View Source
var (
	Config_DeviceConfig_BuzzerMode_name = map[int32]string{
		0: "ALL_ENABLED",
		1: "DISABLED",
		2: "NOTIFICATIONS_ONLY",
		3: "SYSTEM_ONLY",
		4: "DIRECT_MSG_ONLY",
	}
	Config_DeviceConfig_BuzzerMode_value = map[string]int32{
		"ALL_ENABLED":        0,
		"DISABLED":           1,
		"NOTIFICATIONS_ONLY": 2,
		"SYSTEM_ONLY":        3,
		"DIRECT_MSG_ONLY":    4,
	}
)

Enum value maps for Config_DeviceConfig_BuzzerMode.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	Config_NetworkConfig_ProtocolFlags_name = map[int32]string{
		0: "NO_BROADCAST",
		1: "UDP_BROADCAST",
	}
	Config_NetworkConfig_ProtocolFlags_value = map[string]int32{
		"NO_BROADCAST":  0,
		"UDP_BROADCAST": 1,
	}
)

Enum value maps for Config_NetworkConfig_ProtocolFlags.

View Source
var (
	Config_DisplayConfig_DeprecatedGpsCoordinateFormat_name = map[int32]string{
		0: "UNUSED",
	}
	Config_DisplayConfig_DeprecatedGpsCoordinateFormat_value = map[string]int32{
		"UNUSED": 0,
	}
)

Enum value maps for Config_DisplayConfig_DeprecatedGpsCoordinateFormat.

View Source
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.

View Source
var (
	Config_DisplayConfig_OledType_name = map[int32]string{
		0: "OLED_AUTO",
		1: "OLED_SSD1306",
		2: "OLED_SH1106",
		3: "OLED_SH1107",
		4: "OLED_SH1107_128_128",
	}
	Config_DisplayConfig_OledType_value = map[string]int32{
		"OLED_AUTO":           0,
		"OLED_SSD1306":        1,
		"OLED_SH1106":         2,
		"OLED_SH1107":         3,
		"OLED_SH1107_128_128": 4,
	}
)

Enum value maps for Config_DisplayConfig_OledType.

View Source
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.

View Source
var (
	Config_DisplayConfig_CompassOrientation_name = map[int32]string{
		0: "DEGREES_0",
		1: "DEGREES_90",
		2: "DEGREES_180",
		3: "DEGREES_270",
		4: "DEGREES_0_INVERTED",
		5: "DEGREES_90_INVERTED",
		6: "DEGREES_180_INVERTED",
		7: "DEGREES_270_INVERTED",
	}
	Config_DisplayConfig_CompassOrientation_value = map[string]int32{
		"DEGREES_0":            0,
		"DEGREES_90":           1,
		"DEGREES_180":          2,
		"DEGREES_270":          3,
		"DEGREES_0_INVERTED":   4,
		"DEGREES_90_INVERTED":  5,
		"DEGREES_180_INVERTED": 6,
		"DEGREES_270_INVERTED": 7,
	}
)

Enum value maps for Config_DisplayConfig_CompassOrientation.

View Source
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",
		19: "PH_433",
		20: "PH_868",
		21: "PH_915",
		22: "ANZ_433",
		23: "KZ_433",
		24: "KZ_863",
		25: "NP_865",
		26: "BR_902",
	}
	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,
		"PH_433":  19,
		"PH_868":  20,
		"PH_915":  21,
		"ANZ_433": 22,
		"KZ_433":  23,
		"KZ_863":  24,
		"NP_865":  25,
		"BR_902":  26,
	}
)

Enum value maps for Config_LoRaConfig_RegionCode.

View Source
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",
		8: "SHORT_TURBO",
		9: "LONG_TURBO",
	}
	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,
		"SHORT_TURBO":    8,
		"LONG_TURBO":     9,
	}
)

Enum value maps for Config_LoRaConfig_ModemPreset.

View Source
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.

View Source
var (
	CompassMode_name = map[int32]string{
		0: "DYNAMIC",
		1: "FIXED_RING",
		2: "FREEZE_HEADING",
	}
	CompassMode_value = map[string]int32{
		"DYNAMIC":        0,
		"FIXED_RING":     1,
		"FREEZE_HEADING": 2,
	}
)

Enum value maps for CompassMode.

View Source
var (
	Theme_name = map[int32]string{
		0: "DARK",
		1: "LIGHT",
		2: "RED",
	}
	Theme_value = map[string]int32{
		"DARK":  0,
		"LIGHT": 1,
		"RED":   2,
	}
)

Enum value maps for Theme.

View Source
var (
	Language_name = map[int32]string{
		0:  "ENGLISH",
		1:  "FRENCH",
		2:  "GERMAN",
		3:  "ITALIAN",
		4:  "PORTUGUESE",
		5:  "SPANISH",
		6:  "SWEDISH",
		7:  "FINNISH",
		8:  "POLISH",
		9:  "TURKISH",
		10: "SERBIAN",
		11: "RUSSIAN",
		12: "DUTCH",
		13: "GREEK",
		14: "NORWEGIAN",
		15: "SLOVENIAN",
		16: "UKRAINIAN",
		17: "BULGARIAN",
		18: "CZECH",
		19: "DANISH",
		30: "SIMPLIFIED_CHINESE",
		31: "TRADITIONAL_CHINESE",
	}
	Language_value = map[string]int32{
		"ENGLISH":             0,
		"FRENCH":              1,
		"GERMAN":              2,
		"ITALIAN":             3,
		"PORTUGUESE":          4,
		"SPANISH":             5,
		"SWEDISH":             6,
		"FINNISH":             7,
		"POLISH":              8,
		"TURKISH":             9,
		"SERBIAN":             10,
		"RUSSIAN":             11,
		"DUTCH":               12,
		"GREEK":               13,
		"NORWEGIAN":           14,
		"SLOVENIAN":           15,
		"UKRAINIAN":           16,
		"BULGARIAN":           17,
		"CZECH":               18,
		"DANISH":              19,
		"SIMPLIFIED_CHINESE":  30,
		"TRADITIONAL_CHINESE": 31,
	}
)

Enum value maps for Language.

View Source
var (
	DeviceUIConfig_GpsCoordinateFormat_name = map[int32]string{
		0: "DEC",
		1: "DMS",
		2: "UTM",
		3: "MGRS",
		4: "OLC",
		5: "OSGR",
		6: "MLS",
	}
	DeviceUIConfig_GpsCoordinateFormat_value = map[string]int32{
		"DEC":  0,
		"DMS":  1,
		"UTM":  2,
		"MGRS": 3,
		"OLC":  4,
		"OSGR": 5,
		"MLS":  6,
	}
)

Enum value maps for DeviceUIConfig_GpsCoordinateFormat.

View Source
var (
	MessageType_name = map[int32]string{
		0:   "ACK",
		160: "COLLECT_INTERVAL",
		161: "BEEP_ON",
		162: "BEEP_OFF",
		163: "SHUTDOWN",
		164: "POWER_ON",
		176: "SCD41_TEMP",
		177: "SCD41_HUMIDITY",
		178: "SCD41_CO2",
		179: "AHT20_TEMP",
		180: "AHT20_HUMIDITY",
		181: "TVOC_INDEX",
	}
	MessageType_value = map[string]int32{
		"ACK":              0,
		"COLLECT_INTERVAL": 160,
		"BEEP_ON":          161,
		"BEEP_OFF":         162,
		"SHUTDOWN":         163,
		"POWER_ON":         164,
		"SCD41_TEMP":       176,
		"SCD41_HUMIDITY":   177,
		"SCD41_CO2":        178,
		"AHT20_TEMP":       179,
		"AHT20_HUMIDITY":   180,
		"TVOC_INDEX":       181,
	}
)

Enum value maps for MessageType.

View Source
var (
	HardwareModel_name = map[int32]string{}/* 125 elements not displayed */

	HardwareModel_value = map[string]int32{}/* 125 elements not displayed */

)

Enum value maps for HardwareModel.

View Source
var (
	Constants_name = map[int32]string{
		0:   "ZERO",
		233: "DATA_PAYLOAD_LEN",
	}
	Constants_value = map[string]int32{
		"ZERO":             0,
		"DATA_PAYLOAD_LEN": 233,
	}
)

Enum value maps for Constants.

View Source
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",
		12: "FLASH_CORRUPTION_RECOVERABLE",
		13: "FLASH_CORRUPTION_UNRECOVERABLE",
	}
	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,
		"FLASH_CORRUPTION_RECOVERABLE":   12,
		"FLASH_CORRUPTION_UNRECOVERABLE": 13,
	}
)

Enum value maps for CriticalErrorCode.

View Source
var (
	FirmwareEdition_name = map[int32]string{
		0:   "VANILLA",
		1:   "SMART_CITIZEN",
		16:  "OPEN_SAUCE",
		17:  "DEFCON",
		18:  "BURNING_MAN",
		19:  "HAMVENTION",
		127: "DIY_EDITION",
	}
	FirmwareEdition_value = map[string]int32{
		"VANILLA":       0,
		"SMART_CITIZEN": 1,
		"OPEN_SAUCE":    16,
		"DEFCON":        17,
		"BURNING_MAN":   18,
		"HAMVENTION":    19,
		"DIY_EDITION":   127,
	}
)

Enum value maps for FirmwareEdition.

View Source
var (
	ExcludedModules_name = map[int32]string{
		0:     "EXCLUDED_NONE",
		1:     "MQTT_CONFIG",
		2:     "SERIAL_CONFIG",
		4:     "EXTNOTIF_CONFIG",
		8:     "STOREFORWARD_CONFIG",
		16:    "RANGETEST_CONFIG",
		32:    "TELEMETRY_CONFIG",
		64:    "CANNEDMSG_CONFIG",
		128:   "AUDIO_CONFIG",
		256:   "REMOTEHARDWARE_CONFIG",
		512:   "NEIGHBORINFO_CONFIG",
		1024:  "AMBIENTLIGHTING_CONFIG",
		2048:  "DETECTIONSENSOR_CONFIG",
		4096:  "PAXCOUNTER_CONFIG",
		8192:  "BLUETOOTH_CONFIG",
		16384: "NETWORK_CONFIG",
	}
	ExcludedModules_value = map[string]int32{
		"EXCLUDED_NONE":          0,
		"MQTT_CONFIG":            1,
		"SERIAL_CONFIG":          2,
		"EXTNOTIF_CONFIG":        4,
		"STOREFORWARD_CONFIG":    8,
		"RANGETEST_CONFIG":       16,
		"TELEMETRY_CONFIG":       32,
		"CANNEDMSG_CONFIG":       64,
		"AUDIO_CONFIG":           128,
		"REMOTEHARDWARE_CONFIG":  256,
		"NEIGHBORINFO_CONFIG":    512,
		"AMBIENTLIGHTING_CONFIG": 1024,
		"DETECTIONSENSOR_CONFIG": 2048,
		"PAXCOUNTER_CONFIG":      4096,
		"BLUETOOTH_CONFIG":       8192,
		"NETWORK_CONFIG":         16384,
	}
)

Enum value maps for ExcludedModules.

View Source
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.

View Source
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.

View Source
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",
		34: "PKI_FAILED",
		35: "PKI_UNKNOWN_PUBKEY",
		36: "ADMIN_BAD_SESSION_KEY",
		37: "ADMIN_PUBLIC_KEY_UNAUTHORIZED",
		38: "RATE_LIMIT_EXCEEDED",
		39: "PKI_SEND_FAIL_PUBLIC_KEY",
	}
	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,
		"PKI_FAILED":                    34,
		"PKI_UNKNOWN_PUBKEY":            35,
		"ADMIN_BAD_SESSION_KEY":         36,
		"ADMIN_PUBLIC_KEY_UNAUTHORIZED": 37,
		"RATE_LIMIT_EXCEEDED":           38,
		"PKI_SEND_FAIL_PUBLIC_KEY":      39,
	}
)

Enum value maps for Routing_Error.

View Source
var (
	StoreForwardPlusPlus_SFPPMessageType_name = map[int32]string{
		0: "CANON_ANNOUNCE",
		1: "CHAIN_QUERY",
		3: "LINK_REQUEST",
		4: "LINK_PROVIDE",
		5: "LINK_PROVIDE_FIRSTHALF",
		6: "LINK_PROVIDE_SECONDHALF",
	}
	StoreForwardPlusPlus_SFPPMessageType_value = map[string]int32{
		"CANON_ANNOUNCE":          0,
		"CHAIN_QUERY":             1,
		"LINK_REQUEST":            3,
		"LINK_PROVIDE":            4,
		"LINK_PROVIDE_FIRSTHALF":  5,
		"LINK_PROVIDE_SECONDHALF": 6,
	}
)

Enum value maps for StoreForwardPlusPlus_SFPPMessageType.

View Source
var (
	MeshPacket_Priority_name = map[int32]string{
		0:   "UNSET",
		1:   "MIN",
		10:  "BACKGROUND",
		64:  "DEFAULT",
		70:  "RELIABLE",
		80:  "RESPONSE",
		100: "HIGH",
		110: "ALERT",
		120: "ACK",
		127: "MAX",
	}
	MeshPacket_Priority_value = map[string]int32{
		"UNSET":      0,
		"MIN":        1,
		"BACKGROUND": 10,
		"DEFAULT":    64,
		"RELIABLE":   70,
		"RESPONSE":   80,
		"HIGH":       100,
		"ALERT":      110,
		"ACK":        120,
		"MAX":        127,
	}
)

Enum value maps for MeshPacket_Priority.

View Source
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.

View Source
var (
	MeshPacket_TransportMechanism_name = map[int32]string{
		0: "TRANSPORT_INTERNAL",
		1: "TRANSPORT_LORA",
		2: "TRANSPORT_LORA_ALT1",
		3: "TRANSPORT_LORA_ALT2",
		4: "TRANSPORT_LORA_ALT3",
		5: "TRANSPORT_MQTT",
		6: "TRANSPORT_MULTICAST_UDP",
		7: "TRANSPORT_API",
	}
	MeshPacket_TransportMechanism_value = map[string]int32{
		"TRANSPORT_INTERNAL":      0,
		"TRANSPORT_LORA":          1,
		"TRANSPORT_LORA_ALT1":     2,
		"TRANSPORT_LORA_ALT2":     3,
		"TRANSPORT_LORA_ALT3":     4,
		"TRANSPORT_MQTT":          5,
		"TRANSPORT_MULTICAST_UDP": 6,
		"TRANSPORT_API":           7,
	}
)

Enum value maps for MeshPacket_TransportMechanism.

View Source
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.

View Source
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.

View Source
var (
	ModuleConfig_DetectionSensorConfig_TriggerType_name = map[int32]string{
		0: "LOGIC_LOW",
		1: "LOGIC_HIGH",
		2: "FALLING_EDGE",
		3: "RISING_EDGE",
		4: "EITHER_EDGE_ACTIVE_LOW",
		5: "EITHER_EDGE_ACTIVE_HIGH",
	}
	ModuleConfig_DetectionSensorConfig_TriggerType_value = map[string]int32{
		"LOGIC_LOW":               0,
		"LOGIC_HIGH":              1,
		"FALLING_EDGE":            2,
		"RISING_EDGE":             3,
		"EITHER_EDGE_ACTIVE_LOW":  4,
		"EITHER_EDGE_ACTIVE_HIGH": 5,
	}
)

Enum value maps for ModuleConfig_DetectionSensorConfig_TriggerType.

View Source
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.

View Source
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.

View Source
var (
	ModuleConfig_SerialConfig_Serial_Mode_name = map[int32]string{
		0:  "DEFAULT",
		1:  "SIMPLE",
		2:  "PROTO",
		3:  "TEXTMSG",
		4:  "NMEA",
		5:  "CALTOPO",
		6:  "WS85",
		7:  "VE_DIRECT",
		8:  "MS_CONFIG",
		9:  "LOG",
		10: "LOGTEXT",
	}
	ModuleConfig_SerialConfig_Serial_Mode_value = map[string]int32{
		"DEFAULT":   0,
		"SIMPLE":    1,
		"PROTO":     2,
		"TEXTMSG":   3,
		"NMEA":      4,
		"CALTOPO":   5,
		"WS85":      6,
		"VE_DIRECT": 7,
		"MS_CONFIG": 8,
		"LOG":       9,
		"LOGTEXT":   10,
	}
)

Enum value maps for ModuleConfig_SerialConfig_Serial_Mode.

View Source
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.

View Source
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",
		11:  "ALERT_APP",
		12:  "KEY_VERIFICATION_APP",
		32:  "REPLY_APP",
		33:  "IP_TUNNEL_APP",
		34:  "PAXCOUNTER_APP",
		35:  "STORE_FORWARD_PLUSPLUS_APP",
		36:  "NODE_STATUS_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",
		73:  "MAP_REPORT_APP",
		74:  "POWERSTRESS_APP",
		76:  "RETICULUM_TUNNEL_APP",
		77:  "CAYENNE_APP",
		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,
		"ALERT_APP":                   11,
		"KEY_VERIFICATION_APP":        12,
		"REPLY_APP":                   32,
		"IP_TUNNEL_APP":               33,
		"PAXCOUNTER_APP":              34,
		"STORE_FORWARD_PLUSPLUS_APP":  35,
		"NODE_STATUS_APP":             36,
		"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,
		"MAP_REPORT_APP":              73,
		"POWERSTRESS_APP":             74,
		"RETICULUM_TUNNEL_APP":        76,
		"CAYENNE_APP":                 77,
		"PRIVATE_APP":                 256,
		"ATAK_FORWARDER":              257,
		"MAX":                         511,
	}
)

Enum value maps for PortNum.

View Source
var (
	PowerMon_State_name = map[int32]string{
		0:    "None",
		1:    "CPU_DeepSleep",
		2:    "CPU_LightSleep",
		4:    "Vext1_On",
		8:    "Lora_RXOn",
		16:   "Lora_TXOn",
		32:   "Lora_RXActive",
		64:   "BT_On",
		128:  "LED_On",
		256:  "Screen_On",
		512:  "Screen_Drawing",
		1024: "Wifi_On",
		2048: "GPS_Active",
	}
	PowerMon_State_value = map[string]int32{
		"None":           0,
		"CPU_DeepSleep":  1,
		"CPU_LightSleep": 2,
		"Vext1_On":       4,
		"Lora_RXOn":      8,
		"Lora_TXOn":      16,
		"Lora_RXActive":  32,
		"BT_On":          64,
		"LED_On":         128,
		"Screen_On":      256,
		"Screen_Drawing": 512,
		"Wifi_On":        1024,
		"GPS_Active":     2048,
	}
)

Enum value maps for PowerMon_State.

View Source
var (
	PowerStressMessage_Opcode_name = map[int32]string{
		0:   "UNSET",
		1:   "PRINT_INFO",
		2:   "FORCE_QUIET",
		3:   "END_QUIET",
		16:  "SCREEN_ON",
		17:  "SCREEN_OFF",
		32:  "CPU_IDLE",
		33:  "CPU_DEEPSLEEP",
		34:  "CPU_FULLON",
		48:  "LED_ON",
		49:  "LED_OFF",
		64:  "LORA_OFF",
		65:  "LORA_TX",
		66:  "LORA_RX",
		80:  "BT_OFF",
		81:  "BT_ON",
		96:  "WIFI_OFF",
		97:  "WIFI_ON",
		112: "GPS_OFF",
		113: "GPS_ON",
	}
	PowerStressMessage_Opcode_value = map[string]int32{
		"UNSET":         0,
		"PRINT_INFO":    1,
		"FORCE_QUIET":   2,
		"END_QUIET":     3,
		"SCREEN_ON":     16,
		"SCREEN_OFF":    17,
		"CPU_IDLE":      32,
		"CPU_DEEPSLEEP": 33,
		"CPU_FULLON":    34,
		"LED_ON":        48,
		"LED_OFF":       49,
		"LORA_OFF":      64,
		"LORA_TX":       65,
		"LORA_RX":       66,
		"BT_OFF":        80,
		"BT_ON":         81,
		"WIFI_OFF":      96,
		"WIFI_ON":       97,
		"GPS_OFF":       112,
		"GPS_ON":        113,
	}
)

Enum value maps for PowerStressMessage_Opcode.

View Source
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.

View Source
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.

View Source
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",
		15: "BMP085",
		16: "RCWL9620",
		17: "SHT4X",
		18: "VEML7700",
		19: "MLX90632",
		20: "OPT3001",
		21: "LTR390UV",
		22: "TSL25911FN",
		23: "AHT10",
		24: "DFROBOT_LARK",
		25: "NAU7802",
		26: "BMP3XX",
		27: "ICM20948",
		28: "MAX17048",
		29: "CUSTOM_SENSOR",
		30: "MAX30102",
		31: "MLX90614",
		32: "SCD4X",
		33: "RADSENS",
		34: "INA226",
		35: "DFROBOT_RAIN",
		36: "DPS310",
		37: "RAK12035",
		38: "MAX17261",
		39: "PCT2075",
		40: "ADS1X15",
		41: "ADS1X15_ALT",
		42: "SFA30",
		43: "SEN5X",
		44: "TSL2561",
		45: "BH1750",
		46: "HDC1080",
		47: "SHT21",
		48: "STC31",
		49: "SCD30",
	}
	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,
		"BMP085":        15,
		"RCWL9620":      16,
		"SHT4X":         17,
		"VEML7700":      18,
		"MLX90632":      19,
		"OPT3001":       20,
		"LTR390UV":      21,
		"TSL25911FN":    22,
		"AHT10":         23,
		"DFROBOT_LARK":  24,
		"NAU7802":       25,
		"BMP3XX":        26,
		"ICM20948":      27,
		"MAX17048":      28,
		"CUSTOM_SENSOR": 29,
		"MAX30102":      30,
		"MLX90614":      31,
		"SCD4X":         32,
		"RADSENS":       33,
		"INA226":        34,
		"DFROBOT_RAIN":  35,
		"DPS310":        36,
		"RAK12035":      37,
		"MAX17261":      38,
		"PCT2075":       39,
		"ADS1X15":       40,
		"ADS1X15_ALT":   41,
		"SFA30":         42,
		"SEN5X":         43,
		"TSL2561":       44,
		"BH1750":        45,
		"HDC1080":       46,
		"SHT21":         47,
		"STC31":         48,
		"SCD30":         49,
	}
)

Enum value maps for TelemetrySensorType.

View Source
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.

View Source
var File_meshtastic_admin_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_apponly_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_atak_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_cannedmessages_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_channel_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_clientonly_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_config_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_connection_status_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_device_ui_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_deviceonly_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_interdevice_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_localonly_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_mesh_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_module_config_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_mqtt_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_paxcount_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_portnums_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_powermon_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_remote_hardware_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_rtttl_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_storeforward_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_telemetry_proto protoreflect.FileDescriptor
View Source
var File_meshtastic_xmodem_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdminMessage

type AdminMessage struct {

	// The node generates this key and sends it with any get_x_response packets.
	// The client MUST include the same key with any set_x commands. Key expires after 300 seconds.
	// Prevents replay attacks for admin messages.
	SessionPasskey []byte `protobuf:"bytes,101,opt,name=session_passkey,json=sessionPasskey,proto3" json:"session_passkey,omitempty"`
	// 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_SetScale
	//	*AdminMessage_BackupPreferences
	//	*AdminMessage_RestorePreferences
	//	*AdminMessage_RemoveBackupPreferences
	//	*AdminMessage_SendInputEvent
	//	*AdminMessage_SetOwner
	//	*AdminMessage_SetChannel
	//	*AdminMessage_SetConfig
	//	*AdminMessage_SetModuleConfig
	//	*AdminMessage_SetCannedMessageModuleMessages
	//	*AdminMessage_SetRingtoneMessage
	//	*AdminMessage_RemoveByNodenum
	//	*AdminMessage_SetFavoriteNode
	//	*AdminMessage_RemoveFavoriteNode
	//	*AdminMessage_SetFixedPosition
	//	*AdminMessage_RemoveFixedPosition
	//	*AdminMessage_SetTimeOnly
	//	*AdminMessage_GetUiConfigRequest
	//	*AdminMessage_GetUiConfigResponse
	//	*AdminMessage_StoreUiConfig
	//	*AdminMessage_SetIgnoredNode
	//	*AdminMessage_RemoveIgnoredNode
	//	*AdminMessage_ToggleMutedNode
	//	*AdminMessage_BeginEditSettings
	//	*AdminMessage_CommitEditSettings
	//	*AdminMessage_AddContact
	//	*AdminMessage_KeyVerification
	//	*AdminMessage_FactoryResetDevice
	//	*AdminMessage_RebootOtaSeconds
	//	*AdminMessage_ExitSimulator
	//	*AdminMessage_RebootSeconds
	//	*AdminMessage_ShutdownSeconds
	//	*AdminMessage_FactoryResetConfig
	//	*AdminMessage_NodedbReset
	//	*AdminMessage_OtaRequest
	//	*AdminMessage_SensorConfig
	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) ClearAddContact

func (x *AdminMessage) ClearAddContact()

func (*AdminMessage) ClearBackupPreferences

func (x *AdminMessage) ClearBackupPreferences()

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) ClearFactoryResetConfig

func (x *AdminMessage) ClearFactoryResetConfig()

func (*AdminMessage) ClearFactoryResetDevice

func (x *AdminMessage) ClearFactoryResetDevice()

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) ClearGetUiConfigRequest

func (x *AdminMessage) ClearGetUiConfigRequest()

func (*AdminMessage) ClearGetUiConfigResponse

func (x *AdminMessage) ClearGetUiConfigResponse()

func (*AdminMessage) ClearKeyVerification

func (x *AdminMessage) ClearKeyVerification()

func (*AdminMessage) ClearNodedbReset

func (x *AdminMessage) ClearNodedbReset()

func (*AdminMessage) ClearOtaRequest

func (x *AdminMessage) ClearOtaRequest()

func (*AdminMessage) ClearPayloadVariant

func (x *AdminMessage) ClearPayloadVariant()

func (*AdminMessage) ClearRebootOtaSeconds deprecated

func (x *AdminMessage) ClearRebootOtaSeconds()

Deprecated: Marked as deprecated in meshtastic/admin.proto.

func (*AdminMessage) ClearRebootSeconds

func (x *AdminMessage) ClearRebootSeconds()

func (*AdminMessage) ClearRemoveBackupPreferences

func (x *AdminMessage) ClearRemoveBackupPreferences()

func (*AdminMessage) ClearRemoveByNodenum

func (x *AdminMessage) ClearRemoveByNodenum()

func (*AdminMessage) ClearRemoveFavoriteNode

func (x *AdminMessage) ClearRemoveFavoriteNode()

func (*AdminMessage) ClearRemoveFixedPosition

func (x *AdminMessage) ClearRemoveFixedPosition()

func (*AdminMessage) ClearRemoveIgnoredNode

func (x *AdminMessage) ClearRemoveIgnoredNode()

func (*AdminMessage) ClearRestorePreferences

func (x *AdminMessage) ClearRestorePreferences()

func (*AdminMessage) ClearSendInputEvent

func (x *AdminMessage) ClearSendInputEvent()

func (*AdminMessage) ClearSensorConfig

func (x *AdminMessage) ClearSensorConfig()

func (*AdminMessage) ClearSetCannedMessageModuleMessages

func (x *AdminMessage) ClearSetCannedMessageModuleMessages()

func (*AdminMessage) ClearSetChannel

func (x *AdminMessage) ClearSetChannel()

func (*AdminMessage) ClearSetConfig

func (x *AdminMessage) ClearSetConfig()

func (*AdminMessage) ClearSetFavoriteNode

func (x *AdminMessage) ClearSetFavoriteNode()

func (*AdminMessage) ClearSetFixedPosition

func (x *AdminMessage) ClearSetFixedPosition()

func (*AdminMessage) ClearSetHamMode

func (x *AdminMessage) ClearSetHamMode()

func (*AdminMessage) ClearSetIgnoredNode

func (x *AdminMessage) ClearSetIgnoredNode()

func (*AdminMessage) ClearSetModuleConfig

func (x *AdminMessage) ClearSetModuleConfig()

func (*AdminMessage) ClearSetOwner

func (x *AdminMessage) ClearSetOwner()

func (*AdminMessage) ClearSetRingtoneMessage

func (x *AdminMessage) ClearSetRingtoneMessage()

func (*AdminMessage) ClearSetScale

func (x *AdminMessage) ClearSetScale()

func (*AdminMessage) ClearSetTimeOnly

func (x *AdminMessage) ClearSetTimeOnly()

func (*AdminMessage) ClearShutdownSeconds

func (x *AdminMessage) ClearShutdownSeconds()

func (*AdminMessage) ClearStoreUiConfig

func (x *AdminMessage) ClearStoreUiConfig()

func (*AdminMessage) ClearToggleMutedNode

func (x *AdminMessage) ClearToggleMutedNode()

func (*AdminMessage) GetAddContact

func (x *AdminMessage) GetAddContact() *SharedContact

func (*AdminMessage) GetBackupPreferences

func (x *AdminMessage) GetBackupPreferences() AdminMessage_BackupLocation

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) GetFactoryResetConfig

func (x *AdminMessage) GetFactoryResetConfig() int32

func (*AdminMessage) GetFactoryResetDevice

func (x *AdminMessage) GetFactoryResetDevice() 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) GetGetUiConfigRequest

func (x *AdminMessage) GetGetUiConfigRequest() bool

func (*AdminMessage) GetGetUiConfigResponse

func (x *AdminMessage) GetGetUiConfigResponse() *DeviceUIConfig

func (*AdminMessage) GetKeyVerification

func (x *AdminMessage) GetKeyVerification() *KeyVerificationAdmin

func (*AdminMessage) GetNodedbReset

func (x *AdminMessage) GetNodedbReset() bool

func (*AdminMessage) GetOtaRequest

func (x *AdminMessage) GetOtaRequest() *AdminMessage_OTAEvent

func (*AdminMessage) GetPayloadVariant

func (x *AdminMessage) GetPayloadVariant() isAdminMessage_PayloadVariant

func (*AdminMessage) GetRebootOtaSeconds deprecated

func (x *AdminMessage) GetRebootOtaSeconds() int32

Deprecated: Marked as deprecated in meshtastic/admin.proto.

func (*AdminMessage) GetRebootSeconds

func (x *AdminMessage) GetRebootSeconds() int32

func (*AdminMessage) GetRemoveBackupPreferences

func (x *AdminMessage) GetRemoveBackupPreferences() AdminMessage_BackupLocation

func (*AdminMessage) GetRemoveByNodenum

func (x *AdminMessage) GetRemoveByNodenum() uint32

func (*AdminMessage) GetRemoveFavoriteNode

func (x *AdminMessage) GetRemoveFavoriteNode() uint32

func (*AdminMessage) GetRemoveFixedPosition

func (x *AdminMessage) GetRemoveFixedPosition() bool

func (*AdminMessage) GetRemoveIgnoredNode

func (x *AdminMessage) GetRemoveIgnoredNode() uint32

func (*AdminMessage) GetRestorePreferences

func (x *AdminMessage) GetRestorePreferences() AdminMessage_BackupLocation

func (*AdminMessage) GetSendInputEvent

func (x *AdminMessage) GetSendInputEvent() *AdminMessage_InputEvent

func (*AdminMessage) GetSensorConfig

func (x *AdminMessage) GetSensorConfig() *SensorConfig

func (*AdminMessage) GetSessionPasskey

func (x *AdminMessage) GetSessionPasskey() []byte

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) GetSetFavoriteNode

func (x *AdminMessage) GetSetFavoriteNode() uint32

func (*AdminMessage) GetSetFixedPosition

func (x *AdminMessage) GetSetFixedPosition() *Position

func (*AdminMessage) GetSetHamMode

func (x *AdminMessage) GetSetHamMode() *HamParameters

func (*AdminMessage) GetSetIgnoredNode

func (x *AdminMessage) GetSetIgnoredNode() uint32

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) GetSetScale

func (x *AdminMessage) GetSetScale() uint32

func (*AdminMessage) GetSetTimeOnly

func (x *AdminMessage) GetSetTimeOnly() uint32

func (*AdminMessage) GetShutdownSeconds

func (x *AdminMessage) GetShutdownSeconds() int32

func (*AdminMessage) GetStoreUiConfig

func (x *AdminMessage) GetStoreUiConfig() *DeviceUIConfig

func (*AdminMessage) GetToggleMutedNode

func (x *AdminMessage) GetToggleMutedNode() uint32

func (*AdminMessage) HasAddContact

func (x *AdminMessage) HasAddContact() bool

func (*AdminMessage) HasBackupPreferences

func (x *AdminMessage) HasBackupPreferences() bool

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) HasFactoryResetConfig

func (x *AdminMessage) HasFactoryResetConfig() bool

func (*AdminMessage) HasFactoryResetDevice

func (x *AdminMessage) HasFactoryResetDevice() 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) HasGetUiConfigRequest

func (x *AdminMessage) HasGetUiConfigRequest() bool

func (*AdminMessage) HasGetUiConfigResponse

func (x *AdminMessage) HasGetUiConfigResponse() bool

func (*AdminMessage) HasKeyVerification

func (x *AdminMessage) HasKeyVerification() bool

func (*AdminMessage) HasNodedbReset

func (x *AdminMessage) HasNodedbReset() bool

func (*AdminMessage) HasOtaRequest

func (x *AdminMessage) HasOtaRequest() bool

func (*AdminMessage) HasPayloadVariant

func (x *AdminMessage) HasPayloadVariant() bool

func (*AdminMessage) HasRebootOtaSeconds deprecated

func (x *AdminMessage) HasRebootOtaSeconds() bool

Deprecated: Marked as deprecated in meshtastic/admin.proto.

func (*AdminMessage) HasRebootSeconds

func (x *AdminMessage) HasRebootSeconds() bool

func (*AdminMessage) HasRemoveBackupPreferences

func (x *AdminMessage) HasRemoveBackupPreferences() bool

func (*AdminMessage) HasRemoveByNodenum

func (x *AdminMessage) HasRemoveByNodenum() bool

func (*AdminMessage) HasRemoveFavoriteNode

func (x *AdminMessage) HasRemoveFavoriteNode() bool

func (*AdminMessage) HasRemoveFixedPosition

func (x *AdminMessage) HasRemoveFixedPosition() bool

func (*AdminMessage) HasRemoveIgnoredNode

func (x *AdminMessage) HasRemoveIgnoredNode() bool

func (*AdminMessage) HasRestorePreferences

func (x *AdminMessage) HasRestorePreferences() bool

func (*AdminMessage) HasSendInputEvent

func (x *AdminMessage) HasSendInputEvent() bool

func (*AdminMessage) HasSensorConfig

func (x *AdminMessage) HasSensorConfig() 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) HasSetFavoriteNode

func (x *AdminMessage) HasSetFavoriteNode() bool

func (*AdminMessage) HasSetFixedPosition

func (x *AdminMessage) HasSetFixedPosition() bool

func (*AdminMessage) HasSetHamMode

func (x *AdminMessage) HasSetHamMode() bool

func (*AdminMessage) HasSetIgnoredNode

func (x *AdminMessage) HasSetIgnoredNode() 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) HasSetScale

func (x *AdminMessage) HasSetScale() bool

func (*AdminMessage) HasSetTimeOnly

func (x *AdminMessage) HasSetTimeOnly() bool

func (*AdminMessage) HasShutdownSeconds

func (x *AdminMessage) HasShutdownSeconds() bool

func (*AdminMessage) HasStoreUiConfig

func (x *AdminMessage) HasStoreUiConfig() bool

func (*AdminMessage) HasToggleMutedNode

func (x *AdminMessage) HasToggleMutedNode() 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) SetAddContact

func (x *AdminMessage) SetAddContact(v *SharedContact)

func (*AdminMessage) SetBackupPreferences

func (x *AdminMessage) SetBackupPreferences(v AdminMessage_BackupLocation)

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) SetFactoryResetConfig

func (x *AdminMessage) SetFactoryResetConfig(v int32)

func (*AdminMessage) SetFactoryResetDevice

func (x *AdminMessage) SetFactoryResetDevice(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) SetGetUiConfigRequest

func (x *AdminMessage) SetGetUiConfigRequest(v bool)

func (*AdminMessage) SetGetUiConfigResponse

func (x *AdminMessage) SetGetUiConfigResponse(v *DeviceUIConfig)

func (*AdminMessage) SetKeyVerification

func (x *AdminMessage) SetKeyVerification(v *KeyVerificationAdmin)

func (*AdminMessage) SetNodedbReset

func (x *AdminMessage) SetNodedbReset(v bool)

func (*AdminMessage) SetOtaRequest

func (x *AdminMessage) SetOtaRequest(v *AdminMessage_OTAEvent)

func (*AdminMessage) SetRebootOtaSeconds deprecated

func (x *AdminMessage) SetRebootOtaSeconds(v int32)

Deprecated: Marked as deprecated in meshtastic/admin.proto.

func (*AdminMessage) SetRebootSeconds

func (x *AdminMessage) SetRebootSeconds(v int32)

func (*AdminMessage) SetRemoveBackupPreferences

func (x *AdminMessage) SetRemoveBackupPreferences(v AdminMessage_BackupLocation)

func (*AdminMessage) SetRemoveByNodenum

func (x *AdminMessage) SetRemoveByNodenum(v uint32)

func (*AdminMessage) SetRemoveFavoriteNode

func (x *AdminMessage) SetRemoveFavoriteNode(v uint32)

func (*AdminMessage) SetRemoveFixedPosition

func (x *AdminMessage) SetRemoveFixedPosition(v bool)

func (*AdminMessage) SetRemoveIgnoredNode

func (x *AdminMessage) SetRemoveIgnoredNode(v uint32)

func (*AdminMessage) SetRestorePreferences

func (x *AdminMessage) SetRestorePreferences(v AdminMessage_BackupLocation)

func (*AdminMessage) SetSendInputEvent

func (x *AdminMessage) SetSendInputEvent(v *AdminMessage_InputEvent)

func (*AdminMessage) SetSensorConfig

func (x *AdminMessage) SetSensorConfig(v *SensorConfig)

func (*AdminMessage) SetSessionPasskey

func (x *AdminMessage) SetSessionPasskey(v []byte)

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) SetSetFavoriteNode

func (x *AdminMessage) SetSetFavoriteNode(v uint32)

func (*AdminMessage) SetSetFixedPosition

func (x *AdminMessage) SetSetFixedPosition(v *Position)

func (*AdminMessage) SetSetHamMode

func (x *AdminMessage) SetSetHamMode(v *HamParameters)

func (*AdminMessage) SetSetIgnoredNode

func (x *AdminMessage) SetSetIgnoredNode(v uint32)

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) SetSetScale

func (x *AdminMessage) SetSetScale(v uint32)

func (*AdminMessage) SetSetTimeOnly

func (x *AdminMessage) SetSetTimeOnly(v uint32)

func (*AdminMessage) SetShutdownSeconds

func (x *AdminMessage) SetShutdownSeconds(v int32)

func (*AdminMessage) SetStoreUiConfig

func (x *AdminMessage) SetStoreUiConfig(v *DeviceUIConfig)

func (*AdminMessage) SetToggleMutedNode

func (x *AdminMessage) SetToggleMutedNode(v uint32)

func (*AdminMessage) String

func (x *AdminMessage) String() string

func (*AdminMessage) WhichPayloadVariant

func (x *AdminMessage) WhichPayloadVariant() case_AdminMessage_PayloadVariant

type AdminMessage_AddContact

type AdminMessage_AddContact struct {
	// Add a contact (User) to the nodedb
	AddContact *SharedContact `protobuf:"bytes,66,opt,name=add_contact,json=addContact,proto3,oneof"`
}

type AdminMessage_BackupLocation

type AdminMessage_BackupLocation int32
const (
	// Backup to the internal flash
	AdminMessage_FLASH AdminMessage_BackupLocation = 0
	// Backup to the SD card
	AdminMessage_SD AdminMessage_BackupLocation = 1
)

func (AdminMessage_BackupLocation) Descriptor

func (AdminMessage_BackupLocation) Enum

func (AdminMessage_BackupLocation) Number

func (AdminMessage_BackupLocation) String

func (AdminMessage_BackupLocation) Type

type AdminMessage_BackupPreferences

type AdminMessage_BackupPreferences struct {
	// Backup the node's preferences
	BackupPreferences AdminMessage_BackupLocation `` /* 128-byte string literal not displayed */
}

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
	// TODO: REPLACE
	AdminMessage_SECURITY_CONFIG AdminMessage_ConfigType = 7
	// Session key config
	AdminMessage_SESSIONKEY_CONFIG AdminMessage_ConfigType = 8
	// device-ui config
	AdminMessage_DEVICEUI_CONFIG AdminMessage_ConfigType = 9
)

func (AdminMessage_ConfigType) Descriptor

func (AdminMessage_ConfigType) Enum

func (AdminMessage_ConfigType) Number

func (AdminMessage_ConfigType) String

func (x AdminMessage_ConfigType) String() string

func (AdminMessage_ConfigType) Type

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_FactoryResetConfig

type AdminMessage_FactoryResetConfig struct {
	// Tell the node to factory reset config; all device state and configuration will be returned to factory defaults; BLE bonds will be preserved.
	FactoryResetConfig int32 `protobuf:"varint,99,opt,name=factory_reset_config,json=factoryResetConfig,proto3,oneof"`
}

type AdminMessage_FactoryResetDevice

type AdminMessage_FactoryResetDevice struct {
	// Tell the node to factory reset config everything; all device state and configuration will be returned to factory defaults and BLE bonds will be cleared.
	FactoryResetDevice int32 `protobuf:"varint,94,opt,name=factory_reset_device,json=factoryResetDevice,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_GetUiConfigRequest

type AdminMessage_GetUiConfigRequest struct {
	// Tell the node to send the stored ui data.
	GetUiConfigRequest bool `protobuf:"varint,44,opt,name=get_ui_config_request,json=getUiConfigRequest,proto3,oneof"`
}

type AdminMessage_GetUiConfigResponse

type AdminMessage_GetUiConfigResponse struct {
	// Reply stored device ui data.
	GetUiConfigResponse *DeviceUIConfig `protobuf:"bytes,45,opt,name=get_ui_config_response,json=getUiConfigResponse,proto3,oneof"`
}

type AdminMessage_InputEvent

type AdminMessage_InputEvent struct {

	// The input event code
	EventCode uint32 `protobuf:"varint,1,opt,name=event_code,json=eventCode,proto3" json:"event_code,omitempty"`
	// Keyboard character code
	KbChar uint32 `protobuf:"varint,2,opt,name=kb_char,json=kbChar,proto3" json:"kb_char,omitempty"`
	// The touch X coordinate
	TouchX uint32 `protobuf:"varint,3,opt,name=touch_x,json=touchX,proto3" json:"touch_x,omitempty"`
	// The touch Y coordinate
	TouchY uint32 `protobuf:"varint,4,opt,name=touch_y,json=touchY,proto3" json:"touch_y,omitempty"`
	// contains filtered or unexported fields
}

Input event message to be sent to the node.

func (*AdminMessage_InputEvent) GetEventCode

func (x *AdminMessage_InputEvent) GetEventCode() uint32

func (*AdminMessage_InputEvent) GetKbChar

func (x *AdminMessage_InputEvent) GetKbChar() uint32

func (*AdminMessage_InputEvent) GetTouchX

func (x *AdminMessage_InputEvent) GetTouchX() uint32

func (*AdminMessage_InputEvent) GetTouchY

func (x *AdminMessage_InputEvent) GetTouchY() uint32

func (*AdminMessage_InputEvent) ProtoMessage

func (*AdminMessage_InputEvent) ProtoMessage()

func (*AdminMessage_InputEvent) ProtoReflect

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

func (*AdminMessage_InputEvent) Reset

func (x *AdminMessage_InputEvent) Reset()

func (*AdminMessage_InputEvent) SetEventCode

func (x *AdminMessage_InputEvent) SetEventCode(v uint32)

func (*AdminMessage_InputEvent) SetKbChar

func (x *AdminMessage_InputEvent) SetKbChar(v uint32)

func (*AdminMessage_InputEvent) SetTouchX

func (x *AdminMessage_InputEvent) SetTouchX(v uint32)

func (*AdminMessage_InputEvent) SetTouchY

func (x *AdminMessage_InputEvent) SetTouchY(v uint32)

func (*AdminMessage_InputEvent) String

func (x *AdminMessage_InputEvent) String() string

type AdminMessage_InputEvent_builder

type AdminMessage_InputEvent_builder struct {

	// The input event code
	EventCode uint32
	// Keyboard character code
	KbChar uint32
	// The touch X coordinate
	TouchX uint32
	// The touch Y coordinate
	TouchY uint32
	// contains filtered or unexported fields
}

func (AdminMessage_InputEvent_builder) Build

type AdminMessage_KeyVerification

type AdminMessage_KeyVerification struct {
	// Initiate or respond to a key verification request
	KeyVerification *KeyVerificationAdmin `protobuf:"bytes,67,opt,name=key_verification,json=keyVerification,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
	// TODO: REPLACE
	AdminMessage_STATUSMESSAGE_CONFIG AdminMessage_ModuleConfigType = 13
	// Traffic management module config
	AdminMessage_TRAFFICMANAGEMENT_CONFIG AdminMessage_ModuleConfigType = 14
)

func (AdminMessage_ModuleConfigType) Descriptor

func (AdminMessage_ModuleConfigType) Enum

func (AdminMessage_ModuleConfigType) Number

func (AdminMessage_ModuleConfigType) String

func (AdminMessage_ModuleConfigType) Type

type AdminMessage_NodedbReset

type AdminMessage_NodedbReset struct {
	// Tell the node to reset the nodedb.
	// When true, favorites are preserved through reset.
	NodedbReset bool `protobuf:"varint,100,opt,name=nodedb_reset,json=nodedbReset,proto3,oneof"`
}

type AdminMessage_OTAEvent

type AdminMessage_OTAEvent struct {

	// Tell the node to reboot into OTA mode for firmware update via BLE or WiFi (ESP32 only for now)
	RebootOtaMode OTAMode `` /* 127-byte string literal not displayed */
	// A 32 byte hash of the OTA firmware.
	// Used to verify the integrity of the firmware before applying an update.
	OtaHash []byte `protobuf:"bytes,2,opt,name=ota_hash,json=otaHash,proto3" json:"ota_hash,omitempty"`
	// contains filtered or unexported fields
}

User is requesting an over the air update. Node will reboot into the OTA loader

func (*AdminMessage_OTAEvent) GetOtaHash

func (x *AdminMessage_OTAEvent) GetOtaHash() []byte

func (*AdminMessage_OTAEvent) GetRebootOtaMode

func (x *AdminMessage_OTAEvent) GetRebootOtaMode() OTAMode

func (*AdminMessage_OTAEvent) ProtoMessage

func (*AdminMessage_OTAEvent) ProtoMessage()

func (*AdminMessage_OTAEvent) ProtoReflect

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

func (*AdminMessage_OTAEvent) Reset

func (x *AdminMessage_OTAEvent) Reset()

func (*AdminMessage_OTAEvent) SetOtaHash

func (x *AdminMessage_OTAEvent) SetOtaHash(v []byte)

func (*AdminMessage_OTAEvent) SetRebootOtaMode

func (x *AdminMessage_OTAEvent) SetRebootOtaMode(v OTAMode)

func (*AdminMessage_OTAEvent) String

func (x *AdminMessage_OTAEvent) String() string

type AdminMessage_OTAEvent_builder

type AdminMessage_OTAEvent_builder struct {

	// Tell the node to reboot into OTA mode for firmware update via BLE or WiFi (ESP32 only for now)
	RebootOtaMode OTAMode
	// A 32 byte hash of the OTA firmware.
	// Used to verify the integrity of the firmware before applying an update.
	OtaHash []byte
	// contains filtered or unexported fields
}

func (AdminMessage_OTAEvent_builder) Build

type AdminMessage_OtaRequest

type AdminMessage_OtaRequest struct {
	// Tell the node to reset into the OTA Loader
	OtaRequest *AdminMessage_OTAEvent `protobuf:"bytes,102,opt,name=ota_request,json=otaRequest,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.
	// Deprecated in favor of reboot_ota_mode in 2.7.17
	//
	// Deprecated: Marked as deprecated in meshtastic/admin.proto.
	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_RemoveBackupPreferences

type AdminMessage_RemoveBackupPreferences struct {
	// Remove backups of the node's preferences
	RemoveBackupPreferences AdminMessage_BackupLocation `` /* 141-byte string literal not displayed */
}

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_RemoveFavoriteNode

type AdminMessage_RemoveFavoriteNode struct {
	// Set specified node-num to be un-favorited on the NodeDB on the device
	RemoveFavoriteNode uint32 `protobuf:"varint,40,opt,name=remove_favorite_node,json=removeFavoriteNode,proto3,oneof"`
}

type AdminMessage_RemoveFixedPosition

type AdminMessage_RemoveFixedPosition struct {
	// Clear fixed position coordinates and then set position.fixed_position = false
	RemoveFixedPosition bool `protobuf:"varint,42,opt,name=remove_fixed_position,json=removeFixedPosition,proto3,oneof"`
}

type AdminMessage_RemoveIgnoredNode

type AdminMessage_RemoveIgnoredNode struct {
	// Set specified node-num to be un-ignored on the NodeDB on the device
	RemoveIgnoredNode uint32 `protobuf:"varint,48,opt,name=remove_ignored_node,json=removeIgnoredNode,proto3,oneof"`
}

type AdminMessage_RestorePreferences

type AdminMessage_RestorePreferences struct {
	// Restore the node's preferences
	RestorePreferences AdminMessage_BackupLocation `` /* 130-byte string literal not displayed */
}

type AdminMessage_SendInputEvent

type AdminMessage_SendInputEvent struct {
	// Send an input event to the node.
	// This is used to trigger physical input events like button presses, touch events, etc.
	SendInputEvent *AdminMessage_InputEvent `protobuf:"bytes,27,opt,name=send_input_event,json=sendInputEvent,proto3,oneof"`
}

type AdminMessage_SensorConfig

type AdminMessage_SensorConfig struct {
	// Parameters and sensor configuration
	SensorConfig *SensorConfig `protobuf:"bytes,103,opt,name=sensor_config,json=sensorConfig,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_SetFavoriteNode

type AdminMessage_SetFavoriteNode struct {
	// Set specified node-num to be favorited on the NodeDB on the device
	SetFavoriteNode uint32 `protobuf:"varint,39,opt,name=set_favorite_node,json=setFavoriteNode,proto3,oneof"`
}

type AdminMessage_SetFixedPosition

type AdminMessage_SetFixedPosition struct {
	// Set fixed position data on the node and then set the position.fixed_position = true
	SetFixedPosition *Position `protobuf:"bytes,41,opt,name=set_fixed_position,json=setFixedPosition,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_SetIgnoredNode

type AdminMessage_SetIgnoredNode struct {
	// Set specified node-num to be ignored on the NodeDB on the device
	SetIgnoredNode uint32 `protobuf:"varint,47,opt,name=set_ignored_node,json=setIgnoredNode,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_SetScale

type AdminMessage_SetScale struct {
	// Set zero and offset for scale chips
	SetScale uint32 `protobuf:"varint,23,opt,name=set_scale,json=setScale,proto3,oneof"`
}

type AdminMessage_SetTimeOnly

type AdminMessage_SetTimeOnly struct {
	// Set time only on the node
	// Convenience method to set the time on the node (as Net quality) without any other position data
	SetTimeOnly uint32 `protobuf:"fixed32,43,opt,name=set_time_only,json=setTimeOnly,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_StoreUiConfig

type AdminMessage_StoreUiConfig struct {
	// Tell the node to store UI data persistently.
	StoreUiConfig *DeviceUIConfig `protobuf:"bytes,46,opt,name=store_ui_config,json=storeUiConfig,proto3,oneof"`
}

type AdminMessage_ToggleMutedNode

type AdminMessage_ToggleMutedNode struct {
	// Set specified node-num to be muted
	ToggleMutedNode uint32 `protobuf:"varint,49,opt,name=toggle_muted_node,json=toggleMutedNode,proto3,oneof"`
}

type AdminMessage_builder

type AdminMessage_builder struct {

	// The node generates this key and sends it with any get_x_response packets.
	// The client MUST include the same key with any set_x commands. Key expires after 300 seconds.
	// Prevents replay attacks for admin messages.
	SessionPasskey []byte

	// 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 zero and offset for scale chips
	SetScale *uint32
	// Backup the node's preferences
	BackupPreferences *AdminMessage_BackupLocation
	// Restore the node's preferences
	RestorePreferences *AdminMessage_BackupLocation
	// Remove backups of the node's preferences
	RemoveBackupPreferences *AdminMessage_BackupLocation
	// Send an input event to the node.
	// This is used to trigger physical input events like button presses, touch events, etc.
	SendInputEvent *AdminMessage_InputEvent
	// 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
	// Set specified node-num to be favorited on the NodeDB on the device
	SetFavoriteNode *uint32
	// Set specified node-num to be un-favorited on the NodeDB on the device
	RemoveFavoriteNode *uint32
	// Set fixed position data on the node and then set the position.fixed_position = true
	SetFixedPosition *Position
	// Clear fixed position coordinates and then set position.fixed_position = false
	RemoveFixedPosition *bool
	// Set time only on the node
	// Convenience method to set the time on the node (as Net quality) without any other position data
	SetTimeOnly *uint32
	// Tell the node to send the stored ui data.
	GetUiConfigRequest *bool
	// Reply stored device ui data.
	GetUiConfigResponse *DeviceUIConfig
	// Tell the node to store UI data persistently.
	StoreUiConfig *DeviceUIConfig
	// Set specified node-num to be ignored on the NodeDB on the device
	SetIgnoredNode *uint32
	// Set specified node-num to be un-ignored on the NodeDB on the device
	RemoveIgnoredNode *uint32
	// Set specified node-num to be muted
	ToggleMutedNode *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
	// Add a contact (User) to the nodedb
	AddContact *SharedContact
	// Initiate or respond to a key verification request
	KeyVerification *KeyVerificationAdmin
	// Tell the node to factory reset config everything; all device state and configuration will be returned to factory defaults and BLE bonds will be cleared.
	FactoryResetDevice *int32
	// 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.
	// Deprecated in favor of reboot_ota_mode in 2.7.17
	//
	// Deprecated: Marked as deprecated in meshtastic/admin.proto.
	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 config; all device state and configuration will be returned to factory defaults; BLE bonds will be preserved.
	FactoryResetConfig *int32
	// Tell the node to reset the nodedb.
	// When true, favorites are preserved through reset.
	NodedbReset *bool
	// Tell the node to reset into the OTA Loader
	OtaRequest *AdminMessage_OTAEvent
	// Parameters and sensor configuration
	SensorConfig *SensorConfig
	// 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 in ug/m3
	Pm10Standard *uint32 `protobuf:"varint,1,opt,name=pm10_standard,json=pm10Standard,proto3,oneof" json:"pm10_standard,omitempty"`
	// Concentration Units Standard PM2.5 in ug/m3
	Pm25Standard *uint32 `protobuf:"varint,2,opt,name=pm25_standard,json=pm25Standard,proto3,oneof" json:"pm25_standard,omitempty"`
	// Concentration Units Standard PM10.0 in ug/m3
	Pm100Standard *uint32 `protobuf:"varint,3,opt,name=pm100_standard,json=pm100Standard,proto3,oneof" json:"pm100_standard,omitempty"`
	// Concentration Units Environmental PM1.0 in ug/m3
	Pm10Environmental *uint32 `protobuf:"varint,4,opt,name=pm10_environmental,json=pm10Environmental,proto3,oneof" json:"pm10_environmental,omitempty"`
	// Concentration Units Environmental PM2.5 in ug/m3
	Pm25Environmental *uint32 `protobuf:"varint,5,opt,name=pm25_environmental,json=pm25Environmental,proto3,oneof" json:"pm25_environmental,omitempty"`
	// Concentration Units Environmental PM10.0 in ug/m3
	Pm100Environmental *uint32 `protobuf:"varint,6,opt,name=pm100_environmental,json=pm100Environmental,proto3,oneof" json:"pm100_environmental,omitempty"`
	// 0.3um Particle Count in #/0.1l
	Particles_03Um *uint32 `protobuf:"varint,7,opt,name=particles_03um,json=particles03um,proto3,oneof" json:"particles_03um,omitempty"`
	// 0.5um Particle Count in #/0.1l
	Particles_05Um *uint32 `protobuf:"varint,8,opt,name=particles_05um,json=particles05um,proto3,oneof" json:"particles_05um,omitempty"`
	// 1.0um Particle Count in #/0.1l
	Particles_10Um *uint32 `protobuf:"varint,9,opt,name=particles_10um,json=particles10um,proto3,oneof" json:"particles_10um,omitempty"`
	// 2.5um Particle Count in #/0.1l
	Particles_25Um *uint32 `protobuf:"varint,10,opt,name=particles_25um,json=particles25um,proto3,oneof" json:"particles_25um,omitempty"`
	// 5.0um Particle Count in #/0.1l
	Particles_50Um *uint32 `protobuf:"varint,11,opt,name=particles_50um,json=particles50um,proto3,oneof" json:"particles_50um,omitempty"`
	// 10.0um Particle Count in #/0.1l
	Particles_100Um *uint32 `protobuf:"varint,12,opt,name=particles_100um,json=particles100um,proto3,oneof" json:"particles_100um,omitempty"`
	// CO2 concentration in ppm
	Co2 *uint32 `protobuf:"varint,13,opt,name=co2,proto3,oneof" json:"co2,omitempty"`
	// CO2 sensor temperature in degC
	Co2Temperature *float32 `protobuf:"fixed32,14,opt,name=co2_temperature,json=co2Temperature,proto3,oneof" json:"co2_temperature,omitempty"`
	// CO2 sensor relative humidity in %
	Co2Humidity *float32 `protobuf:"fixed32,15,opt,name=co2_humidity,json=co2Humidity,proto3,oneof" json:"co2_humidity,omitempty"`
	// Formaldehyde sensor formaldehyde concentration in ppb
	FormFormaldehyde *float32 `protobuf:"fixed32,16,opt,name=form_formaldehyde,json=formFormaldehyde,proto3,oneof" json:"form_formaldehyde,omitempty"`
	// Formaldehyde sensor relative humidity in %RH
	FormHumidity *float32 `protobuf:"fixed32,17,opt,name=form_humidity,json=formHumidity,proto3,oneof" json:"form_humidity,omitempty"`
	// Formaldehyde sensor temperature in degrees Celsius
	FormTemperature *float32 `protobuf:"fixed32,18,opt,name=form_temperature,json=formTemperature,proto3,oneof" json:"form_temperature,omitempty"`
	// Concentration Units Standard PM4.0 in ug/m3
	Pm40Standard *uint32 `protobuf:"varint,19,opt,name=pm40_standard,json=pm40Standard,proto3,oneof" json:"pm40_standard,omitempty"`
	// 4.0um Particle Count in #/0.1l
	Particles_40Um *uint32 `protobuf:"varint,20,opt,name=particles_40um,json=particles40um,proto3,oneof" json:"particles_40um,omitempty"`
	// PM Sensor Temperature
	PmTemperature *float32 `protobuf:"fixed32,21,opt,name=pm_temperature,json=pmTemperature,proto3,oneof" json:"pm_temperature,omitempty"`
	// PM Sensor humidity
	PmHumidity *float32 `protobuf:"fixed32,22,opt,name=pm_humidity,json=pmHumidity,proto3,oneof" json:"pm_humidity,omitempty"`
	// PM Sensor VOC Index
	PmVocIdx *float32 `protobuf:"fixed32,23,opt,name=pm_voc_idx,json=pmVocIdx,proto3,oneof" json:"pm_voc_idx,omitempty"`
	// PM Sensor NOx Index
	PmNoxIdx *float32 `protobuf:"fixed32,24,opt,name=pm_nox_idx,json=pmNoxIdx,proto3,oneof" json:"pm_nox_idx,omitempty"`
	// Typical Particle Size in um
	ParticlesTps *float32 `protobuf:"fixed32,25,opt,name=particles_tps,json=particlesTps,proto3,oneof" json:"particles_tps,omitempty"`
	// contains filtered or unexported fields
}

Air quality metrics

func (*AirQualityMetrics) ClearCo2

func (x *AirQualityMetrics) ClearCo2()

func (*AirQualityMetrics) ClearCo2Humidity

func (x *AirQualityMetrics) ClearCo2Humidity()

func (*AirQualityMetrics) ClearCo2Temperature

func (x *AirQualityMetrics) ClearCo2Temperature()

func (*AirQualityMetrics) ClearFormFormaldehyde

func (x *AirQualityMetrics) ClearFormFormaldehyde()

func (*AirQualityMetrics) ClearFormHumidity

func (x *AirQualityMetrics) ClearFormHumidity()

func (*AirQualityMetrics) ClearFormTemperature

func (x *AirQualityMetrics) ClearFormTemperature()

func (*AirQualityMetrics) ClearParticlesTps

func (x *AirQualityMetrics) ClearParticlesTps()

func (*AirQualityMetrics) ClearParticles_03Um

func (x *AirQualityMetrics) ClearParticles_03Um()

func (*AirQualityMetrics) ClearParticles_05Um

func (x *AirQualityMetrics) ClearParticles_05Um()

func (*AirQualityMetrics) ClearParticles_10Um

func (x *AirQualityMetrics) ClearParticles_10Um()

func (*AirQualityMetrics) ClearParticles_25Um

func (x *AirQualityMetrics) ClearParticles_25Um()

func (*AirQualityMetrics) ClearParticles_40Um

func (x *AirQualityMetrics) ClearParticles_40Um()

func (*AirQualityMetrics) ClearParticles_50Um

func (x *AirQualityMetrics) ClearParticles_50Um()

func (*AirQualityMetrics) ClearParticles_100Um

func (x *AirQualityMetrics) ClearParticles_100Um()

func (*AirQualityMetrics) ClearPm10Environmental

func (x *AirQualityMetrics) ClearPm10Environmental()

func (*AirQualityMetrics) ClearPm10Standard

func (x *AirQualityMetrics) ClearPm10Standard()

func (*AirQualityMetrics) ClearPm25Environmental

func (x *AirQualityMetrics) ClearPm25Environmental()

func (*AirQualityMetrics) ClearPm25Standard

func (x *AirQualityMetrics) ClearPm25Standard()

func (*AirQualityMetrics) ClearPm40Standard

func (x *AirQualityMetrics) ClearPm40Standard()

func (*AirQualityMetrics) ClearPm100Environmental

func (x *AirQualityMetrics) ClearPm100Environmental()

func (*AirQualityMetrics) ClearPm100Standard

func (x *AirQualityMetrics) ClearPm100Standard()

func (*AirQualityMetrics) ClearPmHumidity

func (x *AirQualityMetrics) ClearPmHumidity()

func (*AirQualityMetrics) ClearPmNoxIdx

func (x *AirQualityMetrics) ClearPmNoxIdx()

func (*AirQualityMetrics) ClearPmTemperature

func (x *AirQualityMetrics) ClearPmTemperature()

func (*AirQualityMetrics) ClearPmVocIdx

func (x *AirQualityMetrics) ClearPmVocIdx()

func (*AirQualityMetrics) GetCo2

func (x *AirQualityMetrics) GetCo2() uint32

func (*AirQualityMetrics) GetCo2Humidity

func (x *AirQualityMetrics) GetCo2Humidity() float32

func (*AirQualityMetrics) GetCo2Temperature

func (x *AirQualityMetrics) GetCo2Temperature() float32

func (*AirQualityMetrics) GetFormFormaldehyde

func (x *AirQualityMetrics) GetFormFormaldehyde() float32

func (*AirQualityMetrics) GetFormHumidity

func (x *AirQualityMetrics) GetFormHumidity() float32

func (*AirQualityMetrics) GetFormTemperature

func (x *AirQualityMetrics) GetFormTemperature() float32

func (*AirQualityMetrics) GetParticlesTps

func (x *AirQualityMetrics) GetParticlesTps() float32

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_40Um

func (x *AirQualityMetrics) GetParticles_40Um() 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) GetPm40Standard

func (x *AirQualityMetrics) GetPm40Standard() uint32

func (*AirQualityMetrics) GetPm100Environmental

func (x *AirQualityMetrics) GetPm100Environmental() uint32

func (*AirQualityMetrics) GetPm100Standard

func (x *AirQualityMetrics) GetPm100Standard() uint32

func (*AirQualityMetrics) GetPmHumidity

func (x *AirQualityMetrics) GetPmHumidity() float32

func (*AirQualityMetrics) GetPmNoxIdx

func (x *AirQualityMetrics) GetPmNoxIdx() float32

func (*AirQualityMetrics) GetPmTemperature

func (x *AirQualityMetrics) GetPmTemperature() float32

func (*AirQualityMetrics) GetPmVocIdx

func (x *AirQualityMetrics) GetPmVocIdx() float32

func (*AirQualityMetrics) HasCo2

func (x *AirQualityMetrics) HasCo2() bool

func (*AirQualityMetrics) HasCo2Humidity

func (x *AirQualityMetrics) HasCo2Humidity() bool

func (*AirQualityMetrics) HasCo2Temperature

func (x *AirQualityMetrics) HasCo2Temperature() bool

func (*AirQualityMetrics) HasFormFormaldehyde

func (x *AirQualityMetrics) HasFormFormaldehyde() bool

func (*AirQualityMetrics) HasFormHumidity

func (x *AirQualityMetrics) HasFormHumidity() bool

func (*AirQualityMetrics) HasFormTemperature

func (x *AirQualityMetrics) HasFormTemperature() bool

func (*AirQualityMetrics) HasParticlesTps

func (x *AirQualityMetrics) HasParticlesTps() bool

func (*AirQualityMetrics) HasParticles_03Um

func (x *AirQualityMetrics) HasParticles_03Um() bool

func (*AirQualityMetrics) HasParticles_05Um

func (x *AirQualityMetrics) HasParticles_05Um() bool

func (*AirQualityMetrics) HasParticles_10Um

func (x *AirQualityMetrics) HasParticles_10Um() bool

func (*AirQualityMetrics) HasParticles_25Um

func (x *AirQualityMetrics) HasParticles_25Um() bool

func (*AirQualityMetrics) HasParticles_40Um

func (x *AirQualityMetrics) HasParticles_40Um() bool

func (*AirQualityMetrics) HasParticles_50Um

func (x *AirQualityMetrics) HasParticles_50Um() bool

func (*AirQualityMetrics) HasParticles_100Um

func (x *AirQualityMetrics) HasParticles_100Um() bool

func (*AirQualityMetrics) HasPm10Environmental

func (x *AirQualityMetrics) HasPm10Environmental() bool

func (*AirQualityMetrics) HasPm10Standard

func (x *AirQualityMetrics) HasPm10Standard() bool

func (*AirQualityMetrics) HasPm25Environmental

func (x *AirQualityMetrics) HasPm25Environmental() bool

func (*AirQualityMetrics) HasPm25Standard

func (x *AirQualityMetrics) HasPm25Standard() bool

func (*AirQualityMetrics) HasPm40Standard

func (x *AirQualityMetrics) HasPm40Standard() bool

func (*AirQualityMetrics) HasPm100Environmental

func (x *AirQualityMetrics) HasPm100Environmental() bool

func (*AirQualityMetrics) HasPm100Standard

func (x *AirQualityMetrics) HasPm100Standard() bool

func (*AirQualityMetrics) HasPmHumidity

func (x *AirQualityMetrics) HasPmHumidity() bool

func (*AirQualityMetrics) HasPmNoxIdx

func (x *AirQualityMetrics) HasPmNoxIdx() bool

func (*AirQualityMetrics) HasPmTemperature

func (x *AirQualityMetrics) HasPmTemperature() bool

func (*AirQualityMetrics) HasPmVocIdx

func (x *AirQualityMetrics) HasPmVocIdx() bool

func (*AirQualityMetrics) ProtoMessage

func (*AirQualityMetrics) ProtoMessage()

func (*AirQualityMetrics) ProtoReflect

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

func (*AirQualityMetrics) Reset

func (x *AirQualityMetrics) Reset()

func (*AirQualityMetrics) SetCo2

func (x *AirQualityMetrics) SetCo2(v uint32)

func (*AirQualityMetrics) SetCo2Humidity

func (x *AirQualityMetrics) SetCo2Humidity(v float32)

func (*AirQualityMetrics) SetCo2Temperature

func (x *AirQualityMetrics) SetCo2Temperature(v float32)

func (*AirQualityMetrics) SetFormFormaldehyde

func (x *AirQualityMetrics) SetFormFormaldehyde(v float32)

func (*AirQualityMetrics) SetFormHumidity

func (x *AirQualityMetrics) SetFormHumidity(v float32)

func (*AirQualityMetrics) SetFormTemperature

func (x *AirQualityMetrics) SetFormTemperature(v float32)

func (*AirQualityMetrics) SetParticlesTps

func (x *AirQualityMetrics) SetParticlesTps(v float32)

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_40Um

func (x *AirQualityMetrics) SetParticles_40Um(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) SetPm40Standard

func (x *AirQualityMetrics) SetPm40Standard(v uint32)

func (*AirQualityMetrics) SetPm100Environmental

func (x *AirQualityMetrics) SetPm100Environmental(v uint32)

func (*AirQualityMetrics) SetPm100Standard

func (x *AirQualityMetrics) SetPm100Standard(v uint32)

func (*AirQualityMetrics) SetPmHumidity

func (x *AirQualityMetrics) SetPmHumidity(v float32)

func (*AirQualityMetrics) SetPmNoxIdx

func (x *AirQualityMetrics) SetPmNoxIdx(v float32)

func (*AirQualityMetrics) SetPmTemperature

func (x *AirQualityMetrics) SetPmTemperature(v float32)

func (*AirQualityMetrics) SetPmVocIdx

func (x *AirQualityMetrics) SetPmVocIdx(v float32)

func (*AirQualityMetrics) String

func (x *AirQualityMetrics) String() string

type AirQualityMetrics_builder

type AirQualityMetrics_builder struct {

	// Concentration Units Standard PM1.0 in ug/m3
	Pm10Standard *uint32
	// Concentration Units Standard PM2.5 in ug/m3
	Pm25Standard *uint32
	// Concentration Units Standard PM10.0 in ug/m3
	Pm100Standard *uint32
	// Concentration Units Environmental PM1.0 in ug/m3
	Pm10Environmental *uint32
	// Concentration Units Environmental PM2.5 in ug/m3
	Pm25Environmental *uint32
	// Concentration Units Environmental PM10.0 in ug/m3
	Pm100Environmental *uint32
	// 0.3um Particle Count in #/0.1l
	Particles_03Um *uint32
	// 0.5um Particle Count in #/0.1l
	Particles_05Um *uint32
	// 1.0um Particle Count in #/0.1l
	Particles_10Um *uint32
	// 2.5um Particle Count in #/0.1l
	Particles_25Um *uint32
	// 5.0um Particle Count in #/0.1l
	Particles_50Um *uint32
	// 10.0um Particle Count in #/0.1l
	Particles_100Um *uint32
	// CO2 concentration in ppm
	Co2 *uint32
	// CO2 sensor temperature in degC
	Co2Temperature *float32
	// CO2 sensor relative humidity in %
	Co2Humidity *float32
	// Formaldehyde sensor formaldehyde concentration in ppb
	FormFormaldehyde *float32
	// Formaldehyde sensor relative humidity in %RH
	FormHumidity *float32
	// Formaldehyde sensor temperature in degrees Celsius
	FormTemperature *float32
	// Concentration Units Standard PM4.0 in ug/m3
	Pm40Standard *uint32
	// 4.0um Particle Count in #/0.1l
	Particles_40Um *uint32
	// PM Sensor Temperature
	PmTemperature *float32
	// PM Sensor humidity
	PmHumidity *float32
	// PM Sensor VOC Index
	PmVocIdx *float32
	// PM Sensor NOx Index
	PmNoxIdx *float32
	// Typical Particle Size in um
	ParticlesTps *float32
	// contains filtered or unexported fields
}

func (AirQualityMetrics_builder) Build

type BackupPreferences

type BackupPreferences struct {

	// The version of the backup
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// The timestamp of the backup (if node has time)
	Timestamp uint32 `protobuf:"fixed32,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The node's configuration
	Config *LocalConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	// The node's module configuration
	ModuleConfig *LocalModuleConfig `protobuf:"bytes,4,opt,name=module_config,json=moduleConfig,proto3" json:"module_config,omitempty"`
	// The node's channels
	Channels *ChannelFile `protobuf:"bytes,5,opt,name=channels,proto3" json:"channels,omitempty"`
	// The node's user (owner) information
	Owner *User `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

The on-disk backup of the node's preferences

func (*BackupPreferences) ClearChannels

func (x *BackupPreferences) ClearChannels()

func (*BackupPreferences) ClearConfig

func (x *BackupPreferences) ClearConfig()

func (*BackupPreferences) ClearModuleConfig

func (x *BackupPreferences) ClearModuleConfig()

func (*BackupPreferences) ClearOwner

func (x *BackupPreferences) ClearOwner()

func (*BackupPreferences) GetChannels

func (x *BackupPreferences) GetChannels() *ChannelFile

func (*BackupPreferences) GetConfig

func (x *BackupPreferences) GetConfig() *LocalConfig

func (*BackupPreferences) GetModuleConfig

func (x *BackupPreferences) GetModuleConfig() *LocalModuleConfig

func (*BackupPreferences) GetOwner

func (x *BackupPreferences) GetOwner() *User

func (*BackupPreferences) GetTimestamp

func (x *BackupPreferences) GetTimestamp() uint32

func (*BackupPreferences) GetVersion

func (x *BackupPreferences) GetVersion() uint32

func (*BackupPreferences) HasChannels

func (x *BackupPreferences) HasChannels() bool

func (*BackupPreferences) HasConfig

func (x *BackupPreferences) HasConfig() bool

func (*BackupPreferences) HasModuleConfig

func (x *BackupPreferences) HasModuleConfig() bool

func (*BackupPreferences) HasOwner

func (x *BackupPreferences) HasOwner() bool

func (*BackupPreferences) ProtoMessage

func (*BackupPreferences) ProtoMessage()

func (*BackupPreferences) ProtoReflect

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

func (*BackupPreferences) Reset

func (x *BackupPreferences) Reset()

func (*BackupPreferences) SetChannels

func (x *BackupPreferences) SetChannels(v *ChannelFile)

func (*BackupPreferences) SetConfig

func (x *BackupPreferences) SetConfig(v *LocalConfig)

func (*BackupPreferences) SetModuleConfig

func (x *BackupPreferences) SetModuleConfig(v *LocalModuleConfig)

func (*BackupPreferences) SetOwner

func (x *BackupPreferences) SetOwner(v *User)

func (*BackupPreferences) SetTimestamp

func (x *BackupPreferences) SetTimestamp(v uint32)

func (*BackupPreferences) SetVersion

func (x *BackupPreferences) SetVersion(v uint32)

func (*BackupPreferences) String

func (x *BackupPreferences) String() string

type BackupPreferences_builder

type BackupPreferences_builder struct {

	// The version of the backup
	Version uint32
	// The timestamp of the backup (if node has time)
	Timestamp uint32
	// The node's configuration
	Config *LocalConfig
	// The node's module configuration
	ModuleConfig *LocalModuleConfig
	// The node's channels
	Channels *ChannelFile
	// The node's user (owner) information
	Owner *User
	// contains filtered or unexported fields
}

func (BackupPreferences_builder) Build

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 (*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

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 (*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

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) ClearSettings

func (x *Channel) ClearSettings()

func (*Channel) GetIndex

func (x *Channel) GetIndex() int32

func (*Channel) GetRole

func (x *Channel) GetRole() Channel_Role

func (*Channel) GetSettings

func (x *Channel) GetSettings() *ChannelSettings

func (*Channel) HasSettings

func (x *Channel) HasSettings() bool

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) ProtoReflect

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

func (*Channel) Reset

func (x *Channel) Reset()

func (*Channel) SetIndex

func (x *Channel) SetIndex(v int32)

func (*Channel) SetRole

func (x *Channel) SetRole(v Channel_Role)

func (*Channel) SetSettings

func (x *Channel) SetSettings(v *ChannelSettings)

func (*Channel) String

func (x *Channel) String() string

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"`
	// Per-channel module settings.
	ModuleSettings *ModuleSettings `protobuf:"bytes,7,opt,name=module_settings,json=moduleSettings,proto3" json:"module_settings,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) ClearModuleSettings

func (x *ChannelSettings) ClearModuleSettings()

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) GetModuleSettings

func (x *ChannelSettings) GetModuleSettings() *ModuleSettings

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) HasModuleSettings

func (x *ChannelSettings) HasModuleSettings() 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) SetModuleSettings

func (x *ChannelSettings) SetModuleSettings(v *ModuleSettings)

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
	// Per-channel module settings.
	ModuleSettings *ModuleSettings
	// contains filtered or unexported fields
}

func (ChannelSettings_builder) Build

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) Enum

func (x Channel_Role) Enum() *Channel_Role

func (Channel_Role) Number

func (Channel_Role) String

func (x Channel_Role) String() string

func (Channel_Role) Type

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 ChunkedPayload

type ChunkedPayload struct {

	// The ID of the entire payload
	PayloadId uint32 `protobuf:"varint,1,opt,name=payload_id,json=payloadId,proto3" json:"payload_id,omitempty"`
	// The total number of chunks in the payload
	ChunkCount uint32 `protobuf:"varint,2,opt,name=chunk_count,json=chunkCount,proto3" json:"chunk_count,omitempty"`
	// The current chunk index in the total
	ChunkIndex uint32 `protobuf:"varint,3,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"`
	// The binary data of the current chunk
	PayloadChunk []byte `protobuf:"bytes,4,opt,name=payload_chunk,json=payloadChunk,proto3" json:"payload_chunk,omitempty"`
	// contains filtered or unexported fields
}

func (*ChunkedPayload) GetChunkCount

func (x *ChunkedPayload) GetChunkCount() uint32

func (*ChunkedPayload) GetChunkIndex

func (x *ChunkedPayload) GetChunkIndex() uint32

func (*ChunkedPayload) GetPayloadChunk

func (x *ChunkedPayload) GetPayloadChunk() []byte

func (*ChunkedPayload) GetPayloadId

func (x *ChunkedPayload) GetPayloadId() uint32

func (*ChunkedPayload) ProtoMessage

func (*ChunkedPayload) ProtoMessage()

func (*ChunkedPayload) ProtoReflect

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

func (*ChunkedPayload) Reset

func (x *ChunkedPayload) Reset()

func (*ChunkedPayload) SetChunkCount

func (x *ChunkedPayload) SetChunkCount(v uint32)

func (*ChunkedPayload) SetChunkIndex

func (x *ChunkedPayload) SetChunkIndex(v uint32)

func (*ChunkedPayload) SetPayloadChunk

func (x *ChunkedPayload) SetPayloadChunk(v []byte)

func (*ChunkedPayload) SetPayloadId

func (x *ChunkedPayload) SetPayloadId(v uint32)

func (*ChunkedPayload) String

func (x *ChunkedPayload) String() string

type ChunkedPayloadResponse

type ChunkedPayloadResponse struct {

	// The ID of the entire payload
	PayloadId uint32 `protobuf:"varint,1,opt,name=payload_id,json=payloadId,proto3" json:"payload_id,omitempty"`
	// Types that are valid to be assigned to PayloadVariant:
	//
	//	*ChunkedPayloadResponse_RequestTransfer
	//	*ChunkedPayloadResponse_AcceptTransfer
	//	*ChunkedPayloadResponse_ResendChunks
	PayloadVariant isChunkedPayloadResponse_PayloadVariant `protobuf_oneof:"payload_variant"`
	// contains filtered or unexported fields
}

Responses to a ChunkedPayload request

func (*ChunkedPayloadResponse) ClearAcceptTransfer

func (x *ChunkedPayloadResponse) ClearAcceptTransfer()

func (*ChunkedPayloadResponse) ClearPayloadVariant

func (x *ChunkedPayloadResponse) ClearPayloadVariant()

func (*ChunkedPayloadResponse) ClearRequestTransfer

func (x *ChunkedPayloadResponse) ClearRequestTransfer()

func (*ChunkedPayloadResponse) ClearResendChunks

func (x *ChunkedPayloadResponse) ClearResendChunks()

func (*ChunkedPayloadResponse) GetAcceptTransfer

func (x *ChunkedPayloadResponse) GetAcceptTransfer() bool

func (*ChunkedPayloadResponse) GetPayloadId

func (x *ChunkedPayloadResponse) GetPayloadId() uint32

func (*ChunkedPayloadResponse) GetPayloadVariant

func (x *ChunkedPayloadResponse) GetPayloadVariant() isChunkedPayloadResponse_PayloadVariant

func (*ChunkedPayloadResponse) GetRequestTransfer

func (x *ChunkedPayloadResponse) GetRequestTransfer() bool

func (*ChunkedPayloadResponse) GetResendChunks

func (x *ChunkedPayloadResponse) GetResendChunks() *ResendChunks

func (*ChunkedPayloadResponse) HasAcceptTransfer

func (x *ChunkedPayloadResponse) HasAcceptTransfer() bool

func (*ChunkedPayloadResponse) HasPayloadVariant

func (x *ChunkedPayloadResponse) HasPayloadVariant() bool

func (*ChunkedPayloadResponse) HasRequestTransfer

func (x *ChunkedPayloadResponse) HasRequestTransfer() bool

func (*ChunkedPayloadResponse) HasResendChunks

func (x *ChunkedPayloadResponse) HasResendChunks() bool

func (*ChunkedPayloadResponse) ProtoMessage

func (*ChunkedPayloadResponse) ProtoMessage()

func (*ChunkedPayloadResponse) ProtoReflect

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

func (*ChunkedPayloadResponse) Reset

func (x *ChunkedPayloadResponse) Reset()

func (*ChunkedPayloadResponse) SetAcceptTransfer

func (x *ChunkedPayloadResponse) SetAcceptTransfer(v bool)

func (*ChunkedPayloadResponse) SetPayloadId

func (x *ChunkedPayloadResponse) SetPayloadId(v uint32)

func (*ChunkedPayloadResponse) SetRequestTransfer

func (x *ChunkedPayloadResponse) SetRequestTransfer(v bool)

func (*ChunkedPayloadResponse) SetResendChunks

func (x *ChunkedPayloadResponse) SetResendChunks(v *ResendChunks)

func (*ChunkedPayloadResponse) String

func (x *ChunkedPayloadResponse) String() string

func (*ChunkedPayloadResponse) WhichPayloadVariant

func (x *ChunkedPayloadResponse) WhichPayloadVariant() case_ChunkedPayloadResponse_PayloadVariant

type ChunkedPayloadResponse_AcceptTransfer

type ChunkedPayloadResponse_AcceptTransfer struct {
	// Accept the transfer chunked payload
	AcceptTransfer bool `protobuf:"varint,3,opt,name=accept_transfer,json=acceptTransfer,proto3,oneof"`
}

type ChunkedPayloadResponse_RequestTransfer

type ChunkedPayloadResponse_RequestTransfer struct {
	// Request to transfer chunked payload
	RequestTransfer bool `protobuf:"varint,2,opt,name=request_transfer,json=requestTransfer,proto3,oneof"`
}

type ChunkedPayloadResponse_ResendChunks

type ChunkedPayloadResponse_ResendChunks struct {
	// Request missing indexes in the chunked payload
	ResendChunks *ResendChunks `protobuf:"bytes,4,opt,name=resend_chunks,json=resendChunks,proto3,oneof"`
}

type ChunkedPayloadResponse_builder

type ChunkedPayloadResponse_builder struct {

	// The ID of the entire payload
	PayloadId uint32
	// Fields of oneof PayloadVariant:
	//
	// Request to transfer chunked payload
	RequestTransfer *bool
	// Accept the transfer chunked payload
	AcceptTransfer *bool
	// Request missing indexes in the chunked payload
	ResendChunks *ResendChunks
	// contains filtered or unexported fields
}

func (ChunkedPayloadResponse_builder) Build

type ChunkedPayload_builder

type ChunkedPayload_builder struct {

	// The ID of the entire payload
	PayloadId uint32
	// The total number of chunks in the payload
	ChunkCount uint32
	// The current chunk index in the total
	ChunkIndex uint32
	// The binary data of the current chunk
	PayloadChunk []byte
	// contains filtered or unexported fields
}

func (ChunkedPayload_builder) Build

type ClientNotification

type ClientNotification struct {

	// The id of the packet we're notifying in response to
	ReplyId *uint32 `protobuf:"varint,1,opt,name=reply_id,json=replyId,proto3,oneof" json:"reply_id,omitempty"`
	// Seconds since 1970 - or 0 for unknown/unset
	Time uint32 `protobuf:"fixed32,2,opt,name=time,proto3" json:"time,omitempty"`
	// The level type of notification
	Level LogRecord_Level `protobuf:"varint,3,opt,name=level,proto3,enum=meshtastic.LogRecord_Level" json:"level,omitempty"`
	// The message body of the notification
	Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// Types that are valid to be assigned to PayloadVariant:
	//
	//	*ClientNotification_KeyVerificationNumberInform
	//	*ClientNotification_KeyVerificationNumberRequest
	//	*ClientNotification_KeyVerificationFinal
	//	*ClientNotification_DuplicatedPublicKey
	//	*ClientNotification_LowEntropyKey
	PayloadVariant isClientNotification_PayloadVariant `protobuf_oneof:"payload_variant"`
	// contains filtered or unexported fields
}

A notification message from the device to the client To be used for important messages that should to be displayed to the user in the form of push notifications or validation messages when saving invalid configuration.

func (*ClientNotification) ClearDuplicatedPublicKey

func (x *ClientNotification) ClearDuplicatedPublicKey()

func (*ClientNotification) ClearKeyVerificationFinal

func (x *ClientNotification) ClearKeyVerificationFinal()

func (*ClientNotification) ClearKeyVerificationNumberInform

func (x *ClientNotification) ClearKeyVerificationNumberInform()

func (*ClientNotification) ClearKeyVerificationNumberRequest

func (x *ClientNotification) ClearKeyVerificationNumberRequest()

func (*ClientNotification) ClearLowEntropyKey

func (x *ClientNotification) ClearLowEntropyKey()

func (*ClientNotification) ClearPayloadVariant

func (x *ClientNotification) ClearPayloadVariant()

func (*ClientNotification) ClearReplyId

func (x *ClientNotification) ClearReplyId()

func (*ClientNotification) GetDuplicatedPublicKey

func (x *ClientNotification) GetDuplicatedPublicKey() *DuplicatedPublicKey

func (*ClientNotification) GetKeyVerificationFinal

func (x *ClientNotification) GetKeyVerificationFinal() *KeyVerificationFinal

func (*ClientNotification) GetKeyVerificationNumberInform

func (x *ClientNotification) GetKeyVerificationNumberInform() *KeyVerificationNumberInform

func (*ClientNotification) GetKeyVerificationNumberRequest

func (x *ClientNotification) GetKeyVerificationNumberRequest() *KeyVerificationNumberRequest

func (*ClientNotification) GetLevel

func (x *ClientNotification) GetLevel() LogRecord_Level

func (*ClientNotification) GetLowEntropyKey

func (x *ClientNotification) GetLowEntropyKey() *LowEntropyKey

func (*ClientNotification) GetMessage

func (x *ClientNotification) GetMessage() string

func (*ClientNotification) GetPayloadVariant

func (x *ClientNotification) GetPayloadVariant() isClientNotification_PayloadVariant

func (*ClientNotification) GetReplyId

func (x *ClientNotification) GetReplyId() uint32

func (*ClientNotification) GetTime

func (x *ClientNotification) GetTime() uint32

func (*ClientNotification) HasDuplicatedPublicKey

func (x *ClientNotification) HasDuplicatedPublicKey() bool

func (*ClientNotification) HasKeyVerificationFinal

func (x *ClientNotification) HasKeyVerificationFinal() bool

func (*ClientNotification) HasKeyVerificationNumberInform

func (x *ClientNotification) HasKeyVerificationNumberInform() bool

func (*ClientNotification) HasKeyVerificationNumberRequest

func (x *ClientNotification) HasKeyVerificationNumberRequest() bool

func (*ClientNotification) HasLowEntropyKey

func (x *ClientNotification) HasLowEntropyKey() bool

func (*ClientNotification) HasPayloadVariant

func (x *ClientNotification) HasPayloadVariant() bool

func (*ClientNotification) HasReplyId

func (x *ClientNotification) HasReplyId() bool

func (*ClientNotification) ProtoMessage

func (*ClientNotification) ProtoMessage()

func (*ClientNotification) ProtoReflect

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

func (*ClientNotification) Reset

func (x *ClientNotification) Reset()

func (*ClientNotification) SetDuplicatedPublicKey

func (x *ClientNotification) SetDuplicatedPublicKey(v *DuplicatedPublicKey)

func (*ClientNotification) SetKeyVerificationFinal

func (x *ClientNotification) SetKeyVerificationFinal(v *KeyVerificationFinal)

func (*ClientNotification) SetKeyVerificationNumberInform

func (x *ClientNotification) SetKeyVerificationNumberInform(v *KeyVerificationNumberInform)

func (*ClientNotification) SetKeyVerificationNumberRequest

func (x *ClientNotification) SetKeyVerificationNumberRequest(v *KeyVerificationNumberRequest)

func (*ClientNotification) SetLevel

func (x *ClientNotification) SetLevel(v LogRecord_Level)

func (*ClientNotification) SetLowEntropyKey

func (x *ClientNotification) SetLowEntropyKey(v *LowEntropyKey)

func (*ClientNotification) SetMessage

func (x *ClientNotification) SetMessage(v string)

func (*ClientNotification) SetReplyId

func (x *ClientNotification) SetReplyId(v uint32)

func (*ClientNotification) SetTime

func (x *ClientNotification) SetTime(v uint32)

func (*ClientNotification) String

func (x *ClientNotification) String() string

func (*ClientNotification) WhichPayloadVariant

func (x *ClientNotification) WhichPayloadVariant() case_ClientNotification_PayloadVariant

type ClientNotification_DuplicatedPublicKey

type ClientNotification_DuplicatedPublicKey struct {
	DuplicatedPublicKey *DuplicatedPublicKey `protobuf:"bytes,14,opt,name=duplicated_public_key,json=duplicatedPublicKey,proto3,oneof"`
}

type ClientNotification_KeyVerificationFinal

type ClientNotification_KeyVerificationFinal struct {
	KeyVerificationFinal *KeyVerificationFinal `protobuf:"bytes,13,opt,name=key_verification_final,json=keyVerificationFinal,proto3,oneof"`
}

type ClientNotification_KeyVerificationNumberInform

type ClientNotification_KeyVerificationNumberInform struct {
	KeyVerificationNumberInform *KeyVerificationNumberInform `protobuf:"bytes,11,opt,name=key_verification_number_inform,json=keyVerificationNumberInform,proto3,oneof"`
}

type ClientNotification_KeyVerificationNumberRequest

type ClientNotification_KeyVerificationNumberRequest struct {
	KeyVerificationNumberRequest *KeyVerificationNumberRequest `protobuf:"bytes,12,opt,name=key_verification_number_request,json=keyVerificationNumberRequest,proto3,oneof"`
}

type ClientNotification_LowEntropyKey

type ClientNotification_LowEntropyKey struct {
	LowEntropyKey *LowEntropyKey `protobuf:"bytes,15,opt,name=low_entropy_key,json=lowEntropyKey,proto3,oneof"`
}

type ClientNotification_builder

type ClientNotification_builder struct {

	// The id of the packet we're notifying in response to
	ReplyId *uint32
	// Seconds since 1970 - or 0 for unknown/unset
	Time uint32
	// The level type of notification
	Level LogRecord_Level
	// The message body of the notification
	Message string
	// Fields of oneof PayloadVariant:
	KeyVerificationNumberInform  *KeyVerificationNumberInform
	KeyVerificationNumberRequest *KeyVerificationNumberRequest
	KeyVerificationFinal         *KeyVerificationFinal
	DuplicatedPublicKey          *DuplicatedPublicKey
	LowEntropyKey                *LowEntropyKey
	// contains filtered or unexported fields
}

func (ClientNotification_builder) Build

type CompassMode

type CompassMode int32
const (
	// Compass with dynamic ring and heading
	CompassMode_DYNAMIC CompassMode = 0
	// Compass with fixed ring and heading
	CompassMode_FIXED_RING CompassMode = 1
	// Compass with heading and freeze option
	CompassMode_FREEZE_HEADING CompassMode = 2
)

func (CompassMode) Descriptor

func (CompassMode) Enum

func (x CompassMode) Enum() *CompassMode

func (CompassMode) Number

func (x CompassMode) Number() protoreflect.EnumNumber

func (CompassMode) String

func (x CompassMode) String() string

func (CompassMode) Type

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
	//	*Config_Security
	//	*Config_Sessionkey
	//	*Config_DeviceUi
	PayloadVariant isConfig_PayloadVariant `protobuf_oneof:"payload_variant"`
	// contains filtered or unexported fields
}

func (*Config) ClearBluetooth

func (x *Config) ClearBluetooth()

func (*Config) ClearDevice

func (x *Config) ClearDevice()

func (*Config) ClearDeviceUi

func (x *Config) ClearDeviceUi()

func (*Config) ClearDisplay

func (x *Config) ClearDisplay()

func (*Config) ClearLora

func (x *Config) ClearLora()

func (*Config) ClearNetwork

func (x *Config) ClearNetwork()

func (*Config) ClearPayloadVariant

func (x *Config) ClearPayloadVariant()

func (*Config) ClearPosition

func (x *Config) ClearPosition()

func (*Config) ClearPower

func (x *Config) ClearPower()

func (*Config) ClearSecurity

func (x *Config) ClearSecurity()

func (*Config) ClearSessionkey

func (x *Config) ClearSessionkey()

func (*Config) GetBluetooth

func (x *Config) GetBluetooth() *Config_BluetoothConfig

func (*Config) GetDevice

func (x *Config) GetDevice() *Config_DeviceConfig

func (*Config) GetDeviceUi

func (x *Config) GetDeviceUi() *DeviceUIConfig

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) GetPayloadVariant

func (x *Config) GetPayloadVariant() isConfig_PayloadVariant

func (*Config) GetPosition

func (x *Config) GetPosition() *Config_PositionConfig

func (*Config) GetPower

func (x *Config) GetPower() *Config_PowerConfig

func (*Config) GetSecurity

func (x *Config) GetSecurity() *Config_SecurityConfig

func (*Config) GetSessionkey

func (x *Config) GetSessionkey() *Config_SessionkeyConfig

func (*Config) HasBluetooth

func (x *Config) HasBluetooth() bool

func (*Config) HasDevice

func (x *Config) HasDevice() bool

func (*Config) HasDeviceUi

func (x *Config) HasDeviceUi() bool

func (*Config) HasDisplay

func (x *Config) HasDisplay() bool

func (*Config) HasLora

func (x *Config) HasLora() bool

func (*Config) HasNetwork

func (x *Config) HasNetwork() bool

func (*Config) HasPayloadVariant

func (x *Config) HasPayloadVariant() bool

func (*Config) HasPosition

func (x *Config) HasPosition() bool

func (*Config) HasPower

func (x *Config) HasPower() bool

func (*Config) HasSecurity

func (x *Config) HasSecurity() bool

func (*Config) HasSessionkey

func (x *Config) HasSessionkey() bool

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) SetBluetooth

func (x *Config) SetBluetooth(v *Config_BluetoothConfig)

func (*Config) SetDevice

func (x *Config) SetDevice(v *Config_DeviceConfig)

func (*Config) SetDeviceUi

func (x *Config) SetDeviceUi(v *DeviceUIConfig)

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)

func (*Config) SetSecurity

func (x *Config) SetSecurity(v *Config_SecurityConfig)

func (*Config) SetSessionkey

func (x *Config) SetSessionkey(v *Config_SessionkeyConfig)

func (*Config) String

func (x *Config) String() string

func (*Config) WhichPayloadVariant

func (x *Config) WhichPayloadVariant() case_Config_PayloadVariant

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 (*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 (*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) Enum

func (Config_BluetoothConfig_PairingMode) Number

func (Config_BluetoothConfig_PairingMode) String

func (Config_BluetoothConfig_PairingMode) Type

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

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
	// Moved to SecurityConfig
	//
	// Deprecated: Marked as deprecated in meshtastic/config.proto.
	SerialEnabled bool `protobuf:"varint,2,opt,name=serial_enabled,json=serialEnabled,proto3" json:"serial_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
	// Moved to SecurityConfig
	//
	// Deprecated: Marked as deprecated in meshtastic/config.proto.
	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"`
	// POSIX Timezone definition string from https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv.
	Tzdef string `protobuf:"bytes,11,opt,name=tzdef,proto3" json:"tzdef,omitempty"`
	// If true, disable the default blinking LED (LED_PIN) behavior on the device
	LedHeartbeatDisabled bool `protobuf:"varint,12,opt,name=led_heartbeat_disabled,json=ledHeartbeatDisabled,proto3" json:"led_heartbeat_disabled,omitempty"`
	// Controls buzzer behavior for audio feedback
	// Defaults to ENABLED
	BuzzerMode Config_DeviceConfig_BuzzerMode `` /* 140-byte string literal not displayed */
	// 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) GetBuzzerMode

func (*Config_DeviceConfig) GetDisableTripleClick

func (x *Config_DeviceConfig) GetDisableTripleClick() bool

func (*Config_DeviceConfig) GetDoubleTapAsButtonPress

func (x *Config_DeviceConfig) GetDoubleTapAsButtonPress() bool

func (*Config_DeviceConfig) GetIsManaged deprecated

func (x *Config_DeviceConfig) GetIsManaged() bool

Deprecated: Marked as deprecated in meshtastic/config.proto.

func (*Config_DeviceConfig) GetLedHeartbeatDisabled

func (x *Config_DeviceConfig) GetLedHeartbeatDisabled() bool

func (*Config_DeviceConfig) GetNodeInfoBroadcastSecs

func (x *Config_DeviceConfig) GetNodeInfoBroadcastSecs() uint32

func (*Config_DeviceConfig) GetRebroadcastMode

func (*Config_DeviceConfig) GetRole

func (*Config_DeviceConfig) GetSerialEnabled deprecated

func (x *Config_DeviceConfig) GetSerialEnabled() bool

Deprecated: Marked as deprecated in meshtastic/config.proto.

func (*Config_DeviceConfig) GetTzdef

func (x *Config_DeviceConfig) GetTzdef() string

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) SetBuzzerMode

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 deprecated

func (x *Config_DeviceConfig) SetIsManaged(v bool)

Deprecated: Marked as deprecated in meshtastic/config.proto.

func (*Config_DeviceConfig) SetLedHeartbeatDisabled

func (x *Config_DeviceConfig) SetLedHeartbeatDisabled(v bool)

func (*Config_DeviceConfig) SetNodeInfoBroadcastSecs

func (x *Config_DeviceConfig) SetNodeInfoBroadcastSecs(v uint32)

func (*Config_DeviceConfig) SetRebroadcastMode

func (*Config_DeviceConfig) SetRole

func (*Config_DeviceConfig) SetSerialEnabled deprecated

func (x *Config_DeviceConfig) SetSerialEnabled(v bool)

Deprecated: Marked as deprecated in meshtastic/config.proto.

func (*Config_DeviceConfig) SetTzdef

func (x *Config_DeviceConfig) SetTzdef(v string)

func (*Config_DeviceConfig) String

func (x *Config_DeviceConfig) String() string

type Config_DeviceConfig_BuzzerMode

type Config_DeviceConfig_BuzzerMode int32

Defines buzzer behavior for audio feedback

const (
	// Default behavior.
	// Buzzer is enabled for all audio feedback including button presses and alerts.
	Config_DeviceConfig_ALL_ENABLED Config_DeviceConfig_BuzzerMode = 0
	// Disabled.
	// All buzzer audio feedback is disabled.
	Config_DeviceConfig_DISABLED Config_DeviceConfig_BuzzerMode = 1
	// Notifications Only.
	// Buzzer is enabled only for notifications and alerts, but not for button presses.
	// External notification config determines the specifics of the notification behavior.
	Config_DeviceConfig_NOTIFICATIONS_ONLY Config_DeviceConfig_BuzzerMode = 2
	// Non-notification system buzzer tones only.
	// Buzzer is enabled only for non-notification tones such as button presses, startup, shutdown, but not for alerts.
	Config_DeviceConfig_SYSTEM_ONLY Config_DeviceConfig_BuzzerMode = 3
	// Direct Message notifications only.
	// Buzzer is enabled only for direct messages and alerts, but not for button presses.
	// External notification config determines the specifics of the notification behavior.
	Config_DeviceConfig_DIRECT_MSG_ONLY Config_DeviceConfig_BuzzerMode = 4
)

func (Config_DeviceConfig_BuzzerMode) Descriptor

func (Config_DeviceConfig_BuzzerMode) Enum

func (Config_DeviceConfig_BuzzerMode) Number

func (Config_DeviceConfig_BuzzerMode) String

func (Config_DeviceConfig_BuzzerMode) Type

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
	// Only permitted for SENSOR, TRACKER and TAK_TRACKER roles, this will inhibit all rebroadcasts, not unlike CLIENT_MUTE role.
	Config_DeviceConfig_NONE Config_DeviceConfig_RebroadcastMode = 4
	// Ignores packets from non-standard portnums such as: TAK, RangeTest, PaxCounter, etc.
	// Only rebroadcasts packets with standard portnums: NodeInfo, Text, Position, Telemetry, and Routing.
	Config_DeviceConfig_CORE_PORTNUMS_ONLY Config_DeviceConfig_RebroadcastMode = 5
)

func (Config_DeviceConfig_RebroadcastMode) Descriptor

func (Config_DeviceConfig_RebroadcastMode) Enum

func (Config_DeviceConfig_RebroadcastMode) Number

func (Config_DeviceConfig_RebroadcastMode) String

func (Config_DeviceConfig_RebroadcastMode) Type

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
	// Deprecated: Marked as deprecated in meshtastic/config.proto.
	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.
	//
	// Deprecated in v2.7.11 because it creates "holes" in the mesh rebroadcast chain.
	//
	// Deprecated: Marked as deprecated in meshtastic/config.proto.
	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
	// Description: Will always rebroadcast packets, but will do so after all other modes.
	// Technical Details: Used for router nodes that are intended to provide additional coverage
	//
	//	in areas not already covered by other routers, or to bridge around problematic terrain,
	//	but should not be given priority over other routers in order to avoid unnecessaraily
	//	consuming hops.
	Config_DeviceConfig_ROUTER_LATE Config_DeviceConfig_Role = 11
	// Description: Treats packets from or to favorited nodes as ROUTER_LATE, and all other packets as CLIENT.
	// Technical Details: Used for stronger attic/roof nodes to distribute messages more widely
	//
	//	from weaker, indoor, or less-well-positioned nodes. Recommended for users with multiple nodes
	//	where one CLIENT_BASE acts as a more powerful base station, such as an attic/roof node.
	Config_DeviceConfig_CLIENT_BASE Config_DeviceConfig_Role = 12
)

func (Config_DeviceConfig_Role) Descriptor

func (Config_DeviceConfig_Role) Enum

func (Config_DeviceConfig_Role) Number

func (Config_DeviceConfig_Role) String

func (x Config_DeviceConfig_Role) String() string

func (Config_DeviceConfig_Role) Type

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
	// Moved to SecurityConfig
	//
	// Deprecated: Marked as deprecated in meshtastic/config.proto.
	SerialEnabled 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
	// Moved to SecurityConfig
	//
	// Deprecated: Marked as deprecated in meshtastic/config.proto.
	IsManaged bool
	// Disables the triple-press of user button to enable or disable GPS
	DisableTripleClick bool
	// POSIX Timezone definition string from https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv.
	Tzdef string
	// If true, disable the default blinking LED (LED_PIN) behavior on the device
	LedHeartbeatDisabled bool
	// Controls buzzer behavior for audio feedback
	// Defaults to ENABLED
	BuzzerMode Config_DeviceConfig_BuzzerMode
	// contains filtered or unexported fields
}

func (Config_DeviceConfig_builder) Build

type Config_DeviceUi

type Config_DeviceUi struct {
	DeviceUi *DeviceUIConfig `protobuf:"bytes,10,opt,name=device_ui,json=deviceUi,proto3,oneof"`
}

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"`
	// Deprecated in 2.7.4: Unused
	// How the GPS coordinates are formatted on the OLED screen.
	//
	// Deprecated: Marked as deprecated in meshtastic/config.proto.
	GpsFormat Config_DisplayConfig_DeprecatedGpsCoordinateFormat `` /* 156-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.
	//
	// Deprecated: Marked as deprecated in meshtastic/config.proto.
	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"`
	// Indicates how to rotate or invert the compass output to accurate display on the display.
	CompassOrientation Config_DisplayConfig_CompassOrientation `` /* 173-byte string literal not displayed */
	// If false (default), the device will display the time in 24-hour format on screen.
	// If true, the device will display the time in 12-hour format on screen.
	Use_12HClock bool `protobuf:"varint,12,opt,name=use_12h_clock,json=use12hClock,proto3" json:"use_12h_clock,omitempty"`
	// If false (default), the device will use short names for various display screens.
	// If true, node names will show in long format
	UseLongNodeName bool `protobuf:"varint,13,opt,name=use_long_node_name,json=useLongNodeName,proto3" json:"use_long_node_name,omitempty"`
	// If true, the device will display message bubbles on screen.
	EnableMessageBubbles bool `protobuf:"varint,14,opt,name=enable_message_bubbles,json=enableMessageBubbles,proto3" json:"enable_message_bubbles,omitempty"`
	// contains filtered or unexported fields
}

Display Config

func (*Config_DisplayConfig) GetAutoScreenCarouselSecs

func (x *Config_DisplayConfig) GetAutoScreenCarouselSecs() uint32

func (*Config_DisplayConfig) GetCompassNorthTop deprecated

func (x *Config_DisplayConfig) GetCompassNorthTop() bool

Deprecated: Marked as deprecated in meshtastic/config.proto.

func (*Config_DisplayConfig) GetCompassOrientation

func (*Config_DisplayConfig) GetDisplaymode

func (*Config_DisplayConfig) GetEnableMessageBubbles

func (x *Config_DisplayConfig) GetEnableMessageBubbles() bool

func (*Config_DisplayConfig) GetFlipScreen

func (x *Config_DisplayConfig) GetFlipScreen() bool

func (*Config_DisplayConfig) GetGpsFormat deprecated

Deprecated: Marked as deprecated in meshtastic/config.proto.

func (*Config_DisplayConfig) GetHeadingBold

func (x *Config_DisplayConfig) GetHeadingBold() bool

func (*Config_DisplayConfig) GetOled

func (*Config_DisplayConfig) GetScreenOnSecs

func (x *Config_DisplayConfig) GetScreenOnSecs() uint32

func (*Config_DisplayConfig) GetUnits

func (*Config_DisplayConfig) GetUseLongNodeName

func (x *Config_DisplayConfig) GetUseLongNodeName() bool

func (*Config_DisplayConfig) GetUse_12HClock

func (x *Config_DisplayConfig) GetUse_12HClock() bool

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 deprecated

func (x *Config_DisplayConfig) SetCompassNorthTop(v bool)

Deprecated: Marked as deprecated in meshtastic/config.proto.

func (*Config_DisplayConfig) SetCompassOrientation

func (*Config_DisplayConfig) SetDisplaymode

func (*Config_DisplayConfig) SetEnableMessageBubbles

func (x *Config_DisplayConfig) SetEnableMessageBubbles(v bool)

func (*Config_DisplayConfig) SetFlipScreen

func (x *Config_DisplayConfig) SetFlipScreen(v bool)

func (*Config_DisplayConfig) SetGpsFormat deprecated

Deprecated: Marked as deprecated in meshtastic/config.proto.

func (*Config_DisplayConfig) SetHeadingBold

func (x *Config_DisplayConfig) SetHeadingBold(v bool)

func (*Config_DisplayConfig) SetOled

func (*Config_DisplayConfig) SetScreenOnSecs

func (x *Config_DisplayConfig) SetScreenOnSecs(v uint32)

func (*Config_DisplayConfig) SetUnits

func (*Config_DisplayConfig) SetUseLongNodeName

func (x *Config_DisplayConfig) SetUseLongNodeName(v bool)

func (*Config_DisplayConfig) SetUse_12HClock

func (x *Config_DisplayConfig) SetUse_12HClock(v bool)

func (*Config_DisplayConfig) SetWakeOnTapOrMotion

func (x *Config_DisplayConfig) SetWakeOnTapOrMotion(v bool)

func (*Config_DisplayConfig) String

func (x *Config_DisplayConfig) String() string

type Config_DisplayConfig_CompassOrientation

type Config_DisplayConfig_CompassOrientation int32
const (
	// The compass and the display are in the same orientation.
	Config_DisplayConfig_DEGREES_0 Config_DisplayConfig_CompassOrientation = 0
	// Rotate the compass by 90 degrees.
	Config_DisplayConfig_DEGREES_90 Config_DisplayConfig_CompassOrientation = 1
	// Rotate the compass by 180 degrees.
	Config_DisplayConfig_DEGREES_180 Config_DisplayConfig_CompassOrientation = 2
	// Rotate the compass by 270 degrees.
	Config_DisplayConfig_DEGREES_270 Config_DisplayConfig_CompassOrientation = 3
	// Don't rotate the compass, but invert the result.
	Config_DisplayConfig_DEGREES_0_INVERTED Config_DisplayConfig_CompassOrientation = 4
	// Rotate the compass by 90 degrees and invert.
	Config_DisplayConfig_DEGREES_90_INVERTED Config_DisplayConfig_CompassOrientation = 5
	// Rotate the compass by 180 degrees and invert.
	Config_DisplayConfig_DEGREES_180_INVERTED Config_DisplayConfig_CompassOrientation = 6
	// Rotate the compass by 270 degrees and invert.
	Config_DisplayConfig_DEGREES_270_INVERTED Config_DisplayConfig_CompassOrientation = 7
)

func (Config_DisplayConfig_CompassOrientation) Descriptor

func (Config_DisplayConfig_CompassOrientation) Enum

func (Config_DisplayConfig_CompassOrientation) Number

func (Config_DisplayConfig_CompassOrientation) String

func (Config_DisplayConfig_CompassOrientation) Type

type Config_DisplayConfig_DeprecatedGpsCoordinateFormat

type Config_DisplayConfig_DeprecatedGpsCoordinateFormat int32

Deprecated in 2.7.4: Unused

const (
	Config_DisplayConfig_UNUSED Config_DisplayConfig_DeprecatedGpsCoordinateFormat = 0
)

func (Config_DisplayConfig_DeprecatedGpsCoordinateFormat) Descriptor

func (Config_DisplayConfig_DeprecatedGpsCoordinateFormat) Enum

func (Config_DisplayConfig_DeprecatedGpsCoordinateFormat) Number

func (Config_DisplayConfig_DeprecatedGpsCoordinateFormat) String

func (Config_DisplayConfig_DeprecatedGpsCoordinateFormat) Type

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) Enum

func (Config_DisplayConfig_DisplayMode) Number

func (Config_DisplayConfig_DisplayMode) String

func (Config_DisplayConfig_DisplayMode) Type

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) Enum

func (Config_DisplayConfig_DisplayUnits) Number

func (Config_DisplayConfig_DisplayUnits) String

func (Config_DisplayConfig_DisplayUnits) Type

type Config_DisplayConfig_OledType

type Config_DisplayConfig_OledType int32

Override OLED outo detect with this if it fails.

const (
	// Default / Autodetect
	Config_DisplayConfig_OLED_AUTO Config_DisplayConfig_OledType = 0
	// Default / Autodetect
	Config_DisplayConfig_OLED_SSD1306 Config_DisplayConfig_OledType = 1
	// Default / Autodetect
	Config_DisplayConfig_OLED_SH1106 Config_DisplayConfig_OledType = 2
	// Can not be auto detected but set by proto. Used for 128x64 screens
	Config_DisplayConfig_OLED_SH1107 Config_DisplayConfig_OledType = 3
	// Can not be auto detected but set by proto. Used for 128x128 screens
	Config_DisplayConfig_OLED_SH1107_128_128 Config_DisplayConfig_OledType = 4
)

func (Config_DisplayConfig_OledType) Descriptor

func (Config_DisplayConfig_OledType) Enum

func (Config_DisplayConfig_OledType) Number

func (Config_DisplayConfig_OledType) String

func (Config_DisplayConfig_OledType) Type

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
	// Deprecated in 2.7.4: Unused
	// How the GPS coordinates are formatted on the OLED screen.
	//
	// Deprecated: Marked as deprecated in meshtastic/config.proto.
	GpsFormat Config_DisplayConfig_DeprecatedGpsCoordinateFormat
	// 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.
	//
	// Deprecated: Marked as deprecated in meshtastic/config.proto.
	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
	// Indicates how to rotate or invert the compass output to accurate display on the display.
	CompassOrientation Config_DisplayConfig_CompassOrientation
	// If false (default), the device will display the time in 24-hour format on screen.
	// If true, the device will display the time in 12-hour format on screen.
	Use_12HClock bool
	// If false (default), the device will use short names for various display screens.
	// If true, node names will show in long format
	UseLongNodeName bool
	// If true, the device will display message bubbles on screen.
	EnableMessageBubbles bool
	// contains filtered or unexported fields
}

func (Config_DisplayConfig_builder) Build

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"`
	// If true, disable the build-in PA FAN using pin define in RF95_FAN_EN.
	PaFanDisabled bool `protobuf:"varint,15,opt,name=pa_fan_disabled,json=paFanDisabled,proto3" json:"pa_fan_disabled,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"`
	// Sets the ok_to_mqtt bit on outgoing packets
	ConfigOkToMqtt bool `protobuf:"varint,105,opt,name=config_ok_to_mqtt,json=configOkToMqtt,proto3" json:"config_ok_to_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) GetConfigOkToMqtt

func (x *Config_LoRaConfig) GetConfigOkToMqtt() bool

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 (*Config_LoRaConfig) GetOverrideDutyCycle

func (x *Config_LoRaConfig) GetOverrideDutyCycle() bool

func (*Config_LoRaConfig) GetOverrideFrequency

func (x *Config_LoRaConfig) GetOverrideFrequency() float32

func (*Config_LoRaConfig) GetPaFanDisabled

func (x *Config_LoRaConfig) GetPaFanDisabled() bool

func (*Config_LoRaConfig) GetRegion

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) SetConfigOkToMqtt

func (x *Config_LoRaConfig) SetConfigOkToMqtt(v bool)

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) SetPaFanDisabled

func (x *Config_LoRaConfig) SetPaFanDisabled(v bool)

func (*Config_LoRaConfig) SetRegion

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
	// Deprecated in 2.7: Unpopular slow preset.
	//
	// Deprecated: Marked as deprecated in meshtastic/config.proto.
	Config_LoRaConfig_LONG_SLOW Config_LoRaConfig_ModemPreset = 1
	// Very Long Range - Slow
	// Deprecated in 2.5: Works only with txco and is unusably slow
	//
	// Deprecated: Marked as deprecated in meshtastic/config.proto.
	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
	// Short Range - Turbo
	// This is the fastest preset and the only one with 500kHz bandwidth.
	// It is not legal to use in all regions due to this wider bandwidth.
	Config_LoRaConfig_SHORT_TURBO Config_LoRaConfig_ModemPreset = 8
	// Long Range - Turbo
	// This preset performs similarly to LongFast, but with 500Khz bandwidth.
	Config_LoRaConfig_LONG_TURBO Config_LoRaConfig_ModemPreset = 9
)

func (Config_LoRaConfig_ModemPreset) Descriptor

func (Config_LoRaConfig_ModemPreset) Enum

func (Config_LoRaConfig_ModemPreset) Number

func (Config_LoRaConfig_ModemPreset) String

func (Config_LoRaConfig_ModemPreset) Type

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
	// Philippines 433mhz
	Config_LoRaConfig_PH_433 Config_LoRaConfig_RegionCode = 19
	// Philippines 868mhz
	Config_LoRaConfig_PH_868 Config_LoRaConfig_RegionCode = 20
	// Philippines 915mhz
	Config_LoRaConfig_PH_915 Config_LoRaConfig_RegionCode = 21
	// Australia / New Zealand 433MHz
	Config_LoRaConfig_ANZ_433 Config_LoRaConfig_RegionCode = 22
	// Kazakhstan 433MHz
	Config_LoRaConfig_KZ_433 Config_LoRaConfig_RegionCode = 23
	// Kazakhstan 863MHz
	Config_LoRaConfig_KZ_863 Config_LoRaConfig_RegionCode = 24
	// Nepal 865MHz
	Config_LoRaConfig_NP_865 Config_LoRaConfig_RegionCode = 25
	// Brazil 902MHz
	Config_LoRaConfig_BR_902 Config_LoRaConfig_RegionCode = 26
)

func (Config_LoRaConfig_RegionCode) Descriptor

func (Config_LoRaConfig_RegionCode) Enum

func (Config_LoRaConfig_RegionCode) Number

func (Config_LoRaConfig_RegionCode) String

func (Config_LoRaConfig_RegionCode) Type

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
	// If true, disable the build-in PA FAN using pin define in RF95_FAN_EN.
	PaFanDisabled bool
	// 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
	// Sets the ok_to_mqtt bit on outgoing packets
	ConfigOkToMqtt bool
	// contains filtered or unexported fields
}

func (Config_LoRaConfig_builder) Build

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 `meshtastic.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"`
	// Flags for enabling/disabling network protocols
	EnabledProtocols uint32 `protobuf:"varint,10,opt,name=enabled_protocols,json=enabledProtocols,proto3" json:"enabled_protocols,omitempty"`
	// Enable/Disable ipv6 support
	Ipv6Enabled bool `protobuf:"varint,11,opt,name=ipv6_enabled,json=ipv6Enabled,proto3" json:"ipv6_enabled,omitempty"`
	// contains filtered or unexported fields
}

Network Config

func (*Config_NetworkConfig) ClearIpv4Config

func (x *Config_NetworkConfig) ClearIpv4Config()

func (*Config_NetworkConfig) GetAddressMode

func (*Config_NetworkConfig) GetEnabledProtocols

func (x *Config_NetworkConfig) GetEnabledProtocols() uint32

func (*Config_NetworkConfig) GetEthEnabled

func (x *Config_NetworkConfig) GetEthEnabled() bool

func (*Config_NetworkConfig) GetIpv4Config

func (*Config_NetworkConfig) GetIpv6Enabled

func (x *Config_NetworkConfig) GetIpv6Enabled() bool

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 (*Config_NetworkConfig) SetEnabledProtocols

func (x *Config_NetworkConfig) SetEnabledProtocols(v uint32)

func (*Config_NetworkConfig) SetEthEnabled

func (x *Config_NetworkConfig) SetEthEnabled(v bool)

func (*Config_NetworkConfig) SetIpv4Config

func (*Config_NetworkConfig) SetIpv6Enabled

func (x *Config_NetworkConfig) SetIpv6Enabled(v bool)

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) Enum

func (Config_NetworkConfig_AddressMode) Number

func (Config_NetworkConfig_AddressMode) String

func (Config_NetworkConfig_AddressMode) Type

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 (*Config_NetworkConfig_IpV4Config) GetGateway

func (x *Config_NetworkConfig_IpV4Config) GetGateway() uint32

func (*Config_NetworkConfig_IpV4Config) GetIp

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 (*Config_NetworkConfig_IpV4Config) Reset

func (*Config_NetworkConfig_IpV4Config) SetDns

func (*Config_NetworkConfig_IpV4Config) SetGateway

func (x *Config_NetworkConfig_IpV4Config) SetGateway(v uint32)

func (*Config_NetworkConfig_IpV4Config) SetIp

func (*Config_NetworkConfig_IpV4Config) SetSubnet

func (x *Config_NetworkConfig_IpV4Config) SetSubnet(v uint32)

func (*Config_NetworkConfig_IpV4Config) 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

type Config_NetworkConfig_ProtocolFlags

type Config_NetworkConfig_ProtocolFlags int32

Available flags auxiliary network protocols

const (
	// Do not broadcast packets over any network protocol
	Config_NetworkConfig_NO_BROADCAST Config_NetworkConfig_ProtocolFlags = 0
	// Enable broadcasting packets via UDP over the local network
	Config_NetworkConfig_UDP_BROADCAST Config_NetworkConfig_ProtocolFlags = 1
)

func (Config_NetworkConfig_ProtocolFlags) Descriptor

func (Config_NetworkConfig_ProtocolFlags) Enum

func (Config_NetworkConfig_ProtocolFlags) Number

func (Config_NetworkConfig_ProtocolFlags) String

func (Config_NetworkConfig_ProtocolFlags) Type

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 `meshtastic.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
	// Flags for enabling/disabling network protocols
	EnabledProtocols uint32
	// Enable/Disable ipv6 support
	Ipv6Enabled bool
	// contains filtered or unexported fields
}

func (Config_NetworkConfig_builder) Build

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 */
	// 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) 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 (*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) 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 (*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) Enum

func (Config_PositionConfig_GpsMode) Number

func (Config_PositionConfig_GpsMode) String

func (Config_PositionConfig_GpsMode) Type

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) Enum

func (Config_PositionConfig_PositionFlags) Number

func (Config_PositionConfig_PositionFlags) String

func (Config_PositionConfig_PositionFlags) Type

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
	// contains filtered or unexported fields
}

func (Config_PositionConfig_builder) Build

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 {

	// Description: Will sleep everything as much as possible, for the tracker and sensor role this will also include the lora radio.
	// Don't use this setting if you want to use your device with the phone apps or are using a device without a user button.
	// Technical Details: Works for ESP32 devices and NRF52 devices in the Sensor or Tracker roles
	IsPowerSaving bool `protobuf:"varint,1,opt,name=is_power_saving,json=isPowerSaving,proto3" json:"is_power_saving,omitempty"`
	// Description: 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.
	// https://meshtastic.org/docs/configuration/radio/power/#adc-multiplier-override
	// Should be set to floating point value between 2 and 6
	AdcMultiplierOverride float32 `` /* 128-byte string literal not displayed */
	// Description: The number of seconds for to wait before turning off BLE in No Bluetooth states
	// Technical Details: ESP32 Only 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"`
	// Description: In light sleep the CPU is suspended, LoRa radio is on, BLE is off an GPS is on
	// Technical Details: ESP32 Only 0 for default of 300
	LsSecs uint32 `protobuf:"varint,7,opt,name=ls_secs,json=lsSecs,proto3" json:"ls_secs,omitempty"`
	// Description: 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
	// Technical Details: ESP32 Only 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 */
	// If non-zero, we want powermon log outputs.  With the particular (bitfield) sources enabled.
	// Note: we picked an ID of 32 so that lower more efficient IDs can be used for more frequently used options.
	PowermonEnables uint64 `protobuf:"varint,32,opt,name=powermon_enables,json=powermonEnables,proto3" json:"powermon_enables,omitempty"`
	// 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) GetPowermonEnables

func (x *Config_PowerConfig) GetPowermonEnables() uint64

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) SetPowermonEnables

func (x *Config_PowerConfig) SetPowermonEnables(v uint64)

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 {

	// Description: Will sleep everything as much as possible, for the tracker and sensor role this will also include the lora radio.
	// Don't use this setting if you want to use your device with the phone apps or are using a device without a user button.
	// Technical Details: Works for ESP32 devices and NRF52 devices in the Sensor or Tracker roles
	IsPowerSaving bool
	// Description: 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.
	// https://meshtastic.org/docs/configuration/radio/power/#adc-multiplier-override
	// Should be set to floating point value between 2 and 6
	AdcMultiplierOverride float32
	// Description: The number of seconds for to wait before turning off BLE in No Bluetooth states
	// Technical Details: ESP32 Only 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
	// Description: In light sleep the CPU is suspended, LoRa radio is on, BLE is off an GPS is on
	// Technical Details: ESP32 Only 0 for default of 300
	LsSecs uint32
	// Description: 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
	// Technical Details: ESP32 Only 0 for default of 10 seconds
	MinWakeSecs uint32
	// I2C address of INA_2XX to use for reading device battery voltage
	DeviceBatteryInaAddress uint32
	// If non-zero, we want powermon log outputs.  With the particular (bitfield) sources enabled.
	// Note: we picked an ID of 32 so that lower more efficient IDs can be used for more frequently used options.
	PowermonEnables uint64
	// contains filtered or unexported fields
}

func (Config_PowerConfig_builder) Build

type Config_Security

type Config_Security struct {
	Security *Config_SecurityConfig `protobuf:"bytes,8,opt,name=security,proto3,oneof"`
}

type Config_SecurityConfig

type Config_SecurityConfig struct {

	// The public key of the user's device.
	// Sent out to other nodes on the mesh to allow them to compute a shared secret key.
	PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// The private key of the device.
	// Used to create a shared key with a remote device.
	PrivateKey []byte `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// The public key authorized to send admin messages to this node.
	AdminKey [][]byte `protobuf:"bytes,3,rep,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"`
	// If true, device is considered to be "managed" by a mesh administrator via admin messages
	// Device is managed by a mesh administrator.
	IsManaged bool `protobuf:"varint,4,opt,name=is_managed,json=isManaged,proto3" json:"is_managed,omitempty"`
	// Serial Console over the Stream API."
	SerialEnabled bool `protobuf:"varint,5,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).
	// Output live debug logging over serial or bluetooth is set to true.
	DebugLogApiEnabled bool `protobuf:"varint,6,opt,name=debug_log_api_enabled,json=debugLogApiEnabled,proto3" json:"debug_log_api_enabled,omitempty"`
	// Allow incoming device control over the insecure legacy admin channel.
	AdminChannelEnabled bool `protobuf:"varint,8,opt,name=admin_channel_enabled,json=adminChannelEnabled,proto3" json:"admin_channel_enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*Config_SecurityConfig) GetAdminChannelEnabled

func (x *Config_SecurityConfig) GetAdminChannelEnabled() bool

func (*Config_SecurityConfig) GetAdminKey

func (x *Config_SecurityConfig) GetAdminKey() [][]byte

func (*Config_SecurityConfig) GetDebugLogApiEnabled

func (x *Config_SecurityConfig) GetDebugLogApiEnabled() bool

func (*Config_SecurityConfig) GetIsManaged

func (x *Config_SecurityConfig) GetIsManaged() bool

func (*Config_SecurityConfig) GetPrivateKey

func (x *Config_SecurityConfig) GetPrivateKey() []byte

func (*Config_SecurityConfig) GetPublicKey

func (x *Config_SecurityConfig) GetPublicKey() []byte

func (*Config_SecurityConfig) GetSerialEnabled

func (x *Config_SecurityConfig) GetSerialEnabled() bool

func (*Config_SecurityConfig) ProtoMessage

func (*Config_SecurityConfig) ProtoMessage()

func (*Config_SecurityConfig) ProtoReflect

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

func (*Config_SecurityConfig) Reset

func (x *Config_SecurityConfig) Reset()

func (*Config_SecurityConfig) SetAdminChannelEnabled

func (x *Config_SecurityConfig) SetAdminChannelEnabled(v bool)

func (*Config_SecurityConfig) SetAdminKey

func (x *Config_SecurityConfig) SetAdminKey(v [][]byte)

func (*Config_SecurityConfig) SetDebugLogApiEnabled

func (x *Config_SecurityConfig) SetDebugLogApiEnabled(v bool)

func (*Config_SecurityConfig) SetIsManaged

func (x *Config_SecurityConfig) SetIsManaged(v bool)

func (*Config_SecurityConfig) SetPrivateKey

func (x *Config_SecurityConfig) SetPrivateKey(v []byte)

func (*Config_SecurityConfig) SetPublicKey

func (x *Config_SecurityConfig) SetPublicKey(v []byte)

func (*Config_SecurityConfig) SetSerialEnabled

func (x *Config_SecurityConfig) SetSerialEnabled(v bool)

func (*Config_SecurityConfig) String

func (x *Config_SecurityConfig) String() string

type Config_SecurityConfig_builder

type Config_SecurityConfig_builder struct {

	// The public key of the user's device.
	// Sent out to other nodes on the mesh to allow them to compute a shared secret key.
	PublicKey []byte
	// The private key of the device.
	// Used to create a shared key with a remote device.
	PrivateKey []byte
	// The public key authorized to send admin messages to this node.
	AdminKey [][]byte
	// If true, device is considered to be "managed" by a mesh administrator via admin messages
	// Device is managed by a mesh administrator.
	IsManaged bool
	// Serial Console over the Stream API."
	SerialEnabled bool
	// By default we turn off logging as soon as an API client connects (to keep shared serial link quiet).
	// Output live debug logging over serial or bluetooth is set to true.
	DebugLogApiEnabled bool
	// Allow incoming device control over the insecure legacy admin channel.
	AdminChannelEnabled bool
	// contains filtered or unexported fields
}

func (Config_SecurityConfig_builder) Build

type Config_Sessionkey

type Config_Sessionkey struct {
	Sessionkey *Config_SessionkeyConfig `protobuf:"bytes,9,opt,name=sessionkey,proto3,oneof"`
}

type Config_SessionkeyConfig

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

Blank config request, strictly for getting the session key

func (*Config_SessionkeyConfig) ProtoMessage

func (*Config_SessionkeyConfig) ProtoMessage()

func (*Config_SessionkeyConfig) ProtoReflect

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

func (*Config_SessionkeyConfig) Reset

func (x *Config_SessionkeyConfig) Reset()

func (*Config_SessionkeyConfig) String

func (x *Config_SessionkeyConfig) String() string

type Config_SessionkeyConfig_builder

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

func (Config_SessionkeyConfig_builder) Build

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
	Security   *Config_SecurityConfig
	Sessionkey *Config_SessionkeyConfig
	DeviceUi   *DeviceUIConfig
	// 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 = 233
)

func (Constants) Descriptor

func (Constants) Descriptor() protoreflect.EnumDescriptor

func (Constants) Enum

func (x Constants) Enum() *Constants

func (Constants) Number

func (x Constants) Number() protoreflect.EnumNumber

func (Constants) String

func (x Constants) String() string

func (Constants) Type

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) GetCallsign

func (x *Contact) GetCallsign() string

func (*Contact) GetDeviceCallsign

func (x *Contact) GetDeviceCallsign() string

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect

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

func (*Contact) Reset

func (x *Contact) Reset()

func (*Contact) SetCallsign

func (x *Contact) SetCallsign(v string)

func (*Contact) SetDeviceCallsign

func (x *Contact) SetDeviceCallsign(v string)

func (*Contact) String

func (x *Contact) String() string

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
	// Corruption was detected on the flash filesystem but we were able to repair things.
	// If you see this failure in the field please post in the forum because we are interested in seeing if this is occurring in the field.
	CriticalErrorCode_FLASH_CORRUPTION_RECOVERABLE CriticalErrorCode = 12
	// Corruption was detected on the flash filesystem but we were unable to repair things.
	// NOTE: Your node will probably need to be reconfigured the next time it reboots (it will lose the region code etc...)
	// If you see this failure in the field please post in the forum because we are interested in seeing if this is occurring in the field.
	CriticalErrorCode_FLASH_CORRUPTION_UNRECOVERABLE CriticalErrorCode = 13
)

func (CriticalErrorCode) Descriptor

func (CriticalErrorCode) Enum

func (CriticalErrorCode) Number

func (CriticalErrorCode) String

func (x CriticalErrorCode) String() string

func (CriticalErrorCode) Type

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"`
	// Bitfield for extra flags. First use is to indicate that user approves the packet being uploaded to MQTT.
	Bitfield *uint32 `protobuf:"varint,9,opt,name=bitfield,proto3,oneof" json:"bitfield,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) ClearBitfield

func (x *Data) ClearBitfield()

func (*Data) GetBitfield

func (x *Data) GetBitfield() uint32

func (*Data) GetDest

func (x *Data) GetDest() uint32

func (*Data) GetEmoji

func (x *Data) GetEmoji() uint32

func (*Data) GetPayload

func (x *Data) GetPayload() []byte

func (*Data) GetPortnum

func (x *Data) GetPortnum() PortNum

func (*Data) GetReplyId

func (x *Data) GetReplyId() uint32

func (*Data) GetRequestId

func (x *Data) GetRequestId() uint32

func (*Data) GetSource

func (x *Data) GetSource() uint32

func (*Data) GetWantResponse

func (x *Data) GetWantResponse() bool

func (*Data) HasBitfield

func (x *Data) HasBitfield() bool

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) SetBitfield

func (x *Data) SetBitfield(v uint32)

func (*Data) SetDest

func (x *Data) SetDest(v uint32)

func (*Data) SetEmoji

func (x *Data) SetEmoji(v uint32)

func (*Data) SetPayload

func (x *Data) SetPayload(v []byte)

func (*Data) SetPortnum

func (x *Data) SetPortnum(v PortNum)

func (*Data) SetReplyId

func (x *Data) SetReplyId(v uint32)

func (*Data) SetRequestId

func (x *Data) SetRequestId(v uint32)

func (*Data) SetSource

func (x *Data) SetSource(v uint32)

func (*Data) SetWantResponse

func (x *Data) SetWantResponse(v bool)

func (*Data) String

func (x *Data) String() string

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
	// Bitfield for extra flags. First use is to indicate that user approves the packet being uploaded to MQTT.
	Bitfield *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 (*DeviceConnectionStatus) GetEthernet

func (*DeviceConnectionStatus) GetSerial

func (*DeviceConnectionStatus) GetWifi

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 (*DeviceConnectionStatus) SetEthernet

func (*DeviceConnectionStatus) SetSerial

func (*DeviceConnectionStatus) SetWifi

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

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"`
	// Has PKC capabilities
	HasPKC bool `protobuf:"varint,11,opt,name=hasPKC,proto3" json:"hasPKC,omitempty"`
	// Bit field of boolean for excluded modules
	// (bitwise OR of ExcludedModules)
	ExcludedModules uint32 `protobuf:"varint,12,opt,name=excluded_modules,json=excludedModules,proto3" json:"excluded_modules,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) GetExcludedModules

func (x *DeviceMetadata) GetExcludedModules() 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) GetHasPKC

func (x *DeviceMetadata) GetHasPKC() 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 (*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) SetExcludedModules

func (x *DeviceMetadata) SetExcludedModules(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) SetHasPKC

func (x *DeviceMetadata) SetHasPKC(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 (*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
	// Has PKC capabilities
	HasPKC bool
	// Bit field of boolean for excluded modules
	// (bitwise OR of ExcludedModules)
	ExcludedModules uint32
	// contains filtered or unexported fields
}

func (DeviceMetadata_builder) Build

type DeviceMetrics

type DeviceMetrics struct {

	// 0-100 (>100 means powered)
	BatteryLevel *uint32 `protobuf:"varint,1,opt,name=battery_level,json=batteryLevel,proto3,oneof" json:"battery_level,omitempty"`
	// Voltage measured
	Voltage *float32 `protobuf:"fixed32,2,opt,name=voltage,proto3,oneof" 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,oneof" 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,oneof" json:"air_util_tx,omitempty"`
	// How long the device has been running since the last reboot (in seconds)
	UptimeSeconds *uint32 `protobuf:"varint,5,opt,name=uptime_seconds,json=uptimeSeconds,proto3,oneof" json:"uptime_seconds,omitempty"`
	// contains filtered or unexported fields
}

Key native device metrics such as battery level

func (*DeviceMetrics) ClearAirUtilTx

func (x *DeviceMetrics) ClearAirUtilTx()

func (*DeviceMetrics) ClearBatteryLevel

func (x *DeviceMetrics) ClearBatteryLevel()

func (*DeviceMetrics) ClearChannelUtilization

func (x *DeviceMetrics) ClearChannelUtilization()

func (*DeviceMetrics) ClearUptimeSeconds

func (x *DeviceMetrics) ClearUptimeSeconds()

func (*DeviceMetrics) ClearVoltage

func (x *DeviceMetrics) ClearVoltage()

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) GetUptimeSeconds

func (x *DeviceMetrics) GetUptimeSeconds() uint32

func (*DeviceMetrics) GetVoltage

func (x *DeviceMetrics) GetVoltage() float32

func (*DeviceMetrics) HasAirUtilTx

func (x *DeviceMetrics) HasAirUtilTx() bool

func (*DeviceMetrics) HasBatteryLevel

func (x *DeviceMetrics) HasBatteryLevel() bool

func (*DeviceMetrics) HasChannelUtilization

func (x *DeviceMetrics) HasChannelUtilization() bool

func (*DeviceMetrics) HasUptimeSeconds

func (x *DeviceMetrics) HasUptimeSeconds() bool

func (*DeviceMetrics) HasVoltage

func (x *DeviceMetrics) HasVoltage() bool

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) SetUptimeSeconds

func (x *DeviceMetrics) SetUptimeSeconds(v uint32)

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
	// How long the device has been running since the last reboot (in seconds)
	UptimeSeconds *uint32
	// contains filtered or unexported fields
}

func (DeviceMetrics_builder) Build

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"`
	// Fixed position data
	FixedPosition *Position `protobuf:"bytes,6,opt,name=fixed_position,json=fixedPosition,proto3,oneof" json:"fixed_position,omitempty"`
	// Ringtone for ExternalNotification
	Ringtone *string `protobuf:"bytes,7,opt,name=ringtone,proto3,oneof" json:"ringtone,omitempty"`
	// Predefined messages for CannedMessage
	CannedMessages *string `protobuf:"bytes,8,opt,name=canned_messages,json=cannedMessages,proto3,oneof" json:"canned_messages,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) ClearCannedMessages

func (x *DeviceProfile) ClearCannedMessages()

func (*DeviceProfile) ClearChannelUrl

func (x *DeviceProfile) ClearChannelUrl()

func (*DeviceProfile) ClearConfig

func (x *DeviceProfile) ClearConfig()

func (*DeviceProfile) ClearFixedPosition

func (x *DeviceProfile) ClearFixedPosition()

func (*DeviceProfile) ClearLongName

func (x *DeviceProfile) ClearLongName()

func (*DeviceProfile) ClearModuleConfig

func (x *DeviceProfile) ClearModuleConfig()

func (*DeviceProfile) ClearRingtone

func (x *DeviceProfile) ClearRingtone()

func (*DeviceProfile) ClearShortName

func (x *DeviceProfile) ClearShortName()

func (*DeviceProfile) GetCannedMessages

func (x *DeviceProfile) GetCannedMessages() string

func (*DeviceProfile) GetChannelUrl

func (x *DeviceProfile) GetChannelUrl() string

func (*DeviceProfile) GetConfig

func (x *DeviceProfile) GetConfig() *LocalConfig

func (*DeviceProfile) GetFixedPosition

func (x *DeviceProfile) GetFixedPosition() *Position

func (*DeviceProfile) GetLongName

func (x *DeviceProfile) GetLongName() string

func (*DeviceProfile) GetModuleConfig

func (x *DeviceProfile) GetModuleConfig() *LocalModuleConfig

func (*DeviceProfile) GetRingtone

func (x *DeviceProfile) GetRingtone() string

func (*DeviceProfile) GetShortName

func (x *DeviceProfile) GetShortName() string

func (*DeviceProfile) HasCannedMessages

func (x *DeviceProfile) HasCannedMessages() bool

func (*DeviceProfile) HasChannelUrl

func (x *DeviceProfile) HasChannelUrl() bool

func (*DeviceProfile) HasConfig

func (x *DeviceProfile) HasConfig() bool

func (*DeviceProfile) HasFixedPosition

func (x *DeviceProfile) HasFixedPosition() bool

func (*DeviceProfile) HasLongName

func (x *DeviceProfile) HasLongName() bool

func (*DeviceProfile) HasModuleConfig

func (x *DeviceProfile) HasModuleConfig() bool

func (*DeviceProfile) HasRingtone

func (x *DeviceProfile) HasRingtone() 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) SetCannedMessages

func (x *DeviceProfile) SetCannedMessages(v string)

func (*DeviceProfile) SetChannelUrl

func (x *DeviceProfile) SetChannelUrl(v string)

func (*DeviceProfile) SetConfig

func (x *DeviceProfile) SetConfig(v *LocalConfig)

func (*DeviceProfile) SetFixedPosition

func (x *DeviceProfile) SetFixedPosition(v *Position)

func (*DeviceProfile) SetLongName

func (x *DeviceProfile) SetLongName(v string)

func (*DeviceProfile) SetModuleConfig

func (x *DeviceProfile) SetModuleConfig(v *LocalModuleConfig)

func (*DeviceProfile) SetRingtone

func (x *DeviceProfile) SetRingtone(v string)

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
	// Fixed position data
	FixedPosition *Position
	// Ringtone for ExternalNotification
	Ringtone *string
	// Predefined messages for CannedMessage
	CannedMessages *string
	// contains filtered or unexported fields
}

func (DeviceProfile_builder) Build

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.
	// Deprecated in 2.3.1
	//
	// Deprecated: Marked as deprecated in meshtastic/deviceonly.proto.
	NoSave bool `protobuf:"varint,9,opt,name=no_save,json=noSave,proto3" json:"no_save,omitempty"`
	// Previously used to manage GPS factory resets.
	// Deprecated in 2.5.23
	//
	// Deprecated: Marked as deprecated in meshtastic/deviceonly.proto.
	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 */
	// 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 deprecated

func (x *DeviceState) GetDidGpsReset() bool

Deprecated: Marked as deprecated in meshtastic/deviceonly.proto.

func (*DeviceState) GetMyNode

func (x *DeviceState) GetMyNode() *MyNodeInfo

func (*DeviceState) GetNoSave deprecated

func (x *DeviceState) GetNoSave() bool

Deprecated: Marked as deprecated in meshtastic/deviceonly.proto.

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 deprecated

func (x *DeviceState) SetDidGpsReset(v bool)

Deprecated: Marked as deprecated in meshtastic/deviceonly.proto.

func (*DeviceState) SetMyNode

func (x *DeviceState) SetMyNode(v *MyNodeInfo)

func (*DeviceState) SetNoSave deprecated

func (x *DeviceState) SetNoSave(v bool)

Deprecated: Marked as deprecated in meshtastic/deviceonly.proto.

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.
	// Deprecated in 2.3.1
	//
	// Deprecated: Marked as deprecated in meshtastic/deviceonly.proto.
	NoSave bool
	// Previously used to manage GPS factory resets.
	// Deprecated in 2.5.23
	//
	// Deprecated: Marked as deprecated in meshtastic/deviceonly.proto.
	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
	// contains filtered or unexported fields
}

func (DeviceState_builder) Build

func (b0 DeviceState_builder) Build() *DeviceState

type DeviceUIConfig

type DeviceUIConfig struct {

	// A version integer used to invalidate saved files when we make incompatible changes.
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// TFT display brightness 1..255
	ScreenBrightness uint32 `protobuf:"varint,2,opt,name=screen_brightness,json=screenBrightness,proto3" json:"screen_brightness,omitempty"`
	// Screen timeout 0..900
	ScreenTimeout uint32 `protobuf:"varint,3,opt,name=screen_timeout,json=screenTimeout,proto3" json:"screen_timeout,omitempty"`
	// Screen/Settings lock enabled
	ScreenLock   bool   `protobuf:"varint,4,opt,name=screen_lock,json=screenLock,proto3" json:"screen_lock,omitempty"`
	SettingsLock bool   `protobuf:"varint,5,opt,name=settings_lock,json=settingsLock,proto3" json:"settings_lock,omitempty"`
	PinCode      uint32 `protobuf:"varint,6,opt,name=pin_code,json=pinCode,proto3" json:"pin_code,omitempty"`
	// Color theme
	Theme Theme `protobuf:"varint,7,opt,name=theme,proto3,enum=meshtastic.Theme" json:"theme,omitempty"`
	// Audible message, banner and ring tone
	AlertEnabled  bool   `protobuf:"varint,8,opt,name=alert_enabled,json=alertEnabled,proto3" json:"alert_enabled,omitempty"`
	BannerEnabled bool   `protobuf:"varint,9,opt,name=banner_enabled,json=bannerEnabled,proto3" json:"banner_enabled,omitempty"`
	RingToneId    uint32 `protobuf:"varint,10,opt,name=ring_tone_id,json=ringToneId,proto3" json:"ring_tone_id,omitempty"`
	// Localization
	Language Language `protobuf:"varint,11,opt,name=language,proto3,enum=meshtastic.Language" json:"language,omitempty"`
	// Node list filter
	NodeFilter *NodeFilter `protobuf:"bytes,12,opt,name=node_filter,json=nodeFilter,proto3" json:"node_filter,omitempty"`
	// Node list highlightening
	NodeHighlight *NodeHighlight `protobuf:"bytes,13,opt,name=node_highlight,json=nodeHighlight,proto3" json:"node_highlight,omitempty"`
	// 8 integers for screen calibration data
	CalibrationData []byte `protobuf:"bytes,14,opt,name=calibration_data,json=calibrationData,proto3" json:"calibration_data,omitempty"`
	// Map related data
	MapData *Map `protobuf:"bytes,15,opt,name=map_data,json=mapData,proto3" json:"map_data,omitempty"`
	// Compass mode
	CompassMode CompassMode `protobuf:"varint,16,opt,name=compass_mode,json=compassMode,proto3,enum=meshtastic.CompassMode" json:"compass_mode,omitempty"`
	// RGB color for BaseUI
	// 0xRRGGBB format, e.g. 0xFF0000 for red
	ScreenRgbColor uint32 `protobuf:"varint,17,opt,name=screen_rgb_color,json=screenRgbColor,proto3" json:"screen_rgb_color,omitempty"`
	// Clockface analog style
	// true for analog clockface, false for digital clockface
	IsClockfaceAnalog bool `protobuf:"varint,18,opt,name=is_clockface_analog,json=isClockfaceAnalog,proto3" json:"is_clockface_analog,omitempty"`
	// How the GPS coordinates are formatted on the OLED screen.
	GpsFormat DeviceUIConfig_GpsCoordinateFormat `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeviceUIConfig) ClearMapData

func (x *DeviceUIConfig) ClearMapData()

func (*DeviceUIConfig) ClearNodeFilter

func (x *DeviceUIConfig) ClearNodeFilter()

func (*DeviceUIConfig) ClearNodeHighlight

func (x *DeviceUIConfig) ClearNodeHighlight()

func (*DeviceUIConfig) GetAlertEnabled

func (x *DeviceUIConfig) GetAlertEnabled() bool

func (*DeviceUIConfig) GetBannerEnabled

func (x *DeviceUIConfig) GetBannerEnabled() bool

func (*DeviceUIConfig) GetCalibrationData

func (x *DeviceUIConfig) GetCalibrationData() []byte

func (*DeviceUIConfig) GetCompassMode

func (x *DeviceUIConfig) GetCompassMode() CompassMode

func (*DeviceUIConfig) GetGpsFormat

func (*DeviceUIConfig) GetIsClockfaceAnalog

func (x *DeviceUIConfig) GetIsClockfaceAnalog() bool

func (*DeviceUIConfig) GetLanguage

func (x *DeviceUIConfig) GetLanguage() Language

func (*DeviceUIConfig) GetMapData

func (x *DeviceUIConfig) GetMapData() *Map

func (*DeviceUIConfig) GetNodeFilter

func (x *DeviceUIConfig) GetNodeFilter() *NodeFilter

func (*DeviceUIConfig) GetNodeHighlight

func (x *DeviceUIConfig) GetNodeHighlight() *NodeHighlight

func (*DeviceUIConfig) GetPinCode

func (x *DeviceUIConfig) GetPinCode() uint32

func (*DeviceUIConfig) GetRingToneId

func (x *DeviceUIConfig) GetRingToneId() uint32

func (*DeviceUIConfig) GetScreenBrightness

func (x *DeviceUIConfig) GetScreenBrightness() uint32

func (*DeviceUIConfig) GetScreenLock

func (x *DeviceUIConfig) GetScreenLock() bool

func (*DeviceUIConfig) GetScreenRgbColor

func (x *DeviceUIConfig) GetScreenRgbColor() uint32

func (*DeviceUIConfig) GetScreenTimeout

func (x *DeviceUIConfig) GetScreenTimeout() uint32

func (*DeviceUIConfig) GetSettingsLock

func (x *DeviceUIConfig) GetSettingsLock() bool

func (*DeviceUIConfig) GetTheme

func (x *DeviceUIConfig) GetTheme() Theme

func (*DeviceUIConfig) GetVersion

func (x *DeviceUIConfig) GetVersion() uint32

func (*DeviceUIConfig) HasMapData

func (x *DeviceUIConfig) HasMapData() bool

func (*DeviceUIConfig) HasNodeFilter

func (x *DeviceUIConfig) HasNodeFilter() bool

func (*DeviceUIConfig) HasNodeHighlight

func (x *DeviceUIConfig) HasNodeHighlight() bool

func (*DeviceUIConfig) ProtoMessage

func (*DeviceUIConfig) ProtoMessage()

func (*DeviceUIConfig) ProtoReflect

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

func (*DeviceUIConfig) Reset

func (x *DeviceUIConfig) Reset()

func (*DeviceUIConfig) SetAlertEnabled

func (x *DeviceUIConfig) SetAlertEnabled(v bool)

func (*DeviceUIConfig) SetBannerEnabled

func (x *DeviceUIConfig) SetBannerEnabled(v bool)

func (*DeviceUIConfig) SetCalibrationData

func (x *DeviceUIConfig) SetCalibrationData(v []byte)

func (*DeviceUIConfig) SetCompassMode

func (x *DeviceUIConfig) SetCompassMode(v CompassMode)

func (*DeviceUIConfig) SetGpsFormat

func (*DeviceUIConfig) SetIsClockfaceAnalog

func (x *DeviceUIConfig) SetIsClockfaceAnalog(v bool)

func (*DeviceUIConfig) SetLanguage

func (x *DeviceUIConfig) SetLanguage(v Language)

func (*DeviceUIConfig) SetMapData

func (x *DeviceUIConfig) SetMapData(v *Map)

func (*DeviceUIConfig) SetNodeFilter

func (x *DeviceUIConfig) SetNodeFilter(v *NodeFilter)

func (*DeviceUIConfig) SetNodeHighlight

func (x *DeviceUIConfig) SetNodeHighlight(v *NodeHighlight)

func (*DeviceUIConfig) SetPinCode

func (x *DeviceUIConfig) SetPinCode(v uint32)

func (*DeviceUIConfig) SetRingToneId

func (x *DeviceUIConfig) SetRingToneId(v uint32)

func (*DeviceUIConfig) SetScreenBrightness

func (x *DeviceUIConfig) SetScreenBrightness(v uint32)

func (*DeviceUIConfig) SetScreenLock

func (x *DeviceUIConfig) SetScreenLock(v bool)

func (*DeviceUIConfig) SetScreenRgbColor

func (x *DeviceUIConfig) SetScreenRgbColor(v uint32)

func (*DeviceUIConfig) SetScreenTimeout

func (x *DeviceUIConfig) SetScreenTimeout(v uint32)

func (*DeviceUIConfig) SetSettingsLock

func (x *DeviceUIConfig) SetSettingsLock(v bool)

func (*DeviceUIConfig) SetTheme

func (x *DeviceUIConfig) SetTheme(v Theme)

func (*DeviceUIConfig) SetVersion

func (x *DeviceUIConfig) SetVersion(v uint32)

func (*DeviceUIConfig) String

func (x *DeviceUIConfig) String() string

type DeviceUIConfig_GpsCoordinateFormat

type DeviceUIConfig_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
	DeviceUIConfig_DEC DeviceUIConfig_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
	DeviceUIConfig_DMS DeviceUIConfig_GpsCoordinateFormat = 1
	// Universal Transverse Mercator format:
	// ZZB EEEEEE NNNNNNN, where Z is zone, B is band, E is easting, N is northing
	DeviceUIConfig_UTM DeviceUIConfig_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
	DeviceUIConfig_MGRS DeviceUIConfig_GpsCoordinateFormat = 3
	// Open Location Code (aka Plus Codes).
	DeviceUIConfig_OLC DeviceUIConfig_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
	DeviceUIConfig_OSGR DeviceUIConfig_GpsCoordinateFormat = 5
	// Maidenhead Locator System
	// Described here: https://en.wikipedia.org/wiki/Maidenhead_Locator_System
	DeviceUIConfig_MLS DeviceUIConfig_GpsCoordinateFormat = 6
)

func (DeviceUIConfig_GpsCoordinateFormat) Descriptor

func (DeviceUIConfig_GpsCoordinateFormat) Enum

func (DeviceUIConfig_GpsCoordinateFormat) Number

func (DeviceUIConfig_GpsCoordinateFormat) String

func (DeviceUIConfig_GpsCoordinateFormat) Type

type DeviceUIConfig_builder

type DeviceUIConfig_builder struct {

	// A version integer used to invalidate saved files when we make incompatible changes.
	Version uint32
	// TFT display brightness 1..255
	ScreenBrightness uint32
	// Screen timeout 0..900
	ScreenTimeout uint32
	// Screen/Settings lock enabled
	ScreenLock   bool
	SettingsLock bool
	PinCode      uint32
	// Color theme
	Theme Theme
	// Audible message, banner and ring tone
	AlertEnabled  bool
	BannerEnabled bool
	RingToneId    uint32
	// Localization
	Language Language
	// Node list filter
	NodeFilter *NodeFilter
	// Node list highlightening
	NodeHighlight *NodeHighlight
	// 8 integers for screen calibration data
	CalibrationData []byte
	// Map related data
	MapData *Map
	// Compass mode
	CompassMode CompassMode
	// RGB color for BaseUI
	// 0xRRGGBB format, e.g. 0xFF0000 for red
	ScreenRgbColor uint32
	// Clockface analog style
	// true for analog clockface, false for digital clockface
	IsClockfaceAnalog bool
	// How the GPS coordinates are formatted on the OLED screen.
	GpsFormat DeviceUIConfig_GpsCoordinateFormat
	// contains filtered or unexported fields
}

func (DeviceUIConfig_builder) Build

type DuplicatedPublicKey

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

func (*DuplicatedPublicKey) ProtoMessage

func (*DuplicatedPublicKey) ProtoMessage()

func (*DuplicatedPublicKey) ProtoReflect

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

func (*DuplicatedPublicKey) Reset

func (x *DuplicatedPublicKey) Reset()

func (*DuplicatedPublicKey) String

func (x *DuplicatedPublicKey) String() string

type DuplicatedPublicKey_builder

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

func (DuplicatedPublicKey_builder) Build

type EnvironmentMetrics

type EnvironmentMetrics struct {

	// Temperature measured
	Temperature *float32 `protobuf:"fixed32,1,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"`
	// Relative humidity percent measured
	RelativeHumidity *float32 `protobuf:"fixed32,2,opt,name=relative_humidity,json=relativeHumidity,proto3,oneof" json:"relative_humidity,omitempty"`
	// Barometric pressure in hPA measured
	BarometricPressure *float32 `protobuf:"fixed32,3,opt,name=barometric_pressure,json=barometricPressure,proto3,oneof" json:"barometric_pressure,omitempty"`
	// Gas resistance in MOhm measured
	GasResistance *float32 `protobuf:"fixed32,4,opt,name=gas_resistance,json=gasResistance,proto3,oneof" 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,oneof" 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,oneof" json:"current,omitempty"`
	// relative scale IAQ value as measured by Bosch BME680 . value 0-500.
	// Belongs to Air Quality but is not particle but VOC measurement. Other VOC values can also be put in here.
	Iaq *uint32 `protobuf:"varint,7,opt,name=iaq,proto3,oneof" json:"iaq,omitempty"`
	// RCWL9620 Doppler Radar Distance Sensor, used for water level detection. Float value in mm.
	Distance *float32 `protobuf:"fixed32,8,opt,name=distance,proto3,oneof" json:"distance,omitempty"`
	// VEML7700 high accuracy ambient light(Lux) digital 16-bit resolution sensor.
	Lux *float32 `protobuf:"fixed32,9,opt,name=lux,proto3,oneof" json:"lux,omitempty"`
	// VEML7700 high accuracy white light(irradiance) not calibrated digital 16-bit resolution sensor.
	WhiteLux *float32 `protobuf:"fixed32,10,opt,name=white_lux,json=whiteLux,proto3,oneof" json:"white_lux,omitempty"`
	// Infrared lux
	IrLux *float32 `protobuf:"fixed32,11,opt,name=ir_lux,json=irLux,proto3,oneof" json:"ir_lux,omitempty"`
	// Ultraviolet lux
	UvLux *float32 `protobuf:"fixed32,12,opt,name=uv_lux,json=uvLux,proto3,oneof" json:"uv_lux,omitempty"`
	// Wind direction in degrees
	// 0 degrees = North, 90 = East, etc...
	WindDirection *uint32 `protobuf:"varint,13,opt,name=wind_direction,json=windDirection,proto3,oneof" json:"wind_direction,omitempty"`
	// Wind speed in m/s
	WindSpeed *float32 `protobuf:"fixed32,14,opt,name=wind_speed,json=windSpeed,proto3,oneof" json:"wind_speed,omitempty"`
	// Weight in KG
	Weight *float32 `protobuf:"fixed32,15,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
	// Wind gust in m/s
	WindGust *float32 `protobuf:"fixed32,16,opt,name=wind_gust,json=windGust,proto3,oneof" json:"wind_gust,omitempty"`
	// Wind lull in m/s
	WindLull *float32 `protobuf:"fixed32,17,opt,name=wind_lull,json=windLull,proto3,oneof" json:"wind_lull,omitempty"`
	// Radiation in µR/h
	Radiation *float32 `protobuf:"fixed32,18,opt,name=radiation,proto3,oneof" json:"radiation,omitempty"`
	// Rainfall in the last hour in mm
	Rainfall_1H *float32 `protobuf:"fixed32,19,opt,name=rainfall_1h,json=rainfall1h,proto3,oneof" json:"rainfall_1h,omitempty"`
	// Rainfall in the last 24 hours in mm
	Rainfall_24H *float32 `protobuf:"fixed32,20,opt,name=rainfall_24h,json=rainfall24h,proto3,oneof" json:"rainfall_24h,omitempty"`
	// Soil moisture measured (% 1-100)
	SoilMoisture *uint32 `protobuf:"varint,21,opt,name=soil_moisture,json=soilMoisture,proto3,oneof" json:"soil_moisture,omitempty"`
	// Soil temperature measured (*C)
	SoilTemperature *float32 `protobuf:"fixed32,22,opt,name=soil_temperature,json=soilTemperature,proto3,oneof" json:"soil_temperature,omitempty"`
	// contains filtered or unexported fields
}

Weather station or other environmental metrics

func (*EnvironmentMetrics) ClearBarometricPressure

func (x *EnvironmentMetrics) ClearBarometricPressure()

func (*EnvironmentMetrics) ClearCurrent

func (x *EnvironmentMetrics) ClearCurrent()

func (*EnvironmentMetrics) ClearDistance

func (x *EnvironmentMetrics) ClearDistance()

func (*EnvironmentMetrics) ClearGasResistance

func (x *EnvironmentMetrics) ClearGasResistance()

func (*EnvironmentMetrics) ClearIaq

func (x *EnvironmentMetrics) ClearIaq()

func (*EnvironmentMetrics) ClearIrLux

func (x *EnvironmentMetrics) ClearIrLux()

func (*EnvironmentMetrics) ClearLux

func (x *EnvironmentMetrics) ClearLux()

func (*EnvironmentMetrics) ClearRadiation

func (x *EnvironmentMetrics) ClearRadiation()

func (*EnvironmentMetrics) ClearRainfall_1H

func (x *EnvironmentMetrics) ClearRainfall_1H()

func (*EnvironmentMetrics) ClearRainfall_24H

func (x *EnvironmentMetrics) ClearRainfall_24H()

func (*EnvironmentMetrics) ClearRelativeHumidity

func (x *EnvironmentMetrics) ClearRelativeHumidity()

func (*EnvironmentMetrics) ClearSoilMoisture

func (x *EnvironmentMetrics) ClearSoilMoisture()

func (*EnvironmentMetrics) ClearSoilTemperature

func (x *EnvironmentMetrics) ClearSoilTemperature()

func (*EnvironmentMetrics) ClearTemperature

func (x *EnvironmentMetrics) ClearTemperature()

func (*EnvironmentMetrics) ClearUvLux

func (x *EnvironmentMetrics) ClearUvLux()

func (*EnvironmentMetrics) ClearVoltage

func (x *EnvironmentMetrics) ClearVoltage()

func (*EnvironmentMetrics) ClearWeight

func (x *EnvironmentMetrics) ClearWeight()

func (*EnvironmentMetrics) ClearWhiteLux

func (x *EnvironmentMetrics) ClearWhiteLux()

func (*EnvironmentMetrics) ClearWindDirection

func (x *EnvironmentMetrics) ClearWindDirection()

func (*EnvironmentMetrics) ClearWindGust

func (x *EnvironmentMetrics) ClearWindGust()

func (*EnvironmentMetrics) ClearWindLull

func (x *EnvironmentMetrics) ClearWindLull()

func (*EnvironmentMetrics) ClearWindSpeed

func (x *EnvironmentMetrics) ClearWindSpeed()

func (*EnvironmentMetrics) GetBarometricPressure

func (x *EnvironmentMetrics) GetBarometricPressure() float32

func (*EnvironmentMetrics) GetCurrent

func (x *EnvironmentMetrics) GetCurrent() float32

func (*EnvironmentMetrics) GetDistance

func (x *EnvironmentMetrics) GetDistance() float32

func (*EnvironmentMetrics) GetGasResistance

func (x *EnvironmentMetrics) GetGasResistance() float32

func (*EnvironmentMetrics) GetIaq

func (x *EnvironmentMetrics) GetIaq() uint32

func (*EnvironmentMetrics) GetIrLux

func (x *EnvironmentMetrics) GetIrLux() float32

func (*EnvironmentMetrics) GetLux

func (x *EnvironmentMetrics) GetLux() float32

func (*EnvironmentMetrics) GetRadiation

func (x *EnvironmentMetrics) GetRadiation() float32

func (*EnvironmentMetrics) GetRainfall_1H

func (x *EnvironmentMetrics) GetRainfall_1H() float32

func (*EnvironmentMetrics) GetRainfall_24H

func (x *EnvironmentMetrics) GetRainfall_24H() float32

func (*EnvironmentMetrics) GetRelativeHumidity

func (x *EnvironmentMetrics) GetRelativeHumidity() float32

func (*EnvironmentMetrics) GetSoilMoisture

func (x *EnvironmentMetrics) GetSoilMoisture() uint32

func (*EnvironmentMetrics) GetSoilTemperature

func (x *EnvironmentMetrics) GetSoilTemperature() float32

func (*EnvironmentMetrics) GetTemperature

func (x *EnvironmentMetrics) GetTemperature() float32

func (*EnvironmentMetrics) GetUvLux

func (x *EnvironmentMetrics) GetUvLux() float32

func (*EnvironmentMetrics) GetVoltage

func (x *EnvironmentMetrics) GetVoltage() float32

func (*EnvironmentMetrics) GetWeight

func (x *EnvironmentMetrics) GetWeight() float32

func (*EnvironmentMetrics) GetWhiteLux

func (x *EnvironmentMetrics) GetWhiteLux() float32

func (*EnvironmentMetrics) GetWindDirection

func (x *EnvironmentMetrics) GetWindDirection() uint32

func (*EnvironmentMetrics) GetWindGust

func (x *EnvironmentMetrics) GetWindGust() float32

func (*EnvironmentMetrics) GetWindLull

func (x *EnvironmentMetrics) GetWindLull() float32

func (*EnvironmentMetrics) GetWindSpeed

func (x *EnvironmentMetrics) GetWindSpeed() float32

func (*EnvironmentMetrics) HasBarometricPressure

func (x *EnvironmentMetrics) HasBarometricPressure() bool

func (*EnvironmentMetrics) HasCurrent

func (x *EnvironmentMetrics) HasCurrent() bool

func (*EnvironmentMetrics) HasDistance

func (x *EnvironmentMetrics) HasDistance() bool

func (*EnvironmentMetrics) HasGasResistance

func (x *EnvironmentMetrics) HasGasResistance() bool

func (*EnvironmentMetrics) HasIaq

func (x *EnvironmentMetrics) HasIaq() bool

func (*EnvironmentMetrics) HasIrLux

func (x *EnvironmentMetrics) HasIrLux() bool

func (*EnvironmentMetrics) HasLux

func (x *EnvironmentMetrics) HasLux() bool

func (*EnvironmentMetrics) HasRadiation

func (x *EnvironmentMetrics) HasRadiation() bool

func (*EnvironmentMetrics) HasRainfall_1H

func (x *EnvironmentMetrics) HasRainfall_1H() bool

func (*EnvironmentMetrics) HasRainfall_24H

func (x *EnvironmentMetrics) HasRainfall_24H() bool

func (*EnvironmentMetrics) HasRelativeHumidity

func (x *EnvironmentMetrics) HasRelativeHumidity() bool

func (*EnvironmentMetrics) HasSoilMoisture

func (x *EnvironmentMetrics) HasSoilMoisture() bool

func (*EnvironmentMetrics) HasSoilTemperature

func (x *EnvironmentMetrics) HasSoilTemperature() bool

func (*EnvironmentMetrics) HasTemperature

func (x *EnvironmentMetrics) HasTemperature() bool

func (*EnvironmentMetrics) HasUvLux

func (x *EnvironmentMetrics) HasUvLux() bool

func (*EnvironmentMetrics) HasVoltage

func (x *EnvironmentMetrics) HasVoltage() bool

func (*EnvironmentMetrics) HasWeight

func (x *EnvironmentMetrics) HasWeight() bool

func (*EnvironmentMetrics) HasWhiteLux

func (x *EnvironmentMetrics) HasWhiteLux() bool

func (*EnvironmentMetrics) HasWindDirection

func (x *EnvironmentMetrics) HasWindDirection() bool

func (*EnvironmentMetrics) HasWindGust

func (x *EnvironmentMetrics) HasWindGust() bool

func (*EnvironmentMetrics) HasWindLull

func (x *EnvironmentMetrics) HasWindLull() bool

func (*EnvironmentMetrics) HasWindSpeed

func (x *EnvironmentMetrics) HasWindSpeed() bool

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) SetDistance

func (x *EnvironmentMetrics) SetDistance(v float32)

func (*EnvironmentMetrics) SetGasResistance

func (x *EnvironmentMetrics) SetGasResistance(v float32)

func (*EnvironmentMetrics) SetIaq

func (x *EnvironmentMetrics) SetIaq(v uint32)

func (*EnvironmentMetrics) SetIrLux

func (x *EnvironmentMetrics) SetIrLux(v float32)

func (*EnvironmentMetrics) SetLux

func (x *EnvironmentMetrics) SetLux(v float32)

func (*EnvironmentMetrics) SetRadiation

func (x *EnvironmentMetrics) SetRadiation(v float32)

func (*EnvironmentMetrics) SetRainfall_1H

func (x *EnvironmentMetrics) SetRainfall_1H(v float32)

func (*EnvironmentMetrics) SetRainfall_24H

func (x *EnvironmentMetrics) SetRainfall_24H(v float32)

func (*EnvironmentMetrics) SetRelativeHumidity

func (x *EnvironmentMetrics) SetRelativeHumidity(v float32)

func (*EnvironmentMetrics) SetSoilMoisture

func (x *EnvironmentMetrics) SetSoilMoisture(v uint32)

func (*EnvironmentMetrics) SetSoilTemperature

func (x *EnvironmentMetrics) SetSoilTemperature(v float32)

func (*EnvironmentMetrics) SetTemperature

func (x *EnvironmentMetrics) SetTemperature(v float32)

func (*EnvironmentMetrics) SetUvLux

func (x *EnvironmentMetrics) SetUvLux(v float32)

func (*EnvironmentMetrics) SetVoltage

func (x *EnvironmentMetrics) SetVoltage(v float32)

func (*EnvironmentMetrics) SetWeight

func (x *EnvironmentMetrics) SetWeight(v float32)

func (*EnvironmentMetrics) SetWhiteLux

func (x *EnvironmentMetrics) SetWhiteLux(v float32)

func (*EnvironmentMetrics) SetWindDirection

func (x *EnvironmentMetrics) SetWindDirection(v uint32)

func (*EnvironmentMetrics) SetWindGust

func (x *EnvironmentMetrics) SetWindGust(v float32)

func (*EnvironmentMetrics) SetWindLull

func (x *EnvironmentMetrics) SetWindLull(v float32)

func (*EnvironmentMetrics) SetWindSpeed

func (x *EnvironmentMetrics) SetWindSpeed(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
	// relative scale IAQ value as measured by Bosch BME680 . value 0-500.
	// Belongs to Air Quality but is not particle but VOC measurement. Other VOC values can also be put in here.
	Iaq *uint32
	// RCWL9620 Doppler Radar Distance Sensor, used for water level detection. Float value in mm.
	Distance *float32
	// VEML7700 high accuracy ambient light(Lux) digital 16-bit resolution sensor.
	Lux *float32
	// VEML7700 high accuracy white light(irradiance) not calibrated digital 16-bit resolution sensor.
	WhiteLux *float32
	// Infrared lux
	IrLux *float32
	// Ultraviolet lux
	UvLux *float32
	// Wind direction in degrees
	// 0 degrees = North, 90 = East, etc...
	WindDirection *uint32
	// Wind speed in m/s
	WindSpeed *float32
	// Weight in KG
	Weight *float32
	// Wind gust in m/s
	WindGust *float32
	// Wind lull in m/s
	WindLull *float32
	// Radiation in µR/h
	Radiation *float32
	// Rainfall in the last hour in mm
	Rainfall_1H *float32
	// Rainfall in the last 24 hours in mm
	Rainfall_24H *float32
	// Soil moisture measured (% 1-100)
	SoilMoisture *uint32
	// Soil temperature measured (*C)
	SoilTemperature *float32
	// contains filtered or unexported fields
}

func (EnvironmentMetrics_builder) Build

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 (*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 (*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

type ExcludedModules

type ExcludedModules int32

Enum for modules excluded from a device's configuration. Each value represents a ModuleConfigType that can be toggled as excluded by setting its corresponding bit in the `excluded_modules` bitmask field.

const (
	// Default value of 0 indicates no modules are excluded.
	ExcludedModules_EXCLUDED_NONE ExcludedModules = 0
	// MQTT module
	ExcludedModules_MQTT_CONFIG ExcludedModules = 1
	// Serial module
	ExcludedModules_SERIAL_CONFIG ExcludedModules = 2
	// External Notification module
	ExcludedModules_EXTNOTIF_CONFIG ExcludedModules = 4
	// Store and Forward module
	ExcludedModules_STOREFORWARD_CONFIG ExcludedModules = 8
	// Range Test module
	ExcludedModules_RANGETEST_CONFIG ExcludedModules = 16
	// Telemetry module
	ExcludedModules_TELEMETRY_CONFIG ExcludedModules = 32
	// Canned Message module
	ExcludedModules_CANNEDMSG_CONFIG ExcludedModules = 64
	// Audio module
	ExcludedModules_AUDIO_CONFIG ExcludedModules = 128
	// Remote Hardware module
	ExcludedModules_REMOTEHARDWARE_CONFIG ExcludedModules = 256
	// Neighbor Info module
	ExcludedModules_NEIGHBORINFO_CONFIG ExcludedModules = 512
	// Ambient Lighting module
	ExcludedModules_AMBIENTLIGHTING_CONFIG ExcludedModules = 1024
	// Detection Sensor module
	ExcludedModules_DETECTIONSENSOR_CONFIG ExcludedModules = 2048
	// Paxcounter module
	ExcludedModules_PAXCOUNTER_CONFIG ExcludedModules = 4096
	// Bluetooth config (not technically a module, but used to indicate bluetooth capabilities)
	ExcludedModules_BLUETOOTH_CONFIG ExcludedModules = 8192
	// Network config (not technically a module, but used to indicate network capabilities)
	ExcludedModules_NETWORK_CONFIG ExcludedModules = 16384
)

func (ExcludedModules) Descriptor

func (ExcludedModules) Enum

func (x ExcludedModules) Enum() *ExcludedModules

func (ExcludedModules) Number

func (ExcludedModules) String

func (x ExcludedModules) String() string

func (ExcludedModules) Type

type FileInfo

type FileInfo struct {

	// The fully qualified path of the file
	FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// The size of the file in bytes
	SizeBytes uint32 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// contains filtered or unexported fields
}

Individual File info for the device

func (*FileInfo) GetFileName

func (x *FileInfo) GetFileName() string

func (*FileInfo) GetSizeBytes

func (x *FileInfo) GetSizeBytes() uint32

func (*FileInfo) ProtoMessage

func (*FileInfo) ProtoMessage()

func (*FileInfo) ProtoReflect

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

func (*FileInfo) Reset

func (x *FileInfo) Reset()

func (*FileInfo) SetFileName

func (x *FileInfo) SetFileName(v string)

func (*FileInfo) SetSizeBytes

func (x *FileInfo) SetSizeBytes(v uint32)

func (*FileInfo) String

func (x *FileInfo) String() string

type FileInfo_builder

type FileInfo_builder struct {

	// The fully qualified path of the file
	FileName string
	// The size of the file in bytes
	SizeBytes uint32
	// contains filtered or unexported fields
}

func (FileInfo_builder) Build

func (b0 FileInfo_builder) Build() *FileInfo

type FirmwareEdition

type FirmwareEdition int32

Enum to indicate to clients whether this firmware is a special firmware build, like an event. The first 16 values are reserved for non-event special firmwares, like the Smart Citizen use case.

const (
	// Vanilla firmware
	FirmwareEdition_VANILLA FirmwareEdition = 0
	// Firmware for use in the Smart Citizen environmental monitoring network
	FirmwareEdition_SMART_CITIZEN FirmwareEdition = 1
	// Open Sauce, the maker conference held yearly in CA
	FirmwareEdition_OPEN_SAUCE FirmwareEdition = 16
	// DEFCON, the yearly hacker conference
	FirmwareEdition_DEFCON FirmwareEdition = 17
	// Burning Man, the yearly hippie gathering in the desert
	FirmwareEdition_BURNING_MAN FirmwareEdition = 18
	// Hamvention, the Dayton amateur radio convention
	FirmwareEdition_HAMVENTION FirmwareEdition = 19
	// Placeholder for DIY and unofficial events
	FirmwareEdition_DIY_EDITION FirmwareEdition = 127
)

func (FirmwareEdition) Descriptor

func (FirmwareEdition) Enum

func (x FirmwareEdition) Enum() *FirmwareEdition

func (FirmwareEdition) Number

func (FirmwareEdition) String

func (x FirmwareEdition) String() string

func (FirmwareEdition) Type

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
	//	*FromRadio_FileInfo
	//	*FromRadio_ClientNotification
	//	*FromRadio_DeviceuiConfig
	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) ClearChannel

func (x *FromRadio) ClearChannel()

func (*FromRadio) ClearClientNotification

func (x *FromRadio) ClearClientNotification()

func (*FromRadio) ClearConfig

func (x *FromRadio) ClearConfig()

func (*FromRadio) ClearConfigCompleteId

func (x *FromRadio) ClearConfigCompleteId()

func (*FromRadio) ClearDeviceuiConfig

func (x *FromRadio) ClearDeviceuiConfig()

func (*FromRadio) ClearFileInfo

func (x *FromRadio) ClearFileInfo()

func (*FromRadio) ClearLogRecord

func (x *FromRadio) ClearLogRecord()

func (*FromRadio) ClearMetadata

func (x *FromRadio) ClearMetadata()

func (*FromRadio) ClearModuleConfig

func (x *FromRadio) ClearModuleConfig()

func (*FromRadio) ClearMqttClientProxyMessage

func (x *FromRadio) ClearMqttClientProxyMessage()

func (*FromRadio) ClearMyInfo

func (x *FromRadio) ClearMyInfo()

func (*FromRadio) ClearNodeInfo

func (x *FromRadio) ClearNodeInfo()

func (*FromRadio) ClearPacket

func (x *FromRadio) ClearPacket()

func (*FromRadio) ClearPayloadVariant

func (x *FromRadio) ClearPayloadVariant()

func (*FromRadio) ClearQueueStatus

func (x *FromRadio) ClearQueueStatus()

func (*FromRadio) ClearRebooted

func (x *FromRadio) ClearRebooted()

func (*FromRadio) ClearXmodemPacket

func (x *FromRadio) ClearXmodemPacket()

func (*FromRadio) GetChannel

func (x *FromRadio) GetChannel() *Channel

func (*FromRadio) GetClientNotification

func (x *FromRadio) GetClientNotification() *ClientNotification

func (*FromRadio) GetConfig

func (x *FromRadio) GetConfig() *Config

func (*FromRadio) GetConfigCompleteId

func (x *FromRadio) GetConfigCompleteId() uint32

func (*FromRadio) GetDeviceuiConfig

func (x *FromRadio) GetDeviceuiConfig() *DeviceUIConfig

func (*FromRadio) GetFileInfo

func (x *FromRadio) GetFileInfo() *FileInfo

func (*FromRadio) GetId

func (x *FromRadio) GetId() uint32

func (*FromRadio) GetLogRecord

func (x *FromRadio) GetLogRecord() *LogRecord

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) GetNodeInfo

func (x *FromRadio) GetNodeInfo() *NodeInfo

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) GetRebooted

func (x *FromRadio) GetRebooted() bool

func (*FromRadio) GetXmodemPacket

func (x *FromRadio) GetXmodemPacket() *XModem

func (*FromRadio) HasChannel

func (x *FromRadio) HasChannel() bool

func (*FromRadio) HasClientNotification

func (x *FromRadio) HasClientNotification() bool

func (*FromRadio) HasConfig

func (x *FromRadio) HasConfig() bool

func (*FromRadio) HasConfigCompleteId

func (x *FromRadio) HasConfigCompleteId() bool

func (*FromRadio) HasDeviceuiConfig

func (x *FromRadio) HasDeviceuiConfig() bool

func (*FromRadio) HasFileInfo

func (x *FromRadio) HasFileInfo() bool

func (*FromRadio) HasLogRecord

func (x *FromRadio) HasLogRecord() bool

func (*FromRadio) HasMetadata

func (x *FromRadio) HasMetadata() bool

func (*FromRadio) HasModuleConfig

func (x *FromRadio) HasModuleConfig() bool

func (*FromRadio) HasMqttClientProxyMessage

func (x *FromRadio) HasMqttClientProxyMessage() bool

func (*FromRadio) HasMyInfo

func (x *FromRadio) HasMyInfo() bool

func (*FromRadio) HasNodeInfo

func (x *FromRadio) HasNodeInfo() bool

func (*FromRadio) HasPacket

func (x *FromRadio) HasPacket() bool

func (*FromRadio) HasPayloadVariant

func (x *FromRadio) HasPayloadVariant() bool

func (*FromRadio) HasQueueStatus

func (x *FromRadio) HasQueueStatus() bool

func (*FromRadio) HasRebooted

func (x *FromRadio) HasRebooted() bool

func (*FromRadio) HasXmodemPacket

func (x *FromRadio) HasXmodemPacket() bool

func (*FromRadio) ProtoMessage

func (*FromRadio) ProtoMessage()

func (*FromRadio) ProtoReflect

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

func (*FromRadio) Reset

func (x *FromRadio) Reset()

func (*FromRadio) SetChannel

func (x *FromRadio) SetChannel(v *Channel)

func (*FromRadio) SetClientNotification

func (x *FromRadio) SetClientNotification(v *ClientNotification)

func (*FromRadio) SetConfig

func (x *FromRadio) SetConfig(v *Config)

func (*FromRadio) SetConfigCompleteId

func (x *FromRadio) SetConfigCompleteId(v uint32)

func (*FromRadio) SetDeviceuiConfig

func (x *FromRadio) SetDeviceuiConfig(v *DeviceUIConfig)

func (*FromRadio) SetFileInfo

func (x *FromRadio) SetFileInfo(v *FileInfo)

func (*FromRadio) SetId

func (x *FromRadio) SetId(v uint32)

func (*FromRadio) SetLogRecord

func (x *FromRadio) SetLogRecord(v *LogRecord)

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) SetNodeInfo

func (x *FromRadio) SetNodeInfo(v *NodeInfo)

func (*FromRadio) SetPacket

func (x *FromRadio) SetPacket(v *MeshPacket)

func (*FromRadio) SetQueueStatus

func (x *FromRadio) SetQueueStatus(v *QueueStatus)

func (*FromRadio) SetRebooted

func (x *FromRadio) SetRebooted(v bool)

func (*FromRadio) SetXmodemPacket

func (x *FromRadio) SetXmodemPacket(v *XModem)

func (*FromRadio) String

func (x *FromRadio) String() string

func (*FromRadio) WhichPayloadVariant

func (x *FromRadio) WhichPayloadVariant() case_FromRadio_PayloadVariant

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_ClientNotification

type FromRadio_ClientNotification struct {
	// Notification message to the client
	ClientNotification *ClientNotification `protobuf:"bytes,16,opt,name=clientNotification,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_DeviceuiConfig

type FromRadio_DeviceuiConfig struct {
	// Persistent data for device-ui
	DeviceuiConfig *DeviceUIConfig `protobuf:"bytes,17,opt,name=deviceuiConfig,proto3,oneof"`
}

type FromRadio_FileInfo

type FromRadio_FileInfo struct {
	// File system manifest messages
	FileInfo *FileInfo `protobuf:"bytes,15,opt,name=fileInfo,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
	// File system manifest messages
	FileInfo *FileInfo
	// Notification message to the client
	ClientNotification *ClientNotification
	// Persistent data for device-ui
	DeviceuiConfig *DeviceUIConfig
	// 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"`
	// Callsign of the recipient for the message
	ToCallsign *string `protobuf:"bytes,3,opt,name=to_callsign,json=toCallsign,proto3,oneof" json:"to_callsign,omitempty"`
	// contains filtered or unexported fields
}

ATAK GeoChat message

func (*GeoChat) ClearTo

func (x *GeoChat) ClearTo()

func (*GeoChat) ClearToCallsign

func (x *GeoChat) ClearToCallsign()

func (*GeoChat) GetMessage

func (x *GeoChat) GetMessage() string

func (*GeoChat) GetTo

func (x *GeoChat) GetTo() string

func (*GeoChat) GetToCallsign

func (x *GeoChat) GetToCallsign() string

func (*GeoChat) HasTo

func (x *GeoChat) HasTo() bool

func (*GeoChat) HasToCallsign

func (x *GeoChat) HasToCallsign() bool

func (*GeoChat) ProtoMessage

func (*GeoChat) ProtoMessage()

func (*GeoChat) ProtoReflect

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

func (*GeoChat) Reset

func (x *GeoChat) Reset()

func (*GeoChat) SetMessage

func (x *GeoChat) SetMessage(v string)

func (*GeoChat) SetTo

func (x *GeoChat) SetTo(v string)

func (*GeoChat) SetToCallsign

func (x *GeoChat) SetToCallsign(v string)

func (*GeoChat) String

func (x *GeoChat) String() string

type GeoChat_builder

type GeoChat_builder struct {

	// The text message
	Message string
	// Uid recipient of the message
	To *string
	// Callsign of the recipient for the message
	ToCallsign *string
	// contains filtered or unexported fields
}

func (GeoChat_builder) Build

func (b0 GeoChat_builder) Build() *GeoChat

type GeoPoint

type GeoPoint struct {

	// Zoom level
	Zoom int32 `protobuf:"varint,1,opt,name=zoom,proto3" json:"zoom,omitempty"`
	// Coordinate: latitude
	Latitude int32 `protobuf:"varint,2,opt,name=latitude,proto3" json:"latitude,omitempty"`
	// Coordinate: longitude
	Longitude int32 `protobuf:"varint,3,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// contains filtered or unexported fields
}

func (*GeoPoint) GetLatitude

func (x *GeoPoint) GetLatitude() int32

func (*GeoPoint) GetLongitude

func (x *GeoPoint) GetLongitude() int32

func (*GeoPoint) GetZoom

func (x *GeoPoint) GetZoom() int32

func (*GeoPoint) ProtoMessage

func (*GeoPoint) ProtoMessage()

func (*GeoPoint) ProtoReflect

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

func (*GeoPoint) Reset

func (x *GeoPoint) Reset()

func (*GeoPoint) SetLatitude

func (x *GeoPoint) SetLatitude(v int32)

func (*GeoPoint) SetLongitude

func (x *GeoPoint) SetLongitude(v int32)

func (*GeoPoint) SetZoom

func (x *GeoPoint) SetZoom(v int32)

func (*GeoPoint) String

func (x *GeoPoint) String() string

type GeoPoint_builder

type GeoPoint_builder struct {

	// Zoom level
	Zoom int32
	// Coordinate: latitude
	Latitude int32
	// Coordinate: longitude
	Longitude int32
	// contains filtered or unexported fields
}

func (GeoPoint_builder) Build

func (b0 GeoPoint_builder) Build() *GeoPoint

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) GetTeam

func (x *Group) GetTeam() Team

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) SetRole

func (x *Group) SetRole(v MemberRole)

func (*Group) SetTeam

func (x *Group) SetTeam(v Team)

func (*Group) String

func (x *Group) String() string

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

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 (*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) Enum

func (HardwareMessage_Type) Number

func (HardwareMessage_Type) String

func (x HardwareMessage_Type) String() string

func (HardwareMessage_Type) Type

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

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
	// wiphone https://www.wiphone.io/
	HardwareModel_WIPHONE HardwareModel = 20
	// WIO Tracker WM1110 family from Seeed Studio. Includes wio-1110-tracker and wio-1110-sdk
	HardwareModel_WIO_WM1110 HardwareModel = 21
	// RAK2560 Solar base station based on RAK4630
	HardwareModel_RAK2560 HardwareModel = 22
	// Heltec HRU-3601: https://heltec.org/project/hru-3601/
	HardwareModel_HELTEC_HRU_3601 HardwareModel = 23
	// Heltec Wireless Bridge
	HardwareModel_HELTEC_WIRELESS_BRIDGE HardwareModel = 24
	// 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
	// B&Q Consulting Station G2: https://wiki.uniteng.com/en/meshtastic/station-g2
	HardwareModel_STATION_G2 HardwareModel = 31
	// ---------------------------------------------------------------------------
	// Less common/prototype boards listed here (needs one more byte over the air)
	// ---------------------------------------------------------------------------
	HardwareModel_LORA_RELAY_V1 HardwareModel = 32
	// T-Echo Plus device from LilyGo
	HardwareModel_T_ECHO_PLUS 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, CoreS3, 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
	// unPhone with ESP32-S3, TFT touchscreen,  LSM6DS3TR-C accelerometer and gyroscope
	HardwareModel_UNPHONE HardwareModel = 59
	// Teledatics TD-LORAC NRF52840 based M.2 LoRA module
	// Compatible with the TD-WRLS development board
	HardwareModel_TD_LORAC HardwareModel = 60
	// CDEBYTE EoRa-S3 board using their own MM modules, clone of LILYGO T3S3
	HardwareModel_CDEBYTE_EORA_S3 HardwareModel = 61
	// TWC_MESH_V4
	// Adafruit NRF52840 feather express with SX1262, SSD1306 OLED and NEO6M GPS
	HardwareModel_TWC_MESH_V4 HardwareModel = 62
	// NRF52_PROMICRO_DIY
	// Promicro NRF52840 with SX1262/LLCC68, SSD1306 OLED and NEO6M GPS
	HardwareModel_NRF52_PROMICRO_DIY HardwareModel = 63
	// RadioMaster 900 Bandit Nano, https://www.radiomasterrc.com/products/bandit-nano-expresslrs-rf-module
	// ESP32-D0WDQ6 With SX1276/SKY66122, SSD1306 OLED and No GPS
	HardwareModel_RADIOMASTER_900_BANDIT_NANO HardwareModel = 64
	// Heltec Capsule Sensor V3 with ESP32-S3 CPU, Portable LoRa device that can replace GNSS modules or sensors
	HardwareModel_HELTEC_CAPSULE_SENSOR_V3 HardwareModel = 65
	// Heltec Vision Master T190 with ESP32-S3 CPU, and a 1.90 inch TFT display
	HardwareModel_HELTEC_VISION_MASTER_T190 HardwareModel = 66
	// Heltec Vision Master E213 with ESP32-S3 CPU, and a 2.13 inch E-Ink display
	HardwareModel_HELTEC_VISION_MASTER_E213 HardwareModel = 67
	// Heltec Vision Master E290 with ESP32-S3 CPU, and a 2.9 inch E-Ink display
	HardwareModel_HELTEC_VISION_MASTER_E290 HardwareModel = 68
	// Heltec Mesh Node T114 board with nRF52840 CPU, and a 1.14 inch TFT display, Ultimate low-power design,
	// specifically adapted for the Meshtatic project
	HardwareModel_HELTEC_MESH_NODE_T114 HardwareModel = 69
	// Sensecap Indicator from Seeed Studio. ESP32-S3 device with TFT and RP2040 coprocessor
	HardwareModel_SENSECAP_INDICATOR HardwareModel = 70
	// Seeed studio T1000-E tracker card. NRF52840 w/ LR1110 radio, GPS, button, buzzer, and sensors.
	HardwareModel_TRACKER_T1000_E HardwareModel = 71
	// RAK3172 STM32WLE5 Module (https://store.rakwireless.com/products/wisduo-lpwan-module-rak3172)
	HardwareModel_RAK3172 HardwareModel = 72
	// Seeed Studio Wio-E5 (either mini or Dev kit) using STM32WL chip.
	HardwareModel_WIO_E5 HardwareModel = 73
	// RadioMaster 900 Bandit, https://www.radiomasterrc.com/products/bandit-expresslrs-rf-module
	// SSD1306 OLED and No GPS
	HardwareModel_RADIOMASTER_900_BANDIT HardwareModel = 74
	// Minewsemi ME25LS01 (ME25LE01_V1.0). NRF52840 w/ LR1110 radio, buttons and leds and pins.
	HardwareModel_ME25LS01_4Y10TD HardwareModel = 75
	// RP2040_FEATHER_RFM95
	// Adafruit Feather RP2040 with RFM95 LoRa Radio RFM95 with SX1272, SSD1306 OLED
	// https://www.adafruit.com/product/5714
	// https://www.adafruit.com/product/326
	// https://www.adafruit.com/product/938
	//
	//	^^^ short A0 to switch to I2C address 0x3C
	HardwareModel_RP2040_FEATHER_RFM95 HardwareModel = 76
	// M5 esp32 based MCU modules with enclosure, TFT and LORA Shields. All Variants (Basic, Core, Fire, Core2, CoreS3, Paper) https://m5stack.com/
	HardwareModel_M5STACK_COREBASIC HardwareModel = 77
	HardwareModel_M5STACK_CORE2     HardwareModel = 78
	// Pico2 with Waveshare Hat, same as Pico
	HardwareModel_RPI_PICO2 HardwareModel = 79
	// M5 esp32 based MCU modules with enclosure, TFT and LORA Shields. All Variants (Basic, Core, Fire, Core2, CoreS3, Paper) https://m5stack.com/
	HardwareModel_M5STACK_CORES3 HardwareModel = 80
	// Seeed XIAO S3 DK
	HardwareModel_SEEED_XIAO_S3 HardwareModel = 81
	// Nordic nRF52840+Semtech SX1262 LoRa BLE Combo Module. nRF52840+SX1262 MS24SF1
	HardwareModel_MS24SF1 HardwareModel = 82
	// Lilygo TLora-C6 with the new ESP32-C6 MCU
	HardwareModel_TLORA_C6 HardwareModel = 83
	// WisMesh Tap
	// RAK-4631 w/ TFT in injection modled case
	HardwareModel_WISMESH_TAP HardwareModel = 84
	// Similar to PORTDUINO but used by Routastic devices, this is not any
	// particular device and does not run Meshtastic's code but supports
	// the same frame format.
	// Runs on linux, see https://github.com/Jorropo/routastic
	HardwareModel_ROUTASTIC HardwareModel = 85
	// Mesh-Tab, esp32 based
	// https://github.com/valzzu/Mesh-Tab
	HardwareModel_MESH_TAB HardwareModel = 86
	// MeshLink board developed by LoraItalia. NRF52840, eByte E22900M22S (Will also come with other frequencies), 25w MPPT solar charger (5v,12v,18v selectable), support for gps, buzzer, oled or e-ink display, 10 gpios, hardware watchdog
	// https://www.loraitalia.it
	HardwareModel_MESHLINK HardwareModel = 87
	// Seeed XIAO nRF52840 + Wio SX1262 kit
	HardwareModel_XIAO_NRF52_KIT HardwareModel = 88
	// Elecrow ThinkNode M1 & M2
	// https://www.elecrow.com/wiki/ThinkNode-M1_Transceiver_Device(Meshtastic)_Power_By_nRF52840.html
	// https://www.elecrow.com/wiki/ThinkNode-M2_Transceiver_Device(Meshtastic)_Power_By_NRF52840.html (this actually uses ESP32-S3)
	HardwareModel_THINKNODE_M1 HardwareModel = 89
	HardwareModel_THINKNODE_M2 HardwareModel = 90
	// Lilygo T-ETH-Elite
	HardwareModel_T_ETH_ELITE HardwareModel = 91
	// Heltec HRI-3621 industrial probe
	HardwareModel_HELTEC_SENSOR_HUB HardwareModel = 92
	// Muzi Works Muzi-Base device
	HardwareModel_MUZI_BASE HardwareModel = 93
	// Heltec Magnetic Power Bank with Meshtastic compatible
	HardwareModel_HELTEC_MESH_POCKET HardwareModel = 94
	// Seeed Solar Node
	HardwareModel_SEEED_SOLAR_NODE HardwareModel = 95
	// NomadStar Meteor Pro https://nomadstar.ch/
	HardwareModel_NOMADSTAR_METEOR_PRO HardwareModel = 96
	// Elecrow CrowPanel Advance models, ESP32-S3 and TFT with SX1262 radio plugin
	HardwareModel_CROWPANEL HardwareModel = 97
	// Lilygo LINK32 board with sensors
	HardwareModel_LINK_32 HardwareModel = 98
	// Seeed Tracker L1
	HardwareModel_SEEED_WIO_TRACKER_L1 HardwareModel = 99
	// Seeed Tracker L1 EINK driver
	HardwareModel_SEEED_WIO_TRACKER_L1_EINK HardwareModel = 100
	// Muzi Works R1 Neo
	HardwareModel_MUZI_R1_NEO HardwareModel = 101
	// Lilygo T-Deck Pro
	HardwareModel_T_DECK_PRO HardwareModel = 102
	// Lilygo TLora Pager
	HardwareModel_T_LORA_PAGER HardwareModel = 103
	// M5Stack Reserved
	HardwareModel_M5STACK_RESERVED HardwareModel = 104 // 0x68
	// RAKwireless WisMesh Tag
	HardwareModel_WISMESH_TAG HardwareModel = 105
	// RAKwireless WisBlock Core RAK3312 https://docs.rakwireless.com/product-categories/wisduo/rak3112-module/overview/
	HardwareModel_RAK3312 HardwareModel = 106
	// Elecrow ThinkNode M5 https://www.elecrow.com/wiki/ThinkNode_M5_Meshtastic_LoRa_Signal_Transceiver_ESP32-S3.html
	HardwareModel_THINKNODE_M5 HardwareModel = 107
	// MeshSolar is an integrated power management and communication solution designed for outdoor low-power devices.
	// https://heltec.org/project/meshsolar/
	HardwareModel_HELTEC_MESH_SOLAR HardwareModel = 108
	// Lilygo T-Echo Lite
	HardwareModel_T_ECHO_LITE HardwareModel = 109
	// New Heltec LoRA32 with ESP32-S3 CPU
	HardwareModel_HELTEC_V4 HardwareModel = 110
	// M5Stack C6L
	HardwareModel_M5STACK_C6L HardwareModel = 111
	// M5Stack Cardputer Adv
	HardwareModel_M5STACK_CARDPUTER_ADV HardwareModel = 112
	// ESP32S3 main controller with GPS and TFT screen.
	HardwareModel_HELTEC_WIRELESS_TRACKER_V2 HardwareModel = 113
	// LilyGo T-Watch Ultra
	HardwareModel_T_WATCH_ULTRA HardwareModel = 114
	// Elecrow ThinkNode M3
	HardwareModel_THINKNODE_M3 HardwareModel = 115
	// RAK WISMESH_TAP_V2 with ESP32-S3 CPU
	HardwareModel_WISMESH_TAP_V2 HardwareModel = 116
	// RAK3401
	HardwareModel_RAK3401 HardwareModel = 117
	// RAK6421 Hat+
	HardwareModel_RAK6421 HardwareModel = 118
	// Elecrow ThinkNode M4
	HardwareModel_THINKNODE_M4 HardwareModel = 119
	// Elecrow ThinkNode M6
	HardwareModel_THINKNODE_M6 HardwareModel = 120
	// Elecrow Meshstick 1262
	HardwareModel_MESHSTICK_1262 HardwareModel = 121
	// LilyGo T-Beam 1W
	HardwareModel_TBEAM_1_WATT HardwareModel = 122
	// LilyGo T5 S3 ePaper Pro (V1 and V2)
	HardwareModel_T5_S3_EPAPER_PRO HardwareModel = 123
	// ------------------------------------------------------------------------------------------------------------------------------------------
	// 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) Enum

func (x HardwareModel) Enum() *HardwareModel

func (HardwareModel) Number

func (HardwareModel) String

func (x HardwareModel) String() string

func (HardwareModel) Type

type HealthMetrics

type HealthMetrics struct {

	// Heart rate (beats per minute)
	HeartBpm *uint32 `protobuf:"varint,1,opt,name=heart_bpm,json=heartBpm,proto3,oneof" json:"heart_bpm,omitempty"`
	// SpO2 (blood oxygen saturation) level
	SpO2 *uint32 `protobuf:"varint,2,opt,name=spO2,proto3,oneof" json:"spO2,omitempty"`
	// Body temperature in degrees Celsius
	Temperature *float32 `protobuf:"fixed32,3,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"`
	// contains filtered or unexported fields
}

Health telemetry metrics

func (*HealthMetrics) ClearHeartBpm

func (x *HealthMetrics) ClearHeartBpm()

func (*HealthMetrics) ClearSpO2

func (x *HealthMetrics) ClearSpO2()

func (*HealthMetrics) ClearTemperature

func (x *HealthMetrics) ClearTemperature()

func (*HealthMetrics) GetHeartBpm

func (x *HealthMetrics) GetHeartBpm() uint32

func (*HealthMetrics) GetSpO2

func (x *HealthMetrics) GetSpO2() uint32

func (*HealthMetrics) GetTemperature

func (x *HealthMetrics) GetTemperature() float32

func (*HealthMetrics) HasHeartBpm

func (x *HealthMetrics) HasHeartBpm() bool

func (*HealthMetrics) HasSpO2

func (x *HealthMetrics) HasSpO2() bool

func (*HealthMetrics) HasTemperature

func (x *HealthMetrics) HasTemperature() bool

func (*HealthMetrics) ProtoMessage

func (*HealthMetrics) ProtoMessage()

func (*HealthMetrics) ProtoReflect

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

func (*HealthMetrics) Reset

func (x *HealthMetrics) Reset()

func (*HealthMetrics) SetHeartBpm

func (x *HealthMetrics) SetHeartBpm(v uint32)

func (*HealthMetrics) SetSpO2

func (x *HealthMetrics) SetSpO2(v uint32)

func (*HealthMetrics) SetTemperature

func (x *HealthMetrics) SetTemperature(v float32)

func (*HealthMetrics) String

func (x *HealthMetrics) String() string

type HealthMetrics_builder

type HealthMetrics_builder struct {

	// Heart rate (beats per minute)
	HeartBpm *uint32
	// SpO2 (blood oxygen saturation) level
	SpO2 *uint32
	// Body temperature in degrees Celsius
	Temperature *float32
	// contains filtered or unexported fields
}

func (HealthMetrics_builder) Build

type Heartbeat

type Heartbeat struct {

	// The nonce of the heartbeat message
	Nonce uint32 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

A heartbeat message is sent to the node from the client to keep the connection alive. This is currently only needed to keep serial connections alive, but can be used by any PhoneAPI.

func (*Heartbeat) GetNonce

func (x *Heartbeat) GetNonce() uint32

func (*Heartbeat) ProtoMessage

func (*Heartbeat) ProtoMessage()

func (*Heartbeat) ProtoReflect

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

func (*Heartbeat) Reset

func (x *Heartbeat) Reset()

func (*Heartbeat) SetNonce

func (x *Heartbeat) SetNonce(v uint32)

func (*Heartbeat) String

func (x *Heartbeat) String() string

type Heartbeat_builder

type Heartbeat_builder struct {

	// The nonce of the heartbeat message
	Nonce uint32
	// contains filtered or unexported fields
}

func (Heartbeat_builder) Build

func (b0 Heartbeat_builder) Build() *Heartbeat

type HostMetrics

type HostMetrics struct {

	// Host system uptime
	UptimeSeconds uint32 `protobuf:"varint,1,opt,name=uptime_seconds,json=uptimeSeconds,proto3" json:"uptime_seconds,omitempty"`
	// Host system free memory
	FreememBytes uint64 `protobuf:"varint,2,opt,name=freemem_bytes,json=freememBytes,proto3" json:"freemem_bytes,omitempty"`
	// Host system disk space free for /
	Diskfree1Bytes uint64 `protobuf:"varint,3,opt,name=diskfree1_bytes,json=diskfree1Bytes,proto3" json:"diskfree1_bytes,omitempty"`
	// Secondary system disk space free
	Diskfree2Bytes *uint64 `protobuf:"varint,4,opt,name=diskfree2_bytes,json=diskfree2Bytes,proto3,oneof" json:"diskfree2_bytes,omitempty"`
	// Tertiary disk space free
	Diskfree3Bytes *uint64 `protobuf:"varint,5,opt,name=diskfree3_bytes,json=diskfree3Bytes,proto3,oneof" json:"diskfree3_bytes,omitempty"`
	// Host system one minute load in 1/100ths
	Load1 uint32 `protobuf:"varint,6,opt,name=load1,proto3" json:"load1,omitempty"`
	// Host system five minute load  in 1/100ths
	Load5 uint32 `protobuf:"varint,7,opt,name=load5,proto3" json:"load5,omitempty"`
	// Host system fifteen minute load  in 1/100ths
	Load15 uint32 `protobuf:"varint,8,opt,name=load15,proto3" json:"load15,omitempty"`
	// Optional User-provided string for arbitrary host system information
	// that doesn't make sense as a dedicated entry.
	UserString *string `protobuf:"bytes,9,opt,name=user_string,json=userString,proto3,oneof" json:"user_string,omitempty"`
	// contains filtered or unexported fields
}

Linux host metrics

func (*HostMetrics) ClearDiskfree2Bytes

func (x *HostMetrics) ClearDiskfree2Bytes()

func (*HostMetrics) ClearDiskfree3Bytes

func (x *HostMetrics) ClearDiskfree3Bytes()

func (*HostMetrics) ClearUserString

func (x *HostMetrics) ClearUserString()

func (*HostMetrics) GetDiskfree1Bytes

func (x *HostMetrics) GetDiskfree1Bytes() uint64

func (*HostMetrics) GetDiskfree2Bytes

func (x *HostMetrics) GetDiskfree2Bytes() uint64

func (*HostMetrics) GetDiskfree3Bytes

func (x *HostMetrics) GetDiskfree3Bytes() uint64

func (*HostMetrics) GetFreememBytes

func (x *HostMetrics) GetFreememBytes() uint64

func (*HostMetrics) GetLoad1

func (x *HostMetrics) GetLoad1() uint32

func (*HostMetrics) GetLoad5

func (x *HostMetrics) GetLoad5() uint32

func (*HostMetrics) GetLoad15

func (x *HostMetrics) GetLoad15() uint32

func (*HostMetrics) GetUptimeSeconds

func (x *HostMetrics) GetUptimeSeconds() uint32

func (*HostMetrics) GetUserString

func (x *HostMetrics) GetUserString() string

func (*HostMetrics) HasDiskfree2Bytes

func (x *HostMetrics) HasDiskfree2Bytes() bool

func (*HostMetrics) HasDiskfree3Bytes

func (x *HostMetrics) HasDiskfree3Bytes() bool

func (*HostMetrics) HasUserString

func (x *HostMetrics) HasUserString() bool

func (*HostMetrics) ProtoMessage

func (*HostMetrics) ProtoMessage()

func (*HostMetrics) ProtoReflect

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

func (*HostMetrics) Reset

func (x *HostMetrics) Reset()

func (*HostMetrics) SetDiskfree1Bytes

func (x *HostMetrics) SetDiskfree1Bytes(v uint64)

func (*HostMetrics) SetDiskfree2Bytes

func (x *HostMetrics) SetDiskfree2Bytes(v uint64)

func (*HostMetrics) SetDiskfree3Bytes

func (x *HostMetrics) SetDiskfree3Bytes(v uint64)

func (*HostMetrics) SetFreememBytes

func (x *HostMetrics) SetFreememBytes(v uint64)

func (*HostMetrics) SetLoad1

func (x *HostMetrics) SetLoad1(v uint32)

func (*HostMetrics) SetLoad5

func (x *HostMetrics) SetLoad5(v uint32)

func (*HostMetrics) SetLoad15

func (x *HostMetrics) SetLoad15(v uint32)

func (*HostMetrics) SetUptimeSeconds

func (x *HostMetrics) SetUptimeSeconds(v uint32)

func (*HostMetrics) SetUserString

func (x *HostMetrics) SetUserString(v string)

func (*HostMetrics) String

func (x *HostMetrics) String() string

type HostMetrics_builder

type HostMetrics_builder struct {

	// Host system uptime
	UptimeSeconds uint32
	// Host system free memory
	FreememBytes uint64
	// Host system disk space free for /
	Diskfree1Bytes uint64
	// Secondary system disk space free
	Diskfree2Bytes *uint64
	// Tertiary disk space free
	Diskfree3Bytes *uint64
	// Host system one minute load in 1/100ths
	Load1 uint32
	// Host system five minute load  in 1/100ths
	Load5 uint32
	// Host system fifteen minute load  in 1/100ths
	Load15 uint32
	// Optional User-provided string for arbitrary host system information
	// that doesn't make sense as a dedicated entry.
	UserString *string
	// contains filtered or unexported fields
}

func (HostMetrics_builder) Build

func (b0 HostMetrics_builder) Build() *HostMetrics

type InterdeviceMessage

type InterdeviceMessage struct {

	// The message data
	//
	// Types that are valid to be assigned to Data:
	//
	//	*InterdeviceMessage_Nmea
	//	*InterdeviceMessage_Sensor
	Data isInterdeviceMessage_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*InterdeviceMessage) ClearData

func (x *InterdeviceMessage) ClearData()

func (*InterdeviceMessage) ClearNmea

func (x *InterdeviceMessage) ClearNmea()

func (*InterdeviceMessage) ClearSensor

func (x *InterdeviceMessage) ClearSensor()

func (*InterdeviceMessage) GetData

func (x *InterdeviceMessage) GetData() isInterdeviceMessage_Data

func (*InterdeviceMessage) GetNmea

func (x *InterdeviceMessage) GetNmea() string

func (*InterdeviceMessage) GetSensor

func (x *InterdeviceMessage) GetSensor() *SensorData

func (*InterdeviceMessage) HasData

func (x *InterdeviceMessage) HasData() bool

func (*InterdeviceMessage) HasNmea

func (x *InterdeviceMessage) HasNmea() bool

func (*InterdeviceMessage) HasSensor

func (x *InterdeviceMessage) HasSensor() bool

func (*InterdeviceMessage) ProtoMessage

func (*InterdeviceMessage) ProtoMessage()

func (*InterdeviceMessage) ProtoReflect

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

func (*InterdeviceMessage) Reset

func (x *InterdeviceMessage) Reset()

func (*InterdeviceMessage) SetNmea

func (x *InterdeviceMessage) SetNmea(v string)

func (*InterdeviceMessage) SetSensor

func (x *InterdeviceMessage) SetSensor(v *SensorData)

func (*InterdeviceMessage) String

func (x *InterdeviceMessage) String() string

func (*InterdeviceMessage) WhichData

func (x *InterdeviceMessage) WhichData() case_InterdeviceMessage_Data

type InterdeviceMessage_Nmea

type InterdeviceMessage_Nmea struct {
	Nmea string `protobuf:"bytes,1,opt,name=nmea,proto3,oneof"`
}

type InterdeviceMessage_Sensor

type InterdeviceMessage_Sensor struct {
	Sensor *SensorData `protobuf:"bytes,2,opt,name=sensor,proto3,oneof"`
}

type InterdeviceMessage_builder

type InterdeviceMessage_builder struct {

	// Fields of oneof Data:
	Nmea   *string
	Sensor *SensorData
	// contains filtered or unexported fields
}

func (InterdeviceMessage_builder) Build

type KeyVerification

type KeyVerification struct {

	// random value Selected by the requesting node
	Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// The final authoritative hash, only to be sent by NodeA at the end of the handshake
	Hash1 []byte `protobuf:"bytes,2,opt,name=hash1,proto3" json:"hash1,omitempty"`
	// The intermediary hash (actually derived from hash1),
	// sent from NodeB to NodeA in response to the initial message.
	Hash2 []byte `protobuf:"bytes,3,opt,name=hash2,proto3" json:"hash2,omitempty"`
	// contains filtered or unexported fields
}

The actual over-the-mesh message doing KeyVerification

func (*KeyVerification) GetHash1

func (x *KeyVerification) GetHash1() []byte

func (*KeyVerification) GetHash2

func (x *KeyVerification) GetHash2() []byte

func (*KeyVerification) GetNonce

func (x *KeyVerification) GetNonce() uint64

func (*KeyVerification) ProtoMessage

func (*KeyVerification) ProtoMessage()

func (*KeyVerification) ProtoReflect

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

func (*KeyVerification) Reset

func (x *KeyVerification) Reset()

func (*KeyVerification) SetHash1

func (x *KeyVerification) SetHash1(v []byte)

func (*KeyVerification) SetHash2

func (x *KeyVerification) SetHash2(v []byte)

func (*KeyVerification) SetNonce

func (x *KeyVerification) SetNonce(v uint64)

func (*KeyVerification) String

func (x *KeyVerification) String() string

type KeyVerificationAdmin

type KeyVerificationAdmin struct {
	MessageType KeyVerificationAdmin_MessageType `` /* 144-byte string literal not displayed */
	// The nodenum we're requesting
	RemoteNodenum uint32 `protobuf:"varint,2,opt,name=remote_nodenum,json=remoteNodenum,proto3" json:"remote_nodenum,omitempty"`
	// The nonce is used to track the connection
	Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// The 4 digit code generated by the remote node, and communicated outside the mesh
	SecurityNumber *uint32 `protobuf:"varint,4,opt,name=security_number,json=securityNumber,proto3,oneof" json:"security_number,omitempty"`
	// contains filtered or unexported fields
}

This message is used by a client to initiate or complete a key verification

func (*KeyVerificationAdmin) ClearSecurityNumber

func (x *KeyVerificationAdmin) ClearSecurityNumber()

func (*KeyVerificationAdmin) GetMessageType

func (*KeyVerificationAdmin) GetNonce

func (x *KeyVerificationAdmin) GetNonce() uint64

func (*KeyVerificationAdmin) GetRemoteNodenum

func (x *KeyVerificationAdmin) GetRemoteNodenum() uint32

func (*KeyVerificationAdmin) GetSecurityNumber

func (x *KeyVerificationAdmin) GetSecurityNumber() uint32

func (*KeyVerificationAdmin) HasSecurityNumber

func (x *KeyVerificationAdmin) HasSecurityNumber() bool

func (*KeyVerificationAdmin) ProtoMessage

func (*KeyVerificationAdmin) ProtoMessage()

func (*KeyVerificationAdmin) ProtoReflect

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

func (*KeyVerificationAdmin) Reset

func (x *KeyVerificationAdmin) Reset()

func (*KeyVerificationAdmin) SetMessageType

func (*KeyVerificationAdmin) SetNonce

func (x *KeyVerificationAdmin) SetNonce(v uint64)

func (*KeyVerificationAdmin) SetRemoteNodenum

func (x *KeyVerificationAdmin) SetRemoteNodenum(v uint32)

func (*KeyVerificationAdmin) SetSecurityNumber

func (x *KeyVerificationAdmin) SetSecurityNumber(v uint32)

func (*KeyVerificationAdmin) String

func (x *KeyVerificationAdmin) String() string

type KeyVerificationAdmin_MessageType

type KeyVerificationAdmin_MessageType int32

Three stages of this request.

const (
	// This is the first stage, where a client initiates
	KeyVerificationAdmin_INITIATE_VERIFICATION KeyVerificationAdmin_MessageType = 0
	// After the nonce has been returned over the mesh, the client prompts for the security number
	// And uses this message to provide it to the node.
	KeyVerificationAdmin_PROVIDE_SECURITY_NUMBER KeyVerificationAdmin_MessageType = 1
	// Once the user has compared the verification message, this message notifies the node.
	KeyVerificationAdmin_DO_VERIFY KeyVerificationAdmin_MessageType = 2
	// This is the cancel path, can be taken at any point
	KeyVerificationAdmin_DO_NOT_VERIFY KeyVerificationAdmin_MessageType = 3
)

func (KeyVerificationAdmin_MessageType) Descriptor

func (KeyVerificationAdmin_MessageType) Enum

func (KeyVerificationAdmin_MessageType) Number

func (KeyVerificationAdmin_MessageType) String

func (KeyVerificationAdmin_MessageType) Type

type KeyVerificationAdmin_builder

type KeyVerificationAdmin_builder struct {
	MessageType KeyVerificationAdmin_MessageType
	// The nodenum we're requesting
	RemoteNodenum uint32
	// The nonce is used to track the connection
	Nonce uint64
	// The 4 digit code generated by the remote node, and communicated outside the mesh
	SecurityNumber *uint32
	// contains filtered or unexported fields
}

func (KeyVerificationAdmin_builder) Build

type KeyVerificationFinal

type KeyVerificationFinal struct {
	Nonce                  uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	RemoteLongname         string `protobuf:"bytes,2,opt,name=remote_longname,json=remoteLongname,proto3" json:"remote_longname,omitempty"`
	IsSender               bool   `protobuf:"varint,3,opt,name=isSender,proto3" json:"isSender,omitempty"`
	VerificationCharacters string `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*KeyVerificationFinal) GetIsSender

func (x *KeyVerificationFinal) GetIsSender() bool

func (*KeyVerificationFinal) GetNonce

func (x *KeyVerificationFinal) GetNonce() uint64

func (*KeyVerificationFinal) GetRemoteLongname

func (x *KeyVerificationFinal) GetRemoteLongname() string

func (*KeyVerificationFinal) GetVerificationCharacters

func (x *KeyVerificationFinal) GetVerificationCharacters() string

func (*KeyVerificationFinal) ProtoMessage

func (*KeyVerificationFinal) ProtoMessage()

func (*KeyVerificationFinal) ProtoReflect

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

func (*KeyVerificationFinal) Reset

func (x *KeyVerificationFinal) Reset()

func (*KeyVerificationFinal) SetIsSender

func (x *KeyVerificationFinal) SetIsSender(v bool)

func (*KeyVerificationFinal) SetNonce

func (x *KeyVerificationFinal) SetNonce(v uint64)

func (*KeyVerificationFinal) SetRemoteLongname

func (x *KeyVerificationFinal) SetRemoteLongname(v string)

func (*KeyVerificationFinal) SetVerificationCharacters

func (x *KeyVerificationFinal) SetVerificationCharacters(v string)

func (*KeyVerificationFinal) String

func (x *KeyVerificationFinal) String() string

type KeyVerificationFinal_builder

type KeyVerificationFinal_builder struct {
	Nonce                  uint64
	RemoteLongname         string
	IsSender               bool
	VerificationCharacters string
	// contains filtered or unexported fields
}

func (KeyVerificationFinal_builder) Build

type KeyVerificationNumberInform

type KeyVerificationNumberInform struct {
	Nonce          uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	RemoteLongname string `protobuf:"bytes,2,opt,name=remote_longname,json=remoteLongname,proto3" json:"remote_longname,omitempty"`
	SecurityNumber uint32 `protobuf:"varint,3,opt,name=security_number,json=securityNumber,proto3" json:"security_number,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyVerificationNumberInform) GetNonce

func (x *KeyVerificationNumberInform) GetNonce() uint64

func (*KeyVerificationNumberInform) GetRemoteLongname

func (x *KeyVerificationNumberInform) GetRemoteLongname() string

func (*KeyVerificationNumberInform) GetSecurityNumber

func (x *KeyVerificationNumberInform) GetSecurityNumber() uint32

func (*KeyVerificationNumberInform) ProtoMessage

func (*KeyVerificationNumberInform) ProtoMessage()

func (*KeyVerificationNumberInform) ProtoReflect

func (*KeyVerificationNumberInform) Reset

func (x *KeyVerificationNumberInform) Reset()

func (*KeyVerificationNumberInform) SetNonce

func (x *KeyVerificationNumberInform) SetNonce(v uint64)

func (*KeyVerificationNumberInform) SetRemoteLongname

func (x *KeyVerificationNumberInform) SetRemoteLongname(v string)

func (*KeyVerificationNumberInform) SetSecurityNumber

func (x *KeyVerificationNumberInform) SetSecurityNumber(v uint32)

func (*KeyVerificationNumberInform) String

func (x *KeyVerificationNumberInform) String() string

type KeyVerificationNumberInform_builder

type KeyVerificationNumberInform_builder struct {
	Nonce          uint64
	RemoteLongname string
	SecurityNumber uint32
	// contains filtered or unexported fields
}

func (KeyVerificationNumberInform_builder) Build

type KeyVerificationNumberRequest

type KeyVerificationNumberRequest struct {
	Nonce          uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	RemoteLongname string `protobuf:"bytes,2,opt,name=remote_longname,json=remoteLongname,proto3" json:"remote_longname,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyVerificationNumberRequest) GetNonce

func (x *KeyVerificationNumberRequest) GetNonce() uint64

func (*KeyVerificationNumberRequest) GetRemoteLongname

func (x *KeyVerificationNumberRequest) GetRemoteLongname() string

func (*KeyVerificationNumberRequest) ProtoMessage

func (*KeyVerificationNumberRequest) ProtoMessage()

func (*KeyVerificationNumberRequest) ProtoReflect

func (*KeyVerificationNumberRequest) Reset

func (x *KeyVerificationNumberRequest) Reset()

func (*KeyVerificationNumberRequest) SetNonce

func (x *KeyVerificationNumberRequest) SetNonce(v uint64)

func (*KeyVerificationNumberRequest) SetRemoteLongname

func (x *KeyVerificationNumberRequest) SetRemoteLongname(v string)

func (*KeyVerificationNumberRequest) String

type KeyVerificationNumberRequest_builder

type KeyVerificationNumberRequest_builder struct {
	Nonce          uint64
	RemoteLongname string
	// contains filtered or unexported fields
}

func (KeyVerificationNumberRequest_builder) Build

type KeyVerification_builder

type KeyVerification_builder struct {

	// random value Selected by the requesting node
	Nonce uint64
	// The final authoritative hash, only to be sent by NodeA at the end of the handshake
	Hash1 []byte
	// The intermediary hash (actually derived from hash1),
	// sent from NodeB to NodeA in response to the initial message.
	Hash2 []byte
	// contains filtered or unexported fields
}

func (KeyVerification_builder) Build

type Language

type Language int32

Localization

const (
	// English
	Language_ENGLISH Language = 0
	// French
	Language_FRENCH Language = 1
	// German
	Language_GERMAN Language = 2
	// Italian
	Language_ITALIAN Language = 3
	// Portuguese
	Language_PORTUGUESE Language = 4
	// Spanish
	Language_SPANISH Language = 5
	// Swedish
	Language_SWEDISH Language = 6
	// Finnish
	Language_FINNISH Language = 7
	// Polish
	Language_POLISH Language = 8
	// Turkish
	Language_TURKISH Language = 9
	// Serbian
	Language_SERBIAN Language = 10
	// Russian
	Language_RUSSIAN Language = 11
	// Dutch
	Language_DUTCH Language = 12
	// Greek
	Language_GREEK Language = 13
	// Norwegian
	Language_NORWEGIAN Language = 14
	// Slovenian
	Language_SLOVENIAN Language = 15
	// Ukrainian
	Language_UKRAINIAN Language = 16
	// Bulgarian
	Language_BULGARIAN Language = 17
	// Czech
	Language_CZECH Language = 18
	// Danish
	Language_DANISH Language = 19
	// Simplified Chinese (experimental)
	Language_SIMPLIFIED_CHINESE Language = 30
	// Traditional Chinese (experimental)
	Language_TRADITIONAL_CHINESE Language = 31
)

func (Language) Descriptor

func (Language) Descriptor() protoreflect.EnumDescriptor

func (Language) Enum

func (x Language) Enum() *Language

func (Language) Number

func (x Language) Number() protoreflect.EnumNumber

func (Language) String

func (x Language) String() string

func (Language) Type

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"`
	// The part of the config that is specific to Security settings
	Security *Config_SecurityConfig `protobuf:"bytes,9,opt,name=security,proto3" json:"security,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) ClearSecurity

func (x *LocalConfig) ClearSecurity()

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) GetSecurity

func (x *LocalConfig) GetSecurity() *Config_SecurityConfig

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) HasSecurity

func (x *LocalConfig) HasSecurity() 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) SetSecurity

func (x *LocalConfig) SetSecurity(v *Config_SecurityConfig)

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
	// The part of the config that is specific to Security settings
	Security *Config_SecurityConfig
	// 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"`
	// StatusMessage Config
	Statusmessage *ModuleConfig_StatusMessageConfig `protobuf:"bytes,15,opt,name=statusmessage,proto3" json:"statusmessage,omitempty"`
	// The part of the config that is specific to the Traffic Management module
	TrafficManagement *ModuleConfig_TrafficManagementConfig `protobuf:"bytes,16,opt,name=traffic_management,json=trafficManagement,proto3" json:"traffic_management,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) ClearStatusmessage

func (x *LocalModuleConfig) ClearStatusmessage()

func (*LocalModuleConfig) ClearStoreForward

func (x *LocalModuleConfig) ClearStoreForward()

func (*LocalModuleConfig) ClearTelemetry

func (x *LocalModuleConfig) ClearTelemetry()

func (*LocalModuleConfig) ClearTrafficManagement

func (x *LocalModuleConfig) ClearTrafficManagement()

func (*LocalModuleConfig) GetAmbientLighting

func (x *LocalModuleConfig) GetAmbientLighting() *ModuleConfig_AmbientLightingConfig

func (*LocalModuleConfig) GetAudio

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 (*LocalModuleConfig) GetNeighborInfo

func (x *LocalModuleConfig) GetNeighborInfo() *ModuleConfig_NeighborInfoConfig

func (*LocalModuleConfig) GetPaxcounter

func (*LocalModuleConfig) GetRangeTest

func (*LocalModuleConfig) GetRemoteHardware

func (x *LocalModuleConfig) GetRemoteHardware() *ModuleConfig_RemoteHardwareConfig

func (*LocalModuleConfig) GetSerial

func (*LocalModuleConfig) GetStatusmessage

func (x *LocalModuleConfig) GetStatusmessage() *ModuleConfig_StatusMessageConfig

func (*LocalModuleConfig) GetStoreForward

func (x *LocalModuleConfig) GetStoreForward() *ModuleConfig_StoreForwardConfig

func (*LocalModuleConfig) GetTelemetry

func (*LocalModuleConfig) GetTrafficManagement

func (x *LocalModuleConfig) GetTrafficManagement() *ModuleConfig_TrafficManagementConfig

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) HasStatusmessage

func (x *LocalModuleConfig) HasStatusmessage() bool

func (*LocalModuleConfig) HasStoreForward

func (x *LocalModuleConfig) HasStoreForward() bool

func (*LocalModuleConfig) HasTelemetry

func (x *LocalModuleConfig) HasTelemetry() bool

func (*LocalModuleConfig) HasTrafficManagement

func (x *LocalModuleConfig) HasTrafficManagement() 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 (*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 (*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 (*LocalModuleConfig) SetStatusmessage

func (x *LocalModuleConfig) SetStatusmessage(v *ModuleConfig_StatusMessageConfig)

func (*LocalModuleConfig) SetStoreForward

func (x *LocalModuleConfig) SetStoreForward(v *ModuleConfig_StoreForwardConfig)

func (*LocalModuleConfig) SetTelemetry

func (x *LocalModuleConfig) SetTelemetry(v *ModuleConfig_TelemetryConfig)

func (*LocalModuleConfig) SetTrafficManagement

func (x *LocalModuleConfig) SetTrafficManagement(v *ModuleConfig_TrafficManagementConfig)

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
	// StatusMessage Config
	Statusmessage *ModuleConfig_StatusMessageConfig
	// The part of the config that is specific to the Traffic Management module
	TrafficManagement *ModuleConfig_TrafficManagementConfig
	// 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

type LocalStats

type LocalStats struct {

	// How long the device has been running since the last reboot (in seconds)
	UptimeSeconds uint32 `protobuf:"varint,1,opt,name=uptime_seconds,json=uptimeSeconds,proto3" json:"uptime_seconds,omitempty"`
	// Utilization for the current channel, including well formed TX, RX and malformed RX (aka noise).
	ChannelUtilization float32 `protobuf:"fixed32,2,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,3,opt,name=air_util_tx,json=airUtilTx,proto3" json:"air_util_tx,omitempty"`
	// Number of packets sent
	NumPacketsTx uint32 `protobuf:"varint,4,opt,name=num_packets_tx,json=numPacketsTx,proto3" json:"num_packets_tx,omitempty"`
	// Number of packets received (both good and bad)
	NumPacketsRx uint32 `protobuf:"varint,5,opt,name=num_packets_rx,json=numPacketsRx,proto3" json:"num_packets_rx,omitempty"`
	// Number of packets received that are malformed or violate the protocol
	NumPacketsRxBad uint32 `protobuf:"varint,6,opt,name=num_packets_rx_bad,json=numPacketsRxBad,proto3" json:"num_packets_rx_bad,omitempty"`
	// Number of nodes online (in the past 2 hours)
	NumOnlineNodes uint32 `protobuf:"varint,7,opt,name=num_online_nodes,json=numOnlineNodes,proto3" json:"num_online_nodes,omitempty"`
	// Number of nodes total
	NumTotalNodes uint32 `protobuf:"varint,8,opt,name=num_total_nodes,json=numTotalNodes,proto3" json:"num_total_nodes,omitempty"`
	// Number of received packets that were duplicates (due to multiple nodes relaying).
	// If this number is high, there are nodes in the mesh relaying packets when it's unnecessary, for example due to the ROUTER/REPEATER role.
	NumRxDupe uint32 `protobuf:"varint,9,opt,name=num_rx_dupe,json=numRxDupe,proto3" json:"num_rx_dupe,omitempty"`
	// Number of packets we transmitted that were a relay for others (not originating from ourselves).
	NumTxRelay uint32 `protobuf:"varint,10,opt,name=num_tx_relay,json=numTxRelay,proto3" json:"num_tx_relay,omitempty"`
	// Number of times we canceled a packet to be relayed, because someone else did it before us.
	// This will always be zero for ROUTERs/REPEATERs. If this number is high, some other node(s) is/are relaying faster than you.
	NumTxRelayCanceled uint32 `protobuf:"varint,11,opt,name=num_tx_relay_canceled,json=numTxRelayCanceled,proto3" json:"num_tx_relay_canceled,omitempty"`
	// Number of bytes used in the heap
	HeapTotalBytes uint32 `protobuf:"varint,12,opt,name=heap_total_bytes,json=heapTotalBytes,proto3" json:"heap_total_bytes,omitempty"`
	// Number of bytes free in the heap
	HeapFreeBytes uint32 `protobuf:"varint,13,opt,name=heap_free_bytes,json=heapFreeBytes,proto3" json:"heap_free_bytes,omitempty"`
	// Number of packets that were dropped because the transmit queue was full.
	NumTxDropped uint32 `protobuf:"varint,14,opt,name=num_tx_dropped,json=numTxDropped,proto3" json:"num_tx_dropped,omitempty"`
	// Noise floor value measured in dBm
	NoiseFloor int32 `protobuf:"varint,15,opt,name=noise_floor,json=noiseFloor,proto3" json:"noise_floor,omitempty"`
	// contains filtered or unexported fields
}

Local device mesh statistics

func (*LocalStats) GetAirUtilTx

func (x *LocalStats) GetAirUtilTx() float32

func (*LocalStats) GetChannelUtilization

func (x *LocalStats) GetChannelUtilization() float32

func (*LocalStats) GetHeapFreeBytes

func (x *LocalStats) GetHeapFreeBytes() uint32

func (*LocalStats) GetHeapTotalBytes

func (x *LocalStats) GetHeapTotalBytes() uint32

func (*LocalStats) GetNoiseFloor

func (x *LocalStats) GetNoiseFloor() int32

func (*LocalStats) GetNumOnlineNodes

func (x *LocalStats) GetNumOnlineNodes() uint32

func (*LocalStats) GetNumPacketsRx

func (x *LocalStats) GetNumPacketsRx() uint32

func (*LocalStats) GetNumPacketsRxBad

func (x *LocalStats) GetNumPacketsRxBad() uint32

func (*LocalStats) GetNumPacketsTx

func (x *LocalStats) GetNumPacketsTx() uint32

func (*LocalStats) GetNumRxDupe

func (x *LocalStats) GetNumRxDupe() uint32

func (*LocalStats) GetNumTotalNodes

func (x *LocalStats) GetNumTotalNodes() uint32

func (*LocalStats) GetNumTxDropped

func (x *LocalStats) GetNumTxDropped() uint32

func (*LocalStats) GetNumTxRelay

func (x *LocalStats) GetNumTxRelay() uint32

func (*LocalStats) GetNumTxRelayCanceled

func (x *LocalStats) GetNumTxRelayCanceled() uint32

func (*LocalStats) GetUptimeSeconds

func (x *LocalStats) GetUptimeSeconds() uint32

func (*LocalStats) ProtoMessage

func (*LocalStats) ProtoMessage()

func (*LocalStats) ProtoReflect

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

func (*LocalStats) Reset

func (x *LocalStats) Reset()

func (*LocalStats) SetAirUtilTx

func (x *LocalStats) SetAirUtilTx(v float32)

func (*LocalStats) SetChannelUtilization

func (x *LocalStats) SetChannelUtilization(v float32)

func (*LocalStats) SetHeapFreeBytes

func (x *LocalStats) SetHeapFreeBytes(v uint32)

func (*LocalStats) SetHeapTotalBytes

func (x *LocalStats) SetHeapTotalBytes(v uint32)

func (*LocalStats) SetNoiseFloor

func (x *LocalStats) SetNoiseFloor(v int32)

func (*LocalStats) SetNumOnlineNodes

func (x *LocalStats) SetNumOnlineNodes(v uint32)

func (*LocalStats) SetNumPacketsRx

func (x *LocalStats) SetNumPacketsRx(v uint32)

func (*LocalStats) SetNumPacketsRxBad

func (x *LocalStats) SetNumPacketsRxBad(v uint32)

func (*LocalStats) SetNumPacketsTx

func (x *LocalStats) SetNumPacketsTx(v uint32)

func (*LocalStats) SetNumRxDupe

func (x *LocalStats) SetNumRxDupe(v uint32)

func (*LocalStats) SetNumTotalNodes

func (x *LocalStats) SetNumTotalNodes(v uint32)

func (*LocalStats) SetNumTxDropped

func (x *LocalStats) SetNumTxDropped(v uint32)

func (*LocalStats) SetNumTxRelay

func (x *LocalStats) SetNumTxRelay(v uint32)

func (*LocalStats) SetNumTxRelayCanceled

func (x *LocalStats) SetNumTxRelayCanceled(v uint32)

func (*LocalStats) SetUptimeSeconds

func (x *LocalStats) SetUptimeSeconds(v uint32)

func (*LocalStats) String

func (x *LocalStats) String() string

type LocalStats_builder

type LocalStats_builder struct {

	// How long the device has been running since the last reboot (in seconds)
	UptimeSeconds uint32
	// 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
	// Number of packets sent
	NumPacketsTx uint32
	// Number of packets received (both good and bad)
	NumPacketsRx uint32
	// Number of packets received that are malformed or violate the protocol
	NumPacketsRxBad uint32
	// Number of nodes online (in the past 2 hours)
	NumOnlineNodes uint32
	// Number of nodes total
	NumTotalNodes uint32
	// Number of received packets that were duplicates (due to multiple nodes relaying).
	// If this number is high, there are nodes in the mesh relaying packets when it's unnecessary, for example due to the ROUTER/REPEATER role.
	NumRxDupe uint32
	// Number of packets we transmitted that were a relay for others (not originating from ourselves).
	NumTxRelay uint32
	// Number of times we canceled a packet to be relayed, because someone else did it before us.
	// This will always be zero for ROUTERs/REPEATERs. If this number is high, some other node(s) is/are relaying faster than you.
	NumTxRelayCanceled uint32
	// Number of bytes used in the heap
	HeapTotalBytes uint32
	// Number of bytes free in the heap
	HeapFreeBytes uint32
	// Number of packets that were dropped because the transmit queue was full.
	NumTxDropped uint32
	// Noise floor value measured in dBm
	NoiseFloor int32
	// contains filtered or unexported fields
}

func (LocalStats_builder) Build

func (b0 LocalStats_builder) Build() *LocalStats

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) GetMessage

func (x *LogRecord) GetMessage() string

func (*LogRecord) GetSource

func (x *LogRecord) GetSource() string

func (*LogRecord) GetTime

func (x *LogRecord) GetTime() uint32

func (*LogRecord) ProtoMessage

func (*LogRecord) ProtoMessage()

func (*LogRecord) ProtoReflect

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

func (*LogRecord) Reset

func (x *LogRecord) Reset()

func (*LogRecord) SetLevel

func (x *LogRecord) SetLevel(v LogRecord_Level)

func (*LogRecord) SetMessage

func (x *LogRecord) SetMessage(v string)

func (*LogRecord) SetSource

func (x *LogRecord) SetSource(v string)

func (*LogRecord) SetTime

func (x *LogRecord) SetTime(v uint32)

func (*LogRecord) String

func (x *LogRecord) String() string

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) Enum

func (x LogRecord_Level) Enum() *LogRecord_Level

func (LogRecord_Level) Number

func (LogRecord_Level) String

func (x LogRecord_Level) String() string

func (LogRecord_Level) Type

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 LowEntropyKey

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

func (*LowEntropyKey) ProtoMessage

func (*LowEntropyKey) ProtoMessage()

func (*LowEntropyKey) ProtoReflect

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

func (*LowEntropyKey) Reset

func (x *LowEntropyKey) Reset()

func (*LowEntropyKey) String

func (x *LowEntropyKey) String() string

type LowEntropyKey_builder

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

func (LowEntropyKey_builder) Build

type Map

type Map struct {

	// Home coordinates
	Home *GeoPoint `protobuf:"bytes,1,opt,name=home,proto3" json:"home,omitempty"`
	// Map tile style
	Style string `protobuf:"bytes,2,opt,name=style,proto3" json:"style,omitempty"`
	// Map scroll follows GPS
	FollowGps bool `protobuf:"varint,3,opt,name=follow_gps,json=followGps,proto3" json:"follow_gps,omitempty"`
	// contains filtered or unexported fields
}

func (*Map) ClearHome

func (x *Map) ClearHome()

func (*Map) GetFollowGps

func (x *Map) GetFollowGps() bool

func (*Map) GetHome

func (x *Map) GetHome() *GeoPoint

func (*Map) GetStyle

func (x *Map) GetStyle() string

func (*Map) HasHome

func (x *Map) HasHome() bool

func (*Map) ProtoMessage

func (*Map) ProtoMessage()

func (*Map) ProtoReflect

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

func (*Map) Reset

func (x *Map) Reset()

func (*Map) SetFollowGps

func (x *Map) SetFollowGps(v bool)

func (*Map) SetHome

func (x *Map) SetHome(v *GeoPoint)

func (*Map) SetStyle

func (x *Map) SetStyle(v string)

func (*Map) String

func (x *Map) String() string

type MapReport

type MapReport struct {

	// A full name for this user, i.e. "Kevin Hester"
	LongName string `protobuf:"bytes,1,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,2,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
	// Role of the node that applies specific settings for a particular use-case
	Role Config_DeviceConfig_Role `protobuf:"varint,3,opt,name=role,proto3,enum=meshtastic.Config_DeviceConfig_Role" json:"role,omitempty"`
	// Hardware model of the node, i.e. T-Beam, Heltec V3, etc...
	HwModel HardwareModel `protobuf:"varint,4,opt,name=hw_model,json=hwModel,proto3,enum=meshtastic.HardwareModel" json:"hw_model,omitempty"`
	// Device firmware version string
	FirmwareVersion string `protobuf:"bytes,5,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
	// The region code for the radio (US, CN, EU433, etc...)
	Region Config_LoRaConfig_RegionCode `protobuf:"varint,6,opt,name=region,proto3,enum=meshtastic.Config_LoRaConfig_RegionCode" json:"region,omitempty"`
	// Modem preset used by the radio (LongFast, MediumSlow, etc...)
	ModemPreset Config_LoRaConfig_ModemPreset `` /* 141-byte string literal not displayed */
	// Whether the node has a channel with default PSK and name (LongFast, MediumSlow, etc...)
	// and it uses the default frequency slot given the region and modem preset.
	HasDefaultChannel bool `protobuf:"varint,8,opt,name=has_default_channel,json=hasDefaultChannel,proto3" json:"has_default_channel,omitempty"`
	// Latitude: multiply by 1e-7 to get degrees in floating point
	LatitudeI int32 `protobuf:"fixed32,9,opt,name=latitude_i,json=latitudeI,proto3" json:"latitude_i,omitempty"`
	// Longitude: multiply by 1e-7 to get degrees in floating point
	LongitudeI int32 `protobuf:"fixed32,10,opt,name=longitude_i,json=longitudeI,proto3" json:"longitude_i,omitempty"`
	// Altitude in meters above MSL
	Altitude int32 `protobuf:"varint,11,opt,name=altitude,proto3" json:"altitude,omitempty"`
	// Indicates the bits of precision for latitude and longitude set by the sending node
	PositionPrecision uint32 `protobuf:"varint,12,opt,name=position_precision,json=positionPrecision,proto3" json:"position_precision,omitempty"`
	// Number of online nodes (heard in the last 2 hours) this node has in its list that were received locally (not via MQTT)
	NumOnlineLocalNodes uint32 `protobuf:"varint,13,opt,name=num_online_local_nodes,json=numOnlineLocalNodes,proto3" json:"num_online_local_nodes,omitempty"`
	// User has opted in to share their location (map report) with the mqtt server
	// Controlled by map_report.should_report_location
	HasOptedReportLocation bool `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information about a node intended to be reported unencrypted to a map using MQTT.

func (*MapReport) GetAltitude

func (x *MapReport) GetAltitude() int32

func (*MapReport) GetFirmwareVersion

func (x *MapReport) GetFirmwareVersion() string

func (*MapReport) GetHasDefaultChannel

func (x *MapReport) GetHasDefaultChannel() bool

func (*MapReport) GetHasOptedReportLocation

func (x *MapReport) GetHasOptedReportLocation() bool

func (*MapReport) GetHwModel

func (x *MapReport) GetHwModel() HardwareModel

func (*MapReport) GetLatitudeI

func (x *MapReport) GetLatitudeI() int32

func (*MapReport) GetLongName

func (x *MapReport) GetLongName() string

func (*MapReport) GetLongitudeI

func (x *MapReport) GetLongitudeI() int32

func (*MapReport) GetModemPreset

func (x *MapReport) GetModemPreset() Config_LoRaConfig_ModemPreset

func (*MapReport) GetNumOnlineLocalNodes

func (x *MapReport) GetNumOnlineLocalNodes() uint32

func (*MapReport) GetPositionPrecision

func (x *MapReport) GetPositionPrecision() uint32

func (*MapReport) GetRegion

func (x *MapReport) GetRegion() Config_LoRaConfig_RegionCode

func (*MapReport) GetRole

func (x *MapReport) GetRole() Config_DeviceConfig_Role

func (*MapReport) GetShortName

func (x *MapReport) GetShortName() string

func (*MapReport) ProtoMessage

func (*MapReport) ProtoMessage()

func (*MapReport) ProtoReflect

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

func (*MapReport) Reset

func (x *MapReport) Reset()

func (*MapReport) SetAltitude

func (x *MapReport) SetAltitude(v int32)

func (*MapReport) SetFirmwareVersion

func (x *MapReport) SetFirmwareVersion(v string)

func (*MapReport) SetHasDefaultChannel

func (x *MapReport) SetHasDefaultChannel(v bool)

func (*MapReport) SetHasOptedReportLocation

func (x *MapReport) SetHasOptedReportLocation(v bool)

func (*MapReport) SetHwModel

func (x *MapReport) SetHwModel(v HardwareModel)

func (*MapReport) SetLatitudeI

func (x *MapReport) SetLatitudeI(v int32)

func (*MapReport) SetLongName

func (x *MapReport) SetLongName(v string)

func (*MapReport) SetLongitudeI

func (x *MapReport) SetLongitudeI(v int32)

func (*MapReport) SetModemPreset

func (x *MapReport) SetModemPreset(v Config_LoRaConfig_ModemPreset)

func (*MapReport) SetNumOnlineLocalNodes

func (x *MapReport) SetNumOnlineLocalNodes(v uint32)

func (*MapReport) SetPositionPrecision

func (x *MapReport) SetPositionPrecision(v uint32)

func (*MapReport) SetRegion

func (x *MapReport) SetRegion(v Config_LoRaConfig_RegionCode)

func (*MapReport) SetRole

func (x *MapReport) SetRole(v Config_DeviceConfig_Role)

func (*MapReport) SetShortName

func (x *MapReport) SetShortName(v string)

func (*MapReport) String

func (x *MapReport) String() string

type MapReport_builder

type MapReport_builder struct {

	// 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
	// Role of the node that applies specific settings for a particular use-case
	Role Config_DeviceConfig_Role
	// Hardware model of the node, i.e. T-Beam, Heltec V3, etc...
	HwModel HardwareModel
	// Device firmware version string
	FirmwareVersion string
	// The region code for the radio (US, CN, EU433, etc...)
	Region Config_LoRaConfig_RegionCode
	// Modem preset used by the radio (LongFast, MediumSlow, etc...)
	ModemPreset Config_LoRaConfig_ModemPreset
	// Whether the node has a channel with default PSK and name (LongFast, MediumSlow, etc...)
	// and it uses the default frequency slot given the region and modem preset.
	HasDefaultChannel bool
	// Latitude: multiply by 1e-7 to get degrees in floating point
	LatitudeI int32
	// Longitude: multiply by 1e-7 to get degrees in floating point
	LongitudeI int32
	// Altitude in meters above MSL
	Altitude int32
	// Indicates the bits of precision for latitude and longitude set by the sending node
	PositionPrecision uint32
	// Number of online nodes (heard in the last 2 hours) this node has in its list that were received locally (not via MQTT)
	NumOnlineLocalNodes uint32
	// User has opted in to share their location (map report) with the mqtt server
	// Controlled by map_report.should_report_location
	HasOptedReportLocation bool
	// contains filtered or unexported fields
}

func (MapReport_builder) Build

func (b0 MapReport_builder) Build() *MapReport

type Map_builder

type Map_builder struct {

	// Home coordinates
	Home *GeoPoint
	// Map tile style
	Style string
	// Map scroll follows GPS
	FollowGps bool
	// contains filtered or unexported fields
}

func (Map_builder) Build

func (b0 Map_builder) Build() *Map

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

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.
	From uint32 `protobuf:"fixed32,1,opt,name=from,proto3" json:"from,omitempty"`
	// The (immediate) destination for this packet
	// If the value is 4,294,967,295 (maximum value of an unsigned 32bit integer), this indicates that the packet was
	// not destined for a specific node, but for a channel as indicated by the value of `channel` below.
	// If the value is another, this indicates that the packet was destined for a specific
	// node (i.e. a kind of "Direct Message" to this node) and not broadcast on a channel.
	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.
	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 direct neighbor 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"`
	// Hop limit with which the original packet started. Sent via LoRa using three bits in the unencrypted header.
	// When receiving a packet, the difference between hop_start and hop_limit gives how many hops it traveled.
	HopStart uint32 `protobuf:"varint,15,opt,name=hop_start,json=hopStart,proto3" json:"hop_start,omitempty"`
	// Records the public key the packet was encrypted with, if applicable.
	PublicKey []byte `protobuf:"bytes,16,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// Indicates whether the packet was en/decrypted using PKI
	PkiEncrypted bool `protobuf:"varint,17,opt,name=pki_encrypted,json=pkiEncrypted,proto3" json:"pki_encrypted,omitempty"`
	// Last byte of the node number of the node that should be used as the next hop in routing.
	// Set by the firmware internally, clients are not supposed to set this.
	NextHop uint32 `protobuf:"varint,18,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"`
	// Last byte of the node number of the node that will relay/relayed this packet.
	// Set by the firmware internally, clients are not supposed to set this.
	RelayNode uint32 `protobuf:"varint,19,opt,name=relay_node,json=relayNode,proto3" json:"relay_node,omitempty"`
	// *Never* sent over the radio links.
	// Timestamp after which this packet may be sent.
	// Set by the firmware internally, clients are not supposed to set this.
	TxAfter uint32 `protobuf:"varint,20,opt,name=tx_after,json=txAfter,proto3" json:"tx_after,omitempty"`
	// Indicates which transport mechanism this packet arrived over
	TransportMechanism MeshPacket_TransportMechanism `` /* 163-byte string literal not displayed */
	// 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) GetHopStart

func (x *MeshPacket) GetHopStart() uint32

func (*MeshPacket) GetId

func (x *MeshPacket) GetId() uint32

func (*MeshPacket) GetNextHop

func (x *MeshPacket) GetNextHop() uint32

func (*MeshPacket) GetPayloadVariant

func (x *MeshPacket) GetPayloadVariant() isMeshPacket_PayloadVariant

func (*MeshPacket) GetPkiEncrypted

func (x *MeshPacket) GetPkiEncrypted() bool

func (*MeshPacket) GetPriority

func (x *MeshPacket) GetPriority() MeshPacket_Priority

func (*MeshPacket) GetPublicKey

func (x *MeshPacket) GetPublicKey() []byte

func (*MeshPacket) GetRelayNode

func (x *MeshPacket) GetRelayNode() uint32

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) GetTransportMechanism

func (x *MeshPacket) GetTransportMechanism() MeshPacket_TransportMechanism

func (*MeshPacket) GetTxAfter

func (x *MeshPacket) GetTxAfter() 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) SetHopStart

func (x *MeshPacket) SetHopStart(v uint32)

func (*MeshPacket) SetId

func (x *MeshPacket) SetId(v uint32)

func (*MeshPacket) SetNextHop

func (x *MeshPacket) SetNextHop(v uint32)

func (*MeshPacket) SetPkiEncrypted

func (x *MeshPacket) SetPkiEncrypted(v bool)

func (*MeshPacket) SetPriority

func (x *MeshPacket) SetPriority(v MeshPacket_Priority)

func (*MeshPacket) SetPublicKey

func (x *MeshPacket) SetPublicKey(v []byte)

func (*MeshPacket) SetRelayNode

func (x *MeshPacket) SetRelayNode(v uint32)

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) SetTransportMechanism

func (x *MeshPacket) SetTransportMechanism(v MeshPacket_TransportMechanism)

func (*MeshPacket) SetTxAfter

func (x *MeshPacket) SetTxAfter(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) Enum

func (MeshPacket_Delayed) Number

func (MeshPacket_Delayed) String

func (x MeshPacket_Delayed) String() string

func (MeshPacket_Delayed) Type

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
	// If priority is unset but the packet is a response to a request, we want it to get there relatively quickly.
	// Furthermore, responses stop relaying packets directed to a node early.
	MeshPacket_RESPONSE MeshPacket_Priority = 80
	// Higher priority for specific message types (portnums) to distinguish between other reliable packets.
	MeshPacket_HIGH MeshPacket_Priority = 100
	// Higher priority alert message used for critical alerts which take priority over other reliable packets.
	MeshPacket_ALERT MeshPacket_Priority = 110
	// 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) Enum

func (MeshPacket_Priority) Number

func (MeshPacket_Priority) String

func (x MeshPacket_Priority) String() string

func (MeshPacket_Priority) Type

type MeshPacket_TransportMechanism

type MeshPacket_TransportMechanism int32

Enum to identify which transport mechanism this packet arrived over

const (
	// The default case is that the node generated a packet itself
	MeshPacket_TRANSPORT_INTERNAL MeshPacket_TransportMechanism = 0
	// Arrived via the primary LoRa radio
	MeshPacket_TRANSPORT_LORA MeshPacket_TransportMechanism = 1
	// Arrived via a secondary LoRa radio
	MeshPacket_TRANSPORT_LORA_ALT1 MeshPacket_TransportMechanism = 2
	// Arrived via a tertiary LoRa radio
	MeshPacket_TRANSPORT_LORA_ALT2 MeshPacket_TransportMechanism = 3
	// Arrived via a quaternary LoRa radio
	MeshPacket_TRANSPORT_LORA_ALT3 MeshPacket_TransportMechanism = 4
	// Arrived via an MQTT connection
	MeshPacket_TRANSPORT_MQTT MeshPacket_TransportMechanism = 5
	// Arrived via Multicast UDP
	MeshPacket_TRANSPORT_MULTICAST_UDP MeshPacket_TransportMechanism = 6
	// Arrived via API connection
	MeshPacket_TRANSPORT_API MeshPacket_TransportMechanism = 7
)

func (MeshPacket_TransportMechanism) Descriptor

func (MeshPacket_TransportMechanism) Enum

func (MeshPacket_TransportMechanism) Number

func (MeshPacket_TransportMechanism) String

func (MeshPacket_TransportMechanism) Type

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.
	From uint32
	// The (immediate) destination for this packet
	// If the value is 4,294,967,295 (maximum value of an unsigned 32bit integer), this indicates that the packet was
	// not destined for a specific node, but for a channel as indicated by the value of `channel` below.
	// If the value is another, this indicates that the packet was destined for a specific
	// node (i.e. a kind of "Direct Message" to this node) and not broadcast on a channel.
	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.
	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 direct neighbor 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
	// Hop limit with which the original packet started. Sent via LoRa using three bits in the unencrypted header.
	// When receiving a packet, the difference between hop_start and hop_limit gives how many hops it traveled.
	HopStart uint32
	// Records the public key the packet was encrypted with, if applicable.
	PublicKey []byte
	// Indicates whether the packet was en/decrypted using PKI
	PkiEncrypted bool
	// Last byte of the node number of the node that should be used as the next hop in routing.
	// Set by the firmware internally, clients are not supposed to set this.
	NextHop uint32
	// Last byte of the node number of the node that will relay/relayed this packet.
	// Set by the firmware internally, clients are not supposed to set this.
	RelayNode uint32
	// *Never* sent over the radio links.
	// Timestamp after which this packet may be sent.
	// Set by the firmware internally, clients are not supposed to set this.
	TxAfter uint32
	// Indicates which transport mechanism this packet arrived over
	TransportMechanism MeshPacket_TransportMechanism
	// contains filtered or unexported fields
}

func (MeshPacket_builder) Build

func (b0 MeshPacket_builder) Build() *MeshPacket

type MessageType

type MessageType int32
const (
	MessageType_ACK              MessageType = 0
	MessageType_COLLECT_INTERVAL MessageType = 160 // in ms
	MessageType_BEEP_ON          MessageType = 161 // duration ms
	MessageType_BEEP_OFF         MessageType = 162 // cancel prematurely
	MessageType_SHUTDOWN         MessageType = 163
	MessageType_POWER_ON         MessageType = 164
	MessageType_SCD41_TEMP       MessageType = 176
	MessageType_SCD41_HUMIDITY   MessageType = 177
	MessageType_SCD41_CO2        MessageType = 178
	MessageType_AHT20_TEMP       MessageType = 179
	MessageType_AHT20_HUMIDITY   MessageType = 180
	MessageType_TVOC_INDEX       MessageType = 181
)

func (MessageType) Descriptor

func (MessageType) Enum

func (x MessageType) Enum() *MessageType

func (MessageType) Number

func (x MessageType) Number() protoreflect.EnumNumber

func (MessageType) String

func (x MessageType) String() string

func (MessageType) Type

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
	//	*ModuleConfig_Statusmessage
	//	*ModuleConfig_TrafficManagement
	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) ClearStatusmessage

func (x *ModuleConfig) ClearStatusmessage()

func (*ModuleConfig) ClearStoreForward

func (x *ModuleConfig) ClearStoreForward()

func (*ModuleConfig) ClearTelemetry

func (x *ModuleConfig) ClearTelemetry()

func (*ModuleConfig) ClearTrafficManagement

func (x *ModuleConfig) ClearTrafficManagement()

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) GetStatusmessage

func (x *ModuleConfig) GetStatusmessage() *ModuleConfig_StatusMessageConfig

func (*ModuleConfig) GetStoreForward

func (x *ModuleConfig) GetStoreForward() *ModuleConfig_StoreForwardConfig

func (*ModuleConfig) GetTelemetry

func (x *ModuleConfig) GetTelemetry() *ModuleConfig_TelemetryConfig

func (*ModuleConfig) GetTrafficManagement

func (x *ModuleConfig) GetTrafficManagement() *ModuleConfig_TrafficManagementConfig

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) HasStatusmessage

func (x *ModuleConfig) HasStatusmessage() bool

func (*ModuleConfig) HasStoreForward

func (x *ModuleConfig) HasStoreForward() bool

func (*ModuleConfig) HasTelemetry

func (x *ModuleConfig) HasTelemetry() bool

func (*ModuleConfig) HasTrafficManagement

func (x *ModuleConfig) HasTrafficManagement() 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) SetStatusmessage

func (x *ModuleConfig) SetStatusmessage(v *ModuleConfig_StatusMessageConfig)

func (*ModuleConfig) SetStoreForward

func (x *ModuleConfig) SetStoreForward(v *ModuleConfig_StoreForwardConfig)

func (*ModuleConfig) SetTelemetry

func (x *ModuleConfig) SetTelemetry(v *ModuleConfig_TelemetryConfig)

func (*ModuleConfig) SetTrafficManagement

func (x *ModuleConfig) SetTrafficManagement(v *ModuleConfig_TrafficManagementConfig)

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 (*ModuleConfig_AmbientLightingConfig) GetCurrent

func (*ModuleConfig_AmbientLightingConfig) GetGreen

func (*ModuleConfig_AmbientLightingConfig) GetLedState

func (x *ModuleConfig_AmbientLightingConfig) GetLedState() bool

func (*ModuleConfig_AmbientLightingConfig) GetRed

func (*ModuleConfig_AmbientLightingConfig) ProtoMessage

func (*ModuleConfig_AmbientLightingConfig) ProtoMessage()

func (*ModuleConfig_AmbientLightingConfig) ProtoReflect

func (*ModuleConfig_AmbientLightingConfig) Reset

func (*ModuleConfig_AmbientLightingConfig) SetBlue

func (*ModuleConfig_AmbientLightingConfig) SetCurrent

func (x *ModuleConfig_AmbientLightingConfig) SetCurrent(v uint32)

func (*ModuleConfig_AmbientLightingConfig) SetGreen

func (*ModuleConfig_AmbientLightingConfig) SetLedState

func (x *ModuleConfig_AmbientLightingConfig) SetLedState(v bool)

func (*ModuleConfig_AmbientLightingConfig) SetRed

func (*ModuleConfig_AmbientLightingConfig) 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

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 (*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 (*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) Enum

func (ModuleConfig_AudioConfig_Audio_Baud) Number

func (ModuleConfig_AudioConfig_Audio_Baud) String

func (ModuleConfig_AudioConfig_Audio_Baud) Type

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

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.
	//
	// Deprecated: Marked as deprecated in meshtastic/module_config.proto.
	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", "scanAndSelect", "cardkb", "serialkb", or keyword "_any"
	//
	// Deprecated: Marked as deprecated in meshtastic/module_config.proto.
	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
}

Canned Messages Module Config

func (*ModuleConfig_CannedMessageConfig) GetAllowInputSource deprecated

func (x *ModuleConfig_CannedMessageConfig) GetAllowInputSource() string

Deprecated: Marked as deprecated in meshtastic/module_config.proto.

func (*ModuleConfig_CannedMessageConfig) GetEnabled deprecated

func (x *ModuleConfig_CannedMessageConfig) GetEnabled() bool

Deprecated: Marked as deprecated in meshtastic/module_config.proto.

func (*ModuleConfig_CannedMessageConfig) GetInputbrokerEventCcw

func (*ModuleConfig_CannedMessageConfig) GetInputbrokerEventCw

func (*ModuleConfig_CannedMessageConfig) GetInputbrokerEventPress

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 (*ModuleConfig_CannedMessageConfig) Reset

func (*ModuleConfig_CannedMessageConfig) SetAllowInputSource deprecated

func (x *ModuleConfig_CannedMessageConfig) SetAllowInputSource(v string)

Deprecated: Marked as deprecated in meshtastic/module_config.proto.

func (*ModuleConfig_CannedMessageConfig) SetEnabled deprecated

func (x *ModuleConfig_CannedMessageConfig) SetEnabled(v bool)

Deprecated: Marked as deprecated in meshtastic/module_config.proto.

func (*ModuleConfig_CannedMessageConfig) SetInputbrokerEventCcw

func (*ModuleConfig_CannedMessageConfig) SetInputbrokerEventCw

func (*ModuleConfig_CannedMessageConfig) SetInputbrokerEventPress

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

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) Enum

func (ModuleConfig_CannedMessageConfig_InputEventChar) Number

func (ModuleConfig_CannedMessageConfig_InputEventChar) 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.
	//
	// Deprecated: Marked as deprecated in meshtastic/module_config.proto.
	Enabled bool
	// Input event origin accepted by the canned message module.
	// Can be e.g. "rotEnc1", "upDownEnc1", "scanAndSelect", "cardkb", "serialkb", or keyword "_any"
	//
	// Deprecated: Marked as deprecated in meshtastic/module_config.proto.
	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

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
	// trigger event 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 trigger events When set to 0, only
	// trigger events 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"`
	// The type of trigger event to be used
	DetectionTriggerType ModuleConfig_DetectionSensorConfig_TriggerType `` /* 187-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) GetDetectionTriggerType

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 (*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 (*ModuleConfig_DetectionSensorConfig) Reset

func (*ModuleConfig_DetectionSensorConfig) SetDetectionTriggerType

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 (*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

type ModuleConfig_DetectionSensorConfig_TriggerType

type ModuleConfig_DetectionSensorConfig_TriggerType int32
const (
	// Event is triggered if pin is low
	ModuleConfig_DetectionSensorConfig_LOGIC_LOW ModuleConfig_DetectionSensorConfig_TriggerType = 0
	// Event is triggered if pin is high
	ModuleConfig_DetectionSensorConfig_LOGIC_HIGH ModuleConfig_DetectionSensorConfig_TriggerType = 1
	// Event is triggered when pin goes high to low
	ModuleConfig_DetectionSensorConfig_FALLING_EDGE ModuleConfig_DetectionSensorConfig_TriggerType = 2
	// Event is triggered when pin goes low to high
	ModuleConfig_DetectionSensorConfig_RISING_EDGE ModuleConfig_DetectionSensorConfig_TriggerType = 3
	// Event is triggered on every pin state change, low is considered to be
	// "active"
	ModuleConfig_DetectionSensorConfig_EITHER_EDGE_ACTIVE_LOW ModuleConfig_DetectionSensorConfig_TriggerType = 4
	// Event is triggered on every pin state change, high is considered to be
	// "active"
	ModuleConfig_DetectionSensorConfig_EITHER_EDGE_ACTIVE_HIGH ModuleConfig_DetectionSensorConfig_TriggerType = 5
)

func (ModuleConfig_DetectionSensorConfig_TriggerType) Descriptor

func (ModuleConfig_DetectionSensorConfig_TriggerType) Enum

func (ModuleConfig_DetectionSensorConfig_TriggerType) Number

func (ModuleConfig_DetectionSensorConfig_TriggerType) String

func (ModuleConfig_DetectionSensorConfig_TriggerType) Type

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
	// trigger event is detected
	MinimumBroadcastSecs uint32
	// Interval in seconds of how often we should send a message to the mesh
	// with the current state regardless of trigger events When set to 0, only
	// trigger events 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
	// The type of trigger event to be used
	DetectionTriggerType ModuleConfig_DetectionSensorConfig_TriggerType
	// 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

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 (*ModuleConfig_ExternalNotificationConfig) GetAlertBell

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 (*ModuleConfig_ExternalNotificationConfig) GetNagTimeout

func (*ModuleConfig_ExternalNotificationConfig) GetOutput

func (*ModuleConfig_ExternalNotificationConfig) GetOutputBuzzer

func (x *ModuleConfig_ExternalNotificationConfig) GetOutputBuzzer() uint32

func (*ModuleConfig_ExternalNotificationConfig) GetOutputMs

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 (*ModuleConfig_ExternalNotificationConfig) ProtoMessage

func (*ModuleConfig_ExternalNotificationConfig) ProtoReflect

func (*ModuleConfig_ExternalNotificationConfig) Reset

func (*ModuleConfig_ExternalNotificationConfig) SetActive

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 (*ModuleConfig_ExternalNotificationConfig) SetNagTimeout

func (x *ModuleConfig_ExternalNotificationConfig) SetNagTimeout(v uint32)

func (*ModuleConfig_ExternalNotificationConfig) SetOutput

func (*ModuleConfig_ExternalNotificationConfig) SetOutputBuzzer

func (x *ModuleConfig_ExternalNotificationConfig) SetOutputBuzzer(v uint32)

func (*ModuleConfig_ExternalNotificationConfig) SetOutputMs

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 (*ModuleConfig_ExternalNotificationConfig) 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 */
	// If true, we will periodically report unencrypted information about our node to a map via MQTT
	MapReportingEnabled bool `protobuf:"varint,10,opt,name=map_reporting_enabled,json=mapReportingEnabled,proto3" json:"map_reporting_enabled,omitempty"`
	// Settings for reporting information about our node to a map via MQTT
	MapReportSettings *ModuleConfig_MapReportSettings `protobuf:"bytes,11,opt,name=map_report_settings,json=mapReportSettings,proto3" json:"map_report_settings,omitempty"`
	// contains filtered or unexported fields
}

MQTT Client Config

func (*ModuleConfig_MQTTConfig) ClearMapReportSettings

func (x *ModuleConfig_MQTTConfig) ClearMapReportSettings()

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) GetMapReportSettings

func (x *ModuleConfig_MQTTConfig) GetMapReportSettings() *ModuleConfig_MapReportSettings

func (*ModuleConfig_MQTTConfig) GetMapReportingEnabled

func (x *ModuleConfig_MQTTConfig) GetMapReportingEnabled() 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) HasMapReportSettings

func (x *ModuleConfig_MQTTConfig) HasMapReportSettings() bool

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) SetMapReportSettings

func (x *ModuleConfig_MQTTConfig) SetMapReportSettings(v *ModuleConfig_MapReportSettings)

func (*ModuleConfig_MQTTConfig) SetMapReportingEnabled

func (x *ModuleConfig_MQTTConfig) SetMapReportingEnabled(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
	// If true, we will periodically report unencrypted information about our node to a map via MQTT
	MapReportingEnabled bool
	// Settings for reporting information about our node to a map via MQTT
	MapReportSettings *ModuleConfig_MapReportSettings
	// contains filtered or unexported fields
}

func (ModuleConfig_MQTTConfig_builder) Build

type ModuleConfig_MapReportSettings

type ModuleConfig_MapReportSettings struct {

	// How often we should report our info to the map (in seconds)
	PublishIntervalSecs uint32 `protobuf:"varint,1,opt,name=publish_interval_secs,json=publishIntervalSecs,proto3" json:"publish_interval_secs,omitempty"`
	// Bits of precision for the location sent (default of 32 is full precision).
	PositionPrecision uint32 `protobuf:"varint,2,opt,name=position_precision,json=positionPrecision,proto3" json:"position_precision,omitempty"`
	// Whether we have opted-in to report our location to the map
	ShouldReportLocation bool `protobuf:"varint,3,opt,name=should_report_location,json=shouldReportLocation,proto3" json:"should_report_location,omitempty"`
	// contains filtered or unexported fields
}

Settings for reporting unencrypted information about our node to a map via MQTT

func (*ModuleConfig_MapReportSettings) GetPositionPrecision

func (x *ModuleConfig_MapReportSettings) GetPositionPrecision() uint32

func (*ModuleConfig_MapReportSettings) GetPublishIntervalSecs

func (x *ModuleConfig_MapReportSettings) GetPublishIntervalSecs() uint32

func (*ModuleConfig_MapReportSettings) GetShouldReportLocation

func (x *ModuleConfig_MapReportSettings) GetShouldReportLocation() bool

func (*ModuleConfig_MapReportSettings) ProtoMessage

func (*ModuleConfig_MapReportSettings) ProtoMessage()

func (*ModuleConfig_MapReportSettings) ProtoReflect

func (*ModuleConfig_MapReportSettings) Reset

func (x *ModuleConfig_MapReportSettings) Reset()

func (*ModuleConfig_MapReportSettings) SetPositionPrecision

func (x *ModuleConfig_MapReportSettings) SetPositionPrecision(v uint32)

func (*ModuleConfig_MapReportSettings) SetPublishIntervalSecs

func (x *ModuleConfig_MapReportSettings) SetPublishIntervalSecs(v uint32)

func (*ModuleConfig_MapReportSettings) SetShouldReportLocation

func (x *ModuleConfig_MapReportSettings) SetShouldReportLocation(v bool)

func (*ModuleConfig_MapReportSettings) String

type ModuleConfig_MapReportSettings_builder

type ModuleConfig_MapReportSettings_builder struct {

	// How often we should report our info to the map (in seconds)
	PublishIntervalSecs uint32
	// Bits of precision for the location sent (default of 32 is full precision).
	PositionPrecision uint32
	// Whether we have opted-in to report our location to the map
	ShouldReportLocation bool
	// contains filtered or unexported fields
}

func (ModuleConfig_MapReportSettings_builder) Build

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 (minimum is 14400, i.e., 4 hours)
	UpdateInterval uint32 `protobuf:"varint,2,opt,name=update_interval,json=updateInterval,proto3" json:"update_interval,omitempty"`
	// Whether in addition to sending it to MQTT and the PhoneAPI, our NeighborInfo should be transmitted over LoRa.
	// Note that this is not available on a channel with default key and name.
	TransmitOverLora bool `protobuf:"varint,3,opt,name=transmit_over_lora,json=transmitOverLora,proto3" json:"transmit_over_lora,omitempty"`
	// contains filtered or unexported fields
}

NeighborInfoModule Config

func (*ModuleConfig_NeighborInfoConfig) GetEnabled

func (x *ModuleConfig_NeighborInfoConfig) GetEnabled() bool

func (*ModuleConfig_NeighborInfoConfig) GetTransmitOverLora

func (x *ModuleConfig_NeighborInfoConfig) GetTransmitOverLora() bool

func (*ModuleConfig_NeighborInfoConfig) GetUpdateInterval

func (x *ModuleConfig_NeighborInfoConfig) GetUpdateInterval() uint32

func (*ModuleConfig_NeighborInfoConfig) ProtoMessage

func (*ModuleConfig_NeighborInfoConfig) ProtoMessage()

func (*ModuleConfig_NeighborInfoConfig) ProtoReflect

func (*ModuleConfig_NeighborInfoConfig) Reset

func (*ModuleConfig_NeighborInfoConfig) SetEnabled

func (x *ModuleConfig_NeighborInfoConfig) SetEnabled(v bool)

func (*ModuleConfig_NeighborInfoConfig) SetTransmitOverLora

func (x *ModuleConfig_NeighborInfoConfig) SetTransmitOverLora(v bool)

func (*ModuleConfig_NeighborInfoConfig) SetUpdateInterval

func (x *ModuleConfig_NeighborInfoConfig) SetUpdateInterval(v uint32)

func (*ModuleConfig_NeighborInfoConfig) 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 (minimum is 14400, i.e., 4 hours)
	UpdateInterval uint32
	// Whether in addition to sending it to MQTT and the PhoneAPI, our NeighborInfo should be transmitted over LoRa.
	// Note that this is not available on a channel with default key and name.
	TransmitOverLora bool
	// contains filtered or unexported fields
}

func (ModuleConfig_NeighborInfoConfig_builder) Build

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 */
	// WiFi RSSI threshold. Defaults to -80
	WifiThreshold int32 `protobuf:"varint,3,opt,name=wifi_threshold,json=wifiThreshold,proto3" json:"wifi_threshold,omitempty"`
	// BLE RSSI threshold. Defaults to -80
	BleThreshold int32 `protobuf:"varint,4,opt,name=ble_threshold,json=bleThreshold,proto3" json:"ble_threshold,omitempty"`
	// contains filtered or unexported fields
}

Config for the Paxcounter Module

func (*ModuleConfig_PaxcounterConfig) GetBleThreshold

func (x *ModuleConfig_PaxcounterConfig) GetBleThreshold() int32

func (*ModuleConfig_PaxcounterConfig) GetEnabled

func (x *ModuleConfig_PaxcounterConfig) GetEnabled() bool

func (*ModuleConfig_PaxcounterConfig) GetPaxcounterUpdateInterval

func (x *ModuleConfig_PaxcounterConfig) GetPaxcounterUpdateInterval() uint32

func (*ModuleConfig_PaxcounterConfig) GetWifiThreshold

func (x *ModuleConfig_PaxcounterConfig) GetWifiThreshold() int32

func (*ModuleConfig_PaxcounterConfig) ProtoMessage

func (*ModuleConfig_PaxcounterConfig) ProtoMessage()

func (*ModuleConfig_PaxcounterConfig) ProtoReflect

func (*ModuleConfig_PaxcounterConfig) Reset

func (x *ModuleConfig_PaxcounterConfig) Reset()

func (*ModuleConfig_PaxcounterConfig) SetBleThreshold

func (x *ModuleConfig_PaxcounterConfig) SetBleThreshold(v int32)

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) SetWifiThreshold

func (x *ModuleConfig_PaxcounterConfig) SetWifiThreshold(v int32)

func (*ModuleConfig_PaxcounterConfig) String

type ModuleConfig_PaxcounterConfig_builder

type ModuleConfig_PaxcounterConfig_builder struct {

	// Enable the Paxcounter Module
	Enabled                  bool
	PaxcounterUpdateInterval uint32
	// WiFi RSSI threshold. Defaults to -80
	WifiThreshold int32
	// BLE RSSI threshold. Defaults to -80
	BleThreshold int32
	// contains filtered or unexported fields
}

func (ModuleConfig_PaxcounterConfig_builder) Build

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"`
	// Bool indicating that the node should cleanup / destroy it's RangeTest.csv file.
	// ESP32 Only
	ClearOnReboot bool `protobuf:"varint,4,opt,name=clear_on_reboot,json=clearOnReboot,proto3" json:"clear_on_reboot,omitempty"`
	// contains filtered or unexported fields
}

Preferences for the RangeTestModule

func (*ModuleConfig_RangeTestConfig) GetClearOnReboot

func (x *ModuleConfig_RangeTestConfig) GetClearOnReboot() bool

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 (*ModuleConfig_RangeTestConfig) Reset

func (x *ModuleConfig_RangeTestConfig) Reset()

func (*ModuleConfig_RangeTestConfig) SetClearOnReboot

func (x *ModuleConfig_RangeTestConfig) SetClearOnReboot(v bool)

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

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
	// Bool indicating that the node should cleanup / destroy it's RangeTest.csv file.
	// ESP32 Only
	ClearOnReboot bool
	// contains filtered or unexported fields
}

func (ModuleConfig_RangeTestConfig_builder) Build

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 (*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

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

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 (*ModuleConfig_SerialConfig) GetEcho

func (x *ModuleConfig_SerialConfig) GetEcho() bool

func (*ModuleConfig_SerialConfig) GetEnabled

func (x *ModuleConfig_SerialConfig) GetEnabled() bool

func (*ModuleConfig_SerialConfig) GetMode

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 (*ModuleConfig_SerialConfig) Reset

func (x *ModuleConfig_SerialConfig) Reset()

func (*ModuleConfig_SerialConfig) SetBaud

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 (*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) Enum

func (ModuleConfig_SerialConfig_Serial_Baud) Number

func (ModuleConfig_SerialConfig_Serial_Baud) String

func (ModuleConfig_SerialConfig_Serial_Baud) Type

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
	// Ecowitt WS85 weather station
	ModuleConfig_SerialConfig_WS85 ModuleConfig_SerialConfig_Serial_Mode = 6
	// VE.Direct is a serial protocol used by Victron Energy products
	// https://beta.ivc.no/wiki/index.php/Victron_VE_Direct_DIY_Cable
	ModuleConfig_SerialConfig_VE_DIRECT ModuleConfig_SerialConfig_Serial_Mode = 7
	// Used to configure and view some parameters of MeshSolar.
	// https://heltec.org/project/meshsolar/
	ModuleConfig_SerialConfig_MS_CONFIG ModuleConfig_SerialConfig_Serial_Mode = 8
	// Logs mesh traffic to the serial pins, ideal for logging via openLog or similar.
	ModuleConfig_SerialConfig_LOG     ModuleConfig_SerialConfig_Serial_Mode = 9  // includes other packets
	ModuleConfig_SerialConfig_LOGTEXT ModuleConfig_SerialConfig_Serial_Mode = 10 // only text (channel & DM)
)

func (ModuleConfig_SerialConfig_Serial_Mode) Descriptor

func (ModuleConfig_SerialConfig_Serial_Mode) Enum

func (ModuleConfig_SerialConfig_Serial_Mode) Number

func (ModuleConfig_SerialConfig_Serial_Mode) String

func (ModuleConfig_SerialConfig_Serial_Mode) Type

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

type ModuleConfig_StatusMessageConfig

type ModuleConfig_StatusMessageConfig struct {

	// The actual status string
	NodeStatus string `protobuf:"bytes,1,opt,name=node_status,json=nodeStatus,proto3" json:"node_status,omitempty"`
	// contains filtered or unexported fields
}

StatusMessage config - Allows setting a status message for a node to periodically rebroadcast

func (*ModuleConfig_StatusMessageConfig) GetNodeStatus

func (x *ModuleConfig_StatusMessageConfig) GetNodeStatus() string

func (*ModuleConfig_StatusMessageConfig) ProtoMessage

func (*ModuleConfig_StatusMessageConfig) ProtoMessage()

func (*ModuleConfig_StatusMessageConfig) ProtoReflect

func (*ModuleConfig_StatusMessageConfig) Reset

func (*ModuleConfig_StatusMessageConfig) SetNodeStatus

func (x *ModuleConfig_StatusMessageConfig) SetNodeStatus(v string)

func (*ModuleConfig_StatusMessageConfig) String

type ModuleConfig_StatusMessageConfig_builder

type ModuleConfig_StatusMessageConfig_builder struct {

	// The actual status string
	NodeStatus string
	// contains filtered or unexported fields
}

func (ModuleConfig_StatusMessageConfig_builder) Build

type ModuleConfig_Statusmessage

type ModuleConfig_Statusmessage struct {
	// TODO: REPLACE
	Statusmessage *ModuleConfig_StatusMessageConfig `protobuf:"bytes,14,opt,name=statusmessage,proto3,oneof"`
}

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"`
	// Set to true to let this node act as a server that stores received messages and resends them upon request.
	IsServer bool `protobuf:"varint,6,opt,name=is_server,json=isServer,proto3" json:"is_server,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) GetIsServer

func (x *ModuleConfig_StoreForwardConfig) GetIsServer() bool

func (*ModuleConfig_StoreForwardConfig) GetRecords

func (x *ModuleConfig_StoreForwardConfig) GetRecords() uint32

func (*ModuleConfig_StoreForwardConfig) ProtoMessage

func (*ModuleConfig_StoreForwardConfig) ProtoMessage()

func (*ModuleConfig_StoreForwardConfig) ProtoReflect

func (*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) SetIsServer

func (x *ModuleConfig_StoreForwardConfig) SetIsServer(v bool)

func (*ModuleConfig_StoreForwardConfig) SetRecords

func (x *ModuleConfig_StoreForwardConfig) SetRecords(v uint32)

func (*ModuleConfig_StoreForwardConfig) 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
	// Set to true to let this node act as a server that stores received messages and resends them upon request.
	IsServer bool
	// contains filtered or unexported fields
}

func (ModuleConfig_StoreForwardConfig_builder) Build

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"`
	// Enable/disable Power metrics
	PowerMeasurementEnabled bool `` /* 133-byte string literal not displayed */
	// Interval in seconds of how often we should try to send our
	// power metrics to the mesh
	PowerUpdateInterval uint32 `protobuf:"varint,9,opt,name=power_update_interval,json=powerUpdateInterval,proto3" json:"power_update_interval,omitempty"`
	// Enable/Disable the power measurement module on-device display
	PowerScreenEnabled bool `protobuf:"varint,10,opt,name=power_screen_enabled,json=powerScreenEnabled,proto3" json:"power_screen_enabled,omitempty"`
	// Preferences for the (Health) Telemetry Module
	// Enable/Disable the telemetry measurement module measurement collection
	HealthMeasurementEnabled bool `` /* 137-byte string literal not displayed */
	// Interval in seconds of how often we should try to send our
	// health metrics to the mesh
	HealthUpdateInterval uint32 `protobuf:"varint,12,opt,name=health_update_interval,json=healthUpdateInterval,proto3" json:"health_update_interval,omitempty"`
	// Enable/Disable the health telemetry module on-device display
	HealthScreenEnabled bool `protobuf:"varint,13,opt,name=health_screen_enabled,json=healthScreenEnabled,proto3" json:"health_screen_enabled,omitempty"`
	// Enable/Disable the device telemetry module to send metrics to the mesh
	// Note: We will still send telemtry to the connected phone / client every minute over the API
	DeviceTelemetryEnabled bool `` /* 131-byte string literal not displayed */
	// Enable/Disable the air quality telemetry measurement module on-device display
	AirQualityScreenEnabled bool `` /* 136-byte string literal not displayed */
	// 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) GetAirQualityScreenEnabled

func (x *ModuleConfig_TelemetryConfig) GetAirQualityScreenEnabled() bool

func (*ModuleConfig_TelemetryConfig) GetDeviceTelemetryEnabled

func (x *ModuleConfig_TelemetryConfig) GetDeviceTelemetryEnabled() bool

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) GetHealthMeasurementEnabled

func (x *ModuleConfig_TelemetryConfig) GetHealthMeasurementEnabled() bool

func (*ModuleConfig_TelemetryConfig) GetHealthScreenEnabled

func (x *ModuleConfig_TelemetryConfig) GetHealthScreenEnabled() bool

func (*ModuleConfig_TelemetryConfig) GetHealthUpdateInterval

func (x *ModuleConfig_TelemetryConfig) GetHealthUpdateInterval() 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 (*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) SetAirQualityScreenEnabled

func (x *ModuleConfig_TelemetryConfig) SetAirQualityScreenEnabled(v bool)

func (*ModuleConfig_TelemetryConfig) SetDeviceTelemetryEnabled

func (x *ModuleConfig_TelemetryConfig) SetDeviceTelemetryEnabled(v bool)

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) SetHealthMeasurementEnabled

func (x *ModuleConfig_TelemetryConfig) SetHealthMeasurementEnabled(v bool)

func (*ModuleConfig_TelemetryConfig) SetHealthScreenEnabled

func (x *ModuleConfig_TelemetryConfig) SetHealthScreenEnabled(v bool)

func (*ModuleConfig_TelemetryConfig) SetHealthUpdateInterval

func (x *ModuleConfig_TelemetryConfig) SetHealthUpdateInterval(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

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
	// Enable/disable Power metrics
	PowerMeasurementEnabled bool
	// Interval in seconds of how often we should try to send our
	// power metrics to the mesh
	PowerUpdateInterval uint32
	// Enable/Disable the power measurement module on-device display
	PowerScreenEnabled bool
	// Preferences for the (Health) Telemetry Module
	// Enable/Disable the telemetry measurement module measurement collection
	HealthMeasurementEnabled bool
	// Interval in seconds of how often we should try to send our
	// health metrics to the mesh
	HealthUpdateInterval uint32
	// Enable/Disable the health telemetry module on-device display
	HealthScreenEnabled bool
	// Enable/Disable the device telemetry module to send metrics to the mesh
	// Note: We will still send telemtry to the connected phone / client every minute over the API
	DeviceTelemetryEnabled bool
	// Enable/Disable the air quality telemetry measurement module on-device display
	AirQualityScreenEnabled bool
	// contains filtered or unexported fields
}

func (ModuleConfig_TelemetryConfig_builder) Build

type ModuleConfig_TrafficManagement

type ModuleConfig_TrafficManagement struct {
	// Traffic management module config for mesh network optimization
	TrafficManagement *ModuleConfig_TrafficManagementConfig `protobuf:"bytes,15,opt,name=traffic_management,json=trafficManagement,proto3,oneof"`
}

type ModuleConfig_TrafficManagementConfig

type ModuleConfig_TrafficManagementConfig struct {

	// Master enable for traffic management module
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Enable position deduplication to drop redundant position broadcasts
	PositionDedupEnabled bool `protobuf:"varint,2,opt,name=position_dedup_enabled,json=positionDedupEnabled,proto3" json:"position_dedup_enabled,omitempty"`
	// Number of bits of precision for position deduplication (0-32)
	PositionPrecisionBits uint32 `` /* 127-byte string literal not displayed */
	// Minimum interval in seconds between position updates from the same node
	PositionMinIntervalSecs uint32 `` /* 135-byte string literal not displayed */
	// Enable direct response to NodeInfo requests from local cache
	NodeinfoDirectResponse bool `` /* 130-byte string literal not displayed */
	// Minimum hop distance from requestor before responding to NodeInfo requests
	NodeinfoDirectResponseMaxHops uint32 `` /* 155-byte string literal not displayed */
	// Enable per-node rate limiting to throttle chatty nodes
	RateLimitEnabled bool `protobuf:"varint,7,opt,name=rate_limit_enabled,json=rateLimitEnabled,proto3" json:"rate_limit_enabled,omitempty"`
	// Time window in seconds for rate limiting calculations
	RateLimitWindowSecs uint32 `protobuf:"varint,8,opt,name=rate_limit_window_secs,json=rateLimitWindowSecs,proto3" json:"rate_limit_window_secs,omitempty"`
	// Maximum packets allowed per node within the rate limit window
	RateLimitMaxPackets uint32 `protobuf:"varint,9,opt,name=rate_limit_max_packets,json=rateLimitMaxPackets,proto3" json:"rate_limit_max_packets,omitempty"`
	// Enable dropping of unknown/undecryptable packets per rate_limit_window_secs
	DropUnknownEnabled bool `protobuf:"varint,10,opt,name=drop_unknown_enabled,json=dropUnknownEnabled,proto3" json:"drop_unknown_enabled,omitempty"`
	// Number of unknown packets before dropping from a node
	UnknownPacketThreshold uint32 `` /* 131-byte string literal not displayed */
	// Set hop_limit to 0 for relayed telemetry broadcasts (own packets unaffected)
	ExhaustHopTelemetry bool `protobuf:"varint,12,opt,name=exhaust_hop_telemetry,json=exhaustHopTelemetry,proto3" json:"exhaust_hop_telemetry,omitempty"`
	// Set hop_limit to 0 for relayed position broadcasts (own packets unaffected)
	ExhaustHopPosition bool `protobuf:"varint,13,opt,name=exhaust_hop_position,json=exhaustHopPosition,proto3" json:"exhaust_hop_position,omitempty"`
	// Preserve hop_limit for router-to-router traffic
	RouterPreserveHops bool `protobuf:"varint,14,opt,name=router_preserve_hops,json=routerPreserveHops,proto3" json:"router_preserve_hops,omitempty"`
	// contains filtered or unexported fields
}

Config for the Traffic Management module. Provides packet inspection and traffic shaping to help reduce channel utilization

func (*ModuleConfig_TrafficManagementConfig) GetDropUnknownEnabled

func (x *ModuleConfig_TrafficManagementConfig) GetDropUnknownEnabled() bool

func (*ModuleConfig_TrafficManagementConfig) GetEnabled

func (*ModuleConfig_TrafficManagementConfig) GetExhaustHopPosition

func (x *ModuleConfig_TrafficManagementConfig) GetExhaustHopPosition() bool

func (*ModuleConfig_TrafficManagementConfig) GetExhaustHopTelemetry

func (x *ModuleConfig_TrafficManagementConfig) GetExhaustHopTelemetry() bool

func (*ModuleConfig_TrafficManagementConfig) GetNodeinfoDirectResponse

func (x *ModuleConfig_TrafficManagementConfig) GetNodeinfoDirectResponse() bool

func (*ModuleConfig_TrafficManagementConfig) GetNodeinfoDirectResponseMaxHops

func (x *ModuleConfig_TrafficManagementConfig) GetNodeinfoDirectResponseMaxHops() uint32

func (*ModuleConfig_TrafficManagementConfig) GetPositionDedupEnabled

func (x *ModuleConfig_TrafficManagementConfig) GetPositionDedupEnabled() bool

func (*ModuleConfig_TrafficManagementConfig) GetPositionMinIntervalSecs

func (x *ModuleConfig_TrafficManagementConfig) GetPositionMinIntervalSecs() uint32

func (*ModuleConfig_TrafficManagementConfig) GetPositionPrecisionBits

func (x *ModuleConfig_TrafficManagementConfig) GetPositionPrecisionBits() uint32

func (*ModuleConfig_TrafficManagementConfig) GetRateLimitEnabled

func (x *ModuleConfig_TrafficManagementConfig) GetRateLimitEnabled() bool

func (*ModuleConfig_TrafficManagementConfig) GetRateLimitMaxPackets

func (x *ModuleConfig_TrafficManagementConfig) GetRateLimitMaxPackets() uint32

func (*ModuleConfig_TrafficManagementConfig) GetRateLimitWindowSecs

func (x *ModuleConfig_TrafficManagementConfig) GetRateLimitWindowSecs() uint32

func (*ModuleConfig_TrafficManagementConfig) GetRouterPreserveHops

func (x *ModuleConfig_TrafficManagementConfig) GetRouterPreserveHops() bool

func (*ModuleConfig_TrafficManagementConfig) GetUnknownPacketThreshold

func (x *ModuleConfig_TrafficManagementConfig) GetUnknownPacketThreshold() uint32

func (*ModuleConfig_TrafficManagementConfig) ProtoMessage

func (*ModuleConfig_TrafficManagementConfig) ProtoMessage()

func (*ModuleConfig_TrafficManagementConfig) ProtoReflect

func (*ModuleConfig_TrafficManagementConfig) Reset

func (*ModuleConfig_TrafficManagementConfig) SetDropUnknownEnabled

func (x *ModuleConfig_TrafficManagementConfig) SetDropUnknownEnabled(v bool)

func (*ModuleConfig_TrafficManagementConfig) SetEnabled

func (x *ModuleConfig_TrafficManagementConfig) SetEnabled(v bool)

func (*ModuleConfig_TrafficManagementConfig) SetExhaustHopPosition

func (x *ModuleConfig_TrafficManagementConfig) SetExhaustHopPosition(v bool)

func (*ModuleConfig_TrafficManagementConfig) SetExhaustHopTelemetry

func (x *ModuleConfig_TrafficManagementConfig) SetExhaustHopTelemetry(v bool)

func (*ModuleConfig_TrafficManagementConfig) SetNodeinfoDirectResponse

func (x *ModuleConfig_TrafficManagementConfig) SetNodeinfoDirectResponse(v bool)

func (*ModuleConfig_TrafficManagementConfig) SetNodeinfoDirectResponseMaxHops

func (x *ModuleConfig_TrafficManagementConfig) SetNodeinfoDirectResponseMaxHops(v uint32)

func (*ModuleConfig_TrafficManagementConfig) SetPositionDedupEnabled

func (x *ModuleConfig_TrafficManagementConfig) SetPositionDedupEnabled(v bool)

func (*ModuleConfig_TrafficManagementConfig) SetPositionMinIntervalSecs

func (x *ModuleConfig_TrafficManagementConfig) SetPositionMinIntervalSecs(v uint32)

func (*ModuleConfig_TrafficManagementConfig) SetPositionPrecisionBits

func (x *ModuleConfig_TrafficManagementConfig) SetPositionPrecisionBits(v uint32)

func (*ModuleConfig_TrafficManagementConfig) SetRateLimitEnabled

func (x *ModuleConfig_TrafficManagementConfig) SetRateLimitEnabled(v bool)

func (*ModuleConfig_TrafficManagementConfig) SetRateLimitMaxPackets

func (x *ModuleConfig_TrafficManagementConfig) SetRateLimitMaxPackets(v uint32)

func (*ModuleConfig_TrafficManagementConfig) SetRateLimitWindowSecs

func (x *ModuleConfig_TrafficManagementConfig) SetRateLimitWindowSecs(v uint32)

func (*ModuleConfig_TrafficManagementConfig) SetRouterPreserveHops

func (x *ModuleConfig_TrafficManagementConfig) SetRouterPreserveHops(v bool)

func (*ModuleConfig_TrafficManagementConfig) SetUnknownPacketThreshold

func (x *ModuleConfig_TrafficManagementConfig) SetUnknownPacketThreshold(v uint32)

func (*ModuleConfig_TrafficManagementConfig) String

type ModuleConfig_TrafficManagementConfig_builder

type ModuleConfig_TrafficManagementConfig_builder struct {

	// Master enable for traffic management module
	Enabled bool
	// Enable position deduplication to drop redundant position broadcasts
	PositionDedupEnabled bool
	// Number of bits of precision for position deduplication (0-32)
	PositionPrecisionBits uint32
	// Minimum interval in seconds between position updates from the same node
	PositionMinIntervalSecs uint32
	// Enable direct response to NodeInfo requests from local cache
	NodeinfoDirectResponse bool
	// Minimum hop distance from requestor before responding to NodeInfo requests
	NodeinfoDirectResponseMaxHops uint32
	// Enable per-node rate limiting to throttle chatty nodes
	RateLimitEnabled bool
	// Time window in seconds for rate limiting calculations
	RateLimitWindowSecs uint32
	// Maximum packets allowed per node within the rate limit window
	RateLimitMaxPackets uint32
	// Enable dropping of unknown/undecryptable packets per rate_limit_window_secs
	DropUnknownEnabled bool
	// Number of unknown packets before dropping from a node
	UnknownPacketThreshold uint32
	// Set hop_limit to 0 for relayed telemetry broadcasts (own packets unaffected)
	ExhaustHopTelemetry bool
	// Set hop_limit to 0 for relayed position broadcasts (own packets unaffected)
	ExhaustHopPosition bool
	// Preserve hop_limit for router-to-router traffic
	RouterPreserveHops bool
	// contains filtered or unexported fields
}

func (ModuleConfig_TrafficManagementConfig_builder) Build

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
	// TODO: REPLACE
	Statusmessage *ModuleConfig_StatusMessageConfig
	// Traffic management module config for mesh network optimization
	TrafficManagement *ModuleConfig_TrafficManagementConfig
	// contains filtered or unexported fields
}

func (ModuleConfig_builder) Build

func (b0 ModuleConfig_builder) Build() *ModuleConfig

type ModuleSettings

type ModuleSettings struct {

	// Bits of precision for the location sent in position packets.
	PositionPrecision uint32 `protobuf:"varint,1,opt,name=position_precision,json=positionPrecision,proto3" json:"position_precision,omitempty"`
	// Controls whether or not the client / device should mute the current channel
	// Useful for noisy public channels you don't necessarily want to disable
	IsMuted bool `protobuf:"varint,2,opt,name=is_muted,json=isMuted,proto3" json:"is_muted,omitempty"`
	// contains filtered or unexported fields
}

This message is specifically for modules to store per-channel configuration data.

func (*ModuleSettings) GetIsMuted

func (x *ModuleSettings) GetIsMuted() bool

func (*ModuleSettings) GetPositionPrecision

func (x *ModuleSettings) GetPositionPrecision() uint32

func (*ModuleSettings) ProtoMessage

func (*ModuleSettings) ProtoMessage()

func (*ModuleSettings) ProtoReflect

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

func (*ModuleSettings) Reset

func (x *ModuleSettings) Reset()

func (*ModuleSettings) SetIsMuted

func (x *ModuleSettings) SetIsMuted(v bool)

func (*ModuleSettings) SetPositionPrecision

func (x *ModuleSettings) SetPositionPrecision(v uint32)

func (*ModuleSettings) String

func (x *ModuleSettings) String() string

type ModuleSettings_builder

type ModuleSettings_builder struct {

	// Bits of precision for the location sent in position packets.
	PositionPrecision uint32
	// Controls whether or not the client / device should mute the current channel
	// Useful for noisy public channels you don't necessarily want to disable
	IsMuted bool
	// contains filtered or unexported fields
}

func (ModuleSettings_builder) Build

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

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"`
	// Unique hardware identifier for this device
	DeviceId []byte `protobuf:"bytes,12,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// The PlatformIO environment used to build this firmware
	PioEnv string `protobuf:"bytes,13,opt,name=pio_env,json=pioEnv,proto3" json:"pio_env,omitempty"`
	// The indicator for whether this device is running event firmware and which
	FirmwareEdition FirmwareEdition `` /* 140-byte string literal not displayed */
	// The number of nodes in the nodedb.
	// This is used by the phone to know how many NodeInfo packets to expect on want_config
	NodedbCount uint32 `protobuf:"varint,15,opt,name=nodedb_count,json=nodedbCount,proto3" json:"nodedb_count,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) GetDeviceId

func (x *MyNodeInfo) GetDeviceId() []byte

func (*MyNodeInfo) GetFirmwareEdition

func (x *MyNodeInfo) GetFirmwareEdition() FirmwareEdition

func (*MyNodeInfo) GetMinAppVersion

func (x *MyNodeInfo) GetMinAppVersion() uint32

func (*MyNodeInfo) GetMyNodeNum

func (x *MyNodeInfo) GetMyNodeNum() uint32

func (*MyNodeInfo) GetNodedbCount

func (x *MyNodeInfo) GetNodedbCount() uint32

func (*MyNodeInfo) GetPioEnv

func (x *MyNodeInfo) GetPioEnv() string

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) SetDeviceId

func (x *MyNodeInfo) SetDeviceId(v []byte)

func (*MyNodeInfo) SetFirmwareEdition

func (x *MyNodeInfo) SetFirmwareEdition(v FirmwareEdition)

func (*MyNodeInfo) SetMinAppVersion

func (x *MyNodeInfo) SetMinAppVersion(v uint32)

func (*MyNodeInfo) SetMyNodeNum

func (x *MyNodeInfo) SetMyNodeNum(v uint32)

func (*MyNodeInfo) SetNodedbCount

func (x *MyNodeInfo) SetNodedbCount(v uint32)

func (*MyNodeInfo) SetPioEnv

func (x *MyNodeInfo) SetPioEnv(v string)

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
	// Unique hardware identifier for this device
	DeviceId []byte
	// The PlatformIO environment used to build this firmware
	PioEnv string
	// The indicator for whether this device is running event firmware and which
	FirmwareEdition FirmwareEdition
	// The number of nodes in the nodedb.
	// This is used by the phone to know how many NodeInfo packets to expect on want_config
	NodedbCount uint32
	// contains filtered or unexported fields
}

func (MyNodeInfo_builder) Build

func (b0 MyNodeInfo_builder) Build() *MyNodeInfo

type Nau7802Config

type Nau7802Config struct {

	// The offset setting for the NAU7802
	ZeroOffset int32 `protobuf:"varint,1,opt,name=zeroOffset,proto3" json:"zeroOffset,omitempty"`
	// The calibration factor for the NAU7802
	CalibrationFactor float32 `protobuf:"fixed32,2,opt,name=calibrationFactor,proto3" json:"calibrationFactor,omitempty"`
	// contains filtered or unexported fields
}

NAU7802 Telemetry configuration, for saving to flash

func (*Nau7802Config) GetCalibrationFactor

func (x *Nau7802Config) GetCalibrationFactor() float32

func (*Nau7802Config) GetZeroOffset

func (x *Nau7802Config) GetZeroOffset() int32

func (*Nau7802Config) ProtoMessage

func (*Nau7802Config) ProtoMessage()

func (*Nau7802Config) ProtoReflect

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

func (*Nau7802Config) Reset

func (x *Nau7802Config) Reset()

func (*Nau7802Config) SetCalibrationFactor

func (x *Nau7802Config) SetCalibrationFactor(v float32)

func (*Nau7802Config) SetZeroOffset

func (x *Nau7802Config) SetZeroOffset(v int32)

func (*Nau7802Config) String

func (x *Nau7802Config) String() string

type Nau7802Config_builder

type Nau7802Config_builder struct {

	// The offset setting for the NAU7802
	ZeroOffset int32
	// The calibration factor for the NAU7802
	CalibrationFactor float32
	// contains filtered or unexported fields
}

func (Nau7802Config_builder) Build

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) GetLastRxTime

func (x *Neighbor) GetLastRxTime() uint32

func (*Neighbor) GetNodeBroadcastIntervalSecs

func (x *Neighbor) GetNodeBroadcastIntervalSecs() uint32

func (*Neighbor) GetNodeId

func (x *Neighbor) GetNodeId() uint32

func (*Neighbor) GetSnr

func (x *Neighbor) GetSnr() float32

func (*Neighbor) ProtoMessage

func (*Neighbor) ProtoMessage()

func (*Neighbor) ProtoReflect

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

func (*Neighbor) Reset

func (x *Neighbor) Reset()

func (*Neighbor) SetLastRxTime

func (x *Neighbor) SetLastRxTime(v uint32)

func (*Neighbor) SetNodeBroadcastIntervalSecs

func (x *Neighbor) SetNodeBroadcastIntervalSecs(v uint32)

func (*Neighbor) SetNodeId

func (x *Neighbor) SetNodeId(v uint32)

func (*Neighbor) SetSnr

func (x *Neighbor) SetSnr(v float32)

func (*Neighbor) String

func (x *Neighbor) String() string

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

type NodeDatabase

type NodeDatabase struct {

	// 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,1,opt,name=version,proto3" json:"version,omitempty"`
	// New lite version of NodeDB to decrease memory footprint
	Nodes []*NodeInfoLite `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeDatabase) GetNodes

func (x *NodeDatabase) GetNodes() []*NodeInfoLite

func (*NodeDatabase) GetVersion

func (x *NodeDatabase) GetVersion() uint32

func (*NodeDatabase) ProtoMessage

func (*NodeDatabase) ProtoMessage()

func (*NodeDatabase) ProtoReflect

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

func (*NodeDatabase) Reset

func (x *NodeDatabase) Reset()

func (*NodeDatabase) SetNodes

func (x *NodeDatabase) SetNodes(v []*NodeInfoLite)

func (*NodeDatabase) SetVersion

func (x *NodeDatabase) SetVersion(v uint32)

func (*NodeDatabase) String

func (x *NodeDatabase) String() string

type NodeDatabase_builder

type NodeDatabase_builder struct {

	// 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
	// New lite version of NodeDB to decrease memory footprint
	Nodes []*NodeInfoLite
	// contains filtered or unexported fields
}

func (NodeDatabase_builder) Build

func (b0 NodeDatabase_builder) Build() *NodeDatabase

type NodeFilter

type NodeFilter struct {

	// Filter unknown nodes
	UnknownSwitch bool `protobuf:"varint,1,opt,name=unknown_switch,json=unknownSwitch,proto3" json:"unknown_switch,omitempty"`
	// Filter offline nodes
	OfflineSwitch bool `protobuf:"varint,2,opt,name=offline_switch,json=offlineSwitch,proto3" json:"offline_switch,omitempty"`
	// Filter nodes w/o public key
	PublicKeySwitch bool `protobuf:"varint,3,opt,name=public_key_switch,json=publicKeySwitch,proto3" json:"public_key_switch,omitempty"`
	// Filter based on hops away
	HopsAway int32 `protobuf:"varint,4,opt,name=hops_away,json=hopsAway,proto3" json:"hops_away,omitempty"`
	// Filter nodes w/o position
	PositionSwitch bool `protobuf:"varint,5,opt,name=position_switch,json=positionSwitch,proto3" json:"position_switch,omitempty"`
	// Filter nodes by matching name string
	NodeName string `protobuf:"bytes,6,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// Filter based on channel
	Channel int32 `protobuf:"varint,7,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeFilter) GetChannel

func (x *NodeFilter) GetChannel() int32

func (*NodeFilter) GetHopsAway

func (x *NodeFilter) GetHopsAway() int32

func (*NodeFilter) GetNodeName

func (x *NodeFilter) GetNodeName() string

func (*NodeFilter) GetOfflineSwitch

func (x *NodeFilter) GetOfflineSwitch() bool

func (*NodeFilter) GetPositionSwitch

func (x *NodeFilter) GetPositionSwitch() bool

func (*NodeFilter) GetPublicKeySwitch

func (x *NodeFilter) GetPublicKeySwitch() bool

func (*NodeFilter) GetUnknownSwitch

func (x *NodeFilter) GetUnknownSwitch() bool

func (*NodeFilter) ProtoMessage

func (*NodeFilter) ProtoMessage()

func (*NodeFilter) ProtoReflect

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

func (*NodeFilter) Reset

func (x *NodeFilter) Reset()

func (*NodeFilter) SetChannel

func (x *NodeFilter) SetChannel(v int32)

func (*NodeFilter) SetHopsAway

func (x *NodeFilter) SetHopsAway(v int32)

func (*NodeFilter) SetNodeName

func (x *NodeFilter) SetNodeName(v string)

func (*NodeFilter) SetOfflineSwitch

func (x *NodeFilter) SetOfflineSwitch(v bool)

func (*NodeFilter) SetPositionSwitch

func (x *NodeFilter) SetPositionSwitch(v bool)

func (*NodeFilter) SetPublicKeySwitch

func (x *NodeFilter) SetPublicKeySwitch(v bool)

func (*NodeFilter) SetUnknownSwitch

func (x *NodeFilter) SetUnknownSwitch(v bool)

func (*NodeFilter) String

func (x *NodeFilter) String() string

type NodeFilter_builder

type NodeFilter_builder struct {

	// Filter unknown nodes
	UnknownSwitch bool
	// Filter offline nodes
	OfflineSwitch bool
	// Filter nodes w/o public key
	PublicKeySwitch bool
	// Filter based on hops away
	HopsAway int32
	// Filter nodes w/o position
	PositionSwitch bool
	// Filter nodes by matching name string
	NodeName string
	// Filter based on channel
	Channel int32
	// contains filtered or unexported fields
}

func (NodeFilter_builder) Build

func (b0 NodeFilter_builder) Build() *NodeFilter

type NodeHighlight

type NodeHighlight struct {

	// Hightlight nodes w/ active chat
	ChatSwitch bool `protobuf:"varint,1,opt,name=chat_switch,json=chatSwitch,proto3" json:"chat_switch,omitempty"`
	// Highlight nodes w/ position
	PositionSwitch bool `protobuf:"varint,2,opt,name=position_switch,json=positionSwitch,proto3" json:"position_switch,omitempty"`
	// Highlight nodes w/ telemetry data
	TelemetrySwitch bool `protobuf:"varint,3,opt,name=telemetry_switch,json=telemetrySwitch,proto3" json:"telemetry_switch,omitempty"`
	// Highlight nodes w/ iaq data
	IaqSwitch bool `protobuf:"varint,4,opt,name=iaq_switch,json=iaqSwitch,proto3" json:"iaq_switch,omitempty"`
	// Highlight nodes by matching name string
	NodeName string `protobuf:"bytes,5,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeHighlight) GetChatSwitch

func (x *NodeHighlight) GetChatSwitch() bool

func (*NodeHighlight) GetIaqSwitch

func (x *NodeHighlight) GetIaqSwitch() bool

func (*NodeHighlight) GetNodeName

func (x *NodeHighlight) GetNodeName() string

func (*NodeHighlight) GetPositionSwitch

func (x *NodeHighlight) GetPositionSwitch() bool

func (*NodeHighlight) GetTelemetrySwitch

func (x *NodeHighlight) GetTelemetrySwitch() bool

func (*NodeHighlight) ProtoMessage

func (*NodeHighlight) ProtoMessage()

func (*NodeHighlight) ProtoReflect

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

func (*NodeHighlight) Reset

func (x *NodeHighlight) Reset()

func (*NodeHighlight) SetChatSwitch

func (x *NodeHighlight) SetChatSwitch(v bool)

func (*NodeHighlight) SetIaqSwitch

func (x *NodeHighlight) SetIaqSwitch(v bool)

func (*NodeHighlight) SetNodeName

func (x *NodeHighlight) SetNodeName(v string)

func (*NodeHighlight) SetPositionSwitch

func (x *NodeHighlight) SetPositionSwitch(v bool)

func (*NodeHighlight) SetTelemetrySwitch

func (x *NodeHighlight) SetTelemetrySwitch(v bool)

func (*NodeHighlight) String

func (x *NodeHighlight) String() string

type NodeHighlight_builder

type NodeHighlight_builder struct {

	// Hightlight nodes w/ active chat
	ChatSwitch bool
	// Highlight nodes w/ position
	PositionSwitch bool
	// Highlight nodes w/ telemetry data
	TelemetrySwitch bool
	// Highlight nodes w/ iaq data
	IaqSwitch bool
	// Highlight nodes by matching name string
	NodeName string
	// contains filtered or unexported fields
}

func (NodeHighlight_builder) Build

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"`
	// True if we witnessed the node over MQTT instead of LoRA transport
	ViaMqtt bool `protobuf:"varint,8,opt,name=via_mqtt,json=viaMqtt,proto3" json:"via_mqtt,omitempty"`
	// Number of hops away from us this node is (0 if direct neighbor)
	HopsAway *uint32 `protobuf:"varint,9,opt,name=hops_away,json=hopsAway,proto3,oneof" json:"hops_away,omitempty"`
	// True if node is in our favorites list
	// Persists between NodeDB internal clean ups
	IsFavorite bool `protobuf:"varint,10,opt,name=is_favorite,json=isFavorite,proto3" json:"is_favorite,omitempty"`
	// True if node is in our ignored list
	// Persists between NodeDB internal clean ups
	IsIgnored bool `protobuf:"varint,11,opt,name=is_ignored,json=isIgnored,proto3" json:"is_ignored,omitempty"`
	// True if node public key has been verified.
	// Persists between NodeDB internal clean ups
	// LSB 0 of the bitfield
	IsKeyManuallyVerified bool `` /* 130-byte string literal not displayed */
	// True if node has been muted
	// Persistes between NodeDB internal clean ups
	IsMuted bool `protobuf:"varint,13,opt,name=is_muted,json=isMuted,proto3" json:"is_muted,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) ClearDeviceMetrics

func (x *NodeInfo) ClearDeviceMetrics()

func (*NodeInfo) ClearHopsAway

func (x *NodeInfo) ClearHopsAway()

func (*NodeInfo) ClearPosition

func (x *NodeInfo) ClearPosition()

func (*NodeInfo) ClearUser

func (x *NodeInfo) ClearUser()

func (*NodeInfo) GetChannel

func (x *NodeInfo) GetChannel() uint32

func (*NodeInfo) GetDeviceMetrics

func (x *NodeInfo) GetDeviceMetrics() *DeviceMetrics

func (*NodeInfo) GetHopsAway

func (x *NodeInfo) GetHopsAway() uint32

func (*NodeInfo) GetIsFavorite

func (x *NodeInfo) GetIsFavorite() bool

func (*NodeInfo) GetIsIgnored

func (x *NodeInfo) GetIsIgnored() bool

func (*NodeInfo) GetIsKeyManuallyVerified

func (x *NodeInfo) GetIsKeyManuallyVerified() bool

func (*NodeInfo) GetIsMuted

func (x *NodeInfo) GetIsMuted() bool

func (*NodeInfo) GetLastHeard

func (x *NodeInfo) GetLastHeard() uint32

func (*NodeInfo) GetNum

func (x *NodeInfo) GetNum() uint32

func (*NodeInfo) GetPosition

func (x *NodeInfo) GetPosition() *Position

func (*NodeInfo) GetSnr

func (x *NodeInfo) GetSnr() float32

func (*NodeInfo) GetUser

func (x *NodeInfo) GetUser() *User

func (*NodeInfo) GetViaMqtt

func (x *NodeInfo) GetViaMqtt() bool

func (*NodeInfo) HasDeviceMetrics

func (x *NodeInfo) HasDeviceMetrics() bool

func (*NodeInfo) HasHopsAway

func (x *NodeInfo) HasHopsAway() bool

func (*NodeInfo) HasPosition

func (x *NodeInfo) HasPosition() bool

func (*NodeInfo) HasUser

func (x *NodeInfo) HasUser() bool

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) ProtoReflect

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

func (*NodeInfo) Reset

func (x *NodeInfo) Reset()

func (*NodeInfo) SetChannel

func (x *NodeInfo) SetChannel(v uint32)

func (*NodeInfo) SetDeviceMetrics

func (x *NodeInfo) SetDeviceMetrics(v *DeviceMetrics)

func (*NodeInfo) SetHopsAway

func (x *NodeInfo) SetHopsAway(v uint32)

func (*NodeInfo) SetIsFavorite

func (x *NodeInfo) SetIsFavorite(v bool)

func (*NodeInfo) SetIsIgnored

func (x *NodeInfo) SetIsIgnored(v bool)

func (*NodeInfo) SetIsKeyManuallyVerified

func (x *NodeInfo) SetIsKeyManuallyVerified(v bool)

func (*NodeInfo) SetIsMuted

func (x *NodeInfo) SetIsMuted(v bool)

func (*NodeInfo) SetLastHeard

func (x *NodeInfo) SetLastHeard(v uint32)

func (*NodeInfo) SetNum

func (x *NodeInfo) SetNum(v uint32)

func (*NodeInfo) SetPosition

func (x *NodeInfo) SetPosition(v *Position)

func (*NodeInfo) SetSnr

func (x *NodeInfo) SetSnr(v float32)

func (*NodeInfo) SetUser

func (x *NodeInfo) SetUser(v *User)

func (*NodeInfo) SetViaMqtt

func (x *NodeInfo) SetViaMqtt(v bool)

func (*NodeInfo) String

func (x *NodeInfo) String() string

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 *UserLite `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"`
	// True if we witnessed the node over MQTT instead of LoRA transport
	ViaMqtt bool `protobuf:"varint,8,opt,name=via_mqtt,json=viaMqtt,proto3" json:"via_mqtt,omitempty"`
	// Number of hops away from us this node is (0 if direct neighbor)
	HopsAway *uint32 `protobuf:"varint,9,opt,name=hops_away,json=hopsAway,proto3,oneof" json:"hops_away,omitempty"`
	// True if node is in our favorites list
	// Persists between NodeDB internal clean ups
	IsFavorite bool `protobuf:"varint,10,opt,name=is_favorite,json=isFavorite,proto3" json:"is_favorite,omitempty"`
	// True if node is in our ignored list
	// Persists between NodeDB internal clean ups
	IsIgnored bool `protobuf:"varint,11,opt,name=is_ignored,json=isIgnored,proto3" json:"is_ignored,omitempty"`
	// Last byte of the node number of the node that should be used as the next hop to reach this node.
	NextHop uint32 `protobuf:"varint,12,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"`
	// Bitfield for storing booleans.
	// LSB 0 is_key_manually_verified
	// LSB 1 is_muted
	Bitfield uint32 `protobuf:"varint,13,opt,name=bitfield,proto3" json:"bitfield,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfoLite) ClearDeviceMetrics

func (x *NodeInfoLite) ClearDeviceMetrics()

func (*NodeInfoLite) ClearHopsAway

func (x *NodeInfoLite) ClearHopsAway()

func (*NodeInfoLite) ClearPosition

func (x *NodeInfoLite) ClearPosition()

func (*NodeInfoLite) ClearUser

func (x *NodeInfoLite) ClearUser()

func (*NodeInfoLite) GetBitfield

func (x *NodeInfoLite) GetBitfield() uint32

func (*NodeInfoLite) GetChannel

func (x *NodeInfoLite) GetChannel() uint32

func (*NodeInfoLite) GetDeviceMetrics

func (x *NodeInfoLite) GetDeviceMetrics() *DeviceMetrics

func (*NodeInfoLite) GetHopsAway

func (x *NodeInfoLite) GetHopsAway() uint32

func (*NodeInfoLite) GetIsFavorite

func (x *NodeInfoLite) GetIsFavorite() bool

func (*NodeInfoLite) GetIsIgnored

func (x *NodeInfoLite) GetIsIgnored() bool

func (*NodeInfoLite) GetLastHeard

func (x *NodeInfoLite) GetLastHeard() uint32

func (*NodeInfoLite) GetNextHop

func (x *NodeInfoLite) GetNextHop() 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() *UserLite

func (*NodeInfoLite) GetViaMqtt

func (x *NodeInfoLite) GetViaMqtt() bool

func (*NodeInfoLite) HasDeviceMetrics

func (x *NodeInfoLite) HasDeviceMetrics() bool

func (*NodeInfoLite) HasHopsAway

func (x *NodeInfoLite) HasHopsAway() 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) SetBitfield

func (x *NodeInfoLite) SetBitfield(v uint32)

func (*NodeInfoLite) SetChannel

func (x *NodeInfoLite) SetChannel(v uint32)

func (*NodeInfoLite) SetDeviceMetrics

func (x *NodeInfoLite) SetDeviceMetrics(v *DeviceMetrics)

func (*NodeInfoLite) SetHopsAway

func (x *NodeInfoLite) SetHopsAway(v uint32)

func (*NodeInfoLite) SetIsFavorite

func (x *NodeInfoLite) SetIsFavorite(v bool)

func (*NodeInfoLite) SetIsIgnored

func (x *NodeInfoLite) SetIsIgnored(v bool)

func (*NodeInfoLite) SetLastHeard

func (x *NodeInfoLite) SetLastHeard(v uint32)

func (*NodeInfoLite) SetNextHop

func (x *NodeInfoLite) SetNextHop(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 *UserLite)

func (*NodeInfoLite) SetViaMqtt

func (x *NodeInfoLite) SetViaMqtt(v bool)

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 *UserLite
	// 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
	// True if we witnessed the node over MQTT instead of LoRA transport
	ViaMqtt bool
	// Number of hops away from us this node is (0 if direct neighbor)
	HopsAway *uint32
	// True if node is in our favorites list
	// Persists between NodeDB internal clean ups
	IsFavorite bool
	// True if node is in our ignored list
	// Persists between NodeDB internal clean ups
	IsIgnored bool
	// Last byte of the node number of the node that should be used as the next hop to reach this node.
	NextHop uint32
	// Bitfield for storing booleans.
	// LSB 0 is_key_manually_verified
	// LSB 1 is_muted
	Bitfield 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
	// True if we witnessed the node over MQTT instead of LoRA transport
	ViaMqtt bool
	// Number of hops away from us this node is (0 if direct neighbor)
	HopsAway *uint32
	// True if node is in our favorites list
	// Persists between NodeDB internal clean ups
	IsFavorite bool
	// True if node is in our ignored list
	// Persists between NodeDB internal clean ups
	IsIgnored bool
	// True if node public key has been verified.
	// Persists between NodeDB internal clean ups
	// LSB 0 of the bitfield
	IsKeyManuallyVerified bool
	// True if node has been muted
	// Persistes between NodeDB internal clean ups
	IsMuted bool
	// 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 (*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 (*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

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 (*NodeRemoteHardwarePinsResponse) Reset

func (x *NodeRemoteHardwarePinsResponse) Reset()

func (*NodeRemoteHardwarePinsResponse) SetNodeRemoteHardwarePins

func (x *NodeRemoteHardwarePinsResponse) SetNodeRemoteHardwarePins(v []*NodeRemoteHardwarePin)

func (*NodeRemoteHardwarePinsResponse) 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

type OTAMode

type OTAMode int32

Firmware update mode for OTA updates

const (
	// Do not reboot into OTA mode
	OTAMode_NO_REBOOT_OTA OTAMode = 0
	// Reboot into OTA mode for BLE firmware update
	OTAMode_OTA_BLE OTAMode = 1
	// Reboot into OTA mode for WiFi firmware update
	OTAMode_OTA_WIFI OTAMode = 2
)

func (OTAMode) Descriptor

func (OTAMode) Descriptor() protoreflect.EnumDescriptor

func (OTAMode) Enum

func (x OTAMode) Enum() *OTAMode

func (OTAMode) Number

func (x OTAMode) Number() protoreflect.EnumNumber

func (OTAMode) String

func (x OTAMode) String() string

func (OTAMode) Type

func (OTAMode) Type() protoreflect.EnumType

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 int32 `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) GetAltitude

func (x *PLI) GetAltitude() int32

func (*PLI) GetCourse

func (x *PLI) GetCourse() uint32

func (*PLI) GetLatitudeI

func (x *PLI) GetLatitudeI() int32

func (*PLI) GetLongitudeI

func (x *PLI) GetLongitudeI() int32

func (*PLI) GetSpeed

func (x *PLI) GetSpeed() uint32

func (*PLI) ProtoMessage

func (*PLI) ProtoMessage()

func (*PLI) ProtoReflect

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

func (*PLI) Reset

func (x *PLI) Reset()

func (*PLI) SetAltitude

func (x *PLI) SetAltitude(v int32)

func (*PLI) SetCourse

func (x *PLI) SetCourse(v uint32)

func (*PLI) SetLatitudeI

func (x *PLI) SetLatitudeI(v int32)

func (*PLI) SetLongitudeI

func (x *PLI) SetLongitudeI(v int32)

func (*PLI) SetSpeed

func (x *PLI) SetSpeed(v uint32)

func (*PLI) String

func (x *PLI) String() string

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 int32
	// 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) GetBle

func (x *Paxcount) GetBle() uint32

func (*Paxcount) GetUptime

func (x *Paxcount) GetUptime() uint32

func (*Paxcount) GetWifi

func (x *Paxcount) GetWifi() uint32

func (*Paxcount) ProtoMessage

func (*Paxcount) ProtoMessage()

func (*Paxcount) ProtoReflect

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

func (*Paxcount) Reset

func (x *Paxcount) Reset()

func (*Paxcount) SetBle

func (x *Paxcount) SetBle(v uint32)

func (*Paxcount) SetUptime

func (x *Paxcount) SetUptime(v uint32)

func (*Paxcount) SetWifi

func (x *Paxcount) SetWifi(v uint32)

func (*Paxcount) String

func (x *Paxcount) String() string

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 message.
	// ENCODING: Protobuf
	PortNum_POSITION_APP PortNum = 3
	// The built-in user info app.
	// Payload is a User message.
	// ENCODING: Protobuf
	PortNum_NODEINFO_APP PortNum = 4
	// Protocol control packets for mesh protocol use.
	// Payload is a Routing message.
	// ENCODING: Protobuf
	PortNum_ROUTING_APP PortNum = 5
	// Admin control packets.
	// Payload is a 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 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
	// Same as Text Message but used for critical alerts.
	PortNum_ALERT_APP PortNum = 11
	// Module/port for handling key verification requests.
	PortNum_KEY_VERIFICATION_APP PortNum = 12
	// 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
	// Store and Forward++ module included in the firmware
	// ENCODING: protobuf
	// This module is specifically for Native Linux nodes, and provides a Git-style
	// chain of messages.
	PortNum_STORE_FORWARD_PLUSPLUS_APP PortNum = 35
	// Node Status module
	// ENCODING: protobuf
	// This module allows setting an extra string of status for a node.
	// Broadcasts on change and on a timer, possibly once a day.
	PortNum_NODE_STATUS_APP PortNum = 36
	// 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. Contains a RouteDiscovery message as payload.
	// 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
	// Provides unencrypted information about a node for consumption by a map via MQTT
	PortNum_MAP_REPORT_APP PortNum = 73
	// PowerStress based monitoring support (for automated power consumption testing)
	PortNum_POWERSTRESS_APP PortNum = 74
	// Reticulum Network Stack Tunnel App
	// ENCODING: Fragmented RNS Packet. Handled by Meshtastic RNS interface
	PortNum_RETICULUM_TUNNEL_APP PortNum = 76
	// App for transporting Cayenne Low Power Payload, popular for LoRaWAN sensor nodes. Offers ability to send
	// arbitrary telemetry over meshtastic that is not covered by telemetry.proto
	// ENCODING: CayenneLLP
	PortNum_CAYENNE_APP PortNum = 77
	// 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) Enum

func (x PortNum) Enum() *PortNum

func (PortNum) Number

func (x PortNum) Number() protoreflect.EnumNumber

func (PortNum) String

func (x PortNum) String() string

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,oneof" json:"latitude_i,omitempty"`
	// TODO: REPLACE
	LongitudeI *int32 `protobuf:"fixed32,2,opt,name=longitude_i,json=longitudeI,proto3,oneof" json:"longitude_i,omitempty"`
	// In meters above MSL (but see issue #359)
	Altitude *int32 `protobuf:"varint,3,opt,name=altitude,proto3,oneof" 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,oneof" json:"altitude_hae,omitempty"`
	// Geoidal separation in meters
	AltitudeGeoidalSeparation *int32 `` /* 148-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,oneof" json:"ground_speed,omitempty"`
	// TODO: REPLACE
	GroundTrack *uint32 `protobuf:"varint,16,opt,name=ground_track,json=groundTrack,proto3,oneof" 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"`
	// Indicates the bits of precision set by the sending node
	PrecisionBits uint32 `protobuf:"varint,23,opt,name=precision_bits,json=precisionBits,proto3" json:"precision_bits,omitempty"`
	// contains filtered or unexported fields
}

A GPS Position

func (*Position) ClearAltitude

func (x *Position) ClearAltitude()

func (*Position) ClearAltitudeGeoidalSeparation

func (x *Position) ClearAltitudeGeoidalSeparation()

func (*Position) ClearAltitudeHae

func (x *Position) ClearAltitudeHae()

func (*Position) ClearGroundSpeed

func (x *Position) ClearGroundSpeed()

func (*Position) ClearGroundTrack

func (x *Position) ClearGroundTrack()

func (*Position) ClearLatitudeI

func (x *Position) ClearLatitudeI()

func (*Position) ClearLongitudeI

func (x *Position) ClearLongitudeI()

func (*Position) GetAltitude

func (x *Position) GetAltitude() int32

func (*Position) GetAltitudeGeoidalSeparation

func (x *Position) GetAltitudeGeoidalSeparation() int32

func (*Position) GetAltitudeHae

func (x *Position) GetAltitudeHae() int32

func (*Position) GetAltitudeSource

func (x *Position) GetAltitudeSource() Position_AltSource

func (*Position) GetFixQuality

func (x *Position) GetFixQuality() uint32

func (*Position) GetFixType

func (x *Position) GetFixType() uint32

func (*Position) GetGpsAccuracy

func (x *Position) GetGpsAccuracy() uint32

func (*Position) GetGroundSpeed

func (x *Position) GetGroundSpeed() uint32

func (*Position) GetGroundTrack

func (x *Position) GetGroundTrack() uint32

func (*Position) GetHDOP

func (x *Position) GetHDOP() uint32

func (*Position) GetLatitudeI

func (x *Position) GetLatitudeI() int32

func (*Position) GetLocationSource

func (x *Position) GetLocationSource() Position_LocSource

func (*Position) GetLongitudeI

func (x *Position) GetLongitudeI() int32

func (*Position) GetNextUpdate

func (x *Position) GetNextUpdate() uint32

func (*Position) GetPDOP

func (x *Position) GetPDOP() uint32

func (*Position) GetPrecisionBits

func (x *Position) GetPrecisionBits() uint32

func (*Position) GetSatsInView

func (x *Position) GetSatsInView() uint32

func (*Position) GetSensorId

func (x *Position) GetSensorId() uint32

func (*Position) GetSeqNumber

func (x *Position) GetSeqNumber() uint32

func (*Position) GetTime

func (x *Position) GetTime() uint32

func (*Position) GetTimestamp

func (x *Position) GetTimestamp() uint32

func (*Position) GetTimestampMillisAdjust

func (x *Position) GetTimestampMillisAdjust() int32

func (*Position) GetVDOP

func (x *Position) GetVDOP() uint32

func (*Position) HasAltitude

func (x *Position) HasAltitude() bool

func (*Position) HasAltitudeGeoidalSeparation

func (x *Position) HasAltitudeGeoidalSeparation() bool

func (*Position) HasAltitudeHae

func (x *Position) HasAltitudeHae() bool

func (*Position) HasGroundSpeed

func (x *Position) HasGroundSpeed() bool

func (*Position) HasGroundTrack

func (x *Position) HasGroundTrack() bool

func (*Position) HasLatitudeI

func (x *Position) HasLatitudeI() bool

func (*Position) HasLongitudeI

func (x *Position) HasLongitudeI() bool

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) ProtoReflect

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

func (*Position) Reset

func (x *Position) Reset()

func (*Position) SetAltitude

func (x *Position) SetAltitude(v int32)

func (*Position) SetAltitudeGeoidalSeparation

func (x *Position) SetAltitudeGeoidalSeparation(v int32)

func (*Position) SetAltitudeHae

func (x *Position) SetAltitudeHae(v int32)

func (*Position) SetAltitudeSource

func (x *Position) SetAltitudeSource(v Position_AltSource)

func (*Position) SetFixQuality

func (x *Position) SetFixQuality(v uint32)

func (*Position) SetFixType

func (x *Position) SetFixType(v uint32)

func (*Position) SetGpsAccuracy

func (x *Position) SetGpsAccuracy(v uint32)

func (*Position) SetGroundSpeed

func (x *Position) SetGroundSpeed(v uint32)

func (*Position) SetGroundTrack

func (x *Position) SetGroundTrack(v uint32)

func (*Position) SetHDOP

func (x *Position) SetHDOP(v uint32)

func (*Position) SetLatitudeI

func (x *Position) SetLatitudeI(v int32)

func (*Position) SetLocationSource

func (x *Position) SetLocationSource(v Position_LocSource)

func (*Position) SetLongitudeI

func (x *Position) SetLongitudeI(v int32)

func (*Position) SetNextUpdate

func (x *Position) SetNextUpdate(v uint32)

func (*Position) SetPDOP

func (x *Position) SetPDOP(v uint32)

func (*Position) SetPrecisionBits

func (x *Position) SetPrecisionBits(v uint32)

func (*Position) SetSatsInView

func (x *Position) SetSatsInView(v uint32)

func (*Position) SetSensorId

func (x *Position) SetSensorId(v uint32)

func (*Position) SetSeqNumber

func (x *Position) SetSeqNumber(v uint32)

func (*Position) SetTime

func (x *Position) SetTime(v uint32)

func (*Position) SetTimestamp

func (x *Position) SetTimestamp(v uint32)

func (*Position) SetTimestampMillisAdjust

func (x *Position) SetTimestampMillisAdjust(v int32)

func (*Position) SetVDOP

func (x *Position) SetVDOP(v uint32)

func (*Position) String

func (x *Position) String() string

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) Enum

func (Position_AltSource) Number

func (Position_AltSource) String

func (x Position_AltSource) String() string

func (Position_AltSource) Type

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) Enum

func (Position_LocSource) Number

func (Position_LocSource) String

func (x Position_LocSource) String() string

func (Position_LocSource) Type

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
	// Indicates the bits of precision set by the sending node
	PrecisionBits 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,oneof" json:"ch1_voltage,omitempty"`
	// Current (Ch1)
	Ch1Current *float32 `protobuf:"fixed32,2,opt,name=ch1_current,json=ch1Current,proto3,oneof" json:"ch1_current,omitempty"`
	// Voltage (Ch2)
	Ch2Voltage *float32 `protobuf:"fixed32,3,opt,name=ch2_voltage,json=ch2Voltage,proto3,oneof" json:"ch2_voltage,omitempty"`
	// Current (Ch2)
	Ch2Current *float32 `protobuf:"fixed32,4,opt,name=ch2_current,json=ch2Current,proto3,oneof" json:"ch2_current,omitempty"`
	// Voltage (Ch3)
	Ch3Voltage *float32 `protobuf:"fixed32,5,opt,name=ch3_voltage,json=ch3Voltage,proto3,oneof" json:"ch3_voltage,omitempty"`
	// Current (Ch3)
	Ch3Current *float32 `protobuf:"fixed32,6,opt,name=ch3_current,json=ch3Current,proto3,oneof" json:"ch3_current,omitempty"`
	// Voltage (Ch4)
	Ch4Voltage *float32 `protobuf:"fixed32,7,opt,name=ch4_voltage,json=ch4Voltage,proto3,oneof" json:"ch4_voltage,omitempty"`
	// Current (Ch4)
	Ch4Current *float32 `protobuf:"fixed32,8,opt,name=ch4_current,json=ch4Current,proto3,oneof" json:"ch4_current,omitempty"`
	// Voltage (Ch5)
	Ch5Voltage *float32 `protobuf:"fixed32,9,opt,name=ch5_voltage,json=ch5Voltage,proto3,oneof" json:"ch5_voltage,omitempty"`
	// Current (Ch5)
	Ch5Current *float32 `protobuf:"fixed32,10,opt,name=ch5_current,json=ch5Current,proto3,oneof" json:"ch5_current,omitempty"`
	// Voltage (Ch6)
	Ch6Voltage *float32 `protobuf:"fixed32,11,opt,name=ch6_voltage,json=ch6Voltage,proto3,oneof" json:"ch6_voltage,omitempty"`
	// Current (Ch6)
	Ch6Current *float32 `protobuf:"fixed32,12,opt,name=ch6_current,json=ch6Current,proto3,oneof" json:"ch6_current,omitempty"`
	// Voltage (Ch7)
	Ch7Voltage *float32 `protobuf:"fixed32,13,opt,name=ch7_voltage,json=ch7Voltage,proto3,oneof" json:"ch7_voltage,omitempty"`
	// Current (Ch7)
	Ch7Current *float32 `protobuf:"fixed32,14,opt,name=ch7_current,json=ch7Current,proto3,oneof" json:"ch7_current,omitempty"`
	// Voltage (Ch8)
	Ch8Voltage *float32 `protobuf:"fixed32,15,opt,name=ch8_voltage,json=ch8Voltage,proto3,oneof" json:"ch8_voltage,omitempty"`
	// Current (Ch8)
	Ch8Current *float32 `protobuf:"fixed32,16,opt,name=ch8_current,json=ch8Current,proto3,oneof" json:"ch8_current,omitempty"`
	// contains filtered or unexported fields
}

Power Metrics (voltage / current / etc)

func (*PowerMetrics) ClearCh1Current

func (x *PowerMetrics) ClearCh1Current()

func (*PowerMetrics) ClearCh1Voltage

func (x *PowerMetrics) ClearCh1Voltage()

func (*PowerMetrics) ClearCh2Current

func (x *PowerMetrics) ClearCh2Current()

func (*PowerMetrics) ClearCh2Voltage

func (x *PowerMetrics) ClearCh2Voltage()

func (*PowerMetrics) ClearCh3Current

func (x *PowerMetrics) ClearCh3Current()

func (*PowerMetrics) ClearCh3Voltage

func (x *PowerMetrics) ClearCh3Voltage()

func (*PowerMetrics) ClearCh4Current

func (x *PowerMetrics) ClearCh4Current()

func (*PowerMetrics) ClearCh4Voltage

func (x *PowerMetrics) ClearCh4Voltage()

func (*PowerMetrics) ClearCh5Current

func (x *PowerMetrics) ClearCh5Current()

func (*PowerMetrics) ClearCh5Voltage

func (x *PowerMetrics) ClearCh5Voltage()

func (*PowerMetrics) ClearCh6Current

func (x *PowerMetrics) ClearCh6Current()

func (*PowerMetrics) ClearCh6Voltage

func (x *PowerMetrics) ClearCh6Voltage()

func (*PowerMetrics) ClearCh7Current

func (x *PowerMetrics) ClearCh7Current()

func (*PowerMetrics) ClearCh7Voltage

func (x *PowerMetrics) ClearCh7Voltage()

func (*PowerMetrics) ClearCh8Current

func (x *PowerMetrics) ClearCh8Current()

func (*PowerMetrics) ClearCh8Voltage

func (x *PowerMetrics) ClearCh8Voltage()

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) GetCh4Current

func (x *PowerMetrics) GetCh4Current() float32

func (*PowerMetrics) GetCh4Voltage

func (x *PowerMetrics) GetCh4Voltage() float32

func (*PowerMetrics) GetCh5Current

func (x *PowerMetrics) GetCh5Current() float32

func (*PowerMetrics) GetCh5Voltage

func (x *PowerMetrics) GetCh5Voltage() float32

func (*PowerMetrics) GetCh6Current

func (x *PowerMetrics) GetCh6Current() float32

func (*PowerMetrics) GetCh6Voltage

func (x *PowerMetrics) GetCh6Voltage() float32

func (*PowerMetrics) GetCh7Current

func (x *PowerMetrics) GetCh7Current() float32

func (*PowerMetrics) GetCh7Voltage

func (x *PowerMetrics) GetCh7Voltage() float32

func (*PowerMetrics) GetCh8Current

func (x *PowerMetrics) GetCh8Current() float32

func (*PowerMetrics) GetCh8Voltage

func (x *PowerMetrics) GetCh8Voltage() float32

func (*PowerMetrics) HasCh1Current

func (x *PowerMetrics) HasCh1Current() bool

func (*PowerMetrics) HasCh1Voltage

func (x *PowerMetrics) HasCh1Voltage() bool

func (*PowerMetrics) HasCh2Current

func (x *PowerMetrics) HasCh2Current() bool

func (*PowerMetrics) HasCh2Voltage

func (x *PowerMetrics) HasCh2Voltage() bool

func (*PowerMetrics) HasCh3Current

func (x *PowerMetrics) HasCh3Current() bool

func (*PowerMetrics) HasCh3Voltage

func (x *PowerMetrics) HasCh3Voltage() bool

func (*PowerMetrics) HasCh4Current

func (x *PowerMetrics) HasCh4Current() bool

func (*PowerMetrics) HasCh4Voltage

func (x *PowerMetrics) HasCh4Voltage() bool

func (*PowerMetrics) HasCh5Current

func (x *PowerMetrics) HasCh5Current() bool

func (*PowerMetrics) HasCh5Voltage

func (x *PowerMetrics) HasCh5Voltage() bool

func (*PowerMetrics) HasCh6Current

func (x *PowerMetrics) HasCh6Current() bool

func (*PowerMetrics) HasCh6Voltage

func (x *PowerMetrics) HasCh6Voltage() bool

func (*PowerMetrics) HasCh7Current

func (x *PowerMetrics) HasCh7Current() bool

func (*PowerMetrics) HasCh7Voltage

func (x *PowerMetrics) HasCh7Voltage() bool

func (*PowerMetrics) HasCh8Current

func (x *PowerMetrics) HasCh8Current() bool

func (*PowerMetrics) HasCh8Voltage

func (x *PowerMetrics) HasCh8Voltage() bool

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) SetCh4Current

func (x *PowerMetrics) SetCh4Current(v float32)

func (*PowerMetrics) SetCh4Voltage

func (x *PowerMetrics) SetCh4Voltage(v float32)

func (*PowerMetrics) SetCh5Current

func (x *PowerMetrics) SetCh5Current(v float32)

func (*PowerMetrics) SetCh5Voltage

func (x *PowerMetrics) SetCh5Voltage(v float32)

func (*PowerMetrics) SetCh6Current

func (x *PowerMetrics) SetCh6Current(v float32)

func (*PowerMetrics) SetCh6Voltage

func (x *PowerMetrics) SetCh6Voltage(v float32)

func (*PowerMetrics) SetCh7Current

func (x *PowerMetrics) SetCh7Current(v float32)

func (*PowerMetrics) SetCh7Voltage

func (x *PowerMetrics) SetCh7Voltage(v float32)

func (*PowerMetrics) SetCh8Current

func (x *PowerMetrics) SetCh8Current(v float32)

func (*PowerMetrics) SetCh8Voltage

func (x *PowerMetrics) SetCh8Voltage(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
	// Voltage (Ch4)
	Ch4Voltage *float32
	// Current (Ch4)
	Ch4Current *float32
	// Voltage (Ch5)
	Ch5Voltage *float32
	// Current (Ch5)
	Ch5Current *float32
	// Voltage (Ch6)
	Ch6Voltage *float32
	// Current (Ch6)
	Ch6Current *float32
	// Voltage (Ch7)
	Ch7Voltage *float32
	// Current (Ch7)
	Ch7Current *float32
	// Voltage (Ch8)
	Ch8Voltage *float32
	// Current (Ch8)
	Ch8Current *float32
	// contains filtered or unexported fields
}

func (PowerMetrics_builder) Build

func (b0 PowerMetrics_builder) Build() *PowerMetrics

type PowerMon

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

Note: There are no 'PowerMon' messages normally in use (PowerMons are sent only as structured logs - slogs). But we wrap our State enum in this message to effectively nest a namespace (without our linter yelling at us)

func (*PowerMon) ProtoMessage

func (*PowerMon) ProtoMessage()

func (*PowerMon) ProtoReflect

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

func (*PowerMon) Reset

func (x *PowerMon) Reset()

func (*PowerMon) String

func (x *PowerMon) String() string

type PowerMon_State

type PowerMon_State int32

Any significant power changing event in meshtastic should be tagged with a powermon state transition. If you are making new meshtastic features feel free to add new entries at the end of this definition.

const (
	PowerMon_None           PowerMon_State = 0
	PowerMon_CPU_DeepSleep  PowerMon_State = 1
	PowerMon_CPU_LightSleep PowerMon_State = 2
	// The external Vext1 power is on.  Many boards have auxillary power rails that the CPU turns on only
	// occasionally.  In cases where that rail has multiple devices on it we usually want to have logging on
	// the state of that rail as an independent record.
	// For instance on the Heltec Tracker 1.1 board, this rail is the power source for the GPS and screen.
	//
	// The log messages will be short and complete (see PowerMon.Event in the protobufs for details).
	// something like "S:PM:C,0x00001234,REASON" where the hex number is the bitmask of all current states.
	// (We use a bitmask for states so that if a log message gets lost it won't be fatal)
	PowerMon_Vext1_On       PowerMon_State = 4
	PowerMon_Lora_RXOn      PowerMon_State = 8
	PowerMon_Lora_TXOn      PowerMon_State = 16
	PowerMon_Lora_RXActive  PowerMon_State = 32
	PowerMon_BT_On          PowerMon_State = 64
	PowerMon_LED_On         PowerMon_State = 128
	PowerMon_Screen_On      PowerMon_State = 256
	PowerMon_Screen_Drawing PowerMon_State = 512
	PowerMon_Wifi_On        PowerMon_State = 1024
	// GPS is actively trying to find our location
	// See GPSPowerState for more details
	PowerMon_GPS_Active PowerMon_State = 2048
)

func (PowerMon_State) Descriptor

func (PowerMon_State) Enum

func (x PowerMon_State) Enum() *PowerMon_State

func (PowerMon_State) Number

func (PowerMon_State) String

func (x PowerMon_State) String() string

func (PowerMon_State) Type

type PowerMon_builder

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

func (PowerMon_builder) Build

func (b0 PowerMon_builder) Build() *PowerMon

type PowerStressMessage

type PowerStressMessage struct {

	// What type of HardwareMessage is this?
	Cmd        PowerStressMessage_Opcode `protobuf:"varint,1,opt,name=cmd,proto3,enum=meshtastic.PowerStressMessage_Opcode" json:"cmd,omitempty"`
	NumSeconds float32                   `protobuf:"fixed32,2,opt,name=num_seconds,json=numSeconds,proto3" json:"num_seconds,omitempty"`
	// contains filtered or unexported fields
}

PowerStress testing support via the C++ PowerStress module

func (*PowerStressMessage) GetCmd

func (*PowerStressMessage) GetNumSeconds

func (x *PowerStressMessage) GetNumSeconds() float32

func (*PowerStressMessage) ProtoMessage

func (*PowerStressMessage) ProtoMessage()

func (*PowerStressMessage) ProtoReflect

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

func (*PowerStressMessage) Reset

func (x *PowerStressMessage) Reset()

func (*PowerStressMessage) SetCmd

func (*PowerStressMessage) SetNumSeconds

func (x *PowerStressMessage) SetNumSeconds(v float32)

func (*PowerStressMessage) String

func (x *PowerStressMessage) String() string

type PowerStressMessage_Opcode

type PowerStressMessage_Opcode int32

What operation would we like the UUT to perform. note: senders should probably set want_response in their request packets, so that they can know when the state machine has started processing their request

const (
	// Unset/unused
	PowerStressMessage_UNSET         PowerStressMessage_Opcode = 0
	PowerStressMessage_PRINT_INFO    PowerStressMessage_Opcode = 1   // Print board version slog and send an ack that we are alive and ready to process commands
	PowerStressMessage_FORCE_QUIET   PowerStressMessage_Opcode = 2   // Try to turn off all automatic processing of packets, screen, sleeping, etc (to make it easier to measure in isolation)
	PowerStressMessage_END_QUIET     PowerStressMessage_Opcode = 3   // Stop powerstress processing - probably by just rebooting the board
	PowerStressMessage_SCREEN_ON     PowerStressMessage_Opcode = 16  // Turn the screen on
	PowerStressMessage_SCREEN_OFF    PowerStressMessage_Opcode = 17  // Turn the screen off
	PowerStressMessage_CPU_IDLE      PowerStressMessage_Opcode = 32  // Let the CPU run but we assume mostly idling for num_seconds
	PowerStressMessage_CPU_DEEPSLEEP PowerStressMessage_Opcode = 33  // Force deep sleep for FIXME seconds
	PowerStressMessage_CPU_FULLON    PowerStressMessage_Opcode = 34  // Spin the CPU as fast as possible for num_seconds
	PowerStressMessage_LED_ON        PowerStressMessage_Opcode = 48  // Turn the LED on for num_seconds (and leave it on - for baseline power measurement purposes)
	PowerStressMessage_LED_OFF       PowerStressMessage_Opcode = 49  // Force the LED off for num_seconds
	PowerStressMessage_LORA_OFF      PowerStressMessage_Opcode = 64  // Completely turn off the LORA radio for num_seconds
	PowerStressMessage_LORA_TX       PowerStressMessage_Opcode = 65  // Send Lora packets for num_seconds
	PowerStressMessage_LORA_RX       PowerStressMessage_Opcode = 66  // Receive Lora packets for num_seconds (node will be mostly just listening, unless an external agent is helping stress this by sending packets on the current channel)
	PowerStressMessage_BT_OFF        PowerStressMessage_Opcode = 80  // Turn off the BT radio for num_seconds
	PowerStressMessage_BT_ON         PowerStressMessage_Opcode = 81  // Turn on the BT radio for num_seconds
	PowerStressMessage_WIFI_OFF      PowerStressMessage_Opcode = 96  // Turn off the WIFI radio for num_seconds
	PowerStressMessage_WIFI_ON       PowerStressMessage_Opcode = 97  // Turn on the WIFI radio for num_seconds
	PowerStressMessage_GPS_OFF       PowerStressMessage_Opcode = 112 // Turn off the GPS radio for num_seconds
	PowerStressMessage_GPS_ON        PowerStressMessage_Opcode = 113 // Turn on the GPS radio for num_seconds
)

func (PowerStressMessage_Opcode) Descriptor

func (PowerStressMessage_Opcode) Enum

func (PowerStressMessage_Opcode) Number

func (PowerStressMessage_Opcode) String

func (x PowerStressMessage_Opcode) String() string

func (PowerStressMessage_Opcode) Type

type PowerStressMessage_builder

type PowerStressMessage_builder struct {

	// What type of HardwareMessage is this?
	Cmd        PowerStressMessage_Opcode
	NumSeconds float32
	// contains filtered or unexported fields
}

func (PowerStressMessage_builder) Build

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 (*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 (*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) Enum

func (RemoteHardwarePinType) Number

func (RemoteHardwarePinType) String

func (x RemoteHardwarePinType) String() string

func (RemoteHardwarePinType) Type

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

type ResendChunks

type ResendChunks struct {
	Chunks []uint32 `protobuf:"varint,1,rep,packed,name=chunks,proto3" json:"chunks,omitempty"`
	// contains filtered or unexported fields
}

Wrapper message for broken repeated oneof support

func (*ResendChunks) GetChunks

func (x *ResendChunks) GetChunks() []uint32

func (*ResendChunks) ProtoMessage

func (*ResendChunks) ProtoMessage()

func (*ResendChunks) ProtoReflect

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

func (*ResendChunks) Reset

func (x *ResendChunks) Reset()

func (*ResendChunks) SetChunks

func (x *ResendChunks) SetChunks(v []uint32)

func (*ResendChunks) String

func (x *ResendChunks) String() string

type ResendChunks_builder

type ResendChunks_builder struct {
	Chunks []uint32
	// contains filtered or unexported fields
}

func (ResendChunks_builder) Build

func (b0 ResendChunks_builder) Build() *ResendChunks

type RouteDiscovery

type RouteDiscovery struct {

	// The list of nodenums this packet has visited so far to the destination.
	Route []uint32 `protobuf:"fixed32,1,rep,packed,name=route,proto3" json:"route,omitempty"`
	// The list of SNRs (in dB, scaled by 4) in the route towards the destination.
	SnrTowards []int32 `protobuf:"varint,2,rep,packed,name=snr_towards,json=snrTowards,proto3" json:"snr_towards,omitempty"`
	// The list of nodenums the packet has visited on the way back from the destination.
	RouteBack []uint32 `protobuf:"fixed32,3,rep,packed,name=route_back,json=routeBack,proto3" json:"route_back,omitempty"`
	// The list of SNRs (in dB, scaled by 4) in the route back from the destination.
	SnrBack []int32 `protobuf:"varint,4,rep,packed,name=snr_back,json=snrBack,proto3" json:"snr_back,omitempty"`
	// contains filtered or unexported fields
}

A message used in a traceroute

func (*RouteDiscovery) GetRoute

func (x *RouteDiscovery) GetRoute() []uint32

func (*RouteDiscovery) GetRouteBack

func (x *RouteDiscovery) GetRouteBack() []uint32

func (*RouteDiscovery) GetSnrBack

func (x *RouteDiscovery) GetSnrBack() []int32

func (*RouteDiscovery) GetSnrTowards

func (x *RouteDiscovery) GetSnrTowards() []int32

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) SetRouteBack

func (x *RouteDiscovery) SetRouteBack(v []uint32)

func (*RouteDiscovery) SetSnrBack

func (x *RouteDiscovery) SetSnrBack(v []int32)

func (*RouteDiscovery) SetSnrTowards

func (x *RouteDiscovery) SetSnrTowards(v []int32)

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 to the destination.
	Route []uint32
	// The list of SNRs (in dB, scaled by 4) in the route towards the destination.
	SnrTowards []int32
	// The list of nodenums the packet has visited on the way back from the destination.
	RouteBack []uint32
	// The list of SNRs (in dB, scaled by 4) in the route back from the destination.
	SnrBack []int32
	// contains filtered or unexported fields
}

func (RouteDiscovery_builder) Build

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) ClearErrorReason

func (x *Routing) ClearErrorReason()

func (*Routing) ClearRouteReply

func (x *Routing) ClearRouteReply()

func (*Routing) ClearRouteRequest

func (x *Routing) ClearRouteRequest()

func (*Routing) ClearVariant

func (x *Routing) ClearVariant()

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) GetVariant

func (x *Routing) GetVariant() isRouting_Variant

func (*Routing) HasErrorReason

func (x *Routing) HasErrorReason() bool

func (*Routing) HasRouteReply

func (x *Routing) HasRouteReply() bool

func (*Routing) HasRouteRequest

func (x *Routing) HasRouteRequest() bool

func (*Routing) HasVariant

func (x *Routing) HasVariant() bool

func (*Routing) ProtoMessage

func (*Routing) ProtoMessage()

func (*Routing) ProtoReflect

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

func (*Routing) Reset

func (x *Routing) Reset()

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)

func (*Routing) String

func (x *Routing) String() string

func (*Routing) WhichVariant

func (x *Routing) WhichVariant() case_Routing_Variant

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
	// The client specified a PKI transport, but the node was unable to send the packet using PKI (and did not send the message at all)
	Routing_PKI_FAILED Routing_Error = 34
	// The receiving node does not have a Public Key to decode with
	Routing_PKI_UNKNOWN_PUBKEY Routing_Error = 35
	// Admin packet otherwise checks out, but uses a bogus or expired session key
	Routing_ADMIN_BAD_SESSION_KEY Routing_Error = 36
	// Admin packet sent using PKC, but not from a public key on the admin key list
	Routing_ADMIN_PUBLIC_KEY_UNAUTHORIZED Routing_Error = 37
	// Airtime fairness rate limit exceeded for a packet
	// This typically enforced per portnum and is used to prevent a single node from monopolizing airtime
	Routing_RATE_LIMIT_EXCEEDED Routing_Error = 38
	// PKI encryption failed, due to no public key for the remote node
	// This is different from PKI_UNKNOWN_PUBKEY which indicates a failure upon receiving a packet
	Routing_PKI_SEND_FAIL_PUBLIC_KEY Routing_Error = 39
)

func (Routing_Error) Descriptor

func (Routing_Error) Enum

func (x Routing_Error) Enum() *Routing_Error

func (Routing_Error) Number

func (Routing_Error) String

func (x Routing_Error) String() string

func (Routing_Error) Type

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 SCD4XConfig

type SCD4XConfig struct {

	// Set Automatic self-calibration enabled
	SetAsc *bool `protobuf:"varint,1,opt,name=set_asc,json=setAsc,proto3,oneof" json:"set_asc,omitempty"`
	// Recalibration target CO2 concentration in ppm (FRC or ASC)
	SetTargetCo2Conc *uint32 `protobuf:"varint,2,opt,name=set_target_co2_conc,json=setTargetCo2Conc,proto3,oneof" json:"set_target_co2_conc,omitempty"`
	// Reference temperature in degC
	SetTemperature *float32 `protobuf:"fixed32,3,opt,name=set_temperature,json=setTemperature,proto3,oneof" json:"set_temperature,omitempty"`
	// Altitude of sensor in meters above sea level. 0 - 3000m (overrides ambient pressure)
	SetAltitude *uint32 `protobuf:"varint,4,opt,name=set_altitude,json=setAltitude,proto3,oneof" json:"set_altitude,omitempty"`
	// Sensor ambient pressure in Pa. 70000 - 120000 Pa (overrides altitude)
	SetAmbientPressure *uint32 `protobuf:"varint,5,opt,name=set_ambient_pressure,json=setAmbientPressure,proto3,oneof" json:"set_ambient_pressure,omitempty"`
	// Perform a factory reset of the sensor
	FactoryReset *bool `protobuf:"varint,6,opt,name=factory_reset,json=factoryReset,proto3,oneof" json:"factory_reset,omitempty"`
	// Power mode for sensor (true for low power, false for normal)
	SetPowerMode *bool `protobuf:"varint,7,opt,name=set_power_mode,json=setPowerMode,proto3,oneof" json:"set_power_mode,omitempty"`
	// contains filtered or unexported fields
}

func (*SCD4XConfig) ClearFactoryReset

func (x *SCD4XConfig) ClearFactoryReset()

func (*SCD4XConfig) ClearSetAltitude

func (x *SCD4XConfig) ClearSetAltitude()

func (*SCD4XConfig) ClearSetAmbientPressure

func (x *SCD4XConfig) ClearSetAmbientPressure()

func (*SCD4XConfig) ClearSetAsc

func (x *SCD4XConfig) ClearSetAsc()

func (*SCD4XConfig) ClearSetPowerMode

func (x *SCD4XConfig) ClearSetPowerMode()

func (*SCD4XConfig) ClearSetTargetCo2Conc

func (x *SCD4XConfig) ClearSetTargetCo2Conc()

func (*SCD4XConfig) ClearSetTemperature

func (x *SCD4XConfig) ClearSetTemperature()

func (*SCD4XConfig) GetFactoryReset

func (x *SCD4XConfig) GetFactoryReset() bool

func (*SCD4XConfig) GetSetAltitude

func (x *SCD4XConfig) GetSetAltitude() uint32

func (*SCD4XConfig) GetSetAmbientPressure

func (x *SCD4XConfig) GetSetAmbientPressure() uint32

func (*SCD4XConfig) GetSetAsc

func (x *SCD4XConfig) GetSetAsc() bool

func (*SCD4XConfig) GetSetPowerMode

func (x *SCD4XConfig) GetSetPowerMode() bool

func (*SCD4XConfig) GetSetTargetCo2Conc

func (x *SCD4XConfig) GetSetTargetCo2Conc() uint32

func (*SCD4XConfig) GetSetTemperature

func (x *SCD4XConfig) GetSetTemperature() float32

func (*SCD4XConfig) HasFactoryReset

func (x *SCD4XConfig) HasFactoryReset() bool

func (*SCD4XConfig) HasSetAltitude

func (x *SCD4XConfig) HasSetAltitude() bool

func (*SCD4XConfig) HasSetAmbientPressure

func (x *SCD4XConfig) HasSetAmbientPressure() bool

func (*SCD4XConfig) HasSetAsc

func (x *SCD4XConfig) HasSetAsc() bool

func (*SCD4XConfig) HasSetPowerMode

func (x *SCD4XConfig) HasSetPowerMode() bool

func (*SCD4XConfig) HasSetTargetCo2Conc

func (x *SCD4XConfig) HasSetTargetCo2Conc() bool

func (*SCD4XConfig) HasSetTemperature

func (x *SCD4XConfig) HasSetTemperature() bool

func (*SCD4XConfig) ProtoMessage

func (*SCD4XConfig) ProtoMessage()

func (*SCD4XConfig) ProtoReflect

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

func (*SCD4XConfig) Reset

func (x *SCD4XConfig) Reset()

func (*SCD4XConfig) SetFactoryReset

func (x *SCD4XConfig) SetFactoryReset(v bool)

func (*SCD4XConfig) SetSetAltitude

func (x *SCD4XConfig) SetSetAltitude(v uint32)

func (*SCD4XConfig) SetSetAmbientPressure

func (x *SCD4XConfig) SetSetAmbientPressure(v uint32)

func (*SCD4XConfig) SetSetAsc

func (x *SCD4XConfig) SetSetAsc(v bool)

func (*SCD4XConfig) SetSetPowerMode

func (x *SCD4XConfig) SetSetPowerMode(v bool)

func (*SCD4XConfig) SetSetTargetCo2Conc

func (x *SCD4XConfig) SetSetTargetCo2Conc(v uint32)

func (*SCD4XConfig) SetSetTemperature

func (x *SCD4XConfig) SetSetTemperature(v float32)

func (*SCD4XConfig) String

func (x *SCD4XConfig) String() string

type SCD4XConfig_builder

type SCD4XConfig_builder struct {

	// Set Automatic self-calibration enabled
	SetAsc *bool
	// Recalibration target CO2 concentration in ppm (FRC or ASC)
	SetTargetCo2Conc *uint32
	// Reference temperature in degC
	SetTemperature *float32
	// Altitude of sensor in meters above sea level. 0 - 3000m (overrides ambient pressure)
	SetAltitude *uint32
	// Sensor ambient pressure in Pa. 70000 - 120000 Pa (overrides altitude)
	SetAmbientPressure *uint32
	// Perform a factory reset of the sensor
	FactoryReset *bool
	// Power mode for sensor (true for low power, false for normal)
	SetPowerMode *bool
	// contains filtered or unexported fields
}

func (SCD4XConfig_builder) Build

func (b0 SCD4XConfig_builder) Build() *SCD4XConfig

type SCD30Config

type SCD30Config struct {

	// Set Automatic self-calibration enabled
	SetAsc *bool `protobuf:"varint,1,opt,name=set_asc,json=setAsc,proto3,oneof" json:"set_asc,omitempty"`
	// Recalibration target CO2 concentration in ppm (FRC or ASC)
	SetTargetCo2Conc *uint32 `protobuf:"varint,2,opt,name=set_target_co2_conc,json=setTargetCo2Conc,proto3,oneof" json:"set_target_co2_conc,omitempty"`
	// Reference temperature in degC
	SetTemperature *float32 `protobuf:"fixed32,3,opt,name=set_temperature,json=setTemperature,proto3,oneof" json:"set_temperature,omitempty"`
	// Altitude of sensor in meters above sea level. 0 - 3000m (overrides ambient pressure)
	SetAltitude *uint32 `protobuf:"varint,4,opt,name=set_altitude,json=setAltitude,proto3,oneof" json:"set_altitude,omitempty"`
	// Power mode for sensor (true for low power, false for normal)
	SetMeasurementInterval *uint32 `` /* 136-byte string literal not displayed */
	// Perform a factory reset of the sensor
	SoftReset *bool `protobuf:"varint,6,opt,name=soft_reset,json=softReset,proto3,oneof" json:"soft_reset,omitempty"`
	// contains filtered or unexported fields
}

func (*SCD30Config) ClearSetAltitude

func (x *SCD30Config) ClearSetAltitude()

func (*SCD30Config) ClearSetAsc

func (x *SCD30Config) ClearSetAsc()

func (*SCD30Config) ClearSetMeasurementInterval

func (x *SCD30Config) ClearSetMeasurementInterval()

func (*SCD30Config) ClearSetTargetCo2Conc

func (x *SCD30Config) ClearSetTargetCo2Conc()

func (*SCD30Config) ClearSetTemperature

func (x *SCD30Config) ClearSetTemperature()

func (*SCD30Config) ClearSoftReset

func (x *SCD30Config) ClearSoftReset()

func (*SCD30Config) GetSetAltitude

func (x *SCD30Config) GetSetAltitude() uint32

func (*SCD30Config) GetSetAsc

func (x *SCD30Config) GetSetAsc() bool

func (*SCD30Config) GetSetMeasurementInterval

func (x *SCD30Config) GetSetMeasurementInterval() uint32

func (*SCD30Config) GetSetTargetCo2Conc

func (x *SCD30Config) GetSetTargetCo2Conc() uint32

func (*SCD30Config) GetSetTemperature

func (x *SCD30Config) GetSetTemperature() float32

func (*SCD30Config) GetSoftReset

func (x *SCD30Config) GetSoftReset() bool

func (*SCD30Config) HasSetAltitude

func (x *SCD30Config) HasSetAltitude() bool

func (*SCD30Config) HasSetAsc

func (x *SCD30Config) HasSetAsc() bool

func (*SCD30Config) HasSetMeasurementInterval

func (x *SCD30Config) HasSetMeasurementInterval() bool

func (*SCD30Config) HasSetTargetCo2Conc

func (x *SCD30Config) HasSetTargetCo2Conc() bool

func (*SCD30Config) HasSetTemperature

func (x *SCD30Config) HasSetTemperature() bool

func (*SCD30Config) HasSoftReset

func (x *SCD30Config) HasSoftReset() bool

func (*SCD30Config) ProtoMessage

func (*SCD30Config) ProtoMessage()

func (*SCD30Config) ProtoReflect

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

func (*SCD30Config) Reset

func (x *SCD30Config) Reset()

func (*SCD30Config) SetSetAltitude

func (x *SCD30Config) SetSetAltitude(v uint32)

func (*SCD30Config) SetSetAsc

func (x *SCD30Config) SetSetAsc(v bool)

func (*SCD30Config) SetSetMeasurementInterval

func (x *SCD30Config) SetSetMeasurementInterval(v uint32)

func (*SCD30Config) SetSetTargetCo2Conc

func (x *SCD30Config) SetSetTargetCo2Conc(v uint32)

func (*SCD30Config) SetSetTemperature

func (x *SCD30Config) SetSetTemperature(v float32)

func (*SCD30Config) SetSoftReset

func (x *SCD30Config) SetSoftReset(v bool)

func (*SCD30Config) String

func (x *SCD30Config) String() string

type SCD30Config_builder

type SCD30Config_builder struct {

	// Set Automatic self-calibration enabled
	SetAsc *bool
	// Recalibration target CO2 concentration in ppm (FRC or ASC)
	SetTargetCo2Conc *uint32
	// Reference temperature in degC
	SetTemperature *float32
	// Altitude of sensor in meters above sea level. 0 - 3000m (overrides ambient pressure)
	SetAltitude *uint32
	// Power mode for sensor (true for low power, false for normal)
	SetMeasurementInterval *uint32
	// Perform a factory reset of the sensor
	SoftReset *bool
	// contains filtered or unexported fields
}

func (SCD30Config_builder) Build

func (b0 SCD30Config_builder) Build() *SCD30Config

type SEN5XConfig

type SEN5XConfig struct {

	// Reference temperature in degC
	SetTemperature *float32 `protobuf:"fixed32,1,opt,name=set_temperature,json=setTemperature,proto3,oneof" json:"set_temperature,omitempty"`
	// One-shot mode (true for low power - one-shot mode, false for normal - continuous mode)
	SetOneShotMode *bool `protobuf:"varint,2,opt,name=set_one_shot_mode,json=setOneShotMode,proto3,oneof" json:"set_one_shot_mode,omitempty"`
	// contains filtered or unexported fields
}

func (*SEN5XConfig) ClearSetOneShotMode

func (x *SEN5XConfig) ClearSetOneShotMode()

func (*SEN5XConfig) ClearSetTemperature

func (x *SEN5XConfig) ClearSetTemperature()

func (*SEN5XConfig) GetSetOneShotMode

func (x *SEN5XConfig) GetSetOneShotMode() bool

func (*SEN5XConfig) GetSetTemperature

func (x *SEN5XConfig) GetSetTemperature() float32

func (*SEN5XConfig) HasSetOneShotMode

func (x *SEN5XConfig) HasSetOneShotMode() bool

func (*SEN5XConfig) HasSetTemperature

func (x *SEN5XConfig) HasSetTemperature() bool

func (*SEN5XConfig) ProtoMessage

func (*SEN5XConfig) ProtoMessage()

func (*SEN5XConfig) ProtoReflect

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

func (*SEN5XConfig) Reset

func (x *SEN5XConfig) Reset()

func (*SEN5XConfig) SetSetOneShotMode

func (x *SEN5XConfig) SetSetOneShotMode(v bool)

func (*SEN5XConfig) SetSetTemperature

func (x *SEN5XConfig) SetSetTemperature(v float32)

func (*SEN5XConfig) String

func (x *SEN5XConfig) String() string

type SEN5XConfig_builder

type SEN5XConfig_builder struct {

	// Reference temperature in degC
	SetTemperature *float32
	// One-shot mode (true for low power - one-shot mode, false for normal - continuous mode)
	SetOneShotMode *bool
	// contains filtered or unexported fields
}

func (SEN5XConfig_builder) Build

func (b0 SEN5XConfig_builder) Build() *SEN5XConfig

type SEN5XState

type SEN5XState struct {

	// Last cleaning time for SEN5X
	LastCleaningTime uint32 `protobuf:"varint,1,opt,name=last_cleaning_time,json=lastCleaningTime,proto3" json:"last_cleaning_time,omitempty"`
	// Last cleaning time for SEN5X - valid flag
	LastCleaningValid bool `protobuf:"varint,2,opt,name=last_cleaning_valid,json=lastCleaningValid,proto3" json:"last_cleaning_valid,omitempty"`
	// Config flag for one-shot mode (see admin.proto)
	OneShotMode bool `protobuf:"varint,3,opt,name=one_shot_mode,json=oneShotMode,proto3" json:"one_shot_mode,omitempty"`
	// Last VOC state time for SEN55
	VocStateTime *uint32 `protobuf:"varint,4,opt,name=voc_state_time,json=vocStateTime,proto3,oneof" json:"voc_state_time,omitempty"`
	// Last VOC state validity flag for SEN55
	VocStateValid *bool `protobuf:"varint,5,opt,name=voc_state_valid,json=vocStateValid,proto3,oneof" json:"voc_state_valid,omitempty"`
	// VOC state array (8x uint8t) for SEN55
	VocStateArray *uint64 `protobuf:"fixed64,6,opt,name=voc_state_array,json=vocStateArray,proto3,oneof" json:"voc_state_array,omitempty"`
	// contains filtered or unexported fields
}

SEN5X State, for saving to flash

func (*SEN5XState) ClearVocStateArray

func (x *SEN5XState) ClearVocStateArray()

func (*SEN5XState) ClearVocStateTime

func (x *SEN5XState) ClearVocStateTime()

func (*SEN5XState) ClearVocStateValid

func (x *SEN5XState) ClearVocStateValid()

func (*SEN5XState) GetLastCleaningTime

func (x *SEN5XState) GetLastCleaningTime() uint32

func (*SEN5XState) GetLastCleaningValid

func (x *SEN5XState) GetLastCleaningValid() bool

func (*SEN5XState) GetOneShotMode

func (x *SEN5XState) GetOneShotMode() bool

func (*SEN5XState) GetVocStateArray

func (x *SEN5XState) GetVocStateArray() uint64

func (*SEN5XState) GetVocStateTime

func (x *SEN5XState) GetVocStateTime() uint32

func (*SEN5XState) GetVocStateValid

func (x *SEN5XState) GetVocStateValid() bool

func (*SEN5XState) HasVocStateArray

func (x *SEN5XState) HasVocStateArray() bool

func (*SEN5XState) HasVocStateTime

func (x *SEN5XState) HasVocStateTime() bool

func (*SEN5XState) HasVocStateValid

func (x *SEN5XState) HasVocStateValid() bool

func (*SEN5XState) ProtoMessage

func (*SEN5XState) ProtoMessage()

func (*SEN5XState) ProtoReflect

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

func (*SEN5XState) Reset

func (x *SEN5XState) Reset()

func (*SEN5XState) SetLastCleaningTime

func (x *SEN5XState) SetLastCleaningTime(v uint32)

func (*SEN5XState) SetLastCleaningValid

func (x *SEN5XState) SetLastCleaningValid(v bool)

func (*SEN5XState) SetOneShotMode

func (x *SEN5XState) SetOneShotMode(v bool)

func (*SEN5XState) SetVocStateArray

func (x *SEN5XState) SetVocStateArray(v uint64)

func (*SEN5XState) SetVocStateTime

func (x *SEN5XState) SetVocStateTime(v uint32)

func (*SEN5XState) SetVocStateValid

func (x *SEN5XState) SetVocStateValid(v bool)

func (*SEN5XState) String

func (x *SEN5XState) String() string

type SEN5XState_builder

type SEN5XState_builder struct {

	// Last cleaning time for SEN5X
	LastCleaningTime uint32
	// Last cleaning time for SEN5X - valid flag
	LastCleaningValid bool
	// Config flag for one-shot mode (see admin.proto)
	OneShotMode bool
	// Last VOC state time for SEN55
	VocStateTime *uint32
	// Last VOC state validity flag for SEN55
	VocStateValid *bool
	// VOC state array (8x uint8t) for SEN55
	VocStateArray *uint64
	// contains filtered or unexported fields
}

func (SEN5XState_builder) Build

func (b0 SEN5XState_builder) Build() *SEN5XState

type SensorConfig

type SensorConfig struct {

	// SCD4X CO2 Sensor configuration
	Scd4XConfig *SCD4XConfig `protobuf:"bytes,1,opt,name=scd4x_config,json=scd4xConfig,proto3" json:"scd4x_config,omitempty"`
	// SEN5X PM Sensor configuration
	Sen5XConfig *SEN5XConfig `protobuf:"bytes,2,opt,name=sen5x_config,json=sen5xConfig,proto3" json:"sen5x_config,omitempty"`
	// SCD30 CO2 Sensor configuration
	Scd30Config *SCD30Config `protobuf:"bytes,3,opt,name=scd30_config,json=scd30Config,proto3" json:"scd30_config,omitempty"`
	// contains filtered or unexported fields
}

func (*SensorConfig) ClearScd4XConfig

func (x *SensorConfig) ClearScd4XConfig()

func (*SensorConfig) ClearScd30Config

func (x *SensorConfig) ClearScd30Config()

func (*SensorConfig) ClearSen5XConfig

func (x *SensorConfig) ClearSen5XConfig()

func (*SensorConfig) GetScd4XConfig

func (x *SensorConfig) GetScd4XConfig() *SCD4XConfig

func (*SensorConfig) GetScd30Config

func (x *SensorConfig) GetScd30Config() *SCD30Config

func (*SensorConfig) GetSen5XConfig

func (x *SensorConfig) GetSen5XConfig() *SEN5XConfig

func (*SensorConfig) HasScd4XConfig

func (x *SensorConfig) HasScd4XConfig() bool

func (*SensorConfig) HasScd30Config

func (x *SensorConfig) HasScd30Config() bool

func (*SensorConfig) HasSen5XConfig

func (x *SensorConfig) HasSen5XConfig() bool

func (*SensorConfig) ProtoMessage

func (*SensorConfig) ProtoMessage()

func (*SensorConfig) ProtoReflect

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

func (*SensorConfig) Reset

func (x *SensorConfig) Reset()

func (*SensorConfig) SetScd4XConfig

func (x *SensorConfig) SetScd4XConfig(v *SCD4XConfig)

func (*SensorConfig) SetScd30Config

func (x *SensorConfig) SetScd30Config(v *SCD30Config)

func (*SensorConfig) SetSen5XConfig

func (x *SensorConfig) SetSen5XConfig(v *SEN5XConfig)

func (*SensorConfig) String

func (x *SensorConfig) String() string

type SensorConfig_builder

type SensorConfig_builder struct {

	// SCD4X CO2 Sensor configuration
	Scd4XConfig *SCD4XConfig
	// SEN5X PM Sensor configuration
	Sen5XConfig *SEN5XConfig
	// SCD30 CO2 Sensor configuration
	Scd30Config *SCD30Config
	// contains filtered or unexported fields
}

func (SensorConfig_builder) Build

func (b0 SensorConfig_builder) Build() *SensorConfig

type SensorData

type SensorData struct {

	// The message type
	Type MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=meshtastic.MessageType" json:"type,omitempty"`
	// The sensor data, either as a float or an uint32
	//
	// Types that are valid to be assigned to Data:
	//
	//	*SensorData_FloatValue
	//	*SensorData_Uint32Value
	Data isSensorData_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*SensorData) ClearData

func (x *SensorData) ClearData()

func (*SensorData) ClearFloatValue

func (x *SensorData) ClearFloatValue()

func (*SensorData) ClearUint32Value

func (x *SensorData) ClearUint32Value()

func (*SensorData) GetData

func (x *SensorData) GetData() isSensorData_Data

func (*SensorData) GetFloatValue

func (x *SensorData) GetFloatValue() float32

func (*SensorData) GetType

func (x *SensorData) GetType() MessageType

func (*SensorData) GetUint32Value

func (x *SensorData) GetUint32Value() uint32

func (*SensorData) HasData

func (x *SensorData) HasData() bool

func (*SensorData) HasFloatValue

func (x *SensorData) HasFloatValue() bool

func (*SensorData) HasUint32Value

func (x *SensorData) HasUint32Value() bool

func (*SensorData) ProtoMessage

func (*SensorData) ProtoMessage()

func (*SensorData) ProtoReflect

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

func (*SensorData) Reset

func (x *SensorData) Reset()

func (*SensorData) SetFloatValue

func (x *SensorData) SetFloatValue(v float32)

func (*SensorData) SetType

func (x *SensorData) SetType(v MessageType)

func (*SensorData) SetUint32Value

func (x *SensorData) SetUint32Value(v uint32)

func (*SensorData) String

func (x *SensorData) String() string

func (*SensorData) WhichData

func (x *SensorData) WhichData() case_SensorData_Data

type SensorData_FloatValue

type SensorData_FloatValue struct {
	FloatValue float32 `protobuf:"fixed32,2,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type SensorData_Uint32Value

type SensorData_Uint32Value struct {
	Uint32Value uint32 `protobuf:"varint,3,opt,name=uint32_value,json=uint32Value,proto3,oneof"`
}

type SensorData_builder

type SensorData_builder struct {

	// The message type
	Type MessageType

	// Fields of oneof Data:
	FloatValue  *float32
	Uint32Value *uint32
	// contains filtered or unexported fields
}

func (SensorData_builder) Build

func (b0 SensorData_builder) Build() *SensorData

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

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

type SharedContact

type SharedContact struct {

	// The node number of the contact
	NodeNum uint32 `protobuf:"varint,1,opt,name=node_num,json=nodeNum,proto3" json:"node_num,omitempty"`
	// The User of the contact
	User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// Add this contact to the blocked / ignored list
	ShouldIgnore bool `protobuf:"varint,3,opt,name=should_ignore,json=shouldIgnore,proto3" json:"should_ignore,omitempty"`
	// Set the IS_KEY_MANUALLY_VERIFIED bit
	ManuallyVerified bool `protobuf:"varint,4,opt,name=manually_verified,json=manuallyVerified,proto3" json:"manually_verified,omitempty"`
	// contains filtered or unexported fields
}

func (*SharedContact) ClearUser

func (x *SharedContact) ClearUser()

func (*SharedContact) GetManuallyVerified

func (x *SharedContact) GetManuallyVerified() bool

func (*SharedContact) GetNodeNum

func (x *SharedContact) GetNodeNum() uint32

func (*SharedContact) GetShouldIgnore

func (x *SharedContact) GetShouldIgnore() bool

func (*SharedContact) GetUser

func (x *SharedContact) GetUser() *User

func (*SharedContact) HasUser

func (x *SharedContact) HasUser() bool

func (*SharedContact) ProtoMessage

func (*SharedContact) ProtoMessage()

func (*SharedContact) ProtoReflect

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

func (*SharedContact) Reset

func (x *SharedContact) Reset()

func (*SharedContact) SetManuallyVerified

func (x *SharedContact) SetManuallyVerified(v bool)

func (*SharedContact) SetNodeNum

func (x *SharedContact) SetNodeNum(v uint32)

func (*SharedContact) SetShouldIgnore

func (x *SharedContact) SetShouldIgnore(v bool)

func (*SharedContact) SetUser

func (x *SharedContact) SetUser(v *User)

func (*SharedContact) String

func (x *SharedContact) String() string

type SharedContact_builder

type SharedContact_builder struct {

	// The node number of the contact
	NodeNum uint32
	// The User of the contact
	User *User
	// Add this contact to the blocked / ignored list
	ShouldIgnore bool
	// Set the IS_KEY_MANUALLY_VERIFIED bit
	ManuallyVerified bool
	// contains filtered or unexported fields
}

func (SharedContact_builder) Build

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) GetBattery

func (x *Status) GetBattery() uint32

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) SetBattery

func (x *Status) SetBattery(v uint32)

func (*Status) String

func (x *Status) String() string

type StatusMessage

type StatusMessage struct {
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Message for node status

func (*StatusMessage) GetStatus

func (x *StatusMessage) GetStatus() string

func (*StatusMessage) ProtoMessage

func (*StatusMessage) ProtoMessage()

func (*StatusMessage) ProtoReflect

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

func (*StatusMessage) Reset

func (x *StatusMessage) Reset()

func (*StatusMessage) SetStatus

func (x *StatusMessage) SetStatus(v string)

func (*StatusMessage) String

func (x *StatusMessage) String() string

type StatusMessage_builder

type StatusMessage_builder struct {
	Status string
	// contains filtered or unexported fields
}

func (StatusMessage_builder) Build

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 (*StoreAndForward) GetStats

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 (*StoreAndForward) SetStats

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 (*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

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

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) Enum

func (StoreAndForward_RequestResponse) Number

func (StoreAndForward_RequestResponse) String

func (StoreAndForward_RequestResponse) Type

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 (*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

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

type StoreForwardPlusPlus

type StoreForwardPlusPlus struct {

	// Which message type is this
	SfppMessageType StoreForwardPlusPlus_SFPPMessageType `` /* 162-byte string literal not displayed */
	// The hash of the specific message
	MessageHash []byte `protobuf:"bytes,2,opt,name=message_hash,json=messageHash,proto3" json:"message_hash,omitempty"`
	// The hash of a link on a chain
	CommitHash []byte `protobuf:"bytes,3,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
	// the root hash of a chain
	RootHash []byte `protobuf:"bytes,4,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	// The encrypted bytes from a message
	Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// Message ID of the contained message
	EncapsulatedId uint32 `protobuf:"varint,6,opt,name=encapsulated_id,json=encapsulatedId,proto3" json:"encapsulated_id,omitempty"`
	// Destination of the contained message
	EncapsulatedTo uint32 `protobuf:"varint,7,opt,name=encapsulated_to,json=encapsulatedTo,proto3" json:"encapsulated_to,omitempty"`
	// Sender of the contained message
	EncapsulatedFrom uint32 `protobuf:"varint,8,opt,name=encapsulated_from,json=encapsulatedFrom,proto3" json:"encapsulated_from,omitempty"`
	// The receive time of the message in question
	EncapsulatedRxtime uint32 `protobuf:"varint,9,opt,name=encapsulated_rxtime,json=encapsulatedRxtime,proto3" json:"encapsulated_rxtime,omitempty"`
	// Used in a LINK_REQUEST to specify the message X spots back from head
	ChainCount uint32 `protobuf:"varint,10,opt,name=chain_count,json=chainCount,proto3" json:"chain_count,omitempty"`
	// contains filtered or unexported fields
}

The actual over-the-mesh message doing store and forward++

func (*StoreForwardPlusPlus) GetChainCount

func (x *StoreForwardPlusPlus) GetChainCount() uint32

func (*StoreForwardPlusPlus) GetCommitHash

func (x *StoreForwardPlusPlus) GetCommitHash() []byte

func (*StoreForwardPlusPlus) GetEncapsulatedFrom

func (x *StoreForwardPlusPlus) GetEncapsulatedFrom() uint32

func (*StoreForwardPlusPlus) GetEncapsulatedId

func (x *StoreForwardPlusPlus) GetEncapsulatedId() uint32

func (*StoreForwardPlusPlus) GetEncapsulatedRxtime

func (x *StoreForwardPlusPlus) GetEncapsulatedRxtime() uint32

func (*StoreForwardPlusPlus) GetEncapsulatedTo

func (x *StoreForwardPlusPlus) GetEncapsulatedTo() uint32

func (*StoreForwardPlusPlus) GetMessage

func (x *StoreForwardPlusPlus) GetMessage() []byte

func (*StoreForwardPlusPlus) GetMessageHash

func (x *StoreForwardPlusPlus) GetMessageHash() []byte

func (*StoreForwardPlusPlus) GetRootHash

func (x *StoreForwardPlusPlus) GetRootHash() []byte

func (*StoreForwardPlusPlus) GetSfppMessageType

func (*StoreForwardPlusPlus) ProtoMessage

func (*StoreForwardPlusPlus) ProtoMessage()

func (*StoreForwardPlusPlus) ProtoReflect

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

func (*StoreForwardPlusPlus) Reset

func (x *StoreForwardPlusPlus) Reset()

func (*StoreForwardPlusPlus) SetChainCount

func (x *StoreForwardPlusPlus) SetChainCount(v uint32)

func (*StoreForwardPlusPlus) SetCommitHash

func (x *StoreForwardPlusPlus) SetCommitHash(v []byte)

func (*StoreForwardPlusPlus) SetEncapsulatedFrom

func (x *StoreForwardPlusPlus) SetEncapsulatedFrom(v uint32)

func (*StoreForwardPlusPlus) SetEncapsulatedId

func (x *StoreForwardPlusPlus) SetEncapsulatedId(v uint32)

func (*StoreForwardPlusPlus) SetEncapsulatedRxtime

func (x *StoreForwardPlusPlus) SetEncapsulatedRxtime(v uint32)

func (*StoreForwardPlusPlus) SetEncapsulatedTo

func (x *StoreForwardPlusPlus) SetEncapsulatedTo(v uint32)

func (*StoreForwardPlusPlus) SetMessage

func (x *StoreForwardPlusPlus) SetMessage(v []byte)

func (*StoreForwardPlusPlus) SetMessageHash

func (x *StoreForwardPlusPlus) SetMessageHash(v []byte)

func (*StoreForwardPlusPlus) SetRootHash

func (x *StoreForwardPlusPlus) SetRootHash(v []byte)

func (*StoreForwardPlusPlus) SetSfppMessageType

func (*StoreForwardPlusPlus) String

func (x *StoreForwardPlusPlus) String() string

type StoreForwardPlusPlus_SFPPMessageType

type StoreForwardPlusPlus_SFPPMessageType int32

Enum of message types

const (
	// Send an announcement of the canonical tip of a chain
	StoreForwardPlusPlus_CANON_ANNOUNCE StoreForwardPlusPlus_SFPPMessageType = 0
	// Query whether a specific link is on the chain
	StoreForwardPlusPlus_CHAIN_QUERY StoreForwardPlusPlus_SFPPMessageType = 1
	// Request the next link in the chain
	StoreForwardPlusPlus_LINK_REQUEST StoreForwardPlusPlus_SFPPMessageType = 3
	// Provide a link to add to the chain
	StoreForwardPlusPlus_LINK_PROVIDE StoreForwardPlusPlus_SFPPMessageType = 4
	// If we must fragment, send the first half
	StoreForwardPlusPlus_LINK_PROVIDE_FIRSTHALF StoreForwardPlusPlus_SFPPMessageType = 5
	// If we must fragment, send the second half
	StoreForwardPlusPlus_LINK_PROVIDE_SECONDHALF StoreForwardPlusPlus_SFPPMessageType = 6
)

func (StoreForwardPlusPlus_SFPPMessageType) Descriptor

func (StoreForwardPlusPlus_SFPPMessageType) Enum

func (StoreForwardPlusPlus_SFPPMessageType) Number

func (StoreForwardPlusPlus_SFPPMessageType) String

func (StoreForwardPlusPlus_SFPPMessageType) Type

type StoreForwardPlusPlus_builder

type StoreForwardPlusPlus_builder struct {

	// Which message type is this
	SfppMessageType StoreForwardPlusPlus_SFPPMessageType
	// The hash of the specific message
	MessageHash []byte
	// The hash of a link on a chain
	CommitHash []byte
	// the root hash of a chain
	RootHash []byte
	// The encrypted bytes from a message
	Message []byte
	// Message ID of the contained message
	EncapsulatedId uint32
	// Destination of the contained message
	EncapsulatedTo uint32
	// Sender of the contained message
	EncapsulatedFrom uint32
	// The receive time of the message in question
	EncapsulatedRxtime uint32
	// Used in a LINK_REQUEST to specify the message X spots back from head
	ChainCount uint32
	// contains filtered or unexported fields
}

func (StoreForwardPlusPlus_builder) Build

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
	//	*TAKPacket_Detail
	PayloadVariant isTAKPacket_PayloadVariant `protobuf_oneof:"payload_variant"`
	// contains filtered or unexported fields
}

Packets for the official ATAK Plugin

func (*TAKPacket) ClearChat

func (x *TAKPacket) ClearChat()

func (*TAKPacket) ClearContact

func (x *TAKPacket) ClearContact()

func (*TAKPacket) ClearDetail

func (x *TAKPacket) ClearDetail()

func (*TAKPacket) ClearGroup

func (x *TAKPacket) ClearGroup()

func (*TAKPacket) ClearPayloadVariant

func (x *TAKPacket) ClearPayloadVariant()

func (*TAKPacket) ClearPli

func (x *TAKPacket) ClearPli()

func (*TAKPacket) ClearStatus

func (x *TAKPacket) ClearStatus()

func (*TAKPacket) GetChat

func (x *TAKPacket) GetChat() *GeoChat

func (*TAKPacket) GetContact

func (x *TAKPacket) GetContact() *Contact

func (*TAKPacket) GetDetail

func (x *TAKPacket) GetDetail() []byte

func (*TAKPacket) GetGroup

func (x *TAKPacket) GetGroup() *Group

func (*TAKPacket) GetIsCompressed

func (x *TAKPacket) GetIsCompressed() bool

func (*TAKPacket) GetPayloadVariant

func (x *TAKPacket) GetPayloadVariant() isTAKPacket_PayloadVariant

func (*TAKPacket) GetPli

func (x *TAKPacket) GetPli() *PLI

func (*TAKPacket) GetStatus

func (x *TAKPacket) GetStatus() *Status

func (*TAKPacket) HasChat

func (x *TAKPacket) HasChat() bool

func (*TAKPacket) HasContact

func (x *TAKPacket) HasContact() bool

func (*TAKPacket) HasDetail

func (x *TAKPacket) HasDetail() bool

func (*TAKPacket) HasGroup

func (x *TAKPacket) HasGroup() bool

func (*TAKPacket) HasPayloadVariant

func (x *TAKPacket) HasPayloadVariant() bool

func (*TAKPacket) HasPli

func (x *TAKPacket) HasPli() bool

func (*TAKPacket) HasStatus

func (x *TAKPacket) HasStatus() bool

func (*TAKPacket) ProtoMessage

func (*TAKPacket) ProtoMessage()

func (*TAKPacket) ProtoReflect

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

func (*TAKPacket) Reset

func (x *TAKPacket) Reset()

func (*TAKPacket) SetChat

func (x *TAKPacket) SetChat(v *GeoChat)

func (*TAKPacket) SetContact

func (x *TAKPacket) SetContact(v *Contact)

func (*TAKPacket) SetDetail

func (x *TAKPacket) SetDetail(v []byte)

func (*TAKPacket) SetGroup

func (x *TAKPacket) SetGroup(v *Group)

func (*TAKPacket) SetIsCompressed

func (x *TAKPacket) SetIsCompressed(v bool)

func (*TAKPacket) SetPli

func (x *TAKPacket) SetPli(v *PLI)

func (*TAKPacket) SetStatus

func (x *TAKPacket) SetStatus(v *Status)

func (*TAKPacket) String

func (x *TAKPacket) String() string

func (*TAKPacket) WhichPayloadVariant

func (x *TAKPacket) WhichPayloadVariant() case_TAKPacket_PayloadVariant

type TAKPacket_Chat

type TAKPacket_Chat struct {
	// ATAK GeoChat message
	Chat *GeoChat `protobuf:"bytes,6,opt,name=chat,proto3,oneof"`
}

type TAKPacket_Detail

type TAKPacket_Detail struct {
	// Generic CoT detail XML
	// May be compressed / truncated by the sender (EUD)
	Detail []byte `protobuf:"bytes,7,opt,name=detail,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
	// Generic CoT detail XML
	// May be compressed / truncated by the sender (EUD)
	Detail []byte
	// 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) Enum

func (x Team) Enum() *Team

func (Team) Number

func (x Team) Number() protoreflect.EnumNumber

func (Team) String

func (x Team) String() string

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
	//	*Telemetry_LocalStats
	//	*Telemetry_HealthMetrics
	//	*Telemetry_HostMetrics
	//	*Telemetry_TrafficManagementStats
	Variant isTelemetry_Variant `protobuf_oneof:"variant"`
	// contains filtered or unexported fields
}

Types of Measurements the telemetry module is equipped to handle

func (*Telemetry) ClearAirQualityMetrics

func (x *Telemetry) ClearAirQualityMetrics()

func (*Telemetry) ClearDeviceMetrics

func (x *Telemetry) ClearDeviceMetrics()

func (*Telemetry) ClearEnvironmentMetrics

func (x *Telemetry) ClearEnvironmentMetrics()

func (*Telemetry) ClearHealthMetrics

func (x *Telemetry) ClearHealthMetrics()

func (*Telemetry) ClearHostMetrics

func (x *Telemetry) ClearHostMetrics()

func (*Telemetry) ClearLocalStats

func (x *Telemetry) ClearLocalStats()

func (*Telemetry) ClearPowerMetrics

func (x *Telemetry) ClearPowerMetrics()

func (*Telemetry) ClearTrafficManagementStats

func (x *Telemetry) ClearTrafficManagementStats()

func (*Telemetry) ClearVariant

func (x *Telemetry) ClearVariant()

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) GetHealthMetrics

func (x *Telemetry) GetHealthMetrics() *HealthMetrics

func (*Telemetry) GetHostMetrics

func (x *Telemetry) GetHostMetrics() *HostMetrics

func (*Telemetry) GetLocalStats

func (x *Telemetry) GetLocalStats() *LocalStats

func (*Telemetry) GetPowerMetrics

func (x *Telemetry) GetPowerMetrics() *PowerMetrics

func (*Telemetry) GetTime

func (x *Telemetry) GetTime() uint32

func (*Telemetry) GetTrafficManagementStats

func (x *Telemetry) GetTrafficManagementStats() *TrafficManagementStats

func (*Telemetry) GetVariant

func (x *Telemetry) GetVariant() isTelemetry_Variant

func (*Telemetry) HasAirQualityMetrics

func (x *Telemetry) HasAirQualityMetrics() bool

func (*Telemetry) HasDeviceMetrics

func (x *Telemetry) HasDeviceMetrics() bool

func (*Telemetry) HasEnvironmentMetrics

func (x *Telemetry) HasEnvironmentMetrics() bool

func (*Telemetry) HasHealthMetrics

func (x *Telemetry) HasHealthMetrics() bool

func (*Telemetry) HasHostMetrics

func (x *Telemetry) HasHostMetrics() bool

func (*Telemetry) HasLocalStats

func (x *Telemetry) HasLocalStats() bool

func (*Telemetry) HasPowerMetrics

func (x *Telemetry) HasPowerMetrics() bool

func (*Telemetry) HasTrafficManagementStats

func (x *Telemetry) HasTrafficManagementStats() bool

func (*Telemetry) HasVariant

func (x *Telemetry) HasVariant() bool

func (*Telemetry) ProtoMessage

func (*Telemetry) ProtoMessage()

func (*Telemetry) ProtoReflect

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

func (*Telemetry) Reset

func (x *Telemetry) Reset()

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) SetHealthMetrics

func (x *Telemetry) SetHealthMetrics(v *HealthMetrics)

func (*Telemetry) SetHostMetrics

func (x *Telemetry) SetHostMetrics(v *HostMetrics)

func (*Telemetry) SetLocalStats

func (x *Telemetry) SetLocalStats(v *LocalStats)

func (*Telemetry) SetPowerMetrics

func (x *Telemetry) SetPowerMetrics(v *PowerMetrics)

func (*Telemetry) SetTime

func (x *Telemetry) SetTime(v uint32)

func (*Telemetry) SetTrafficManagementStats

func (x *Telemetry) SetTrafficManagementStats(v *TrafficManagementStats)

func (*Telemetry) String

func (x *Telemetry) String() string

func (*Telemetry) WhichVariant

func (x *Telemetry) WhichVariant() case_Telemetry_Variant

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
	// BMP085/BMP180 High accuracy temperature and pressure (older Version of BMP280)
	TelemetrySensorType_BMP085 TelemetrySensorType = 15
	// RCWL-9620 Doppler Radar Distance Sensor, used for water level detection
	TelemetrySensorType_RCWL9620 TelemetrySensorType = 16
	// Sensirion High accuracy temperature and humidity
	TelemetrySensorType_SHT4X TelemetrySensorType = 17
	// VEML7700 high accuracy ambient light(Lux) digital 16-bit resolution sensor.
	TelemetrySensorType_VEML7700 TelemetrySensorType = 18
	// MLX90632 non-contact IR temperature sensor.
	TelemetrySensorType_MLX90632 TelemetrySensorType = 19
	// TI OPT3001 Ambient Light Sensor
	TelemetrySensorType_OPT3001 TelemetrySensorType = 20
	// Lite On LTR-390UV-01 UV Light Sensor
	TelemetrySensorType_LTR390UV TelemetrySensorType = 21
	// AMS TSL25911FN RGB Light Sensor
	TelemetrySensorType_TSL25911FN TelemetrySensorType = 22
	// AHT10 Integrated temperature and humidity sensor
	TelemetrySensorType_AHT10 TelemetrySensorType = 23
	// DFRobot Lark Weather station (temperature, humidity, pressure, wind speed and direction)
	TelemetrySensorType_DFROBOT_LARK TelemetrySensorType = 24
	// NAU7802 Scale Chip or compatible
	TelemetrySensorType_NAU7802 TelemetrySensorType = 25
	// BMP3XX High accuracy temperature and pressure
	TelemetrySensorType_BMP3XX TelemetrySensorType = 26
	// ICM-20948 9-Axis digital motion processor
	TelemetrySensorType_ICM20948 TelemetrySensorType = 27
	// MAX17048 1S lipo battery sensor (voltage, state of charge, time to go)
	TelemetrySensorType_MAX17048 TelemetrySensorType = 28
	// Custom I2C sensor implementation based on https://github.com/meshtastic/i2c-sensor
	TelemetrySensorType_CUSTOM_SENSOR TelemetrySensorType = 29
	// MAX30102 Pulse Oximeter and Heart-Rate Sensor
	TelemetrySensorType_MAX30102 TelemetrySensorType = 30
	// MLX90614 non-contact IR temperature sensor
	TelemetrySensorType_MLX90614 TelemetrySensorType = 31
	// SCD40/SCD41 CO2, humidity, temperature sensor
	TelemetrySensorType_SCD4X TelemetrySensorType = 32
	// ClimateGuard RadSens, radiation, Geiger-Muller Tube
	TelemetrySensorType_RADSENS TelemetrySensorType = 33
	// High accuracy current and voltage
	TelemetrySensorType_INA226 TelemetrySensorType = 34
	// DFRobot Gravity tipping bucket rain gauge
	TelemetrySensorType_DFROBOT_RAIN TelemetrySensorType = 35
	// Infineon DPS310 High accuracy pressure and temperature
	TelemetrySensorType_DPS310 TelemetrySensorType = 36
	// RAKWireless RAK12035 Soil Moisture Sensor Module
	TelemetrySensorType_RAK12035 TelemetrySensorType = 37
	// MAX17261 lipo battery gauge
	TelemetrySensorType_MAX17261 TelemetrySensorType = 38
	// PCT2075 Temperature Sensor
	TelemetrySensorType_PCT2075 TelemetrySensorType = 39
	// ADS1X15 ADC
	TelemetrySensorType_ADS1X15 TelemetrySensorType = 40
	// ADS1X15 ADC_ALT
	TelemetrySensorType_ADS1X15_ALT TelemetrySensorType = 41
	// Sensirion SFA30 Formaldehyde sensor
	TelemetrySensorType_SFA30 TelemetrySensorType = 42
	// SEN5X PM SENSORS
	TelemetrySensorType_SEN5X TelemetrySensorType = 43
	// TSL2561 light sensor
	TelemetrySensorType_TSL2561 TelemetrySensorType = 44
	// BH1750 light sensor
	TelemetrySensorType_BH1750 TelemetrySensorType = 45
	// HDC1080 Temperature and Humidity Sensor
	TelemetrySensorType_HDC1080 TelemetrySensorType = 46
	// STH21 Temperature and R. Humidity sensor
	TelemetrySensorType_SHT21 TelemetrySensorType = 47
	// Sensirion STC31 CO2 sensor
	TelemetrySensorType_STC31 TelemetrySensorType = 48
	// SCD30 CO2, humidity, temperature sensor
	TelemetrySensorType_SCD30 TelemetrySensorType = 49
)

func (TelemetrySensorType) Descriptor

func (TelemetrySensorType) Enum

func (TelemetrySensorType) Number

func (TelemetrySensorType) String

func (x TelemetrySensorType) String() string

func (TelemetrySensorType) Type

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_HealthMetrics

type Telemetry_HealthMetrics struct {
	// Health telemetry metrics
	HealthMetrics *HealthMetrics `protobuf:"bytes,7,opt,name=health_metrics,json=healthMetrics,proto3,oneof"`
}

type Telemetry_HostMetrics

type Telemetry_HostMetrics struct {
	// Linux host metrics
	HostMetrics *HostMetrics `protobuf:"bytes,8,opt,name=host_metrics,json=hostMetrics,proto3,oneof"`
}

type Telemetry_LocalStats

type Telemetry_LocalStats struct {
	// Local device mesh statistics
	LocalStats *LocalStats `protobuf:"bytes,6,opt,name=local_stats,json=localStats,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_TrafficManagementStats

type Telemetry_TrafficManagementStats struct {
	// Traffic management statistics
	TrafficManagementStats *TrafficManagementStats `protobuf:"bytes,9,opt,name=traffic_management_stats,json=trafficManagementStats,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
	// Local device mesh statistics
	LocalStats *LocalStats
	// Health telemetry metrics
	HealthMetrics *HealthMetrics
	// Linux host metrics
	HostMetrics *HostMetrics
	// Traffic management statistics
	TrafficManagementStats *TrafficManagementStats
	// contains filtered or unexported fields
}

func (Telemetry_builder) Build

func (b0 Telemetry_builder) Build() *Telemetry

type Theme

type Theme int32
const (
	// Dark
	Theme_DARK Theme = 0
	// Light
	Theme_LIGHT Theme = 1
	// Red
	Theme_RED Theme = 2
)

func (Theme) Descriptor

func (Theme) Descriptor() protoreflect.EnumDescriptor

func (Theme) Enum

func (x Theme) Enum() *Theme

func (Theme) Number

func (x Theme) Number() protoreflect.EnumNumber

func (Theme) String

func (x Theme) String() string

func (Theme) Type

func (Theme) Type() protoreflect.EnumType

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
	//	*ToRadio_Heartbeat
	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) ClearDisconnect

func (x *ToRadio) ClearDisconnect()

func (*ToRadio) ClearHeartbeat

func (x *ToRadio) ClearHeartbeat()

func (*ToRadio) ClearMqttClientProxyMessage

func (x *ToRadio) ClearMqttClientProxyMessage()

func (*ToRadio) ClearPacket

func (x *ToRadio) ClearPacket()

func (*ToRadio) ClearPayloadVariant

func (x *ToRadio) ClearPayloadVariant()

func (*ToRadio) ClearWantConfigId

func (x *ToRadio) ClearWantConfigId()

func (*ToRadio) ClearXmodemPacket

func (x *ToRadio) ClearXmodemPacket()

func (*ToRadio) GetDisconnect

func (x *ToRadio) GetDisconnect() bool

func (*ToRadio) GetHeartbeat

func (x *ToRadio) GetHeartbeat() *Heartbeat

func (*ToRadio) GetMqttClientProxyMessage

func (x *ToRadio) GetMqttClientProxyMessage() *MqttClientProxyMessage

func (*ToRadio) GetPacket

func (x *ToRadio) GetPacket() *MeshPacket

func (*ToRadio) GetPayloadVariant

func (x *ToRadio) GetPayloadVariant() isToRadio_PayloadVariant

func (*ToRadio) GetWantConfigId

func (x *ToRadio) GetWantConfigId() uint32

func (*ToRadio) GetXmodemPacket

func (x *ToRadio) GetXmodemPacket() *XModem

func (*ToRadio) HasDisconnect

func (x *ToRadio) HasDisconnect() bool

func (*ToRadio) HasHeartbeat

func (x *ToRadio) HasHeartbeat() bool

func (*ToRadio) HasMqttClientProxyMessage

func (x *ToRadio) HasMqttClientProxyMessage() bool

func (*ToRadio) HasPacket

func (x *ToRadio) HasPacket() bool

func (*ToRadio) HasPayloadVariant

func (x *ToRadio) HasPayloadVariant() bool

func (*ToRadio) HasWantConfigId

func (x *ToRadio) HasWantConfigId() bool

func (*ToRadio) HasXmodemPacket

func (x *ToRadio) HasXmodemPacket() bool

func (*ToRadio) ProtoMessage

func (*ToRadio) ProtoMessage()

func (*ToRadio) ProtoReflect

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

func (*ToRadio) Reset

func (x *ToRadio) Reset()

func (*ToRadio) SetDisconnect

func (x *ToRadio) SetDisconnect(v bool)

func (*ToRadio) SetHeartbeat

func (x *ToRadio) SetHeartbeat(v *Heartbeat)

func (*ToRadio) SetMqttClientProxyMessage

func (x *ToRadio) SetMqttClientProxyMessage(v *MqttClientProxyMessage)

func (*ToRadio) SetPacket

func (x *ToRadio) SetPacket(v *MeshPacket)

func (*ToRadio) SetWantConfigId

func (x *ToRadio) SetWantConfigId(v uint32)

func (*ToRadio) SetXmodemPacket

func (x *ToRadio) SetXmodemPacket(v *XModem)

func (*ToRadio) String

func (x *ToRadio) String() string

func (*ToRadio) WhichPayloadVariant

func (x *ToRadio) WhichPayloadVariant() case_ToRadio_PayloadVariant

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_Heartbeat

type ToRadio_Heartbeat struct {
	// Heartbeat message (used to keep the device connection awake on serial)
	Heartbeat *Heartbeat `protobuf:"bytes,7,opt,name=heartbeat,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
	// Heartbeat message (used to keep the device connection awake on serial)
	Heartbeat *Heartbeat
	// contains filtered or unexported fields
}

func (ToRadio_builder) Build

func (b0 ToRadio_builder) Build() *ToRadio

type TrafficManagementStats

type TrafficManagementStats struct {

	// Total number of packets inspected by traffic management
	PacketsInspected uint32 `protobuf:"varint,1,opt,name=packets_inspected,json=packetsInspected,proto3" json:"packets_inspected,omitempty"`
	// Number of position packets dropped due to deduplication
	PositionDedupDrops uint32 `protobuf:"varint,2,opt,name=position_dedup_drops,json=positionDedupDrops,proto3" json:"position_dedup_drops,omitempty"`
	// Number of NodeInfo requests answered from cache
	NodeinfoCacheHits uint32 `protobuf:"varint,3,opt,name=nodeinfo_cache_hits,json=nodeinfoCacheHits,proto3" json:"nodeinfo_cache_hits,omitempty"`
	// Number of packets dropped due to rate limiting
	RateLimitDrops uint32 `protobuf:"varint,4,opt,name=rate_limit_drops,json=rateLimitDrops,proto3" json:"rate_limit_drops,omitempty"`
	// Number of unknown/undecryptable packets dropped
	UnknownPacketDrops uint32 `protobuf:"varint,5,opt,name=unknown_packet_drops,json=unknownPacketDrops,proto3" json:"unknown_packet_drops,omitempty"`
	// Number of packets with hop_limit exhausted for local-only broadcast
	HopExhaustedPackets uint32 `protobuf:"varint,6,opt,name=hop_exhausted_packets,json=hopExhaustedPackets,proto3" json:"hop_exhausted_packets,omitempty"`
	// Number of times router hop preservation was applied
	RouterHopsPreserved uint32 `protobuf:"varint,7,opt,name=router_hops_preserved,json=routerHopsPreserved,proto3" json:"router_hops_preserved,omitempty"`
	// contains filtered or unexported fields
}

Traffic management statistics for mesh network optimization

func (*TrafficManagementStats) GetHopExhaustedPackets

func (x *TrafficManagementStats) GetHopExhaustedPackets() uint32

func (*TrafficManagementStats) GetNodeinfoCacheHits

func (x *TrafficManagementStats) GetNodeinfoCacheHits() uint32

func (*TrafficManagementStats) GetPacketsInspected

func (x *TrafficManagementStats) GetPacketsInspected() uint32

func (*TrafficManagementStats) GetPositionDedupDrops

func (x *TrafficManagementStats) GetPositionDedupDrops() uint32

func (*TrafficManagementStats) GetRateLimitDrops

func (x *TrafficManagementStats) GetRateLimitDrops() uint32

func (*TrafficManagementStats) GetRouterHopsPreserved

func (x *TrafficManagementStats) GetRouterHopsPreserved() uint32

func (*TrafficManagementStats) GetUnknownPacketDrops

func (x *TrafficManagementStats) GetUnknownPacketDrops() uint32

func (*TrafficManagementStats) ProtoMessage

func (*TrafficManagementStats) ProtoMessage()

func (*TrafficManagementStats) ProtoReflect

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

func (*TrafficManagementStats) Reset

func (x *TrafficManagementStats) Reset()

func (*TrafficManagementStats) SetHopExhaustedPackets

func (x *TrafficManagementStats) SetHopExhaustedPackets(v uint32)

func (*TrafficManagementStats) SetNodeinfoCacheHits

func (x *TrafficManagementStats) SetNodeinfoCacheHits(v uint32)

func (*TrafficManagementStats) SetPacketsInspected

func (x *TrafficManagementStats) SetPacketsInspected(v uint32)

func (*TrafficManagementStats) SetPositionDedupDrops

func (x *TrafficManagementStats) SetPositionDedupDrops(v uint32)

func (*TrafficManagementStats) SetRateLimitDrops

func (x *TrafficManagementStats) SetRateLimitDrops(v uint32)

func (*TrafficManagementStats) SetRouterHopsPreserved

func (x *TrafficManagementStats) SetRouterHopsPreserved(v uint32)

func (*TrafficManagementStats) SetUnknownPacketDrops

func (x *TrafficManagementStats) SetUnknownPacketDrops(v uint32)

func (*TrafficManagementStats) String

func (x *TrafficManagementStats) String() string

type TrafficManagementStats_builder

type TrafficManagementStats_builder struct {

	// Total number of packets inspected by traffic management
	PacketsInspected uint32
	// Number of position packets dropped due to deduplication
	PositionDedupDrops uint32
	// Number of NodeInfo requests answered from cache
	NodeinfoCacheHits uint32
	// Number of packets dropped due to rate limiting
	RateLimitDrops uint32
	// Number of unknown/undecryptable packets dropped
	UnknownPacketDrops uint32
	// Number of packets with hop_limit exhausted for local-only broadcast
	HopExhaustedPackets uint32
	// Number of times router hop preservation was applied
	RouterHopsPreserved uint32
	// contains filtered or unexported fields
}

func (TrafficManagementStats_builder) Build

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"`
	// The public key of the user's device.
	// This is sent out to other nodes on the mesh to allow them to compute a shared secret key.
	PublicKey []byte `protobuf:"bytes,8,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// Whether or not the node can be messaged
	IsUnmessagable *bool `protobuf:"varint,9,opt,name=is_unmessagable,json=isUnmessagable,proto3,oneof" json:"is_unmessagable,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) ClearIsUnmessagable

func (x *User) ClearIsUnmessagable()

func (*User) GetHwModel

func (x *User) GetHwModel() HardwareModel

func (*User) GetId

func (x *User) GetId() string

func (*User) GetIsLicensed

func (x *User) GetIsLicensed() bool

func (*User) GetIsUnmessagable

func (x *User) GetIsUnmessagable() bool

func (*User) GetLongName

func (x *User) GetLongName() string

func (*User) GetMacaddr deprecated

func (x *User) GetMacaddr() []byte

Deprecated: Marked as deprecated in meshtastic/mesh.proto.

func (*User) GetPublicKey

func (x *User) GetPublicKey() []byte

func (*User) GetRole

func (x *User) GetRole() Config_DeviceConfig_Role

func (*User) GetShortName

func (x *User) GetShortName() string

func (*User) HasIsUnmessagable

func (x *User) HasIsUnmessagable() bool

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) SetHwModel

func (x *User) SetHwModel(v HardwareModel)

func (*User) SetId

func (x *User) SetId(v string)

func (*User) SetIsLicensed

func (x *User) SetIsLicensed(v bool)

func (*User) SetIsUnmessagable

func (x *User) SetIsUnmessagable(v bool)

func (*User) SetLongName

func (x *User) SetLongName(v string)

func (*User) SetMacaddr deprecated

func (x *User) SetMacaddr(v []byte)

Deprecated: Marked as deprecated in meshtastic/mesh.proto.

func (*User) SetPublicKey

func (x *User) SetPublicKey(v []byte)

func (*User) SetRole

func (x *User) SetRole(v Config_DeviceConfig_Role)

func (*User) SetShortName

func (x *User) SetShortName(v string)

func (*User) String

func (x *User) String() string

type UserLite

type UserLite struct {

	// This is the addr of the radio.
	//
	// Deprecated: Marked as deprecated in meshtastic/deviceonly.proto.
	Macaddr []byte `protobuf:"bytes,1,opt,name=macaddr,proto3" json:"macaddr,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"`
	// 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,4,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,5,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,6,opt,name=role,proto3,enum=meshtastic.Config_DeviceConfig_Role" json:"role,omitempty"`
	// The public key of the user's device.
	// This is sent out to other nodes on the mesh to allow them to compute a shared secret key.
	PublicKey []byte `protobuf:"bytes,7,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// Whether or not the node can be messaged
	IsUnmessagable *bool `protobuf:"varint,9,opt,name=is_unmessagable,json=isUnmessagable,proto3,oneof" json:"is_unmessagable,omitempty"`
	// contains filtered or unexported fields
}

func (*UserLite) ClearIsUnmessagable

func (x *UserLite) ClearIsUnmessagable()

func (*UserLite) GetHwModel

func (x *UserLite) GetHwModel() HardwareModel

func (*UserLite) GetIsLicensed

func (x *UserLite) GetIsLicensed() bool

func (*UserLite) GetIsUnmessagable

func (x *UserLite) GetIsUnmessagable() bool

func (*UserLite) GetLongName

func (x *UserLite) GetLongName() string

func (*UserLite) GetMacaddr deprecated

func (x *UserLite) GetMacaddr() []byte

Deprecated: Marked as deprecated in meshtastic/deviceonly.proto.

func (*UserLite) GetPublicKey

func (x *UserLite) GetPublicKey() []byte

func (*UserLite) GetRole

func (x *UserLite) GetRole() Config_DeviceConfig_Role

func (*UserLite) GetShortName

func (x *UserLite) GetShortName() string

func (*UserLite) HasIsUnmessagable

func (x *UserLite) HasIsUnmessagable() bool

func (*UserLite) ProtoMessage

func (*UserLite) ProtoMessage()

func (*UserLite) ProtoReflect

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

func (*UserLite) Reset

func (x *UserLite) Reset()

func (*UserLite) SetHwModel

func (x *UserLite) SetHwModel(v HardwareModel)

func (*UserLite) SetIsLicensed

func (x *UserLite) SetIsLicensed(v bool)

func (*UserLite) SetIsUnmessagable

func (x *UserLite) SetIsUnmessagable(v bool)

func (*UserLite) SetLongName

func (x *UserLite) SetLongName(v string)

func (*UserLite) SetMacaddr deprecated

func (x *UserLite) SetMacaddr(v []byte)

Deprecated: Marked as deprecated in meshtastic/deviceonly.proto.

func (*UserLite) SetPublicKey

func (x *UserLite) SetPublicKey(v []byte)

func (*UserLite) SetRole

func (x *UserLite) SetRole(v Config_DeviceConfig_Role)

func (*UserLite) SetShortName

func (x *UserLite) SetShortName(v string)

func (*UserLite) String

func (x *UserLite) String() string

type UserLite_builder

type UserLite_builder struct {

	// This is the addr of the radio.
	//
	// Deprecated: Marked as deprecated in meshtastic/deviceonly.proto.
	Macaddr []byte
	// 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
	// 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
	// The public key of the user's device.
	// This is sent out to other nodes on the mesh to allow them to compute a shared secret key.
	PublicKey []byte
	// Whether or not the node can be messaged
	IsUnmessagable *bool
	// contains filtered or unexported fields
}

func (UserLite_builder) Build

func (b0 UserLite_builder) Build() *UserLite

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
	// The public key of the user's device.
	// This is sent out to other nodes on the mesh to allow them to compute a shared secret key.
	PublicKey []byte
	// Whether or not the node can be messaged
	IsUnmessagable *bool
	// 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,oneof" json:"latitude_i,omitempty"`
	// longitude_i
	LongitudeI *int32 `protobuf:"fixed32,3,opt,name=longitude_i,json=longitudeI,proto3,oneof" 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) ClearLatitudeI

func (x *Waypoint) ClearLatitudeI()

func (*Waypoint) ClearLongitudeI

func (x *Waypoint) ClearLongitudeI()

func (*Waypoint) GetDescription

func (x *Waypoint) GetDescription() string

func (*Waypoint) GetExpire

func (x *Waypoint) GetExpire() uint32

func (*Waypoint) GetIcon

func (x *Waypoint) GetIcon() uint32

func (*Waypoint) GetId

func (x *Waypoint) GetId() uint32

func (*Waypoint) GetLatitudeI

func (x *Waypoint) GetLatitudeI() int32

func (*Waypoint) GetLockedTo

func (x *Waypoint) GetLockedTo() uint32

func (*Waypoint) GetLongitudeI

func (x *Waypoint) GetLongitudeI() int32

func (*Waypoint) GetName

func (x *Waypoint) GetName() string

func (*Waypoint) HasLatitudeI

func (x *Waypoint) HasLatitudeI() bool

func (*Waypoint) HasLongitudeI

func (x *Waypoint) HasLongitudeI() bool

func (*Waypoint) ProtoMessage

func (*Waypoint) ProtoMessage()

func (*Waypoint) ProtoReflect

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

func (*Waypoint) Reset

func (x *Waypoint) Reset()

func (*Waypoint) SetDescription

func (x *Waypoint) SetDescription(v string)

func (*Waypoint) SetExpire

func (x *Waypoint) SetExpire(v uint32)

func (*Waypoint) SetIcon

func (x *Waypoint) SetIcon(v uint32)

func (*Waypoint) SetId

func (x *Waypoint) SetId(v uint32)

func (*Waypoint) SetLatitudeI

func (x *Waypoint) SetLatitudeI(v int32)

func (*Waypoint) SetLockedTo

func (x *Waypoint) SetLockedTo(v uint32)

func (*Waypoint) SetLongitudeI

func (x *Waypoint) SetLongitudeI(v int32)

func (*Waypoint) SetName

func (x *Waypoint) SetName(v string)

func (*Waypoint) String

func (x *Waypoint) String() string

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 (*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 (*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

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) GetBuffer

func (x *XModem) GetBuffer() []byte

func (*XModem) GetControl

func (x *XModem) GetControl() XModem_Control

func (*XModem) GetCrc16

func (x *XModem) GetCrc16() uint32

func (*XModem) GetSeq

func (x *XModem) GetSeq() uint32

func (*XModem) ProtoMessage

func (*XModem) ProtoMessage()

func (*XModem) ProtoReflect

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

func (*XModem) Reset

func (x *XModem) Reset()

func (*XModem) SetBuffer

func (x *XModem) SetBuffer(v []byte)

func (*XModem) SetControl

func (x *XModem) SetControl(v XModem_Control)

func (*XModem) SetCrc16

func (x *XModem) SetCrc16(v uint32)

func (*XModem) SetSeq

func (x *XModem) SetSeq(v uint32)

func (*XModem) String

func (x *XModem) String() string

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) Enum

func (x XModem_Control) Enum() *XModem_Control

func (XModem_Control) Number

func (XModem_Control) String

func (x XModem_Control) String() string

func (XModem_Control) Type

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
  • device_ui.pb.go
  • deviceonly.pb.go
  • interdevice.pb.go
  • localonly.pb.go
  • mesh.pb.go
  • module_config.pb.go
  • mqtt.pb.go
  • paxcount.pb.go
  • portnums.pb.go
  • powermon.pb.go
  • remote_hardware.pb.go
  • rtttl.pb.go
  • storeforward.pb.go
  • telemetry.pb.go
  • xmodem.pb.go

Jump to

Keyboard shortcuts

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