meshtastic

package
v1.33.0-20240423181507... 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: 8

Documentation

Index

Constants

This section is empty.

Variables

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",
	}
	AdminMessage_ConfigType_value = map[string]int32{
		"DEVICE_CONFIG":    0,
		"POSITION_CONFIG":  1,
		"POWER_CONFIG":     2,
		"NETWORK_CONFIG":   3,
		"DISPLAY_CONFIG":   4,
		"LORA_CONFIG":      5,
		"BLUETOOTH_CONFIG": 6,
	}
)

Enum value maps for AdminMessage_ConfigType.

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",
	}
	AdminMessage_ModuleConfigType_value = map[string]int32{
		"MQTT_CONFIG":            0,
		"SERIAL_CONFIG":          1,
		"EXTNOTIF_CONFIG":        2,
		"STOREFORWARD_CONFIG":    3,
		"RANGETEST_CONFIG":       4,
		"TELEMETRY_CONFIG":       5,
		"CANNEDMSG_CONFIG":       6,
		"AUDIO_CONFIG":           7,
		"REMOTEHARDWARE_CONFIG":  8,
		"NEIGHBORINFO_CONFIG":    9,
		"AMBIENTLIGHTING_CONFIG": 10,
		"DETECTIONSENSOR_CONFIG": 11,
		"PAXCOUNTER_CONFIG":      12,
	}
)

Enum value maps for AdminMessage_ModuleConfigType.

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",
	}
	Config_DeviceConfig_Role_value = map[string]int32{
		"CLIENT":         0,
		"CLIENT_MUTE":    1,
		"ROUTER":         2,
		"ROUTER_CLIENT":  3,
		"REPEATER":       4,
		"TRACKER":        5,
		"SENSOR":         6,
		"TAK":            7,
		"CLIENT_HIDDEN":  8,
		"LOST_AND_FOUND": 9,
		"TAK_TRACKER":    10,
	}
)

Enum value maps for Config_DeviceConfig_Role.

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

Enum value maps for Config_DeviceConfig_RebroadcastMode.

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_DisplayConfig_GpsCoordinateFormat_name = map[int32]string{
		0: "DEC",
		1: "DMS",
		2: "UTM",
		3: "MGRS",
		4: "OLC",
		5: "OSGR",
	}
	Config_DisplayConfig_GpsCoordinateFormat_value = map[string]int32{
		"DEC":  0,
		"DMS":  1,
		"UTM":  2,
		"MGRS": 3,
		"OLC":  4,
		"OSGR": 5,
	}
)

Enum value maps for Config_DisplayConfig_GpsCoordinateFormat.

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",
	}
	Config_DisplayConfig_OledType_value = map[string]int32{
		"OLED_AUTO":    0,
		"OLED_SSD1306": 1,
		"OLED_SH1106":  2,
		"OLED_SH1107":  3,
	}
)

Enum value maps for Config_DisplayConfig_OledType.

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_LoRaConfig_RegionCode_name = map[int32]string{
		0:  "UNSET",
		1:  "US",
		2:  "EU_433",
		3:  "EU_868",
		4:  "CN",
		5:  "JP",
		6:  "ANZ",
		7:  "KR",
		8:  "TW",
		9:  "RU",
		10: "IN",
		11: "NZ_865",
		12: "TH",
		13: "LORA_24",
		14: "UA_433",
		15: "UA_868",
		16: "MY_433",
		17: "MY_919",
		18: "SG_923",
	}
	Config_LoRaConfig_RegionCode_value = map[string]int32{
		"UNSET":   0,
		"US":      1,
		"EU_433":  2,
		"EU_868":  3,
		"CN":      4,
		"JP":      5,
		"ANZ":     6,
		"KR":      7,
		"TW":      8,
		"RU":      9,
		"IN":      10,
		"NZ_865":  11,
		"TH":      12,
		"LORA_24": 13,
		"UA_433":  14,
		"UA_868":  15,
		"MY_433":  16,
		"MY_919":  17,
		"SG_923":  18,
	}
)

Enum value maps for Config_LoRaConfig_RegionCode.

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",
	}
	Config_LoRaConfig_ModemPreset_value = map[string]int32{
		"LONG_FAST":      0,
		"LONG_SLOW":      1,
		"VERY_LONG_SLOW": 2,
		"MEDIUM_SLOW":    3,
		"MEDIUM_FAST":    4,
		"SHORT_SLOW":     5,
		"SHORT_FAST":     6,
		"LONG_MODERATE":  7,
	}
)

Enum value maps for Config_LoRaConfig_ModemPreset.

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 (
	ScreenFonts_name = map[int32]string{
		0: "FONT_SMALL",
		1: "FONT_MEDIUM",
		2: "FONT_LARGE",
	}
	ScreenFonts_value = map[string]int32{
		"FONT_SMALL":  0,
		"FONT_MEDIUM": 1,
		"FONT_LARGE":  2,
	}
)

Enum value maps for ScreenFonts.

View Source
var (
	HardwareModel_name = map[int32]string{
		0:   "UNSET",
		1:   "TLORA_V2",
		2:   "TLORA_V1",
		3:   "TLORA_V2_1_1P6",
		4:   "TBEAM",
		5:   "HELTEC_V2_0",
		6:   "TBEAM_V0P7",
		7:   "T_ECHO",
		8:   "TLORA_V1_1P3",
		9:   "RAK4631",
		10:  "HELTEC_V2_1",
		11:  "HELTEC_V1",
		12:  "LILYGO_TBEAM_S3_CORE",
		13:  "RAK11200",
		14:  "NANO_G1",
		15:  "TLORA_V2_1_1P8",
		16:  "TLORA_T3_S3",
		17:  "NANO_G1_EXPLORER",
		18:  "NANO_G2_ULTRA",
		19:  "LORA_TYPE",
		25:  "STATION_G1",
		26:  "RAK11310",
		27:  "SENSELORA_RP2040",
		28:  "SENSELORA_S3",
		29:  "CANARYONE",
		30:  "RP2040_LORA",
		31:  "STATION_G2",
		32:  "LORA_RELAY_V1",
		33:  "NRF52840DK",
		34:  "PPR",
		35:  "GENIEBLOCKS",
		36:  "NRF52_UNKNOWN",
		37:  "PORTDUINO",
		38:  "ANDROID_SIM",
		39:  "DIY_V1",
		40:  "NRF52840_PCA10059",
		41:  "DR_DEV",
		42:  "M5STACK",
		43:  "HELTEC_V3",
		44:  "HELTEC_WSL_V3",
		45:  "BETAFPV_2400_TX",
		46:  "BETAFPV_900_NANO_TX",
		47:  "RPI_PICO",
		48:  "HELTEC_WIRELESS_TRACKER",
		49:  "HELTEC_WIRELESS_PAPER",
		50:  "T_DECK",
		51:  "T_WATCH_S3",
		52:  "PICOMPUTER_S3",
		53:  "HELTEC_HT62",
		54:  "EBYTE_ESP32_S3",
		55:  "ESP32_S3_PICO",
		56:  "CHATTER_2",
		57:  "HELTEC_WIRELESS_PAPER_V1_0",
		58:  "HELTEC_WIRELESS_TRACKER_V1_0",
		59:  "UNPHONE",
		60:  "TD_LORAC",
		61:  "CDEBYTE_EORA_S3",
		62:  "TWC_MESH_V4",
		255: "PRIVATE_HW",
	}
	HardwareModel_value = map[string]int32{
		"UNSET":                        0,
		"TLORA_V2":                     1,
		"TLORA_V1":                     2,
		"TLORA_V2_1_1P6":               3,
		"TBEAM":                        4,
		"HELTEC_V2_0":                  5,
		"TBEAM_V0P7":                   6,
		"T_ECHO":                       7,
		"TLORA_V1_1P3":                 8,
		"RAK4631":                      9,
		"HELTEC_V2_1":                  10,
		"HELTEC_V1":                    11,
		"LILYGO_TBEAM_S3_CORE":         12,
		"RAK11200":                     13,
		"NANO_G1":                      14,
		"TLORA_V2_1_1P8":               15,
		"TLORA_T3_S3":                  16,
		"NANO_G1_EXPLORER":             17,
		"NANO_G2_ULTRA":                18,
		"LORA_TYPE":                    19,
		"STATION_G1":                   25,
		"RAK11310":                     26,
		"SENSELORA_RP2040":             27,
		"SENSELORA_S3":                 28,
		"CANARYONE":                    29,
		"RP2040_LORA":                  30,
		"STATION_G2":                   31,
		"LORA_RELAY_V1":                32,
		"NRF52840DK":                   33,
		"PPR":                          34,
		"GENIEBLOCKS":                  35,
		"NRF52_UNKNOWN":                36,
		"PORTDUINO":                    37,
		"ANDROID_SIM":                  38,
		"DIY_V1":                       39,
		"NRF52840_PCA10059":            40,
		"DR_DEV":                       41,
		"M5STACK":                      42,
		"HELTEC_V3":                    43,
		"HELTEC_WSL_V3":                44,
		"BETAFPV_2400_TX":              45,
		"BETAFPV_900_NANO_TX":          46,
		"RPI_PICO":                     47,
		"HELTEC_WIRELESS_TRACKER":      48,
		"HELTEC_WIRELESS_PAPER":        49,
		"T_DECK":                       50,
		"T_WATCH_S3":                   51,
		"PICOMPUTER_S3":                52,
		"HELTEC_HT62":                  53,
		"EBYTE_ESP32_S3":               54,
		"ESP32_S3_PICO":                55,
		"CHATTER_2":                    56,
		"HELTEC_WIRELESS_PAPER_V1_0":   57,
		"HELTEC_WIRELESS_TRACKER_V1_0": 58,
		"UNPHONE":                      59,
		"TD_LORAC":                     60,
		"CDEBYTE_EORA_S3":              61,
		"TWC_MESH_V4":                  62,
		"PRIVATE_HW":                   255,
	}
)

Enum value maps for HardwareModel.

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

Enum value maps for Constants.

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",
	}
	CriticalErrorCode_value = map[string]int32{
		"NONE":                  0,
		"TX_WATCHDOG":           1,
		"SLEEP_ENTER_WAIT":      2,
		"NO_RADIO":              3,
		"UNSPECIFIED":           4,
		"UBLOX_UNIT_FAILED":     5,
		"NO_AXP192":             6,
		"INVALID_RADIO_SETTING": 7,
		"TRANSMIT_FAILED":       8,
		"BROWNOUT":              9,
		"SX1262_FAILURE":        10,
		"RADIO_SPI_BUG":         11,
	}
)

Enum value maps for CriticalErrorCode.

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",
	}
	Routing_Error_value = map[string]int32{
		"NONE":             0,
		"NO_ROUTE":         1,
		"GOT_NAK":          2,
		"TIMEOUT":          3,
		"NO_INTERFACE":     4,
		"MAX_RETRANSMIT":   5,
		"NO_CHANNEL":       6,
		"TOO_LARGE":        7,
		"NO_RESPONSE":      8,
		"DUTY_CYCLE_LIMIT": 9,
		"BAD_REQUEST":      32,
		"NOT_AUTHORIZED":   33,
	}
)

Enum value maps for Routing_Error.

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

Enum value maps for MeshPacket_Priority.

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 (
	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_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",
	}
	ModuleConfig_SerialConfig_Serial_Mode_value = map[string]int32{
		"DEFAULT": 0,
		"SIMPLE":  1,
		"PROTO":   2,
		"TEXTMSG": 3,
		"NMEA":    4,
		"CALTOPO": 5,
	}
)

Enum value maps for ModuleConfig_SerialConfig_Serial_Mode.

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",
		32:  "REPLY_APP",
		33:  "IP_TUNNEL_APP",
		34:  "PAXCOUNTER_APP",
		64:  "SERIAL_APP",
		65:  "STORE_FORWARD_APP",
		66:  "RANGE_TEST_APP",
		67:  "TELEMETRY_APP",
		68:  "ZPS_APP",
		69:  "SIMULATOR_APP",
		70:  "TRACEROUTE_APP",
		71:  "NEIGHBORINFO_APP",
		72:  "ATAK_PLUGIN",
		73:  "MAP_REPORT_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,
		"REPLY_APP":                   32,
		"IP_TUNNEL_APP":               33,
		"PAXCOUNTER_APP":              34,
		"SERIAL_APP":                  64,
		"STORE_FORWARD_APP":           65,
		"RANGE_TEST_APP":              66,
		"TELEMETRY_APP":               67,
		"ZPS_APP":                     68,
		"SIMULATOR_APP":               69,
		"TRACEROUTE_APP":              70,
		"NEIGHBORINFO_APP":            71,
		"ATAK_PLUGIN":                 72,
		"MAP_REPORT_APP":              73,
		"PRIVATE_APP":                 256,
		"ATAK_FORWARDER":              257,
		"MAX":                         511,
	}
)

Enum value maps for PortNum.

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",
	}
	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,
	}
)

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_deviceonly_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_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 {

	// TODO: REPLACE
	//
	// Types that are assignable to PayloadVariant:
	//
	//	*AdminMessage_GetChannelRequest
	//	*AdminMessage_GetChannelResponse
	//	*AdminMessage_GetOwnerRequest
	//	*AdminMessage_GetOwnerResponse
	//	*AdminMessage_GetConfigRequest
	//	*AdminMessage_GetConfigResponse
	//	*AdminMessage_GetModuleConfigRequest
	//	*AdminMessage_GetModuleConfigResponse
	//	*AdminMessage_GetCannedMessageModuleMessagesRequest
	//	*AdminMessage_GetCannedMessageModuleMessagesResponse
	//	*AdminMessage_GetDeviceMetadataRequest
	//	*AdminMessage_GetDeviceMetadataResponse
	//	*AdminMessage_GetRingtoneRequest
	//	*AdminMessage_GetRingtoneResponse
	//	*AdminMessage_GetDeviceConnectionStatusRequest
	//	*AdminMessage_GetDeviceConnectionStatusResponse
	//	*AdminMessage_SetHamMode
	//	*AdminMessage_GetNodeRemoteHardwarePinsRequest
	//	*AdminMessage_GetNodeRemoteHardwarePinsResponse
	//	*AdminMessage_EnterDfuModeRequest
	//	*AdminMessage_DeleteFileRequest
	//	*AdminMessage_SetOwner
	//	*AdminMessage_SetChannel
	//	*AdminMessage_SetConfig
	//	*AdminMessage_SetModuleConfig
	//	*AdminMessage_SetCannedMessageModuleMessages
	//	*AdminMessage_SetRingtoneMessage
	//	*AdminMessage_RemoveByNodenum
	//	*AdminMessage_SetFavoriteNode
	//	*AdminMessage_RemoveFavoriteNode
	//	*AdminMessage_SetFixedPosition
	//	*AdminMessage_RemoveFixedPosition
	//	*AdminMessage_BeginEditSettings
	//	*AdminMessage_CommitEditSettings
	//	*AdminMessage_RebootOtaSeconds
	//	*AdminMessage_ExitSimulator
	//	*AdminMessage_RebootSeconds
	//	*AdminMessage_ShutdownSeconds
	//	*AdminMessage_FactoryReset
	//	*AdminMessage_NodedbReset
	PayloadVariant isAdminMessage_PayloadVariant `protobuf_oneof:"payload_variant"`
	// contains filtered or unexported fields
}

This message is handled by the Admin module and is responsible for all settings/channel read/write operations. This message is used to do settings operations to both remote AND local nodes. (Prior to 1.2 these operations were done via special ToRadio operations)

func (*AdminMessage) Descriptor deprecated

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

Deprecated: Use AdminMessage.ProtoReflect.Descriptor instead.

func (*AdminMessage) GetBeginEditSettings

func (x *AdminMessage) GetBeginEditSettings() bool

func (*AdminMessage) GetCommitEditSettings

func (x *AdminMessage) GetCommitEditSettings() bool

func (*AdminMessage) GetDeleteFileRequest

func (x *AdminMessage) GetDeleteFileRequest() string

func (*AdminMessage) GetEnterDfuModeRequest

func (x *AdminMessage) GetEnterDfuModeRequest() bool

func (*AdminMessage) GetExitSimulator

func (x *AdminMessage) GetExitSimulator() bool

func (*AdminMessage) GetFactoryReset

func (x *AdminMessage) GetFactoryReset() int32

func (*AdminMessage) GetGetCannedMessageModuleMessagesRequest

func (x *AdminMessage) GetGetCannedMessageModuleMessagesRequest() bool

func (*AdminMessage) GetGetCannedMessageModuleMessagesResponse

func (x *AdminMessage) GetGetCannedMessageModuleMessagesResponse() string

func (*AdminMessage) GetGetChannelRequest

func (x *AdminMessage) GetGetChannelRequest() uint32

func (*AdminMessage) GetGetChannelResponse

func (x *AdminMessage) GetGetChannelResponse() *Channel

func (*AdminMessage) GetGetConfigRequest

func (x *AdminMessage) GetGetConfigRequest() AdminMessage_ConfigType

func (*AdminMessage) GetGetConfigResponse

func (x *AdminMessage) GetGetConfigResponse() *Config

func (*AdminMessage) GetGetDeviceConnectionStatusRequest

func (x *AdminMessage) GetGetDeviceConnectionStatusRequest() bool

func (*AdminMessage) GetGetDeviceConnectionStatusResponse

func (x *AdminMessage) GetGetDeviceConnectionStatusResponse() *DeviceConnectionStatus

func (*AdminMessage) GetGetDeviceMetadataRequest

func (x *AdminMessage) GetGetDeviceMetadataRequest() bool

func (*AdminMessage) GetGetDeviceMetadataResponse

func (x *AdminMessage) GetGetDeviceMetadataResponse() *DeviceMetadata

func (*AdminMessage) GetGetModuleConfigRequest

func (x *AdminMessage) GetGetModuleConfigRequest() AdminMessage_ModuleConfigType

func (*AdminMessage) GetGetModuleConfigResponse

func (x *AdminMessage) GetGetModuleConfigResponse() *ModuleConfig

func (*AdminMessage) GetGetNodeRemoteHardwarePinsRequest

func (x *AdminMessage) GetGetNodeRemoteHardwarePinsRequest() bool

func (*AdminMessage) GetGetNodeRemoteHardwarePinsResponse

func (x *AdminMessage) GetGetNodeRemoteHardwarePinsResponse() *NodeRemoteHardwarePinsResponse

func (*AdminMessage) GetGetOwnerRequest

func (x *AdminMessage) GetGetOwnerRequest() bool

func (*AdminMessage) GetGetOwnerResponse

func (x *AdminMessage) GetGetOwnerResponse() *User

func (*AdminMessage) GetGetRingtoneRequest

func (x *AdminMessage) GetGetRingtoneRequest() bool

func (*AdminMessage) GetGetRingtoneResponse

func (x *AdminMessage) GetGetRingtoneResponse() string

func (*AdminMessage) GetNodedbReset

func (x *AdminMessage) GetNodedbReset() int32

func (*AdminMessage) GetPayloadVariant

func (m *AdminMessage) GetPayloadVariant() isAdminMessage_PayloadVariant

func (*AdminMessage) GetRebootOtaSeconds

func (x *AdminMessage) GetRebootOtaSeconds() int32

func (*AdminMessage) GetRebootSeconds

func (x *AdminMessage) GetRebootSeconds() int32

func (*AdminMessage) GetRemoveByNodenum

func (x *AdminMessage) GetRemoveByNodenum() uint32

func (*AdminMessage) GetRemoveFavoriteNode

func (x *AdminMessage) GetRemoveFavoriteNode() uint32

func (*AdminMessage) GetRemoveFixedPosition

func (x *AdminMessage) GetRemoveFixedPosition() bool

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

func (x *AdminMessage) GetSetModuleConfig() *ModuleConfig

func (*AdminMessage) GetSetOwner

func (x *AdminMessage) GetSetOwner() *User

func (*AdminMessage) GetSetRingtoneMessage

func (x *AdminMessage) GetSetRingtoneMessage() string

func (*AdminMessage) GetShutdownSeconds

func (x *AdminMessage) GetShutdownSeconds() int32

func (*AdminMessage) ProtoMessage

func (*AdminMessage) ProtoMessage()

func (*AdminMessage) ProtoReflect

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

func (*AdminMessage) Reset

func (x *AdminMessage) Reset()

func (*AdminMessage) String

func (x *AdminMessage) String() string

type AdminMessage_BeginEditSettings

type AdminMessage_BeginEditSettings struct {
	// Begins an edit transaction for config, module config, owner, and channel settings changes
	// This will delay the standard *implicit* save to the file system and subsequent reboot behavior until committed (commit_edit_settings)
	BeginEditSettings bool `protobuf:"varint,64,opt,name=begin_edit_settings,json=beginEditSettings,proto3,oneof"`
}

type AdminMessage_CommitEditSettings

type AdminMessage_CommitEditSettings struct {
	// Commits an open transaction for any edits made to config, module config, owner, and channel settings
	CommitEditSettings bool `protobuf:"varint,65,opt,name=commit_edit_settings,json=commitEditSettings,proto3,oneof"`
}

type AdminMessage_ConfigType

type AdminMessage_ConfigType int32

TODO: REPLACE

const (
	// TODO: REPLACE
	AdminMessage_DEVICE_CONFIG AdminMessage_ConfigType = 0
	// TODO: REPLACE
	AdminMessage_POSITION_CONFIG AdminMessage_ConfigType = 1
	// TODO: REPLACE
	AdminMessage_POWER_CONFIG AdminMessage_ConfigType = 2
	// TODO: REPLACE
	AdminMessage_NETWORK_CONFIG AdminMessage_ConfigType = 3
	// TODO: REPLACE
	AdminMessage_DISPLAY_CONFIG AdminMessage_ConfigType = 4
	// TODO: REPLACE
	AdminMessage_LORA_CONFIG AdminMessage_ConfigType = 5
	// TODO: REPLACE
	AdminMessage_BLUETOOTH_CONFIG AdminMessage_ConfigType = 6
)

func (AdminMessage_ConfigType) Descriptor

func (AdminMessage_ConfigType) Enum

func (AdminMessage_ConfigType) EnumDescriptor deprecated

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

Deprecated: Use AdminMessage_ConfigType.Descriptor instead.

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_FactoryReset

type AdminMessage_FactoryReset struct {
	// Tell the node to factory reset, all device settings will be returned to factory defaults.
	FactoryReset int32 `protobuf:"varint,99,opt,name=factory_reset,json=factoryReset,proto3,oneof"`
}

type AdminMessage_GetCannedMessageModuleMessagesRequest

type AdminMessage_GetCannedMessageModuleMessagesRequest struct {
	// Get the Canned Message Module messages in the response to this message.
	GetCannedMessageModuleMessagesRequest bool `` /* 128-byte string literal not displayed */
}

type AdminMessage_GetCannedMessageModuleMessagesResponse

type AdminMessage_GetCannedMessageModuleMessagesResponse struct {
	// Get the Canned Message Module messages in the response to this message.
	GetCannedMessageModuleMessagesResponse string `` /* 129-byte string literal not displayed */
}

type AdminMessage_GetChannelRequest

type AdminMessage_GetChannelRequest struct {
	// Send the specified channel in the response to this message
	// NOTE: This field is sent with the channel index + 1 (to ensure we never try to send 'zero' - which protobufs treats as not present)
	GetChannelRequest uint32 `protobuf:"varint,1,opt,name=get_channel_request,json=getChannelRequest,proto3,oneof"`
}

type AdminMessage_GetChannelResponse

type AdminMessage_GetChannelResponse struct {
	// TODO: REPLACE
	GetChannelResponse *Channel `protobuf:"bytes,2,opt,name=get_channel_response,json=getChannelResponse,proto3,oneof"`
}

type AdminMessage_GetConfigRequest

type AdminMessage_GetConfigRequest struct {
	// Ask for the following config data to be sent
	GetConfigRequest AdminMessage_ConfigType `protobuf:"varint,5,opt,name=get_config_request,json=getConfigRequest,proto3,enum=meshtastic.AdminMessage_ConfigType,oneof"`
}

type AdminMessage_GetConfigResponse

type AdminMessage_GetConfigResponse struct {
	// Send the current Config in the response to this message.
	GetConfigResponse *Config `protobuf:"bytes,6,opt,name=get_config_response,json=getConfigResponse,proto3,oneof"`
}

type AdminMessage_GetDeviceConnectionStatusRequest

type AdminMessage_GetDeviceConnectionStatusRequest struct {
	// Request the node to send it's connection status
	GetDeviceConnectionStatusRequest bool `protobuf:"varint,16,opt,name=get_device_connection_status_request,json=getDeviceConnectionStatusRequest,proto3,oneof"`
}

type AdminMessage_GetDeviceConnectionStatusResponse

type AdminMessage_GetDeviceConnectionStatusResponse struct {
	// Device connection status response
	GetDeviceConnectionStatusResponse *DeviceConnectionStatus `protobuf:"bytes,17,opt,name=get_device_connection_status_response,json=getDeviceConnectionStatusResponse,proto3,oneof"`
}

type AdminMessage_GetDeviceMetadataRequest

type AdminMessage_GetDeviceMetadataRequest struct {
	// Request the node to send device metadata (firmware, protobuf version, etc)
	GetDeviceMetadataRequest bool `protobuf:"varint,12,opt,name=get_device_metadata_request,json=getDeviceMetadataRequest,proto3,oneof"`
}

type AdminMessage_GetDeviceMetadataResponse

type AdminMessage_GetDeviceMetadataResponse struct {
	// Device metadata response
	GetDeviceMetadataResponse *DeviceMetadata `protobuf:"bytes,13,opt,name=get_device_metadata_response,json=getDeviceMetadataResponse,proto3,oneof"`
}

type AdminMessage_GetModuleConfigRequest

type AdminMessage_GetModuleConfigRequest struct {
	// Ask for the following config data to be sent
	GetModuleConfigRequest AdminMessage_ModuleConfigType `` /* 141-byte string literal not displayed */
}

type AdminMessage_GetModuleConfigResponse

type AdminMessage_GetModuleConfigResponse struct {
	// Send the current Config in the response to this message.
	GetModuleConfigResponse *ModuleConfig `protobuf:"bytes,8,opt,name=get_module_config_response,json=getModuleConfigResponse,proto3,oneof"`
}

type AdminMessage_GetNodeRemoteHardwarePinsRequest

type AdminMessage_GetNodeRemoteHardwarePinsRequest struct {
	// Get the mesh's nodes with their available gpio pins for RemoteHardware module use
	GetNodeRemoteHardwarePinsRequest bool `protobuf:"varint,19,opt,name=get_node_remote_hardware_pins_request,json=getNodeRemoteHardwarePinsRequest,proto3,oneof"`
}

type AdminMessage_GetNodeRemoteHardwarePinsResponse

type AdminMessage_GetNodeRemoteHardwarePinsResponse struct {
	// Respond with the mesh's nodes with their available gpio pins for RemoteHardware module use
	GetNodeRemoteHardwarePinsResponse *NodeRemoteHardwarePinsResponse `protobuf:"bytes,20,opt,name=get_node_remote_hardware_pins_response,json=getNodeRemoteHardwarePinsResponse,proto3,oneof"`
}

type AdminMessage_GetOwnerRequest

type AdminMessage_GetOwnerRequest struct {
	// Send the current owner data in the response to this message.
	GetOwnerRequest bool `protobuf:"varint,3,opt,name=get_owner_request,json=getOwnerRequest,proto3,oneof"`
}

type AdminMessage_GetOwnerResponse

type AdminMessage_GetOwnerResponse struct {
	// TODO: REPLACE
	GetOwnerResponse *User `protobuf:"bytes,4,opt,name=get_owner_response,json=getOwnerResponse,proto3,oneof"`
}

type AdminMessage_GetRingtoneRequest

type AdminMessage_GetRingtoneRequest struct {
	// Get the Ringtone in the response to this message.
	GetRingtoneRequest bool `protobuf:"varint,14,opt,name=get_ringtone_request,json=getRingtoneRequest,proto3,oneof"`
}

type AdminMessage_GetRingtoneResponse

type AdminMessage_GetRingtoneResponse struct {
	// Get the Ringtone in the response to this message.
	GetRingtoneResponse string `protobuf:"bytes,15,opt,name=get_ringtone_response,json=getRingtoneResponse,proto3,oneof"`
}

type AdminMessage_ModuleConfigType

type AdminMessage_ModuleConfigType int32

TODO: REPLACE

const (
	// TODO: REPLACE
	AdminMessage_MQTT_CONFIG AdminMessage_ModuleConfigType = 0
	// TODO: REPLACE
	AdminMessage_SERIAL_CONFIG AdminMessage_ModuleConfigType = 1
	// TODO: REPLACE
	AdminMessage_EXTNOTIF_CONFIG AdminMessage_ModuleConfigType = 2
	// TODO: REPLACE
	AdminMessage_STOREFORWARD_CONFIG AdminMessage_ModuleConfigType = 3
	// TODO: REPLACE
	AdminMessage_RANGETEST_CONFIG AdminMessage_ModuleConfigType = 4
	// TODO: REPLACE
	AdminMessage_TELEMETRY_CONFIG AdminMessage_ModuleConfigType = 5
	// TODO: REPLACE
	AdminMessage_CANNEDMSG_CONFIG AdminMessage_ModuleConfigType = 6
	// TODO: REPLACE
	AdminMessage_AUDIO_CONFIG AdminMessage_ModuleConfigType = 7
	// TODO: REPLACE
	AdminMessage_REMOTEHARDWARE_CONFIG AdminMessage_ModuleConfigType = 8
	// TODO: REPLACE
	AdminMessage_NEIGHBORINFO_CONFIG AdminMessage_ModuleConfigType = 9
	// TODO: REPLACE
	AdminMessage_AMBIENTLIGHTING_CONFIG AdminMessage_ModuleConfigType = 10
	// TODO: REPLACE
	AdminMessage_DETECTIONSENSOR_CONFIG AdminMessage_ModuleConfigType = 11
	// TODO: REPLACE
	AdminMessage_PAXCOUNTER_CONFIG AdminMessage_ModuleConfigType = 12
)

func (AdminMessage_ModuleConfigType) Descriptor

func (AdminMessage_ModuleConfigType) Enum

func (AdminMessage_ModuleConfigType) EnumDescriptor deprecated

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

Deprecated: Use AdminMessage_ModuleConfigType.Descriptor instead.

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.
	NodedbReset int32 `protobuf:"varint,100,opt,name=nodedb_reset,json=nodedbReset,proto3,oneof"`
}

type AdminMessage_RebootOtaSeconds

type AdminMessage_RebootOtaSeconds struct {
	// Tell the node to reboot into the OTA Firmware in this many seconds (or <0 to cancel reboot)
	// Only Implemented for ESP32 Devices. This needs to be issued to send a new main firmware via bluetooth.
	RebootOtaSeconds int32 `protobuf:"varint,95,opt,name=reboot_ota_seconds,json=rebootOtaSeconds,proto3,oneof"`
}

type AdminMessage_RebootSeconds

type AdminMessage_RebootSeconds struct {
	// Tell the node to reboot in this many seconds (or <0 to cancel reboot)
	RebootSeconds int32 `protobuf:"varint,97,opt,name=reboot_seconds,json=rebootSeconds,proto3,oneof"`
}

type AdminMessage_RemoveByNodenum

type AdminMessage_RemoveByNodenum struct {
	// Remove the node by the specified node-num from the NodeDB on the device
	RemoveByNodenum uint32 `protobuf:"varint,38,opt,name=remove_by_nodenum,json=removeByNodenum,proto3,oneof"`
}

type AdminMessage_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_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_SetModuleConfig

type AdminMessage_SetModuleConfig struct {
	// Set the current Config
	SetModuleConfig *ModuleConfig `protobuf:"bytes,35,opt,name=set_module_config,json=setModuleConfig,proto3,oneof"`
}

type AdminMessage_SetOwner

type AdminMessage_SetOwner struct {
	// Set the owner for this node
	SetOwner *User `protobuf:"bytes,32,opt,name=set_owner,json=setOwner,proto3,oneof"`
}

type AdminMessage_SetRingtoneMessage

type AdminMessage_SetRingtoneMessage struct {
	// Set the ringtone for ExternalNotification.
	SetRingtoneMessage string `protobuf:"bytes,37,opt,name=set_ringtone_message,json=setRingtoneMessage,proto3,oneof"`
}

type AdminMessage_ShutdownSeconds

type AdminMessage_ShutdownSeconds struct {
	// Tell the node to shutdown in this many seconds (or <0 to cancel shutdown)
	ShutdownSeconds int32 `protobuf:"varint,98,opt,name=shutdown_seconds,json=shutdownSeconds,proto3,oneof"`
}

type AirQualityMetrics

type AirQualityMetrics struct {

	//
	// Concentration Units Standard PM1.0
	Pm10Standard uint32 `protobuf:"varint,1,opt,name=pm10_standard,json=pm10Standard,proto3" json:"pm10_standard,omitempty"`
	//
	// Concentration Units Standard PM2.5
	Pm25Standard uint32 `protobuf:"varint,2,opt,name=pm25_standard,json=pm25Standard,proto3" json:"pm25_standard,omitempty"`
	//
	// Concentration Units Standard PM10.0
	Pm100Standard uint32 `protobuf:"varint,3,opt,name=pm100_standard,json=pm100Standard,proto3" json:"pm100_standard,omitempty"`
	//
	// Concentration Units Environmental PM1.0
	Pm10Environmental uint32 `protobuf:"varint,4,opt,name=pm10_environmental,json=pm10Environmental,proto3" json:"pm10_environmental,omitempty"`
	//
	// Concentration Units Environmental PM2.5
	Pm25Environmental uint32 `protobuf:"varint,5,opt,name=pm25_environmental,json=pm25Environmental,proto3" json:"pm25_environmental,omitempty"`
	//
	// Concentration Units Environmental PM10.0
	Pm100Environmental uint32 `protobuf:"varint,6,opt,name=pm100_environmental,json=pm100Environmental,proto3" json:"pm100_environmental,omitempty"`
	//
	// 0.3um Particle Count
	Particles_03Um uint32 `protobuf:"varint,7,opt,name=particles_03um,json=particles03um,proto3" json:"particles_03um,omitempty"`
	//
	// 0.5um Particle Count
	Particles_05Um uint32 `protobuf:"varint,8,opt,name=particles_05um,json=particles05um,proto3" json:"particles_05um,omitempty"`
	//
	// 1.0um Particle Count
	Particles_10Um uint32 `protobuf:"varint,9,opt,name=particles_10um,json=particles10um,proto3" json:"particles_10um,omitempty"`
	//
	// 2.5um Particle Count
	Particles_25Um uint32 `protobuf:"varint,10,opt,name=particles_25um,json=particles25um,proto3" json:"particles_25um,omitempty"`
	//
	// 5.0um Particle Count
	Particles_50Um uint32 `protobuf:"varint,11,opt,name=particles_50um,json=particles50um,proto3" json:"particles_50um,omitempty"`
	//
	// 10.0um Particle Count
	Particles_100Um uint32 `protobuf:"varint,12,opt,name=particles_100um,json=particles100um,proto3" json:"particles_100um,omitempty"`
	// contains filtered or unexported fields
}

Air quality metrics

func (*AirQualityMetrics) Descriptor deprecated

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

Deprecated: Use AirQualityMetrics.ProtoReflect.Descriptor instead.

func (*AirQualityMetrics) GetParticles_03Um

func (x *AirQualityMetrics) GetParticles_03Um() uint32

func (*AirQualityMetrics) GetParticles_05Um

func (x *AirQualityMetrics) GetParticles_05Um() uint32

func (*AirQualityMetrics) GetParticles_100Um

func (x *AirQualityMetrics) GetParticles_100Um() uint32

func (*AirQualityMetrics) GetParticles_10Um

func (x *AirQualityMetrics) GetParticles_10Um() uint32

func (*AirQualityMetrics) GetParticles_25Um

func (x *AirQualityMetrics) GetParticles_25Um() uint32

func (*AirQualityMetrics) GetParticles_50Um

func (x *AirQualityMetrics) GetParticles_50Um() uint32

func (*AirQualityMetrics) GetPm100Environmental

func (x *AirQualityMetrics) GetPm100Environmental() uint32

func (*AirQualityMetrics) GetPm100Standard

func (x *AirQualityMetrics) GetPm100Standard() 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) ProtoMessage

func (*AirQualityMetrics) ProtoMessage()

func (*AirQualityMetrics) ProtoReflect

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

func (*AirQualityMetrics) Reset

func (x *AirQualityMetrics) Reset()

func (*AirQualityMetrics) String

func (x *AirQualityMetrics) String() string

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) Descriptor deprecated

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

Deprecated: Use BluetoothConnectionStatus.ProtoReflect.Descriptor instead.

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

func (x *BluetoothConnectionStatus) String() string

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) Descriptor deprecated

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

Deprecated: Use CannedMessageModuleConfig.ProtoReflect.Descriptor instead.

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

func (x *CannedMessageModuleConfig) String() string

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) Descriptor deprecated

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

Deprecated: Use Channel.ProtoReflect.Descriptor instead.

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

func (*Channel) ProtoMessage()

func (*Channel) ProtoReflect

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

func (*Channel) Reset

func (x *Channel) Reset()

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) Descriptor deprecated

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

Deprecated: Use ChannelFile.ProtoReflect.Descriptor instead.

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

func (x *ChannelFile) String() string

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) Descriptor deprecated

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

Deprecated: Use ChannelSet.ProtoReflect.Descriptor instead.

func (*ChannelSet) GetLoraConfig

func (x *ChannelSet) GetLoraConfig() *Config_LoRaConfig

func (*ChannelSet) GetSettings

func (x *ChannelSet) GetSettings() []*ChannelSettings

func (*ChannelSet) ProtoMessage

func (*ChannelSet) ProtoMessage()

func (*ChannelSet) ProtoReflect

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

func (*ChannelSet) Reset

func (x *ChannelSet) Reset()

func (*ChannelSet) String

func (x *ChannelSet) String() string

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) Descriptor deprecated

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

Deprecated: Use ChannelSettings.ProtoReflect.Descriptor instead.

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

func (*ChannelSettings) ProtoMessage()

func (*ChannelSettings) ProtoReflect

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

func (*ChannelSettings) Reset

func (x *ChannelSettings) Reset()

func (*ChannelSettings) String

func (x *ChannelSettings) String() string

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) EnumDescriptor deprecated

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

Deprecated: Use Channel_Role.Descriptor instead.

func (Channel_Role) Number

func (Channel_Role) String

func (x Channel_Role) String() string

func (Channel_Role) 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) Descriptor deprecated

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

Deprecated: Use Compressed.ProtoReflect.Descriptor instead.

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

func (x *Compressed) String() string

type Config

type Config struct {

	// Payload Variant
	//
	// Types that are assignable to PayloadVariant:
	//
	//	*Config_Device
	//	*Config_Position
	//	*Config_Power
	//	*Config_Network
	//	*Config_Display
	//	*Config_Lora
	//	*Config_Bluetooth
	PayloadVariant isConfig_PayloadVariant `protobuf_oneof:"payload_variant"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetBluetooth

func (x *Config) GetBluetooth() *Config_BluetoothConfig

func (*Config) GetDevice

func (x *Config) GetDevice() *Config_DeviceConfig

func (*Config) GetDisplay

func (x *Config) GetDisplay() *Config_DisplayConfig

func (*Config) GetLora

func (x *Config) GetLora() *Config_LoRaConfig

func (*Config) GetNetwork

func (x *Config) GetNetwork() *Config_NetworkConfig

func (*Config) GetPayloadVariant

func (m *Config) GetPayloadVariant() isConfig_PayloadVariant

func (*Config) GetPosition

func (x *Config) GetPosition() *Config_PositionConfig

func (*Config) GetPower

func (x *Config) GetPower() *Config_PowerConfig

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

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) Descriptor deprecated

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

Deprecated: Use Config_BluetoothConfig.ProtoReflect.Descriptor instead.

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) 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) EnumDescriptor deprecated

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

Deprecated: Use Config_BluetoothConfig_PairingMode.Descriptor instead.

func (Config_BluetoothConfig_PairingMode) Number

func (Config_BluetoothConfig_PairingMode) String

func (Config_BluetoothConfig_PairingMode) Type

type Config_Device

type Config_Device struct {
	Device *Config_DeviceConfig `protobuf:"bytes,1,opt,name=device,proto3,oneof"`
}

type Config_DeviceConfig

type Config_DeviceConfig struct {

	// Sets the role of node
	Role Config_DeviceConfig_Role `protobuf:"varint,1,opt,name=role,proto3,enum=meshtastic.Config_DeviceConfig_Role" json:"role,omitempty"`
	// Disabling this will disable the SerialConsole by not initilizing the StreamAPI
	SerialEnabled bool `protobuf:"varint,2,opt,name=serial_enabled,json=serialEnabled,proto3" json:"serial_enabled,omitempty"`
	// By default we turn off logging as soon as an API client connects (to keep shared serial link quiet).
	// Set this to true to leave the debug log outputting even when API is active.
	DebugLogEnabled bool `protobuf:"varint,3,opt,name=debug_log_enabled,json=debugLogEnabled,proto3" json:"debug_log_enabled,omitempty"`
	// For boards without a hard wired button, this is the pin number that will be used
	// Boards that have more than one button can swap the function with this one. defaults to BUTTON_PIN if defined.
	ButtonGpio uint32 `protobuf:"varint,4,opt,name=button_gpio,json=buttonGpio,proto3" json:"button_gpio,omitempty"`
	// For boards without a PWM buzzer, this is the pin number that will be used
	// Defaults to PIN_BUZZER if defined.
	BuzzerGpio uint32 `protobuf:"varint,5,opt,name=buzzer_gpio,json=buzzerGpio,proto3" json:"buzzer_gpio,omitempty"`
	// Sets the role of node
	RebroadcastMode Config_DeviceConfig_RebroadcastMode `` /* 159-byte string literal not displayed */
	// Send our nodeinfo this often
	// Defaults to 900 Seconds (15 minutes)
	NodeInfoBroadcastSecs uint32 `` /* 129-byte string literal not displayed */
	// Treat double tap interrupt on supported accelerometers as a button press if set to true
	DoubleTapAsButtonPress bool `` /* 134-byte string literal not displayed */
	// If true, device is considered to be "managed" by a mesh administrator
	// Clients should then limit available configuration and administrative options inside the user interface
	IsManaged bool `protobuf:"varint,9,opt,name=is_managed,json=isManaged,proto3" json:"is_managed,omitempty"`
	// Disables the triple-press of user button to enable or disable GPS
	DisableTripleClick bool `protobuf:"varint,10,opt,name=disable_triple_click,json=disableTripleClick,proto3" json:"disable_triple_click,omitempty"`
	// 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"`
	// contains filtered or unexported fields
}

Configuration

func (*Config_DeviceConfig) Descriptor deprecated

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

Deprecated: Use Config_DeviceConfig.ProtoReflect.Descriptor instead.

func (*Config_DeviceConfig) GetButtonGpio

func (x *Config_DeviceConfig) GetButtonGpio() uint32

func (*Config_DeviceConfig) GetBuzzerGpio

func (x *Config_DeviceConfig) GetBuzzerGpio() uint32

func (*Config_DeviceConfig) GetDebugLogEnabled

func (x *Config_DeviceConfig) GetDebugLogEnabled() bool

func (*Config_DeviceConfig) GetDisableTripleClick

func (x *Config_DeviceConfig) GetDisableTripleClick() bool

func (*Config_DeviceConfig) GetDoubleTapAsButtonPress

func (x *Config_DeviceConfig) GetDoubleTapAsButtonPress() bool

func (*Config_DeviceConfig) GetIsManaged

func (x *Config_DeviceConfig) GetIsManaged() bool

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

func (x *Config_DeviceConfig) GetSerialEnabled() bool

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

func (x *Config_DeviceConfig) String() string

type Config_DeviceConfig_RebroadcastMode

type Config_DeviceConfig_RebroadcastMode int32

Defines the device's behavior for how messages are rebroadcast

const (
	// Default behavior.
	// Rebroadcast any observed message, if it was on our private channel or from another mesh with the same lora params.
	Config_DeviceConfig_ALL Config_DeviceConfig_RebroadcastMode = 0
	// Same as behavior as ALL but skips packet decoding and simply rebroadcasts them.
	// Only available in Repeater role. Setting this on any other roles will result in ALL behavior.
	Config_DeviceConfig_ALL_SKIP_DECODING Config_DeviceConfig_RebroadcastMode = 1
	// Ignores observed messages from foreign meshes that are open or those which it cannot decrypt.
	// Only rebroadcasts message on the nodes local primary / secondary channels.
	Config_DeviceConfig_LOCAL_ONLY Config_DeviceConfig_RebroadcastMode = 2
	// Ignores observed messages from foreign meshes like LOCAL_ONLY,
	// but takes it step further by also ignoring messages from nodenums not in the node's known list (NodeDB)
	Config_DeviceConfig_KNOWN_ONLY Config_DeviceConfig_RebroadcastMode = 3
)

func (Config_DeviceConfig_RebroadcastMode) Descriptor

func (Config_DeviceConfig_RebroadcastMode) Enum

func (Config_DeviceConfig_RebroadcastMode) EnumDescriptor deprecated

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

Deprecated: Use Config_DeviceConfig_RebroadcastMode.Descriptor instead.

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
	// Description: Combination of both ROUTER and CLIENT. Not for mobile devices.
	Config_DeviceConfig_ROUTER_CLIENT Config_DeviceConfig_Role = 3
	// Description: Infrastructure node for extending network coverage by relaying messages with minimal overhead. Not visible in Nodes list.
	// Technical Details: Mesh packets will simply be rebroadcasted over this node. Nodes configured with this role will not originate NodeInfo, Position, Telemetry
	//
	//	or any other packet type. They will simply rebroadcast any mesh packets on the same frequency, channel num, spread factor, and coding rate.
	Config_DeviceConfig_REPEATER Config_DeviceConfig_Role = 4
	// Description: Broadcasts GPS position packets as priority.
	// Technical Details: Position Mesh packets will be prioritized higher and sent more frequently by default.
	//
	//	When used in conjunction with power.is_power_saving = true, nodes will wake up,
	//	send position, and then sleep for position.position_broadcast_secs seconds.
	Config_DeviceConfig_TRACKER Config_DeviceConfig_Role = 5
	// Description: Broadcasts telemetry packets as priority.
	// Technical Details: Telemetry Mesh packets will be prioritized higher and sent more frequently by default.
	//
	//	When used in conjunction with power.is_power_saving = true, nodes will wake up,
	//	send environment telemetry, and then sleep for telemetry.environment_update_interval seconds.
	Config_DeviceConfig_SENSOR Config_DeviceConfig_Role = 6
	// Description: Optimized for ATAK system communication and reduces routine broadcasts.
	// Technical Details: Used for nodes dedicated for connection to an ATAK EUD.
	//
	//	Turns off many of the routine broadcasts to favor CoT packet stream
	//	from the Meshtastic ATAK plugin -> IMeshService -> Node
	Config_DeviceConfig_TAK Config_DeviceConfig_Role = 7
	// Description: Device that only broadcasts as needed for stealth or power savings.
	// Technical Details: Used for nodes that "only speak when spoken to"
	//
	//	Turns all of the routine broadcasts but allows for ad-hoc communication
	//	Still rebroadcasts, but with local only rebroadcast mode (known meshes only)
	//	Can be used for clandestine operation or to dramatically reduce airtime / power consumption
	Config_DeviceConfig_CLIENT_HIDDEN Config_DeviceConfig_Role = 8
	// Description: Broadcasts location as message to default channel regularly for to assist with device recovery.
	// Technical Details: Used to automatically send a text message to the mesh
	//
	//	with the current position of the device on a frequent interval:
	//	"I'm lost! Position: lat / long"
	Config_DeviceConfig_LOST_AND_FOUND Config_DeviceConfig_Role = 9
	// Description: Enables automatic TAK PLI broadcasts and reduces routine broadcasts.
	// Technical Details: Turns off many of the routine broadcasts to favor ATAK CoT packet stream
	//
	//	and automatic TAK PLI (position location information) broadcasts.
	//	Uses position module configuration to determine TAK PLI broadcast interval.
	Config_DeviceConfig_TAK_TRACKER Config_DeviceConfig_Role = 10
)

func (Config_DeviceConfig_Role) Descriptor

func (Config_DeviceConfig_Role) Enum

func (Config_DeviceConfig_Role) EnumDescriptor deprecated

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

Deprecated: Use Config_DeviceConfig_Role.Descriptor instead.

func (Config_DeviceConfig_Role) Number

func (Config_DeviceConfig_Role) String

func (x Config_DeviceConfig_Role) String() string

func (Config_DeviceConfig_Role) Type

type Config_Display

type Config_Display struct {
	Display *Config_DisplayConfig `protobuf:"bytes,5,opt,name=display,proto3,oneof"`
}

type Config_DisplayConfig

type Config_DisplayConfig struct {

	// Number of seconds the screen stays on after pressing the user button or receiving a message
	// 0 for default of one minute MAXUINT for always on
	ScreenOnSecs uint32 `protobuf:"varint,1,opt,name=screen_on_secs,json=screenOnSecs,proto3" json:"screen_on_secs,omitempty"`
	// How the GPS coordinates are formatted on the OLED screen.
	GpsFormat Config_DisplayConfig_GpsCoordinateFormat `` /* 146-byte string literal not displayed */
	// Automatically toggles to the next page on the screen like a carousel, based the specified interval in seconds.
	// Potentially useful for devices without user buttons.
	AutoScreenCarouselSecs uint32 `` /* 132-byte string literal not displayed */
	// If this is set, the displayed compass will always point north. if unset, the old behaviour
	// (top of display is heading direction) is used.
	CompassNorthTop bool `protobuf:"varint,4,opt,name=compass_north_top,json=compassNorthTop,proto3" json:"compass_north_top,omitempty"`
	// Flip screen vertically, for cases that mount the screen upside down
	FlipScreen bool `protobuf:"varint,5,opt,name=flip_screen,json=flipScreen,proto3" json:"flip_screen,omitempty"`
	// Perferred display units
	Units Config_DisplayConfig_DisplayUnits `protobuf:"varint,6,opt,name=units,proto3,enum=meshtastic.Config_DisplayConfig_DisplayUnits" json:"units,omitempty"`
	// Override auto-detect in screen
	Oled Config_DisplayConfig_OledType `protobuf:"varint,7,opt,name=oled,proto3,enum=meshtastic.Config_DisplayConfig_OledType" json:"oled,omitempty"`
	// Display Mode
	Displaymode Config_DisplayConfig_DisplayMode `protobuf:"varint,8,opt,name=displaymode,proto3,enum=meshtastic.Config_DisplayConfig_DisplayMode" json:"displaymode,omitempty"`
	// Print first line in pseudo-bold? FALSE is original style, TRUE is bold
	HeadingBold bool `protobuf:"varint,9,opt,name=heading_bold,json=headingBold,proto3" json:"heading_bold,omitempty"`
	// Should we wake the screen up on accelerometer detected motion or tap
	WakeOnTapOrMotion bool `protobuf:"varint,10,opt,name=wake_on_tap_or_motion,json=wakeOnTapOrMotion,proto3" json:"wake_on_tap_or_motion,omitempty"`
	// contains filtered or unexported fields
}

Display Config

func (*Config_DisplayConfig) Descriptor deprecated

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

Deprecated: Use Config_DisplayConfig.ProtoReflect.Descriptor instead.

func (*Config_DisplayConfig) GetAutoScreenCarouselSecs

func (x *Config_DisplayConfig) GetAutoScreenCarouselSecs() uint32

func (*Config_DisplayConfig) GetCompassNorthTop

func (x *Config_DisplayConfig) GetCompassNorthTop() bool

func (*Config_DisplayConfig) GetDisplaymode

func (*Config_DisplayConfig) GetFlipScreen

func (x *Config_DisplayConfig) GetFlipScreen() bool

func (*Config_DisplayConfig) GetGpsFormat

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

func (x *Config_DisplayConfig) String() string

type Config_DisplayConfig_DisplayMode

type Config_DisplayConfig_DisplayMode int32
const (
	// Default. The old style for the 128x64 OLED screen
	Config_DisplayConfig_DEFAULT Config_DisplayConfig_DisplayMode = 0
	// Rearrange display elements to cater for bicolor OLED displays
	Config_DisplayConfig_TWOCOLOR Config_DisplayConfig_DisplayMode = 1
	// Same as TwoColor, but with inverted top bar. Not so good for Epaper displays
	Config_DisplayConfig_INVERTED Config_DisplayConfig_DisplayMode = 2
	// TFT Full Color Displays (not implemented yet)
	Config_DisplayConfig_COLOR Config_DisplayConfig_DisplayMode = 3
)

func (Config_DisplayConfig_DisplayMode) Descriptor

func (Config_DisplayConfig_DisplayMode) Enum

func (Config_DisplayConfig_DisplayMode) EnumDescriptor deprecated

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

Deprecated: Use Config_DisplayConfig_DisplayMode.Descriptor instead.

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) EnumDescriptor deprecated

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

Deprecated: Use Config_DisplayConfig_DisplayUnits.Descriptor instead.

func (Config_DisplayConfig_DisplayUnits) Number

func (Config_DisplayConfig_DisplayUnits) String

func (Config_DisplayConfig_DisplayUnits) Type

type Config_DisplayConfig_GpsCoordinateFormat

type Config_DisplayConfig_GpsCoordinateFormat int32

How the GPS coordinates are displayed on the OLED screen.

const (
	// GPS coordinates are displayed in the normal decimal degrees format:
	// DD.DDDDDD DDD.DDDDDD
	Config_DisplayConfig_DEC Config_DisplayConfig_GpsCoordinateFormat = 0
	// GPS coordinates are displayed in the degrees minutes seconds format:
	// DD°MM'SS"C DDD°MM'SS"C, where C is the compass point representing the locations quadrant
	Config_DisplayConfig_DMS Config_DisplayConfig_GpsCoordinateFormat = 1
	// Universal Transverse Mercator format:
	// ZZB EEEEEE NNNNNNN, where Z is zone, B is band, E is easting, N is northing
	Config_DisplayConfig_UTM Config_DisplayConfig_GpsCoordinateFormat = 2
	// Military Grid Reference System format:
	// ZZB CD EEEEE NNNNN, where Z is zone, B is band, C is the east 100k square, D is the north 100k square,
	// E is easting, N is northing
	Config_DisplayConfig_MGRS Config_DisplayConfig_GpsCoordinateFormat = 3
	// Open Location Code (aka Plus Codes).
	Config_DisplayConfig_OLC Config_DisplayConfig_GpsCoordinateFormat = 4
	// Ordnance Survey Grid Reference (the National Grid System of the UK).
	// Format: AB EEEEE NNNNN, where A is the east 100k square, B is the north 100k square,
	// E is the easting, N is the northing
	Config_DisplayConfig_OSGR Config_DisplayConfig_GpsCoordinateFormat = 5
)

func (Config_DisplayConfig_GpsCoordinateFormat) Descriptor

func (Config_DisplayConfig_GpsCoordinateFormat) Enum

func (Config_DisplayConfig_GpsCoordinateFormat) EnumDescriptor deprecated

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

Deprecated: Use Config_DisplayConfig_GpsCoordinateFormat.Descriptor instead.

func (Config_DisplayConfig_GpsCoordinateFormat) Number

func (Config_DisplayConfig_GpsCoordinateFormat) String

func (Config_DisplayConfig_GpsCoordinateFormat) Type

type Config_DisplayConfig_OledType

type Config_DisplayConfig_OledType int32

Override OLED outo detect with this if it fails.

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

func (Config_DisplayConfig_OledType) Descriptor

func (Config_DisplayConfig_OledType) Enum

func (Config_DisplayConfig_OledType) EnumDescriptor deprecated

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

Deprecated: Use Config_DisplayConfig_OledType.Descriptor instead.

func (Config_DisplayConfig_OledType) Number

func (Config_DisplayConfig_OledType) String

func (Config_DisplayConfig_OledType) Type

type Config_LoRaConfig

type Config_LoRaConfig struct {

	// When enabled, the `modem_preset` fields will be adhered to, else the `bandwidth`/`spread_factor`/`coding_rate`
	// will be taked from their respective manually defined fields
	UsePreset bool `protobuf:"varint,1,opt,name=use_preset,json=usePreset,proto3" json:"use_preset,omitempty"`
	// Either modem_config or bandwidth/spreading/coding will be specified - NOT BOTH.
	// As a heuristic: If bandwidth is specified, do not use modem_config.
	// Because protobufs take ZERO space when the value is zero this works out nicely.
	// This value is replaced by bandwidth/spread_factor/coding_rate.
	// If you'd like to experiment with other options add them to MeshRadio.cpp in the device code.
	ModemPreset Config_LoRaConfig_ModemPreset `` /* 141-byte string literal not displayed */
	// Bandwidth in MHz
	// Certain bandwidth numbers are 'special' and will be converted to the
	// appropriate floating point value: 31 -> 31.25MHz
	Bandwidth uint32 `protobuf:"varint,3,opt,name=bandwidth,proto3" json:"bandwidth,omitempty"`
	// A number from 7 to 12.
	// Indicates number of chirps per symbol as 1<<spread_factor.
	SpreadFactor uint32 `protobuf:"varint,4,opt,name=spread_factor,json=spreadFactor,proto3" json:"spread_factor,omitempty"`
	// The denominator of the coding rate.
	// ie for 4/5, the value is 5. 4/8 the value is 8.
	CodingRate uint32 `protobuf:"varint,5,opt,name=coding_rate,json=codingRate,proto3" json:"coding_rate,omitempty"`
	// This parameter is for advanced users with advanced test equipment, we do not recommend most users use it.
	// A frequency offset that is added to to the calculated band center frequency.
	// Used to correct for crystal calibration errors.
	FrequencyOffset float32 `protobuf:"fixed32,6,opt,name=frequency_offset,json=frequencyOffset,proto3" json:"frequency_offset,omitempty"`
	// The region code for the radio (US, CN, EU433, etc...)
	Region Config_LoRaConfig_RegionCode `protobuf:"varint,7,opt,name=region,proto3,enum=meshtastic.Config_LoRaConfig_RegionCode" json:"region,omitempty"`
	// Maximum number of hops. This can't be greater than 7.
	// Default of 3
	// Attempting to set a value > 7 results in the default
	HopLimit uint32 `protobuf:"varint,8,opt,name=hop_limit,json=hopLimit,proto3" json:"hop_limit,omitempty"`
	// Disable TX from the LoRa radio. Useful for hot-swapping antennas and other tests.
	// Defaults to false
	TxEnabled bool `protobuf:"varint,9,opt,name=tx_enabled,json=txEnabled,proto3" json:"tx_enabled,omitempty"`
	// If zero, then use default max legal continuous power (ie. something that won't
	// burn out the radio hardware)
	// In most cases you should use zero here.
	// Units are in dBm.
	TxPower int32 `protobuf:"varint,10,opt,name=tx_power,json=txPower,proto3" json:"tx_power,omitempty"`
	// This controls the actual hardware frequency the radio transmits on.
	// Most users should never need to be exposed to this field/concept.
	// A channel number between 1 and NUM_CHANNELS (whatever the max is in the current region).
	// If ZERO then the rule is "use the old channel name hash based
	// algorithm to derive the channel number")
	// If using the hash algorithm the channel number will be: hash(channel_name) %
	// NUM_CHANNELS (Where num channels depends on the regulatory region).
	ChannelNum uint32 `protobuf:"varint,11,opt,name=channel_num,json=channelNum,proto3" json:"channel_num,omitempty"`
	// If true, duty cycle limits will be exceeded and thus you're possibly not following
	// the local regulations if you're not a HAM.
	// Has no effect if the duty cycle of the used region is 100%.
	OverrideDutyCycle bool `protobuf:"varint,12,opt,name=override_duty_cycle,json=overrideDutyCycle,proto3" json:"override_duty_cycle,omitempty"`
	// If true, sets RX boosted gain mode on SX126X based radios
	Sx126XRxBoostedGain bool `protobuf:"varint,13,opt,name=sx126x_rx_boosted_gain,json=sx126xRxBoostedGain,proto3" json:"sx126x_rx_boosted_gain,omitempty"`
	// This parameter is for advanced users and licensed HAM radio operators.
	// Ignore Channel Calculation and use this frequency instead. The frequency_offset
	// will still be applied. This will allow you to use out-of-band frequencies.
	// Please respect your local laws and regulations. If you are a HAM, make sure you
	// enable HAM mode and turn off encryption.
	OverrideFrequency float32 `protobuf:"fixed32,14,opt,name=override_frequency,json=overrideFrequency,proto3" json:"override_frequency,omitempty"`
	// For testing it is useful sometimes to force a node to never listen to
	// particular other nodes (simulating radio out of range). All nodenums listed
	// in ignore_incoming will have packets they send dropped on receive (by router.cpp)
	IgnoreIncoming []uint32 `protobuf:"varint,103,rep,packed,name=ignore_incoming,json=ignoreIncoming,proto3" json:"ignore_incoming,omitempty"`
	// If true, the device will not process any packets received via LoRa that passed via MQTT anywhere on the path towards it.
	IgnoreMqtt bool `protobuf:"varint,104,opt,name=ignore_mqtt,json=ignoreMqtt,proto3" json:"ignore_mqtt,omitempty"`
	// contains filtered or unexported fields
}

Lora Config

func (*Config_LoRaConfig) Descriptor deprecated

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

Deprecated: Use Config_LoRaConfig.ProtoReflect.Descriptor instead.

func (*Config_LoRaConfig) GetBandwidth

func (x *Config_LoRaConfig) GetBandwidth() uint32

func (*Config_LoRaConfig) GetChannelNum

func (x *Config_LoRaConfig) GetChannelNum() uint32

func (*Config_LoRaConfig) GetCodingRate

func (x *Config_LoRaConfig) GetCodingRate() uint32

func (*Config_LoRaConfig) GetFrequencyOffset

func (x *Config_LoRaConfig) GetFrequencyOffset() float32

func (*Config_LoRaConfig) GetHopLimit

func (x *Config_LoRaConfig) GetHopLimit() uint32

func (*Config_LoRaConfig) GetIgnoreIncoming

func (x *Config_LoRaConfig) GetIgnoreIncoming() []uint32

func (*Config_LoRaConfig) GetIgnoreMqtt

func (x *Config_LoRaConfig) GetIgnoreMqtt() bool

func (*Config_LoRaConfig) GetModemPreset

func (*Config_LoRaConfig) GetOverrideDutyCycle

func (x *Config_LoRaConfig) GetOverrideDutyCycle() bool

func (*Config_LoRaConfig) GetOverrideFrequency

func (x *Config_LoRaConfig) GetOverrideFrequency() float32

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

func (x *Config_LoRaConfig) String() string

type Config_LoRaConfig_ModemPreset

type Config_LoRaConfig_ModemPreset int32

Standard predefined channel settings Note: these mappings must match ModemPreset Choice in the device code.

const (
	// Long Range - Fast
	Config_LoRaConfig_LONG_FAST Config_LoRaConfig_ModemPreset = 0
	// Long Range - Slow
	Config_LoRaConfig_LONG_SLOW Config_LoRaConfig_ModemPreset = 1
	// Very Long Range - Slow
	Config_LoRaConfig_VERY_LONG_SLOW Config_LoRaConfig_ModemPreset = 2
	// Medium Range - Slow
	Config_LoRaConfig_MEDIUM_SLOW Config_LoRaConfig_ModemPreset = 3
	// Medium Range - Fast
	Config_LoRaConfig_MEDIUM_FAST Config_LoRaConfig_ModemPreset = 4
	// Short Range - Slow
	Config_LoRaConfig_SHORT_SLOW Config_LoRaConfig_ModemPreset = 5
	// Short Range - Fast
	Config_LoRaConfig_SHORT_FAST Config_LoRaConfig_ModemPreset = 6
	// Long Range - Moderately Fast
	Config_LoRaConfig_LONG_MODERATE Config_LoRaConfig_ModemPreset = 7
)

func (Config_LoRaConfig_ModemPreset) Descriptor

func (Config_LoRaConfig_ModemPreset) Enum

func (Config_LoRaConfig_ModemPreset) EnumDescriptor deprecated

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

Deprecated: Use Config_LoRaConfig_ModemPreset.Descriptor instead.

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
)

func (Config_LoRaConfig_RegionCode) Descriptor

func (Config_LoRaConfig_RegionCode) Enum

func (Config_LoRaConfig_RegionCode) EnumDescriptor deprecated

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

Deprecated: Use Config_LoRaConfig_RegionCode.Descriptor instead.

func (Config_LoRaConfig_RegionCode) Number

func (Config_LoRaConfig_RegionCode) String

func (Config_LoRaConfig_RegionCode) Type

type Config_Lora

type Config_Lora struct {
	Lora *Config_LoRaConfig `protobuf:"bytes,6,opt,name=lora,proto3,oneof"`
}

type Config_Network

type Config_Network struct {
	Network *Config_NetworkConfig `protobuf:"bytes,4,opt,name=network,proto3,oneof"`
}

type Config_NetworkConfig

type Config_NetworkConfig struct {

	// Enable WiFi (disables Bluetooth)
	WifiEnabled bool `protobuf:"varint,1,opt,name=wifi_enabled,json=wifiEnabled,proto3" json:"wifi_enabled,omitempty"`
	// If set, this node will try to join the specified wifi network and
	// acquire an address via DHCP
	WifiSsid string `protobuf:"bytes,3,opt,name=wifi_ssid,json=wifiSsid,proto3" json:"wifi_ssid,omitempty"`
	// If set, will be use to authenticate to the named wifi
	WifiPsk string `protobuf:"bytes,4,opt,name=wifi_psk,json=wifiPsk,proto3" json:"wifi_psk,omitempty"`
	// NTP server to use if WiFi is conneced, defaults to `0.pool.ntp.org`
	NtpServer string `protobuf:"bytes,5,opt,name=ntp_server,json=ntpServer,proto3" json:"ntp_server,omitempty"`
	// Enable Ethernet
	EthEnabled bool `protobuf:"varint,6,opt,name=eth_enabled,json=ethEnabled,proto3" json:"eth_enabled,omitempty"`
	// acquire an address via DHCP or assign static
	AddressMode Config_NetworkConfig_AddressMode `` /* 144-byte string literal not displayed */
	// struct to keep static address
	Ipv4Config *Config_NetworkConfig_IpV4Config `protobuf:"bytes,8,opt,name=ipv4_config,json=ipv4Config,proto3" json:"ipv4_config,omitempty"`
	// rsyslog Server and Port
	RsyslogServer string `protobuf:"bytes,9,opt,name=rsyslog_server,json=rsyslogServer,proto3" json:"rsyslog_server,omitempty"`
	// contains filtered or unexported fields
}

Network Config

func (*Config_NetworkConfig) Descriptor deprecated

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

Deprecated: Use Config_NetworkConfig.ProtoReflect.Descriptor instead.

func (*Config_NetworkConfig) GetAddressMode

func (*Config_NetworkConfig) GetEthEnabled

func (x *Config_NetworkConfig) GetEthEnabled() bool

func (*Config_NetworkConfig) GetIpv4Config

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) 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) 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) EnumDescriptor deprecated

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

Deprecated: Use Config_NetworkConfig_AddressMode.Descriptor instead.

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) Descriptor deprecated

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

Deprecated: Use Config_NetworkConfig_IpV4Config.ProtoReflect.Descriptor instead.

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

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) Descriptor deprecated

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

Deprecated: Use Config_PositionConfig.ProtoReflect.Descriptor instead.

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) 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) EnumDescriptor deprecated

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

Deprecated: Use Config_PositionConfig_GpsMode.Descriptor instead.

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) EnumDescriptor deprecated

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

Deprecated: Use Config_PositionConfig_PositionFlags.Descriptor instead.

func (Config_PositionConfig_PositionFlags) Number

func (Config_PositionConfig_PositionFlags) String

func (Config_PositionConfig_PositionFlags) Type

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

Power Config\ See [Power Config](/docs/settings/config/power) for additional power config details.

func (*Config_PowerConfig) Descriptor deprecated

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

Deprecated: Use Config_PowerConfig.ProtoReflect.Descriptor instead.

func (*Config_PowerConfig) GetAdcMultiplierOverride

func (x *Config_PowerConfig) GetAdcMultiplierOverride() float32

func (*Config_PowerConfig) GetDeviceBatteryInaAddress

func (x *Config_PowerConfig) GetDeviceBatteryInaAddress() uint32

func (*Config_PowerConfig) GetIsPowerSaving

func (x *Config_PowerConfig) GetIsPowerSaving() bool

func (*Config_PowerConfig) GetLsSecs

func (x *Config_PowerConfig) GetLsSecs() uint32

func (*Config_PowerConfig) GetMinWakeSecs

func (x *Config_PowerConfig) GetMinWakeSecs() uint32

func (*Config_PowerConfig) GetOnBatteryShutdownAfterSecs

func (x *Config_PowerConfig) GetOnBatteryShutdownAfterSecs() uint32

func (*Config_PowerConfig) GetSdsSecs

func (x *Config_PowerConfig) GetSdsSecs() uint32

func (*Config_PowerConfig) GetWaitBluetoothSecs

func (x *Config_PowerConfig) GetWaitBluetoothSecs() uint32

func (*Config_PowerConfig) ProtoMessage

func (*Config_PowerConfig) ProtoMessage()

func (*Config_PowerConfig) ProtoReflect

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

func (*Config_PowerConfig) Reset

func (x *Config_PowerConfig) Reset()

func (*Config_PowerConfig) String

func (x *Config_PowerConfig) String() string

type Constants

type Constants int32

Shared constants between device and phone

const (
	// First enum must be zero, and we are just using this enum to
	// pass int constants between two very different environments
	Constants_ZERO Constants = 0
	// From mesh.options
	// note: this payload length is ONLY the bytes that are sent inside of the Data protobuf (excluding protobuf overhead). The 16 byte header is
	// outside of this envelope
	Constants_DATA_PAYLOAD_LEN Constants = 237
)

func (Constants) Descriptor

func (Constants) Descriptor() protoreflect.EnumDescriptor

func (Constants) Enum

func (x Constants) Enum() *Constants

func (Constants) EnumDescriptor deprecated

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

Deprecated: Use Constants.Descriptor instead.

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) Descriptor deprecated

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

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

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

func (x *Contact) String() string

type CriticalErrorCode

type CriticalErrorCode int32

Error codes for critical errors The device might report these fault codes on the screen. If you encounter a fault code, please post on the meshtastic.discourse.group and we'll try to help.

const (
	// TODO: REPLACE
	CriticalErrorCode_NONE CriticalErrorCode = 0
	// A software bug was detected while trying to send lora
	CriticalErrorCode_TX_WATCHDOG CriticalErrorCode = 1
	// A software bug was detected on entry to sleep
	CriticalErrorCode_SLEEP_ENTER_WAIT CriticalErrorCode = 2
	// No Lora radio hardware could be found
	CriticalErrorCode_NO_RADIO CriticalErrorCode = 3
	// Not normally used
	CriticalErrorCode_UNSPECIFIED CriticalErrorCode = 4
	// We failed while configuring a UBlox GPS
	CriticalErrorCode_UBLOX_UNIT_FAILED CriticalErrorCode = 5
	// This board was expected to have a power management chip and it is missing or broken
	CriticalErrorCode_NO_AXP192 CriticalErrorCode = 6
	// The channel tried to set a radio setting which is not supported by this chipset,
	// radio comms settings are now undefined.
	CriticalErrorCode_INVALID_RADIO_SETTING CriticalErrorCode = 7
	// Radio transmit hardware failure. We sent data to the radio chip, but it didn't
	// reply with an interrupt.
	CriticalErrorCode_TRANSMIT_FAILED CriticalErrorCode = 8
	// We detected that the main CPU voltage dropped below the minimum acceptable value
	CriticalErrorCode_BROWNOUT CriticalErrorCode = 9
	// Selftest of SX1262 radio chip failed
	CriticalErrorCode_SX1262_FAILURE CriticalErrorCode = 10
	// A (likely software but possibly hardware) failure was detected while trying to send packets.
	// If this occurs on your board, please post in the forum so that we can ask you to collect some information to allow fixing this bug
	CriticalErrorCode_RADIO_SPI_BUG CriticalErrorCode = 11
)

func (CriticalErrorCode) Descriptor

func (CriticalErrorCode) Enum

func (CriticalErrorCode) EnumDescriptor deprecated

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

Deprecated: Use CriticalErrorCode.Descriptor instead.

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"`
	// 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) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

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

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

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) Descriptor deprecated

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

Deprecated: Use DeviceConnectionStatus.ProtoReflect.Descriptor instead.

func (*DeviceConnectionStatus) GetBluetooth

func (*DeviceConnectionStatus) GetEthernet

func (*DeviceConnectionStatus) GetSerial

func (*DeviceConnectionStatus) GetWifi

func (*DeviceConnectionStatus) ProtoMessage

func (*DeviceConnectionStatus) ProtoMessage()

func (*DeviceConnectionStatus) ProtoReflect

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

func (*DeviceConnectionStatus) Reset

func (x *DeviceConnectionStatus) Reset()

func (*DeviceConnectionStatus) String

func (x *DeviceConnectionStatus) String() string

type DeviceMetadata

type DeviceMetadata struct {

	// Device firmware version string
	FirmwareVersion string `protobuf:"bytes,1,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
	// Device state version
	DeviceStateVersion uint32 `protobuf:"varint,2,opt,name=device_state_version,json=deviceStateVersion,proto3" json:"device_state_version,omitempty"`
	// Indicates whether the device can shutdown CPU natively or via power management chip
	CanShutdown bool `protobuf:"varint,3,opt,name=canShutdown,proto3" json:"canShutdown,omitempty"`
	// Indicates that the device has native wifi capability
	HasWifi bool `protobuf:"varint,4,opt,name=hasWifi,proto3" json:"hasWifi,omitempty"`
	// Indicates that the device has native bluetooth capability
	HasBluetooth bool `protobuf:"varint,5,opt,name=hasBluetooth,proto3" json:"hasBluetooth,omitempty"`
	// Indicates that the device has an ethernet peripheral
	HasEthernet bool `protobuf:"varint,6,opt,name=hasEthernet,proto3" json:"hasEthernet,omitempty"`
	// Indicates that the device's role in the mesh
	Role Config_DeviceConfig_Role `protobuf:"varint,7,opt,name=role,proto3,enum=meshtastic.Config_DeviceConfig_Role" json:"role,omitempty"`
	// Indicates the device's current enabled position flags
	PositionFlags uint32 `protobuf:"varint,8,opt,name=position_flags,json=positionFlags,proto3" json:"position_flags,omitempty"`
	// Device hardware model
	HwModel HardwareModel `protobuf:"varint,9,opt,name=hw_model,json=hwModel,proto3,enum=meshtastic.HardwareModel" json:"hw_model,omitempty"`
	// Has Remote Hardware enabled
	HasRemoteHardware bool `protobuf:"varint,10,opt,name=hasRemoteHardware,proto3" json:"hasRemoteHardware,omitempty"`
	// contains filtered or unexported fields
}

Device metadata response

func (*DeviceMetadata) Descriptor deprecated

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

Deprecated: Use DeviceMetadata.ProtoReflect.Descriptor instead.

func (*DeviceMetadata) GetCanShutdown

func (x *DeviceMetadata) GetCanShutdown() bool

func (*DeviceMetadata) GetDeviceStateVersion

func (x *DeviceMetadata) GetDeviceStateVersion() uint32

func (*DeviceMetadata) GetFirmwareVersion

func (x *DeviceMetadata) GetFirmwareVersion() string

func (*DeviceMetadata) GetHasBluetooth

func (x *DeviceMetadata) GetHasBluetooth() bool

func (*DeviceMetadata) GetHasEthernet

func (x *DeviceMetadata) GetHasEthernet() bool

func (*DeviceMetadata) GetHasRemoteHardware

func (x *DeviceMetadata) GetHasRemoteHardware() bool

func (*DeviceMetadata) GetHasWifi

func (x *DeviceMetadata) GetHasWifi() bool

func (*DeviceMetadata) GetHwModel

func (x *DeviceMetadata) GetHwModel() HardwareModel

func (*DeviceMetadata) GetPositionFlags

func (x *DeviceMetadata) GetPositionFlags() uint32

func (*DeviceMetadata) GetRole

func (*DeviceMetadata) ProtoMessage

func (*DeviceMetadata) ProtoMessage()

func (*DeviceMetadata) ProtoReflect

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

func (*DeviceMetadata) Reset

func (x *DeviceMetadata) Reset()

func (*DeviceMetadata) String

func (x *DeviceMetadata) String() string

type DeviceMetrics

type DeviceMetrics struct {

	//
	// 0-100 (>100 means powered)
	BatteryLevel uint32 `protobuf:"varint,1,opt,name=battery_level,json=batteryLevel,proto3" json:"battery_level,omitempty"`
	//
	// Voltage measured
	Voltage float32 `protobuf:"fixed32,2,opt,name=voltage,proto3" json:"voltage,omitempty"`
	//
	// Utilization for the current channel, including well formed TX, RX and malformed RX (aka noise).
	ChannelUtilization float32 `protobuf:"fixed32,3,opt,name=channel_utilization,json=channelUtilization,proto3" json:"channel_utilization,omitempty"`
	//
	// Percent of airtime for transmission used within the last hour.
	AirUtilTx float32 `protobuf:"fixed32,4,opt,name=air_util_tx,json=airUtilTx,proto3" json:"air_util_tx,omitempty"`
	//
	// 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" json:"uptime_seconds,omitempty"`
	// contains filtered or unexported fields
}

Key native device metrics such as battery level

func (*DeviceMetrics) Descriptor deprecated

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

Deprecated: Use DeviceMetrics.ProtoReflect.Descriptor instead.

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

func (*DeviceMetrics) ProtoMessage()

func (*DeviceMetrics) ProtoReflect

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

func (*DeviceMetrics) Reset

func (x *DeviceMetrics) Reset()

func (*DeviceMetrics) String

func (x *DeviceMetrics) String() string

type DeviceProfile

type DeviceProfile struct {

	// Long name for the node
	LongName *string `protobuf:"bytes,1,opt,name=long_name,json=longName,proto3,oneof" json:"long_name,omitempty"`
	// Short name of the node
	ShortName *string `protobuf:"bytes,2,opt,name=short_name,json=shortName,proto3,oneof" json:"short_name,omitempty"`
	// The url of the channels from our node
	ChannelUrl *string `protobuf:"bytes,3,opt,name=channel_url,json=channelUrl,proto3,oneof" json:"channel_url,omitempty"`
	// The Config of the node
	Config *LocalConfig `protobuf:"bytes,4,opt,name=config,proto3,oneof" json:"config,omitempty"`
	// The ModuleConfig of the node
	ModuleConfig *LocalModuleConfig `protobuf:"bytes,5,opt,name=module_config,json=moduleConfig,proto3,oneof" json:"module_config,omitempty"`
	// contains filtered or unexported fields
}

This abstraction is used to contain any configuration for provisioning a node on any client. It is useful for importing and exporting configurations.

func (*DeviceProfile) Descriptor deprecated

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

Deprecated: Use DeviceProfile.ProtoReflect.Descriptor instead.

func (*DeviceProfile) GetChannelUrl

func (x *DeviceProfile) GetChannelUrl() string

func (*DeviceProfile) GetConfig

func (x *DeviceProfile) GetConfig() *LocalConfig

func (*DeviceProfile) GetLongName

func (x *DeviceProfile) GetLongName() string

func (*DeviceProfile) GetModuleConfig

func (x *DeviceProfile) GetModuleConfig() *LocalModuleConfig

func (*DeviceProfile) GetShortName

func (x *DeviceProfile) GetShortName() string

func (*DeviceProfile) ProtoMessage

func (*DeviceProfile) ProtoMessage()

func (*DeviceProfile) ProtoReflect

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

func (*DeviceProfile) Reset

func (x *DeviceProfile) Reset()

func (*DeviceProfile) String

func (x *DeviceProfile) String() string

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"`
	// Some GPS receivers seem to have bogus settings from the factory, so we always do one factory reset.
	DidGpsReset bool `protobuf:"varint,11,opt,name=did_gps_reset,json=didGpsReset,proto3" json:"did_gps_reset,omitempty"`
	// We keep the last received waypoint stored in the device flash,
	// so we can show it on the screen.
	// Might be null
	RxWaypoint *MeshPacket `protobuf:"bytes,12,opt,name=rx_waypoint,json=rxWaypoint,proto3" json:"rx_waypoint,omitempty"`
	// The mesh's nodes with their available gpio pins for RemoteHardware module
	NodeRemoteHardwarePins []*NodeRemoteHardwarePin `` /* 132-byte string literal not displayed */
	// New lite version of NodeDB to decrease memory footprint
	NodeDbLite []*NodeInfoLite `protobuf:"bytes,14,rep,name=node_db_lite,json=nodeDbLite,proto3" json:"node_db_lite,omitempty"`
	// contains filtered or unexported fields
}

This message is never sent over the wire, but it is used for serializing DB state to flash in the device code FIXME, since we write this each time we enter deep sleep (and have infinite flash) it would be better to use some sort of append only data structure for the receive queue and use the preferences store for the other stuff

func (*DeviceState) Descriptor deprecated

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

Deprecated: Use DeviceState.ProtoReflect.Descriptor instead.

func (*DeviceState) GetDidGpsReset

func (x *DeviceState) GetDidGpsReset() bool

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

func (x *DeviceState) GetNodeDbLite() []*NodeInfoLite

func (*DeviceState) GetNodeRemoteHardwarePins

func (x *DeviceState) GetNodeRemoteHardwarePins() []*NodeRemoteHardwarePin

func (*DeviceState) GetOwner

func (x *DeviceState) GetOwner() *User

func (*DeviceState) GetReceiveQueue

func (x *DeviceState) GetReceiveQueue() []*MeshPacket

func (*DeviceState) GetRxTextMessage

func (x *DeviceState) GetRxTextMessage() *MeshPacket

func (*DeviceState) GetRxWaypoint

func (x *DeviceState) GetRxWaypoint() *MeshPacket

func (*DeviceState) GetVersion

func (x *DeviceState) GetVersion() uint32

func (*DeviceState) ProtoMessage

func (*DeviceState) ProtoMessage()

func (*DeviceState) ProtoReflect

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

func (*DeviceState) Reset

func (x *DeviceState) Reset()

func (*DeviceState) String

func (x *DeviceState) String() string

type EnvironmentMetrics

type EnvironmentMetrics struct {

	//
	// Temperature measured
	Temperature float32 `protobuf:"fixed32,1,opt,name=temperature,proto3" json:"temperature,omitempty"`
	//
	// Relative humidity percent measured
	RelativeHumidity float32 `protobuf:"fixed32,2,opt,name=relative_humidity,json=relativeHumidity,proto3" json:"relative_humidity,omitempty"`
	//
	// Barometric pressure in hPA measured
	BarometricPressure float32 `protobuf:"fixed32,3,opt,name=barometric_pressure,json=barometricPressure,proto3" json:"barometric_pressure,omitempty"`
	//
	// Gas resistance in MOhm measured
	GasResistance float32 `protobuf:"fixed32,4,opt,name=gas_resistance,json=gasResistance,proto3" json:"gas_resistance,omitempty"`
	//
	// Voltage measured (To be depreciated in favor of PowerMetrics in Meshtastic 3.x)
	Voltage float32 `protobuf:"fixed32,5,opt,name=voltage,proto3" json:"voltage,omitempty"`
	//
	// Current measured (To be depreciated in favor of PowerMetrics in Meshtastic 3.x)
	Current float32 `protobuf:"fixed32,6,opt,name=current,proto3" json:"current,omitempty"`
	//
	// 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" 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" json:"distance,omitempty"`
	// contains filtered or unexported fields
}

Weather station or other environmental metrics

func (*EnvironmentMetrics) Descriptor deprecated

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

Deprecated: Use EnvironmentMetrics.ProtoReflect.Descriptor instead.

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

func (x *EnvironmentMetrics) GetRelativeHumidity() float32

func (*EnvironmentMetrics) GetTemperature

func (x *EnvironmentMetrics) GetTemperature() float32

func (*EnvironmentMetrics) GetVoltage

func (x *EnvironmentMetrics) GetVoltage() float32

func (*EnvironmentMetrics) ProtoMessage

func (*EnvironmentMetrics) ProtoMessage()

func (*EnvironmentMetrics) ProtoReflect

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

func (*EnvironmentMetrics) Reset

func (x *EnvironmentMetrics) Reset()

func (*EnvironmentMetrics) String

func (x *EnvironmentMetrics) String() string

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) Descriptor deprecated

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

Deprecated: Use EthernetConnectionStatus.ProtoReflect.Descriptor instead.

func (*EthernetConnectionStatus) GetStatus

func (*EthernetConnectionStatus) ProtoMessage

func (*EthernetConnectionStatus) ProtoMessage()

func (*EthernetConnectionStatus) ProtoReflect

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

func (*EthernetConnectionStatus) Reset

func (x *EthernetConnectionStatus) Reset()

func (*EthernetConnectionStatus) String

func (x *EthernetConnectionStatus) String() string

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 assignable to PayloadVariant:
	//
	//	*FromRadio_Packet
	//	*FromRadio_MyInfo
	//	*FromRadio_NodeInfo
	//	*FromRadio_Config
	//	*FromRadio_LogRecord
	//	*FromRadio_ConfigCompleteId
	//	*FromRadio_Rebooted
	//	*FromRadio_ModuleConfig
	//	*FromRadio_Channel
	//	*FromRadio_QueueStatus
	//	*FromRadio_XmodemPacket
	//	*FromRadio_Metadata
	//	*FromRadio_MqttClientProxyMessage
	PayloadVariant isFromRadio_PayloadVariant `protobuf_oneof:"payload_variant"`
	// contains filtered or unexported fields
}

Packets from the radio to the phone will appear on the fromRadio characteristic. It will support READ and NOTIFY. When a new packet arrives the device will BLE notify? It will sit in that descriptor until consumed by the phone, at which point the next item in the FIFO will be populated.

func (*FromRadio) Descriptor deprecated

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

Deprecated: Use FromRadio.ProtoReflect.Descriptor instead.

func (*FromRadio) GetChannel

func (x *FromRadio) GetChannel() *Channel

func (*FromRadio) GetConfig

func (x *FromRadio) GetConfig() *Config

func (*FromRadio) GetConfigCompleteId

func (x *FromRadio) GetConfigCompleteId() uint32

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

func (*FromRadio) ProtoMessage()

func (*FromRadio) ProtoReflect

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

func (*FromRadio) Reset

func (x *FromRadio) Reset()

func (*FromRadio) String

func (x *FromRadio) String() string

type FromRadio_Channel

type FromRadio_Channel struct {
	// One packet is sent for each channel
	Channel *Channel `protobuf:"bytes,10,opt,name=channel,proto3,oneof"`
}

type FromRadio_Config

type FromRadio_Config struct {
	// Include a part of the config (was: RadioConfig radio)
	Config *Config `protobuf:"bytes,5,opt,name=config,proto3,oneof"`
}

type FromRadio_ConfigCompleteId

type FromRadio_ConfigCompleteId struct {
	// Sent as true once the device has finished sending all of the responses to want_config
	// recipient should check if this ID matches our original request nonce, if
	// not, it means your config responses haven't started yet.
	// NOTE: This ID must not change - to keep (minimal) compatibility with <1.2 version of android apps.
	ConfigCompleteId uint32 `protobuf:"varint,7,opt,name=config_complete_id,json=configCompleteId,proto3,oneof"`
}

type FromRadio_LogRecord

type FromRadio_LogRecord struct {
	// Set to send debug console output over our protobuf stream
	LogRecord *LogRecord `protobuf:"bytes,6,opt,name=log_record,json=logRecord,proto3,oneof"`
}

type FromRadio_Metadata

type FromRadio_Metadata struct {
	// Device metadata message
	Metadata *DeviceMetadata `protobuf:"bytes,13,opt,name=metadata,proto3,oneof"`
}

type FromRadio_ModuleConfig

type FromRadio_ModuleConfig struct {
	// Include module config
	ModuleConfig *ModuleConfig `protobuf:"bytes,9,opt,name=moduleConfig,proto3,oneof"`
}

type FromRadio_MqttClientProxyMessage

type FromRadio_MqttClientProxyMessage struct {
	// MQTT Client Proxy Message (device sending to client / phone for publishing to MQTT)
	MqttClientProxyMessage *MqttClientProxyMessage `protobuf:"bytes,14,opt,name=mqttClientProxyMessage,proto3,oneof"`
}

type FromRadio_MyInfo

type FromRadio_MyInfo struct {
	// Tells the phone what our node number is, can be -1 if we've not yet joined a mesh.
	// NOTE: This ID must not change - to keep (minimal) compatibility with <1.2 version of android apps.
	MyInfo *MyNodeInfo `protobuf:"bytes,3,opt,name=my_info,json=myInfo,proto3,oneof"`
}

type FromRadio_NodeInfo

type FromRadio_NodeInfo struct {
	// One packet is sent for each node in the on radio DB
	// starts over with the first node in our DB
	NodeInfo *NodeInfo `protobuf:"bytes,4,opt,name=node_info,json=nodeInfo,proto3,oneof"`
}

type FromRadio_Packet

type FromRadio_Packet struct {
	// Log levels, chosen to match python logging conventions.
	Packet *MeshPacket `protobuf:"bytes,2,opt,name=packet,proto3,oneof"`
}

type FromRadio_QueueStatus

type FromRadio_QueueStatus struct {
	// Queue status info
	QueueStatus *QueueStatus `protobuf:"bytes,11,opt,name=queueStatus,proto3,oneof"`
}

type FromRadio_Rebooted

type FromRadio_Rebooted struct {
	// Sent to tell clients the radio has just rebooted.
	// Set to true if present.
	// Not used on all transports, currently just used for the serial console.
	// NOTE: This ID must not change - to keep (minimal) compatibility with <1.2 version of android apps.
	Rebooted bool `protobuf:"varint,8,opt,name=rebooted,proto3,oneof"`
}

type FromRadio_XmodemPacket

type FromRadio_XmodemPacket struct {
	// File Transfer Chunk
	XmodemPacket *XModem `protobuf:"bytes,12,opt,name=xmodemPacket,proto3,oneof"`
}

type GeoChat

type GeoChat struct {

	// The text message
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// Uid recipient of the message
	To *string `protobuf:"bytes,2,opt,name=to,proto3,oneof" json:"to,omitempty"`
	// contains filtered or unexported fields
}

ATAK GeoChat message

func (*GeoChat) Descriptor deprecated

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

Deprecated: Use GeoChat.ProtoReflect.Descriptor instead.

func (*GeoChat) GetMessage

func (x *GeoChat) GetMessage() string

func (*GeoChat) GetTo

func (x *GeoChat) GetTo() string

func (*GeoChat) ProtoMessage

func (*GeoChat) ProtoMessage()

func (*GeoChat) ProtoReflect

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

func (*GeoChat) Reset

func (x *GeoChat) Reset()

func (*GeoChat) String

func (x *GeoChat) String() string

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) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

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

func (x *Group) String() string

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) Descriptor deprecated

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

Deprecated: Use HamParameters.ProtoReflect.Descriptor instead.

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

func (x *HamParameters) String() string

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) Descriptor deprecated

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

Deprecated: Use HardwareMessage.ProtoReflect.Descriptor instead.

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) 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) EnumDescriptor deprecated

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

Deprecated: Use HardwareMessage_Type.Descriptor instead.

func (HardwareMessage_Type) Number

func (HardwareMessage_Type) String

func (x HardwareMessage_Type) String() string

func (HardwareMessage_Type) Type

type HardwareModel

type HardwareModel int32

Note: these enum names must EXACTLY match the string used in the device bin/build-all.sh script. Because they will be used to find firmware filenames in the android app for OTA updates. To match the old style filenames, _ is converted to -, p is converted to .

const (
	// TODO: REPLACE
	HardwareModel_UNSET HardwareModel = 0
	// TODO: REPLACE
	HardwareModel_TLORA_V2 HardwareModel = 1
	// TODO: REPLACE
	HardwareModel_TLORA_V1 HardwareModel = 2
	// TODO: REPLACE
	HardwareModel_TLORA_V2_1_1P6 HardwareModel = 3
	// TODO: REPLACE
	HardwareModel_TBEAM HardwareModel = 4
	// The original heltec WiFi_Lora_32_V2, which had battery voltage sensing hooked to GPIO 13
	// (see HELTEC_V2 for the new version).
	HardwareModel_HELTEC_V2_0 HardwareModel = 5
	// TODO: REPLACE
	HardwareModel_TBEAM_V0P7 HardwareModel = 6
	// TODO: REPLACE
	HardwareModel_T_ECHO HardwareModel = 7
	// TODO: REPLACE
	HardwareModel_TLORA_V1_1P3 HardwareModel = 8
	// TODO: REPLACE
	HardwareModel_RAK4631 HardwareModel = 9
	// The new version of the heltec WiFi_Lora_32_V2 board that has battery sensing hooked to GPIO 37.
	// Sadly they did not update anything on the silkscreen to identify this board
	HardwareModel_HELTEC_V2_1 HardwareModel = 10
	// Ancient heltec WiFi_Lora_32 board
	HardwareModel_HELTEC_V1 HardwareModel = 11
	// New T-BEAM with ESP32-S3 CPU
	HardwareModel_LILYGO_TBEAM_S3_CORE HardwareModel = 12
	// RAK WisBlock ESP32 core: https://docs.rakwireless.com/Product-Categories/WisBlock/RAK11200/Overview/
	HardwareModel_RAK11200 HardwareModel = 13
	// B&Q Consulting Nano Edition G1: https://uniteng.com/wiki/doku.php?id=meshtastic:nano
	HardwareModel_NANO_G1 HardwareModel = 14
	// TODO: REPLACE
	HardwareModel_TLORA_V2_1_1P8 HardwareModel = 15
	// TODO: REPLACE
	HardwareModel_TLORA_T3_S3 HardwareModel = 16
	// B&Q Consulting Nano G1 Explorer: https://wiki.uniteng.com/en/meshtastic/nano-g1-explorer
	HardwareModel_NANO_G1_EXPLORER HardwareModel = 17
	// B&Q Consulting Nano G2 Ultra: https://wiki.uniteng.com/en/meshtastic/nano-g2-ultra
	HardwareModel_NANO_G2_ULTRA HardwareModel = 18
	// LoRAType device: https://loratype.org/
	HardwareModel_LORA_TYPE HardwareModel = 19
	// B&Q Consulting Station Edition G1: https://uniteng.com/wiki/doku.php?id=meshtastic:station
	HardwareModel_STATION_G1 HardwareModel = 25
	// RAK11310 (RP2040 + SX1262)
	HardwareModel_RAK11310 HardwareModel = 26
	// Makerfabs SenseLoRA Receiver (RP2040 + RFM96)
	HardwareModel_SENSELORA_RP2040 HardwareModel = 27
	// Makerfabs SenseLoRA Industrial Monitor (ESP32-S3 + RFM96)
	HardwareModel_SENSELORA_S3 HardwareModel = 28
	// Canary Radio Company - CanaryOne: https://canaryradio.io/products/canaryone
	HardwareModel_CANARYONE HardwareModel = 29
	// Waveshare RP2040 LoRa - https://www.waveshare.com/rp2040-lora.htm
	HardwareModel_RP2040_LORA HardwareModel = 30
	// 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
	// TODO: REPLACE
	HardwareModel_NRF52840DK HardwareModel = 33
	// TODO: REPLACE
	HardwareModel_PPR HardwareModel = 34
	// TODO: REPLACE
	HardwareModel_GENIEBLOCKS HardwareModel = 35
	// TODO: REPLACE
	HardwareModel_NRF52_UNKNOWN HardwareModel = 36
	// TODO: REPLACE
	HardwareModel_PORTDUINO HardwareModel = 37
	// The simulator built into the android app
	HardwareModel_ANDROID_SIM HardwareModel = 38
	// Custom DIY device based on @NanoVHF schematics: https://github.com/NanoVHF/Meshtastic-DIY/tree/main/Schematics
	HardwareModel_DIY_V1 HardwareModel = 39
	// nRF52840 Dongle : https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dongle/
	HardwareModel_NRF52840_PCA10059 HardwareModel = 40
	// Custom Disaster Radio esp32 v3 device https://github.com/sudomesh/disaster-radio/tree/master/hardware/board_esp32_v3
	HardwareModel_DR_DEV HardwareModel = 41
	// M5 esp32 based MCU modules with enclosure, TFT and LORA Shields. All Variants (Basic, Core, Fire, Core2, Paper) https://m5stack.com/
	HardwareModel_M5STACK HardwareModel = 42
	// New Heltec LoRA32 with ESP32-S3 CPU
	HardwareModel_HELTEC_V3 HardwareModel = 43
	// New Heltec Wireless Stick Lite with ESP32-S3 CPU
	HardwareModel_HELTEC_WSL_V3 HardwareModel = 44
	// New BETAFPV ELRS Micro TX Module 2.4G with ESP32 CPU
	HardwareModel_BETAFPV_2400_TX HardwareModel = 45
	// BetaFPV ExpressLRS "Nano" TX Module 900MHz with ESP32 CPU
	HardwareModel_BETAFPV_900_NANO_TX HardwareModel = 46
	// Raspberry Pi Pico (W) with Waveshare SX1262 LoRa Node Module
	HardwareModel_RPI_PICO HardwareModel = 47
	// Heltec Wireless Tracker with ESP32-S3 CPU, built-in GPS, and TFT
	// Newer V1.1, version is written on the PCB near the display.
	HardwareModel_HELTEC_WIRELESS_TRACKER HardwareModel = 48
	// Heltec Wireless Paper with ESP32-S3 CPU and E-Ink display
	HardwareModel_HELTEC_WIRELESS_PAPER HardwareModel = 49
	// LilyGo T-Deck with ESP32-S3 CPU, Keyboard and IPS display
	HardwareModel_T_DECK HardwareModel = 50
	// LilyGo T-Watch S3 with ESP32-S3 CPU and IPS display
	HardwareModel_T_WATCH_S3 HardwareModel = 51
	// Bobricius Picomputer with ESP32-S3 CPU, Keyboard and IPS display
	HardwareModel_PICOMPUTER_S3 HardwareModel = 52
	// Heltec HT-CT62 with ESP32-C3 CPU and SX1262 LoRa
	HardwareModel_HELTEC_HT62 HardwareModel = 53
	// EBYTE SPI LoRa module and ESP32-S3
	HardwareModel_EBYTE_ESP32_S3 HardwareModel = 54
	// Waveshare ESP32-S3-PICO with PICO LoRa HAT and 2.9inch e-Ink
	HardwareModel_ESP32_S3_PICO HardwareModel = 55
	// CircuitMess Chatter 2 LLCC68 Lora Module and ESP32 Wroom
	// Lora module can be swapped out for a Heltec RA-62 which is "almost" pin compatible
	// with one cut and one jumper Meshtastic works
	HardwareModel_CHATTER_2 HardwareModel = 56
	// Heltec Wireless Paper, With ESP32-S3 CPU and E-Ink display
	// Older "V1.0" Variant, has no "version sticker"
	// E-Ink model is DEPG0213BNS800
	// Tab on the screen protector is RED
	// Flex connector marking is FPC-7528B
	HardwareModel_HELTEC_WIRELESS_PAPER_V1_0 HardwareModel = 57
	// Heltec Wireless Tracker with ESP32-S3 CPU, built-in GPS, and TFT
	// Older "V1.0" Variant
	HardwareModel_HELTEC_WIRELESS_TRACKER_V1_0 HardwareModel = 58
	// 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
	// ------------------------------------------------------------------------------------------------------------------------------------------
	// 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) EnumDescriptor deprecated

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

Deprecated: Use HardwareModel.Descriptor instead.

func (HardwareModel) Number

func (HardwareModel) String

func (x HardwareModel) String() string

func (HardwareModel) Type

type Heartbeat

type Heartbeat struct {
	// 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) Descriptor deprecated

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

Deprecated: Use Heartbeat.ProtoReflect.Descriptor instead.

func (*Heartbeat) ProtoMessage

func (*Heartbeat) ProtoMessage()

func (*Heartbeat) ProtoReflect

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

func (*Heartbeat) Reset

func (x *Heartbeat) Reset()

func (*Heartbeat) String

func (x *Heartbeat) String() string

type LocalConfig

type LocalConfig struct {

	// The part of the config that is specific to the Device
	Device *Config_DeviceConfig `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// The part of the config that is specific to the GPS Position
	Position *Config_PositionConfig `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// The part of the config that is specific to the Power settings
	Power *Config_PowerConfig `protobuf:"bytes,3,opt,name=power,proto3" json:"power,omitempty"`
	// The part of the config that is specific to the Wifi Settings
	Network *Config_NetworkConfig `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	// The part of the config that is specific to the Display
	Display *Config_DisplayConfig `protobuf:"bytes,5,opt,name=display,proto3" json:"display,omitempty"`
	// The part of the config that is specific to the Lora Radio
	Lora *Config_LoRaConfig `protobuf:"bytes,6,opt,name=lora,proto3" json:"lora,omitempty"`
	// The part of the config that is specific to the Bluetooth settings
	Bluetooth *Config_BluetoothConfig `protobuf:"bytes,7,opt,name=bluetooth,proto3" json:"bluetooth,omitempty"`
	// A version integer used to invalidate old save files when we make
	// incompatible changes This integer is set at build time and is private to
	// NodeDB.cpp in the device code.
	Version uint32 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*LocalConfig) Descriptor deprecated

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

Deprecated: Use LocalConfig.ProtoReflect.Descriptor instead.

func (*LocalConfig) GetBluetooth

func (x *LocalConfig) GetBluetooth() *Config_BluetoothConfig

func (*LocalConfig) GetDevice

func (x *LocalConfig) GetDevice() *Config_DeviceConfig

func (*LocalConfig) GetDisplay

func (x *LocalConfig) GetDisplay() *Config_DisplayConfig

func (*LocalConfig) GetLora

func (x *LocalConfig) GetLora() *Config_LoRaConfig

func (*LocalConfig) GetNetwork

func (x *LocalConfig) GetNetwork() *Config_NetworkConfig

func (*LocalConfig) GetPosition

func (x *LocalConfig) GetPosition() *Config_PositionConfig

func (*LocalConfig) GetPower

func (x *LocalConfig) GetPower() *Config_PowerConfig

func (*LocalConfig) GetVersion

func (x *LocalConfig) GetVersion() uint32

func (*LocalConfig) ProtoMessage

func (*LocalConfig) ProtoMessage()

func (*LocalConfig) ProtoReflect

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

func (*LocalConfig) Reset

func (x *LocalConfig) Reset()

func (*LocalConfig) String

func (x *LocalConfig) String() string

type LocalModuleConfig

type LocalModuleConfig struct {

	// The part of the config that is specific to the MQTT module
	Mqtt *ModuleConfig_MQTTConfig `protobuf:"bytes,1,opt,name=mqtt,proto3" json:"mqtt,omitempty"`
	// The part of the config that is specific to the Serial module
	Serial *ModuleConfig_SerialConfig `protobuf:"bytes,2,opt,name=serial,proto3" json:"serial,omitempty"`
	// The part of the config that is specific to the ExternalNotification module
	ExternalNotification *ModuleConfig_ExternalNotificationConfig `protobuf:"bytes,3,opt,name=external_notification,json=externalNotification,proto3" json:"external_notification,omitempty"`
	// The part of the config that is specific to the Store & Forward module
	StoreForward *ModuleConfig_StoreForwardConfig `protobuf:"bytes,4,opt,name=store_forward,json=storeForward,proto3" json:"store_forward,omitempty"`
	// The part of the config that is specific to the RangeTest module
	RangeTest *ModuleConfig_RangeTestConfig `protobuf:"bytes,5,opt,name=range_test,json=rangeTest,proto3" json:"range_test,omitempty"`
	// The part of the config that is specific to the Telemetry module
	Telemetry *ModuleConfig_TelemetryConfig `protobuf:"bytes,6,opt,name=telemetry,proto3" json:"telemetry,omitempty"`
	// The part of the config that is specific to the Canned Message module
	CannedMessage *ModuleConfig_CannedMessageConfig `protobuf:"bytes,7,opt,name=canned_message,json=cannedMessage,proto3" json:"canned_message,omitempty"`
	// The part of the config that is specific to the Audio module
	Audio *ModuleConfig_AudioConfig `protobuf:"bytes,9,opt,name=audio,proto3" json:"audio,omitempty"`
	// The part of the config that is specific to the Remote Hardware module
	RemoteHardware *ModuleConfig_RemoteHardwareConfig `protobuf:"bytes,10,opt,name=remote_hardware,json=remoteHardware,proto3" json:"remote_hardware,omitempty"`
	// The part of the config that is specific to the Neighbor Info module
	NeighborInfo *ModuleConfig_NeighborInfoConfig `protobuf:"bytes,11,opt,name=neighbor_info,json=neighborInfo,proto3" json:"neighbor_info,omitempty"`
	// The part of the config that is specific to the Ambient Lighting module
	AmbientLighting *ModuleConfig_AmbientLightingConfig `protobuf:"bytes,12,opt,name=ambient_lighting,json=ambientLighting,proto3" json:"ambient_lighting,omitempty"`
	// The part of the config that is specific to the Detection Sensor module
	DetectionSensor *ModuleConfig_DetectionSensorConfig `protobuf:"bytes,13,opt,name=detection_sensor,json=detectionSensor,proto3" json:"detection_sensor,omitempty"`
	// Paxcounter Config
	Paxcounter *ModuleConfig_PaxcounterConfig `protobuf:"bytes,14,opt,name=paxcounter,proto3" json:"paxcounter,omitempty"`
	// A version integer used to invalidate old save files when we make
	// incompatible changes This integer is set at build time and is private to
	// NodeDB.cpp in the device code.
	Version uint32 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*LocalModuleConfig) Descriptor deprecated

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

Deprecated: Use LocalModuleConfig.ProtoReflect.Descriptor instead.

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

func (x *LocalModuleConfig) GetStoreForward() *ModuleConfig_StoreForwardConfig

func (*LocalModuleConfig) GetTelemetry

func (*LocalModuleConfig) GetVersion

func (x *LocalModuleConfig) GetVersion() uint32

func (*LocalModuleConfig) ProtoMessage

func (*LocalModuleConfig) ProtoMessage()

func (*LocalModuleConfig) ProtoReflect

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

func (*LocalModuleConfig) Reset

func (x *LocalModuleConfig) Reset()

func (*LocalModuleConfig) String

func (x *LocalModuleConfig) String() string

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) Descriptor deprecated

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

Deprecated: Use LogRecord.ProtoReflect.Descriptor instead.

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) 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) EnumDescriptor deprecated

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

Deprecated: Use LogRecord_Level.Descriptor instead.

func (LogRecord_Level) Number

func (LogRecord_Level) String

func (x LogRecord_Level) String() string

func (LogRecord_Level) Type

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

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

func (*MapReport) Descriptor deprecated

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

Deprecated: Use MapReport.ProtoReflect.Descriptor instead.

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

func (x *MapReport) String() string

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) EnumDescriptor deprecated

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

Deprecated: Use MemberRole.Descriptor instead.

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
	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 assignable 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 adjacent nodes only)
	// if 1, allow hopping through one node, etc...
	// For our usecase real world topologies probably have a max of about 3.
	// This field is normally placed into a few of bits in the header.
	HopLimit uint32 `protobuf:"varint,9,opt,name=hop_limit,json=hopLimit,proto3" json:"hop_limit,omitempty"`
	// This packet is being sent as a reliable message, we would prefer it to arrive at the destination.
	// We would like to receive a ack packet in response.
	// Broadcasts messages treat this flag specially: Since acks for broadcasts would
	// rapidly flood the channel, the normal ack behavior is suppressed.
	// Instead, the original sender listens to see if at least one node is rebroadcasting this packet (because naive flooding algorithm).
	// If it hears that the odds (given typical LoRa topologies) the odds are very high that every node should eventually receive the message.
	// So FloodingRouter.cpp generates an implicit ack which is delivered to the original sender.
	// If after some time we don't hear anyone rebroadcast our packet, we will timeout and retransmit, using the regular resend logic.
	// Note: This flag is normally sent in a flag bit in the header when sent over the wire
	WantAck bool `protobuf:"varint,10,opt,name=want_ack,json=wantAck,proto3" json:"want_ack,omitempty"`
	// The priority of this message for sending.
	// See MeshPacket.Priority description for more details.
	Priority MeshPacket_Priority `protobuf:"varint,11,opt,name=priority,proto3,enum=meshtastic.MeshPacket_Priority" json:"priority,omitempty"`
	// rssi of received packet. Only sent to phone for dispay purposes.
	RxRssi int32 `protobuf:"varint,12,opt,name=rx_rssi,json=rxRssi,proto3" json:"rx_rssi,omitempty"`
	// Describe if this message is delayed
	//
	// Deprecated: Marked as deprecated in meshtastic/mesh.proto.
	Delayed MeshPacket_Delayed `protobuf:"varint,13,opt,name=delayed,proto3,enum=meshtastic.MeshPacket_Delayed" json:"delayed,omitempty"`
	// Describes whether this packet passed via MQTT somewhere along the path it currently took.
	ViaMqtt bool `protobuf:"varint,14,opt,name=via_mqtt,json=viaMqtt,proto3" json:"via_mqtt,omitempty"`
	// 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"`
	// 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) Descriptor deprecated

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

Deprecated: Use MeshPacket.ProtoReflect.Descriptor instead.

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

func (m *MeshPacket) GetPayloadVariant() isMeshPacket_PayloadVariant

func (*MeshPacket) GetPriority

func (x *MeshPacket) GetPriority() MeshPacket_Priority

func (*MeshPacket) GetRxRssi

func (x *MeshPacket) GetRxRssi() int32

func (*MeshPacket) GetRxSnr

func (x *MeshPacket) GetRxSnr() float32

func (*MeshPacket) GetRxTime

func (x *MeshPacket) GetRxTime() uint32

func (*MeshPacket) GetTo

func (x *MeshPacket) GetTo() uint32

func (*MeshPacket) GetViaMqtt

func (x *MeshPacket) GetViaMqtt() bool

func (*MeshPacket) GetWantAck

func (x *MeshPacket) GetWantAck() bool

func (*MeshPacket) ProtoMessage

func (*MeshPacket) ProtoMessage()

func (*MeshPacket) ProtoReflect

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

func (*MeshPacket) Reset

func (x *MeshPacket) Reset()

func (*MeshPacket) String

func (x *MeshPacket) String() string

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) EnumDescriptor deprecated

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

Deprecated: Use MeshPacket_Delayed.Descriptor instead.

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
	// 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) EnumDescriptor deprecated

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

Deprecated: Use MeshPacket_Priority.Descriptor instead.

func (MeshPacket_Priority) Number

func (MeshPacket_Priority) String

func (x MeshPacket_Priority) String() string

func (MeshPacket_Priority) Type

type ModuleConfig

type ModuleConfig struct {

	// TODO: REPLACE
	//
	// Types that are assignable to PayloadVariant:
	//
	//	*ModuleConfig_Mqtt
	//	*ModuleConfig_Serial
	//	*ModuleConfig_ExternalNotification
	//	*ModuleConfig_StoreForward
	//	*ModuleConfig_RangeTest
	//	*ModuleConfig_Telemetry
	//	*ModuleConfig_CannedMessage
	//	*ModuleConfig_Audio
	//	*ModuleConfig_RemoteHardware
	//	*ModuleConfig_NeighborInfo
	//	*ModuleConfig_AmbientLighting
	//	*ModuleConfig_DetectionSensor
	//	*ModuleConfig_Paxcounter
	PayloadVariant isModuleConfig_PayloadVariant `protobuf_oneof:"payload_variant"`
	// contains filtered or unexported fields
}

Module Config

func (*ModuleConfig) Descriptor deprecated

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

Deprecated: Use ModuleConfig.ProtoReflect.Descriptor instead.

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 (m *ModuleConfig) GetPayloadVariant() isModuleConfig_PayloadVariant

func (*ModuleConfig) GetRangeTest

func (x *ModuleConfig) GetRangeTest() *ModuleConfig_RangeTestConfig

func (*ModuleConfig) GetRemoteHardware

func (x *ModuleConfig) GetRemoteHardware() *ModuleConfig_RemoteHardwareConfig

func (*ModuleConfig) GetSerial

func (x *ModuleConfig) GetSerial() *ModuleConfig_SerialConfig

func (*ModuleConfig) GetStoreForward

func (x *ModuleConfig) GetStoreForward() *ModuleConfig_StoreForwardConfig

func (*ModuleConfig) GetTelemetry

func (x *ModuleConfig) GetTelemetry() *ModuleConfig_TelemetryConfig

func (*ModuleConfig) ProtoMessage

func (*ModuleConfig) ProtoMessage()

func (*ModuleConfig) ProtoReflect

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

func (*ModuleConfig) Reset

func (x *ModuleConfig) Reset()

func (*ModuleConfig) String

func (x *ModuleConfig) String() string

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) Descriptor deprecated

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

Deprecated: Use ModuleConfig_AmbientLightingConfig.ProtoReflect.Descriptor instead.

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

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) Descriptor deprecated

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

Deprecated: Use ModuleConfig_AudioConfig.ProtoReflect.Descriptor instead.

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) 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) EnumDescriptor deprecated

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

Deprecated: Use ModuleConfig_AudioConfig_Audio_Baud.Descriptor instead.

func (ModuleConfig_AudioConfig_Audio_Baud) Number

func (ModuleConfig_AudioConfig_Audio_Baud) String

func (ModuleConfig_AudioConfig_Audio_Baud) Type

type ModuleConfig_CannedMessage

type ModuleConfig_CannedMessage struct {
	// TODO: REPLACE
	CannedMessage *ModuleConfig_CannedMessageConfig `protobuf:"bytes,7,opt,name=canned_message,json=cannedMessage,proto3,oneof"`
}

type ModuleConfig_CannedMessageConfig

type ModuleConfig_CannedMessageConfig struct {

	// Enable the rotary encoder #1. This is a 'dumb' encoder sending pulses on both A and B pins while rotating.
	Rotary1Enabled bool `protobuf:"varint,1,opt,name=rotary1_enabled,json=rotary1Enabled,proto3" json:"rotary1_enabled,omitempty"`
	// GPIO pin for rotary encoder A port.
	InputbrokerPinA uint32 `protobuf:"varint,2,opt,name=inputbroker_pin_a,json=inputbrokerPinA,proto3" json:"inputbroker_pin_a,omitempty"`
	// GPIO pin for rotary encoder B port.
	InputbrokerPinB uint32 `protobuf:"varint,3,opt,name=inputbroker_pin_b,json=inputbrokerPinB,proto3" json:"inputbroker_pin_b,omitempty"`
	// GPIO pin for rotary encoder Press port.
	InputbrokerPinPress uint32 `protobuf:"varint,4,opt,name=inputbroker_pin_press,json=inputbrokerPinPress,proto3" json:"inputbroker_pin_press,omitempty"`
	// Generate input event on CW of this kind.
	InputbrokerEventCw ModuleConfig_CannedMessageConfig_InputEventChar `` /* 182-byte string literal not displayed */
	// Generate input event on CCW of this kind.
	InputbrokerEventCcw ModuleConfig_CannedMessageConfig_InputEventChar `` /* 185-byte string literal not displayed */
	// Generate input event on Press of this kind.
	InputbrokerEventPress ModuleConfig_CannedMessageConfig_InputEventChar `` /* 191-byte string literal not displayed */
	// Enable the Up/Down/Select input device. Can be RAK rotary encoder or 3 buttons. Uses the a/b/press definitions from inputbroker.
	Updown1Enabled bool `protobuf:"varint,8,opt,name=updown1_enabled,json=updown1Enabled,proto3" json:"updown1_enabled,omitempty"`
	// Enable/disable CannedMessageModule.
	Enabled bool `protobuf:"varint,9,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Input event origin accepted by the canned message module.
	// Can be e.g. "rotEnc1", "upDownEnc1" or keyword "_any"
	AllowInputSource string `protobuf:"bytes,10,opt,name=allow_input_source,json=allowInputSource,proto3" json:"allow_input_source,omitempty"`
	// CannedMessageModule also sends a bell character with the messages.
	// ExternalNotificationModule can benefit from this feature.
	SendBell bool `protobuf:"varint,11,opt,name=send_bell,json=sendBell,proto3" json:"send_bell,omitempty"`
	// contains filtered or unexported fields
}

TODO: REPLACE

func (*ModuleConfig_CannedMessageConfig) Descriptor deprecated

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

Deprecated: Use ModuleConfig_CannedMessageConfig.ProtoReflect.Descriptor instead.

func (*ModuleConfig_CannedMessageConfig) GetAllowInputSource

func (x *ModuleConfig_CannedMessageConfig) GetAllowInputSource() string

func (*ModuleConfig_CannedMessageConfig) GetEnabled

func (x *ModuleConfig_CannedMessageConfig) GetEnabled() bool

func (*ModuleConfig_CannedMessageConfig) GetInputbrokerEventCcw

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

Deprecated: Use ModuleConfig_CannedMessageConfig_InputEventChar.Descriptor instead.

func (ModuleConfig_CannedMessageConfig_InputEventChar) Number

func (ModuleConfig_CannedMessageConfig_InputEventChar) String

func (ModuleConfig_CannedMessageConfig_InputEventChar) Type

type ModuleConfig_DetectionSensor

type ModuleConfig_DetectionSensor struct {
	// TODO: REPLACE
	DetectionSensor *ModuleConfig_DetectionSensorConfig `protobuf:"bytes,12,opt,name=detection_sensor,json=detectionSensor,proto3,oneof"`
}

type ModuleConfig_DetectionSensorConfig

type ModuleConfig_DetectionSensorConfig struct {

	// Whether the Module is enabled
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Interval in seconds of how often we can send a message to the mesh when a state change is detected
	MinimumBroadcastSecs uint32 `protobuf:"varint,2,opt,name=minimum_broadcast_secs,json=minimumBroadcastSecs,proto3" json:"minimum_broadcast_secs,omitempty"`
	// Interval in seconds of how often we should send a message to the mesh with the current state regardless of changes
	// When set to 0, only state changes will be broadcasted
	// Works as a sort of status heartbeat for peace of mind
	StateBroadcastSecs uint32 `protobuf:"varint,3,opt,name=state_broadcast_secs,json=stateBroadcastSecs,proto3" json:"state_broadcast_secs,omitempty"`
	// Send ASCII bell with alert message
	// Useful for triggering ext. notification on bell
	SendBell bool `protobuf:"varint,4,opt,name=send_bell,json=sendBell,proto3" json:"send_bell,omitempty"`
	// Friendly name used to format message sent to mesh
	// Example: A name "Motion" would result in a message "Motion detected"
	// Maximum length of 20 characters
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// GPIO pin to monitor for state changes
	MonitorPin uint32 `protobuf:"varint,6,opt,name=monitor_pin,json=monitorPin,proto3" json:"monitor_pin,omitempty"`
	// Whether or not the GPIO pin state detection is triggered on HIGH (1)
	// Otherwise LOW (0)
	DetectionTriggeredHigh bool `` /* 130-byte string literal not displayed */
	// Whether or not use INPUT_PULLUP mode for GPIO pin
	// Only applicable if the board uses pull-up resistors on the pin
	UsePullup bool `protobuf:"varint,8,opt,name=use_pullup,json=usePullup,proto3" json:"use_pullup,omitempty"`
	// contains filtered or unexported fields
}

Detection Sensor Module Config

func (*ModuleConfig_DetectionSensorConfig) Descriptor deprecated

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

Deprecated: Use ModuleConfig_DetectionSensorConfig.ProtoReflect.Descriptor instead.

func (*ModuleConfig_DetectionSensorConfig) GetDetectionTriggeredHigh

func (x *ModuleConfig_DetectionSensorConfig) GetDetectionTriggeredHigh() bool

func (*ModuleConfig_DetectionSensorConfig) GetEnabled

func (x *ModuleConfig_DetectionSensorConfig) GetEnabled() bool

func (*ModuleConfig_DetectionSensorConfig) GetMinimumBroadcastSecs

func (x *ModuleConfig_DetectionSensorConfig) GetMinimumBroadcastSecs() uint32

func (*ModuleConfig_DetectionSensorConfig) GetMonitorPin

func (x *ModuleConfig_DetectionSensorConfig) GetMonitorPin() uint32

func (*ModuleConfig_DetectionSensorConfig) GetName

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

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) Descriptor deprecated

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

Deprecated: Use ModuleConfig_ExternalNotificationConfig.ProtoReflect.Descriptor instead.

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

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) Descriptor deprecated

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

Deprecated: Use ModuleConfig_MQTTConfig.ProtoReflect.Descriptor instead.

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

func (x *ModuleConfig_MQTTConfig) String() string

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

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

func (*ModuleConfig_MapReportSettings) Descriptor deprecated

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

Deprecated: Use ModuleConfig_MapReportSettings.ProtoReflect.Descriptor instead.

func (*ModuleConfig_MapReportSettings) GetPositionPrecision

func (x *ModuleConfig_MapReportSettings) GetPositionPrecision() uint32

func (*ModuleConfig_MapReportSettings) GetPublishIntervalSecs

func (x *ModuleConfig_MapReportSettings) GetPublishIntervalSecs() uint32

func (*ModuleConfig_MapReportSettings) ProtoMessage

func (*ModuleConfig_MapReportSettings) ProtoMessage()

func (*ModuleConfig_MapReportSettings) ProtoReflect

func (*ModuleConfig_MapReportSettings) Reset

func (x *ModuleConfig_MapReportSettings) Reset()

func (*ModuleConfig_MapReportSettings) String

type ModuleConfig_Mqtt

type ModuleConfig_Mqtt struct {
	// TODO: REPLACE
	Mqtt *ModuleConfig_MQTTConfig `protobuf:"bytes,1,opt,name=mqtt,proto3,oneof"`
}

type ModuleConfig_NeighborInfo

type ModuleConfig_NeighborInfo struct {
	// TODO: REPLACE
	NeighborInfo *ModuleConfig_NeighborInfoConfig `protobuf:"bytes,10,opt,name=neighbor_info,json=neighborInfo,proto3,oneof"`
}

type ModuleConfig_NeighborInfoConfig

type ModuleConfig_NeighborInfoConfig struct {

	// Whether the Module is enabled
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Interval in seconds of how often we should try to send our
	// Neighbor Info to the mesh
	UpdateInterval uint32 `protobuf:"varint,2,opt,name=update_interval,json=updateInterval,proto3" json:"update_interval,omitempty"`
	// contains filtered or unexported fields
}

NeighborInfoModule Config

func (*ModuleConfig_NeighborInfoConfig) Descriptor deprecated

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

Deprecated: Use ModuleConfig_NeighborInfoConfig.ProtoReflect.Descriptor instead.

func (*ModuleConfig_NeighborInfoConfig) GetEnabled

func (x *ModuleConfig_NeighborInfoConfig) GetEnabled() bool

func (*ModuleConfig_NeighborInfoConfig) GetUpdateInterval

func (x *ModuleConfig_NeighborInfoConfig) GetUpdateInterval() uint32

func (*ModuleConfig_NeighborInfoConfig) ProtoMessage

func (*ModuleConfig_NeighborInfoConfig) ProtoMessage()

func (*ModuleConfig_NeighborInfoConfig) ProtoReflect

func (*ModuleConfig_NeighborInfoConfig) Reset

func (*ModuleConfig_NeighborInfoConfig) String

type ModuleConfig_Paxcounter

type ModuleConfig_Paxcounter struct {
	// TODO: REPLACE
	Paxcounter *ModuleConfig_PaxcounterConfig `protobuf:"bytes,13,opt,name=paxcounter,proto3,oneof"`
}

type ModuleConfig_PaxcounterConfig

type ModuleConfig_PaxcounterConfig struct {

	// Enable the Paxcounter Module
	Enabled                  bool   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	PaxcounterUpdateInterval uint32 `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

Config for the Paxcounter Module

func (*ModuleConfig_PaxcounterConfig) Descriptor deprecated

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

Deprecated: Use ModuleConfig_PaxcounterConfig.ProtoReflect.Descriptor instead.

func (*ModuleConfig_PaxcounterConfig) GetEnabled

func (x *ModuleConfig_PaxcounterConfig) GetEnabled() bool

func (*ModuleConfig_PaxcounterConfig) GetPaxcounterUpdateInterval

func (x *ModuleConfig_PaxcounterConfig) GetPaxcounterUpdateInterval() uint32

func (*ModuleConfig_PaxcounterConfig) ProtoMessage

func (*ModuleConfig_PaxcounterConfig) ProtoMessage()

func (*ModuleConfig_PaxcounterConfig) ProtoReflect

func (*ModuleConfig_PaxcounterConfig) Reset

func (x *ModuleConfig_PaxcounterConfig) Reset()

func (*ModuleConfig_PaxcounterConfig) String

type ModuleConfig_RangeTest

type ModuleConfig_RangeTest struct {
	// TODO: REPLACE
	RangeTest *ModuleConfig_RangeTestConfig `protobuf:"bytes,5,opt,name=range_test,json=rangeTest,proto3,oneof"`
}

type ModuleConfig_RangeTestConfig

type ModuleConfig_RangeTestConfig struct {

	// Enable the Range Test Module
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Send out range test messages from this node
	Sender uint32 `protobuf:"varint,2,opt,name=sender,proto3" json:"sender,omitempty"`
	// Bool value indicating that this node should save a RangeTest.csv file.
	// ESP32 Only
	Save bool `protobuf:"varint,3,opt,name=save,proto3" json:"save,omitempty"`
	// contains filtered or unexported fields
}

Preferences for the RangeTestModule

func (*ModuleConfig_RangeTestConfig) Descriptor deprecated

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

Deprecated: Use ModuleConfig_RangeTestConfig.ProtoReflect.Descriptor instead.

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

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) Descriptor deprecated

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

Deprecated: Use ModuleConfig_RemoteHardwareConfig.ProtoReflect.Descriptor instead.

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

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) Descriptor deprecated

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

Deprecated: Use ModuleConfig_SerialConfig.ProtoReflect.Descriptor instead.

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) 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) EnumDescriptor deprecated

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

Deprecated: Use ModuleConfig_SerialConfig_Serial_Baud.Descriptor instead.

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
)

func (ModuleConfig_SerialConfig_Serial_Mode) Descriptor

func (ModuleConfig_SerialConfig_Serial_Mode) Enum

func (ModuleConfig_SerialConfig_Serial_Mode) EnumDescriptor deprecated

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

Deprecated: Use ModuleConfig_SerialConfig_Serial_Mode.Descriptor instead.

func (ModuleConfig_SerialConfig_Serial_Mode) Number

func (ModuleConfig_SerialConfig_Serial_Mode) String

func (ModuleConfig_SerialConfig_Serial_Mode) Type

type ModuleConfig_StoreForward

type ModuleConfig_StoreForward struct {
	// TODO: REPLACE
	StoreForward *ModuleConfig_StoreForwardConfig `protobuf:"bytes,4,opt,name=store_forward,json=storeForward,proto3,oneof"`
}

type ModuleConfig_StoreForwardConfig

type ModuleConfig_StoreForwardConfig struct {

	// Enable the Store and Forward Module
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// TODO: REPLACE
	Heartbeat bool `protobuf:"varint,2,opt,name=heartbeat,proto3" json:"heartbeat,omitempty"`
	// TODO: REPLACE
	Records uint32 `protobuf:"varint,3,opt,name=records,proto3" json:"records,omitempty"`
	// TODO: REPLACE
	HistoryReturnMax uint32 `protobuf:"varint,4,opt,name=history_return_max,json=historyReturnMax,proto3" json:"history_return_max,omitempty"`
	// TODO: REPLACE
	HistoryReturnWindow uint32 `protobuf:"varint,5,opt,name=history_return_window,json=historyReturnWindow,proto3" json:"history_return_window,omitempty"`
	// contains filtered or unexported fields
}

Store and Forward Module Config

func (*ModuleConfig_StoreForwardConfig) Descriptor deprecated

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

Deprecated: Use ModuleConfig_StoreForwardConfig.ProtoReflect.Descriptor instead.

func (*ModuleConfig_StoreForwardConfig) GetEnabled

func (x *ModuleConfig_StoreForwardConfig) GetEnabled() bool

func (*ModuleConfig_StoreForwardConfig) GetHeartbeat

func (x *ModuleConfig_StoreForwardConfig) GetHeartbeat() bool

func (*ModuleConfig_StoreForwardConfig) GetHistoryReturnMax

func (x *ModuleConfig_StoreForwardConfig) GetHistoryReturnMax() uint32

func (*ModuleConfig_StoreForwardConfig) GetHistoryReturnWindow

func (x *ModuleConfig_StoreForwardConfig) GetHistoryReturnWindow() uint32

func (*ModuleConfig_StoreForwardConfig) GetRecords

func (x *ModuleConfig_StoreForwardConfig) GetRecords() uint32

func (*ModuleConfig_StoreForwardConfig) ProtoMessage

func (*ModuleConfig_StoreForwardConfig) ProtoMessage()

func (*ModuleConfig_StoreForwardConfig) ProtoReflect

func (*ModuleConfig_StoreForwardConfig) Reset

func (*ModuleConfig_StoreForwardConfig) String

type ModuleConfig_Telemetry

type ModuleConfig_Telemetry struct {
	// TODO: REPLACE
	Telemetry *ModuleConfig_TelemetryConfig `protobuf:"bytes,6,opt,name=telemetry,proto3,oneof"`
}

type ModuleConfig_TelemetryConfig

type ModuleConfig_TelemetryConfig struct {

	// Interval in seconds of how often we should try to send our
	// device metrics to the mesh
	DeviceUpdateInterval      uint32 `protobuf:"varint,1,opt,name=device_update_interval,json=deviceUpdateInterval,proto3" json:"device_update_interval,omitempty"`
	EnvironmentUpdateInterval uint32 `` /* 139-byte string literal not displayed */
	// Preferences for the Telemetry Module (Environment)
	// Enable/Disable the telemetry measurement module measurement collection
	EnvironmentMeasurementEnabled bool `` /* 151-byte string literal not displayed */
	// Enable/Disable the telemetry measurement module on-device display
	EnvironmentScreenEnabled bool `` /* 136-byte string literal not displayed */
	// We'll always read the sensor in Celsius, but sometimes we might want to
	// display the results in Fahrenheit as a "user preference".
	EnvironmentDisplayFahrenheit bool `` /* 148-byte string literal not displayed */
	// Enable/Disable the air quality metrics
	AirQualityEnabled bool `protobuf:"varint,6,opt,name=air_quality_enabled,json=airQualityEnabled,proto3" json:"air_quality_enabled,omitempty"`
	// Interval in seconds of how often we should try to send our
	// air quality metrics to the mesh
	AirQualityInterval uint32 `protobuf:"varint,7,opt,name=air_quality_interval,json=airQualityInterval,proto3" json:"air_quality_interval,omitempty"`
	// Interval in seconds of how often we should try to send our
	// air quality metrics to the mesh
	PowerMeasurementEnabled bool `` /* 133-byte string literal not displayed */
	// Interval in seconds of how often we should try to send our
	// air quality metrics to the mesh
	PowerUpdateInterval uint32 `protobuf:"varint,9,opt,name=power_update_interval,json=powerUpdateInterval,proto3" json:"power_update_interval,omitempty"`
	// Interval in seconds of how often we should try to send our
	// air quality metrics to the mesh
	PowerScreenEnabled bool `protobuf:"varint,10,opt,name=power_screen_enabled,json=powerScreenEnabled,proto3" json:"power_screen_enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for both device and environment metrics

func (*ModuleConfig_TelemetryConfig) Descriptor deprecated

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

Deprecated: Use ModuleConfig_TelemetryConfig.ProtoReflect.Descriptor instead.

func (*ModuleConfig_TelemetryConfig) GetAirQualityEnabled

func (x *ModuleConfig_TelemetryConfig) GetAirQualityEnabled() bool

func (*ModuleConfig_TelemetryConfig) GetAirQualityInterval

func (x *ModuleConfig_TelemetryConfig) GetAirQualityInterval() uint32

func (*ModuleConfig_TelemetryConfig) GetDeviceUpdateInterval

func (x *ModuleConfig_TelemetryConfig) GetDeviceUpdateInterval() uint32

func (*ModuleConfig_TelemetryConfig) GetEnvironmentDisplayFahrenheit

func (x *ModuleConfig_TelemetryConfig) GetEnvironmentDisplayFahrenheit() bool

func (*ModuleConfig_TelemetryConfig) GetEnvironmentMeasurementEnabled

func (x *ModuleConfig_TelemetryConfig) GetEnvironmentMeasurementEnabled() bool

func (*ModuleConfig_TelemetryConfig) GetEnvironmentScreenEnabled

func (x *ModuleConfig_TelemetryConfig) GetEnvironmentScreenEnabled() bool

func (*ModuleConfig_TelemetryConfig) GetEnvironmentUpdateInterval

func (x *ModuleConfig_TelemetryConfig) GetEnvironmentUpdateInterval() uint32

func (*ModuleConfig_TelemetryConfig) GetPowerMeasurementEnabled

func (x *ModuleConfig_TelemetryConfig) GetPowerMeasurementEnabled() bool

func (*ModuleConfig_TelemetryConfig) GetPowerScreenEnabled

func (x *ModuleConfig_TelemetryConfig) GetPowerScreenEnabled() bool

func (*ModuleConfig_TelemetryConfig) GetPowerUpdateInterval

func (x *ModuleConfig_TelemetryConfig) GetPowerUpdateInterval() uint32

func (*ModuleConfig_TelemetryConfig) ProtoMessage

func (*ModuleConfig_TelemetryConfig) ProtoMessage()

func (*ModuleConfig_TelemetryConfig) ProtoReflect

func (*ModuleConfig_TelemetryConfig) Reset

func (x *ModuleConfig_TelemetryConfig) Reset()

func (*ModuleConfig_TelemetryConfig) String

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

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

func (*ModuleSettings) Descriptor deprecated

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

Deprecated: Use ModuleSettings.ProtoReflect.Descriptor instead.

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

func (x *ModuleSettings) String() string

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 assignable 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) Descriptor deprecated

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

Deprecated: Use MqttClientProxyMessage.ProtoReflect.Descriptor instead.

func (*MqttClientProxyMessage) GetData

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

func (*MqttClientProxyMessage) GetPayloadVariant

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

func (*MqttClientProxyMessage) ProtoMessage()

func (*MqttClientProxyMessage) ProtoReflect

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

func (*MqttClientProxyMessage) Reset

func (x *MqttClientProxyMessage) Reset()

func (*MqttClientProxyMessage) String

func (x *MqttClientProxyMessage) String() string

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 MyNodeInfo

type MyNodeInfo struct {

	// Tells the phone what our node number is, default starting value is
	// lowbyte of macaddr, but it will be fixed if that is already in use
	MyNodeNum uint32 `protobuf:"varint,1,opt,name=my_node_num,json=myNodeNum,proto3" json:"my_node_num,omitempty"`
	// The total number of reboots this node has ever encountered
	// (well - since the last time we discarded preferences)
	RebootCount uint32 `protobuf:"varint,8,opt,name=reboot_count,json=rebootCount,proto3" json:"reboot_count,omitempty"`
	// The minimum app version that can talk to this device.
	// Phone/PC apps should compare this to their build number and if too low tell the user they must update their app
	MinAppVersion uint32 `protobuf:"varint,11,opt,name=min_app_version,json=minAppVersion,proto3" json:"min_app_version,omitempty"`
	// contains filtered or unexported fields
}

Unique local debugging info for this node Note: we don't include position or the user info, because that will come in the Sent to the phone in response to WantNodes.

func (*MyNodeInfo) Descriptor deprecated

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

Deprecated: Use MyNodeInfo.ProtoReflect.Descriptor instead.

func (*MyNodeInfo) GetMinAppVersion

func (x *MyNodeInfo) GetMinAppVersion() uint32

func (*MyNodeInfo) GetMyNodeNum

func (x *MyNodeInfo) GetMyNodeNum() uint32

func (*MyNodeInfo) GetRebootCount

func (x *MyNodeInfo) GetRebootCount() uint32

func (*MyNodeInfo) ProtoMessage

func (*MyNodeInfo) ProtoMessage()

func (*MyNodeInfo) ProtoReflect

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

func (*MyNodeInfo) Reset

func (x *MyNodeInfo) Reset()

func (*MyNodeInfo) String

func (x *MyNodeInfo) String() string

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) Descriptor deprecated

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

Deprecated: Use Neighbor.ProtoReflect.Descriptor instead.

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) 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) Descriptor deprecated

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

Deprecated: Use NeighborInfo.ProtoReflect.Descriptor instead.

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

func (x *NeighborInfo) String() string

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) Descriptor deprecated

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

Deprecated: Use NetworkConnectionStatus.ProtoReflect.Descriptor instead.

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

func (x *NetworkConnectionStatus) String() string

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 adjacent)
	HopsAway uint32 `protobuf:"varint,9,opt,name=hops_away,json=hopsAway,proto3" 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"`
	// 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) Descriptor deprecated

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

Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead.

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

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) ProtoReflect

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

func (*NodeInfo) Reset

func (x *NodeInfo) Reset()

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 *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// This position data. Note: before 1.2.14 we would also store the last time we've heard from this node in position.time, that is no longer true.
	// Position.time now indicates the last time we received a POSITION from that node.
	Position *PositionLite `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"`
	// Returns the Signal-to-noise ratio (SNR) of the last received message,
	// as measured by the receiver. Return SNR of the last received message in dB
	Snr float32 `protobuf:"fixed32,4,opt,name=snr,proto3" json:"snr,omitempty"`
	// Set to indicate the last time we received a packet from this node
	LastHeard uint32 `protobuf:"fixed32,5,opt,name=last_heard,json=lastHeard,proto3" json:"last_heard,omitempty"`
	// The latest device metrics for the node.
	DeviceMetrics *DeviceMetrics `protobuf:"bytes,6,opt,name=device_metrics,json=deviceMetrics,proto3" json:"device_metrics,omitempty"`
	// local channel index we heard that node on. Only populated if its not the default channel.
	Channel uint32 `protobuf:"varint,7,opt,name=channel,proto3" json:"channel,omitempty"`
	// 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 adjacent)
	HopsAway uint32 `protobuf:"varint,9,opt,name=hops_away,json=hopsAway,proto3" 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"`
	// contains filtered or unexported fields
}

func (*NodeInfoLite) Descriptor deprecated

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

Deprecated: Use NodeInfoLite.ProtoReflect.Descriptor instead.

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

func (x *NodeInfoLite) GetLastHeard() uint32

func (*NodeInfoLite) GetNum

func (x *NodeInfoLite) GetNum() uint32

func (*NodeInfoLite) GetPosition

func (x *NodeInfoLite) GetPosition() *PositionLite

func (*NodeInfoLite) GetSnr

func (x *NodeInfoLite) GetSnr() float32

func (*NodeInfoLite) GetUser

func (x *NodeInfoLite) GetUser() *User

func (*NodeInfoLite) GetViaMqtt

func (x *NodeInfoLite) GetViaMqtt() 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) String

func (x *NodeInfoLite) String() string

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) Descriptor deprecated

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

Deprecated: Use NodeRemoteHardwarePin.ProtoReflect.Descriptor instead.

func (*NodeRemoteHardwarePin) GetNodeNum

func (x *NodeRemoteHardwarePin) GetNodeNum() uint32

func (*NodeRemoteHardwarePin) GetPin

func (*NodeRemoteHardwarePin) ProtoMessage

func (*NodeRemoteHardwarePin) ProtoMessage()

func (*NodeRemoteHardwarePin) ProtoReflect

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

func (*NodeRemoteHardwarePin) Reset

func (x *NodeRemoteHardwarePin) Reset()

func (*NodeRemoteHardwarePin) String

func (x *NodeRemoteHardwarePin) String() string

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) Descriptor deprecated

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

Deprecated: Use NodeRemoteHardwarePinsResponse.ProtoReflect.Descriptor instead.

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

type OEMStore

type OEMStore struct {

	// The Logo width in Px
	OemIconWidth uint32 `protobuf:"varint,1,opt,name=oem_icon_width,json=oemIconWidth,proto3" json:"oem_icon_width,omitempty"`
	// The Logo height in Px
	OemIconHeight uint32 `protobuf:"varint,2,opt,name=oem_icon_height,json=oemIconHeight,proto3" json:"oem_icon_height,omitempty"`
	// The Logo in XBM bytechar format
	OemIconBits []byte `protobuf:"bytes,3,opt,name=oem_icon_bits,json=oemIconBits,proto3" json:"oem_icon_bits,omitempty"`
	// Use this font for the OEM text.
	OemFont ScreenFonts `protobuf:"varint,4,opt,name=oem_font,json=oemFont,proto3,enum=meshtastic.ScreenFonts" json:"oem_font,omitempty"`
	// Use this font for the OEM text.
	OemText string `protobuf:"bytes,5,opt,name=oem_text,json=oemText,proto3" json:"oem_text,omitempty"`
	// The default device encryption key, 16 or 32 byte
	OemAesKey []byte `protobuf:"bytes,6,opt,name=oem_aes_key,json=oemAesKey,proto3" json:"oem_aes_key,omitempty"`
	// A Preset LocalConfig to apply during factory reset
	OemLocalConfig *LocalConfig `protobuf:"bytes,7,opt,name=oem_local_config,json=oemLocalConfig,proto3" json:"oem_local_config,omitempty"`
	// A Preset LocalModuleConfig to apply during factory reset
	OemLocalModuleConfig *LocalModuleConfig `protobuf:"bytes,8,opt,name=oem_local_module_config,json=oemLocalModuleConfig,proto3" json:"oem_local_module_config,omitempty"`
	// contains filtered or unexported fields
}

This can be used for customizing the firmware distribution. If populated, show a secondary bootup screen with custom logo and text for 2.5 seconds.

func (*OEMStore) Descriptor deprecated

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

Deprecated: Use OEMStore.ProtoReflect.Descriptor instead.

func (*OEMStore) GetOemAesKey

func (x *OEMStore) GetOemAesKey() []byte

func (*OEMStore) GetOemFont

func (x *OEMStore) GetOemFont() ScreenFonts

func (*OEMStore) GetOemIconBits

func (x *OEMStore) GetOemIconBits() []byte

func (*OEMStore) GetOemIconHeight

func (x *OEMStore) GetOemIconHeight() uint32

func (*OEMStore) GetOemIconWidth

func (x *OEMStore) GetOemIconWidth() uint32

func (*OEMStore) GetOemLocalConfig

func (x *OEMStore) GetOemLocalConfig() *LocalConfig

func (*OEMStore) GetOemLocalModuleConfig

func (x *OEMStore) GetOemLocalModuleConfig() *LocalModuleConfig

func (*OEMStore) GetOemText

func (x *OEMStore) GetOemText() string

func (*OEMStore) ProtoMessage

func (*OEMStore) ProtoMessage()

func (*OEMStore) ProtoReflect

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

func (*OEMStore) Reset

func (x *OEMStore) Reset()

func (*OEMStore) String

func (x *OEMStore) String() string

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) Descriptor deprecated

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

Deprecated: Use PLI.ProtoReflect.Descriptor instead.

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

func (x *PLI) String() string

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) Descriptor deprecated

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

Deprecated: Use Paxcount.ProtoReflect.Descriptor instead.

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

func (x *Paxcount) String() string

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
	// Provides a 'ping' service that replies to any packet it receives.
	// Also serves as a small example module.
	// ENCODING: ASCII Plaintext
	PortNum_REPLY_APP PortNum = 32
	// Used for the python IP tunnel feature
	// ENCODING: IP Packet. Handled by the python API, firmware ignores this one and pases on.
	PortNum_IP_TUNNEL_APP PortNum = 33
	// Paxcounter lib included in the firmware
	// ENCODING: protobuf
	PortNum_PAXCOUNTER_APP PortNum = 34
	// Provides a hardware serial interface to send and receive from the Meshtastic network.
	// Connect to the RX/TX pins of a device with 38400 8N1. Packets received from the Meshtastic
	// network is forwarded to the RX pin while sending a packet to TX will go out to the Mesh network.
	// Maximum packet size of 240 bytes.
	// Module is disabled by default can be turned on by setting SERIAL_MODULE_ENABLED = 1 in SerialPlugh.cpp.
	// ENCODING: binary undefined
	PortNum_SERIAL_APP PortNum = 64
	// STORE_FORWARD_APP (Work in Progress)
	// Maintained by Jm Casler (MC Hamster) : jm@casler.org
	// ENCODING: Protobuf
	PortNum_STORE_FORWARD_APP PortNum = 65
	// Optional port for messages for the range test module.
	// ENCODING: ASCII Plaintext
	// NOTE: This portnum traffic is not sent to the public MQTT starting at firmware version 2.2.9
	PortNum_RANGE_TEST_APP PortNum = 66
	// Provides a format to send and receive telemetry data from the Meshtastic network.
	// Maintained by Charles Crossan (crossan007) : crossan007@gmail.com
	// ENCODING: Protobuf
	PortNum_TELEMETRY_APP PortNum = 67
	// Experimental tools for estimating node position without a GPS
	// Maintained by Github user a-f-G-U-C (a Meshtastic contributor)
	// Project files at https://github.com/a-f-G-U-C/Meshtastic-ZPS
	// ENCODING: arrays of int64 fields
	PortNum_ZPS_APP PortNum = 68
	// Used to let multiple instances of Linux native applications communicate
	// as if they did using their LoRa chip.
	// Maintained by GitHub user GUVWAF.
	// Project files at https://github.com/GUVWAF/Meshtasticator
	// ENCODING: Protobuf (?)
	PortNum_SIMULATOR_APP PortNum = 69
	// Provides a traceroute functionality to show the route a packet towards
	// a certain destination would take on the mesh.
	// ENCODING: Protobuf
	PortNum_TRACEROUTE_APP PortNum = 70
	// Aggregates edge info for the network by sending out a list of each node's neighbors
	// ENCODING: Protobuf
	PortNum_NEIGHBORINFO_APP PortNum = 71
	// ATAK Plugin
	// Portnum for payloads from the official Meshtastic ATAK plugin
	PortNum_ATAK_PLUGIN PortNum = 72
	// Provides unencrypted information about a node for consumption by a map via MQTT
	PortNum_MAP_REPORT_APP PortNum = 73
	// 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) EnumDescriptor deprecated

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

Deprecated: Use PortNum.Descriptor instead.

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" json:"latitude_i,omitempty"`
	// TODO: REPLACE
	LongitudeI int32 `protobuf:"fixed32,2,opt,name=longitude_i,json=longitudeI,proto3" json:"longitude_i,omitempty"`
	// In meters above MSL (but see issue #359)
	Altitude int32 `protobuf:"varint,3,opt,name=altitude,proto3" json:"altitude,omitempty"`
	// This is usually not sent over the mesh (to save space), but it is sent
	// from the phone so that the local device can set its time if it is sent over
	// the mesh (because there are devices on the mesh without GPS or RTC).
	// seconds since 1970
	Time uint32 `protobuf:"fixed32,4,opt,name=time,proto3" json:"time,omitempty"`
	// TODO: REPLACE
	LocationSource Position_LocSource `` /* 139-byte string literal not displayed */
	// TODO: REPLACE
	AltitudeSource Position_AltSource `` /* 139-byte string literal not displayed */
	// Positional timestamp (actual timestamp of GPS solution) in integer epoch seconds
	Timestamp uint32 `protobuf:"fixed32,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Pos. timestamp milliseconds adjustment (rarely available or required)
	TimestampMillisAdjust int32 `` /* 127-byte string literal not displayed */
	// HAE altitude in meters - can be used instead of MSL altitude
	AltitudeHae int32 `protobuf:"zigzag32,9,opt,name=altitude_hae,json=altitudeHae,proto3" json:"altitude_hae,omitempty"`
	// Geoidal separation in meters
	AltitudeGeoidalSeparation int32 `` /* 142-byte string literal not displayed */
	// Horizontal, Vertical and Position Dilution of Precision, in 1/100 units
	//   - PDOP is sufficient for most cases
	//   - for higher precision scenarios, HDOP and VDOP can be used instead,
	//     in which case PDOP becomes redundant (PDOP=sqrt(HDOP^2 + VDOP^2))
	//
	// TODO: REMOVE/INTEGRATE
	PDOP uint32 `protobuf:"varint,11,opt,name=PDOP,proto3" json:"PDOP,omitempty"`
	// TODO: REPLACE
	HDOP uint32 `protobuf:"varint,12,opt,name=HDOP,proto3" json:"HDOP,omitempty"`
	// TODO: REPLACE
	VDOP uint32 `protobuf:"varint,13,opt,name=VDOP,proto3" json:"VDOP,omitempty"`
	// GPS accuracy (a hardware specific constant) in mm
	//
	//	multiplied with DOP to calculate positional accuracy
	//
	// Default: "'bout three meters-ish" :)
	GpsAccuracy uint32 `protobuf:"varint,14,opt,name=gps_accuracy,json=gpsAccuracy,proto3" json:"gps_accuracy,omitempty"`
	// Ground speed in m/s and True North TRACK in 1/100 degrees
	// Clarification of terms:
	// - "track" is the direction of motion (measured in horizontal plane)
	// - "heading" is where the fuselage points (measured in horizontal plane)
	// - "yaw" indicates a relative rotation about the vertical axis
	// TODO: REMOVE/INTEGRATE
	GroundSpeed uint32 `protobuf:"varint,15,opt,name=ground_speed,json=groundSpeed,proto3" json:"ground_speed,omitempty"`
	// TODO: REPLACE
	GroundTrack uint32 `protobuf:"varint,16,opt,name=ground_track,json=groundTrack,proto3" json:"ground_track,omitempty"`
	// GPS fix quality (from NMEA GxGGA statement or similar)
	FixQuality uint32 `protobuf:"varint,17,opt,name=fix_quality,json=fixQuality,proto3" json:"fix_quality,omitempty"`
	// GPS fix type 2D/3D (from NMEA GxGSA statement)
	FixType uint32 `protobuf:"varint,18,opt,name=fix_type,json=fixType,proto3" json:"fix_type,omitempty"`
	// GPS "Satellites in View" number
	SatsInView uint32 `protobuf:"varint,19,opt,name=sats_in_view,json=satsInView,proto3" json:"sats_in_view,omitempty"`
	// Sensor ID - in case multiple positioning sensors are being used
	SensorId uint32 `protobuf:"varint,20,opt,name=sensor_id,json=sensorId,proto3" json:"sensor_id,omitempty"`
	// Estimated/expected time (in seconds) until next update:
	//   - if we update at fixed intervals of X seconds, use X
	//   - if we update at dynamic intervals (based on relative movement etc),
	//     but "AT LEAST every Y seconds", use Y
	NextUpdate uint32 `protobuf:"varint,21,opt,name=next_update,json=nextUpdate,proto3" json:"next_update,omitempty"`
	// A sequence number, incremented with each Position message to help
	//
	//	detect lost updates if needed
	SeqNumber uint32 `protobuf:"varint,22,opt,name=seq_number,json=seqNumber,proto3" json:"seq_number,omitempty"`
	// 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) Descriptor deprecated

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

Deprecated: Use Position.ProtoReflect.Descriptor instead.

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

func (*Position) ProtoMessage()

func (*Position) ProtoReflect

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

func (*Position) Reset

func (x *Position) Reset()

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) Descriptor deprecated

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

Deprecated: Use PositionLite.ProtoReflect.Descriptor instead.

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

func (x *PositionLite) String() string

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) EnumDescriptor deprecated

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

Deprecated: Use Position_AltSource.Descriptor instead.

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) EnumDescriptor deprecated

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

Deprecated: Use Position_LocSource.Descriptor instead.

func (Position_LocSource) Number

func (Position_LocSource) String

func (x Position_LocSource) String() string

func (Position_LocSource) Type

type PowerMetrics

type PowerMetrics struct {

	//
	// Voltage (Ch1)
	Ch1Voltage float32 `protobuf:"fixed32,1,opt,name=ch1_voltage,json=ch1Voltage,proto3" json:"ch1_voltage,omitempty"`
	//
	// Current (Ch1)
	Ch1Current float32 `protobuf:"fixed32,2,opt,name=ch1_current,json=ch1Current,proto3" json:"ch1_current,omitempty"`
	//
	// Voltage (Ch2)
	Ch2Voltage float32 `protobuf:"fixed32,3,opt,name=ch2_voltage,json=ch2Voltage,proto3" json:"ch2_voltage,omitempty"`
	//
	// Current (Ch2)
	Ch2Current float32 `protobuf:"fixed32,4,opt,name=ch2_current,json=ch2Current,proto3" json:"ch2_current,omitempty"`
	//
	// Voltage (Ch3)
	Ch3Voltage float32 `protobuf:"fixed32,5,opt,name=ch3_voltage,json=ch3Voltage,proto3" json:"ch3_voltage,omitempty"`
	//
	// Current (Ch3)
	Ch3Current float32 `protobuf:"fixed32,6,opt,name=ch3_current,json=ch3Current,proto3" json:"ch3_current,omitempty"`
	// contains filtered or unexported fields
}

Power Metrics (voltage / current / etc)

func (*PowerMetrics) Descriptor deprecated

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

Deprecated: Use PowerMetrics.ProtoReflect.Descriptor instead.

func (*PowerMetrics) GetCh1Current

func (x *PowerMetrics) GetCh1Current() float32

func (*PowerMetrics) GetCh1Voltage

func (x *PowerMetrics) GetCh1Voltage() float32

func (*PowerMetrics) GetCh2Current

func (x *PowerMetrics) GetCh2Current() float32

func (*PowerMetrics) GetCh2Voltage

func (x *PowerMetrics) GetCh2Voltage() float32

func (*PowerMetrics) GetCh3Current

func (x *PowerMetrics) GetCh3Current() float32

func (*PowerMetrics) GetCh3Voltage

func (x *PowerMetrics) GetCh3Voltage() float32

func (*PowerMetrics) ProtoMessage

func (*PowerMetrics) ProtoMessage()

func (*PowerMetrics) ProtoReflect

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

func (*PowerMetrics) Reset

func (x *PowerMetrics) Reset()

func (*PowerMetrics) String

func (x *PowerMetrics) String() string

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) Descriptor deprecated

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

Deprecated: Use QueueStatus.ProtoReflect.Descriptor instead.

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

func (x *QueueStatus) String() string

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) Descriptor deprecated

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

Deprecated: Use RTTTLConfig.ProtoReflect.Descriptor instead.

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

func (x *RTTTLConfig) String() string

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) Descriptor deprecated

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

Deprecated: Use RemoteHardwarePin.ProtoReflect.Descriptor instead.

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) 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) EnumDescriptor deprecated

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

Deprecated: Use RemoteHardwarePinType.Descriptor instead.

func (RemoteHardwarePinType) Number

func (RemoteHardwarePinType) String

func (x RemoteHardwarePinType) String() string

func (RemoteHardwarePinType) Type

type RouteDiscovery

type RouteDiscovery struct {

	// The list of nodenums this packet has visited so far
	Route []uint32 `protobuf:"fixed32,1,rep,packed,name=route,proto3" json:"route,omitempty"`
	// contains filtered or unexported fields
}

A message used in our Dynamic Source Routing protocol (RFC 4728 based)

func (*RouteDiscovery) Descriptor deprecated

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

Deprecated: Use RouteDiscovery.ProtoReflect.Descriptor instead.

func (*RouteDiscovery) GetRoute

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

func (*RouteDiscovery) ProtoMessage

func (*RouteDiscovery) ProtoMessage()

func (*RouteDiscovery) ProtoReflect

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

func (*RouteDiscovery) Reset

func (x *RouteDiscovery) Reset()

func (*RouteDiscovery) String

func (x *RouteDiscovery) String() string

type Routing

type Routing struct {

	// Types that are assignable 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) Descriptor deprecated

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

Deprecated: Use Routing.ProtoReflect.Descriptor instead.

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 (m *Routing) GetVariant() isRouting_Variant

func (*Routing) ProtoMessage

func (*Routing) ProtoMessage()

func (*Routing) ProtoReflect

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

func (*Routing) Reset

func (x *Routing) Reset()

func (*Routing) String

func (x *Routing) String() string

type Routing_Error

type Routing_Error int32

A failure in delivering a message (usually used for routing control messages, but might be provided in addition to ack.fail_id to provide details on the type of failure).

const (
	// This message is not a failure
	Routing_NONE Routing_Error = 0
	// Our node doesn't have a route to the requested destination anymore.
	Routing_NO_ROUTE Routing_Error = 1
	// We received a nak while trying to forward on your behalf
	Routing_GOT_NAK Routing_Error = 2
	// TODO: REPLACE
	Routing_TIMEOUT Routing_Error = 3
	// No suitable interface could be found for delivering this packet
	Routing_NO_INTERFACE Routing_Error = 4
	// We reached the max retransmission count (typically for naive flood routing)
	Routing_MAX_RETRANSMIT Routing_Error = 5
	// No suitable channel was found for sending this packet (i.e. was requested channel index disabled?)
	Routing_NO_CHANNEL Routing_Error = 6
	// The packet was too big for sending (exceeds interface MTU after encoding)
	Routing_TOO_LARGE Routing_Error = 7
	// The request had want_response set, the request reached the destination node, but no service on that node wants to send a response
	// (possibly due to bad channel permissions)
	Routing_NO_RESPONSE Routing_Error = 8
	// Cannot send currently because duty cycle regulations will be violated.
	Routing_DUTY_CYCLE_LIMIT Routing_Error = 9
	// The application layer service on the remote node received your request, but considered your request somehow invalid
	Routing_BAD_REQUEST Routing_Error = 32
	// The application layer service on the remote node received your request, but considered your request not authorized
	// (i.e you did not send the request on the required bound channel)
	Routing_NOT_AUTHORIZED Routing_Error = 33
)

func (Routing_Error) Descriptor

func (Routing_Error) Enum

func (x Routing_Error) Enum() *Routing_Error

func (Routing_Error) EnumDescriptor deprecated

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

Deprecated: Use Routing_Error.Descriptor instead.

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 ScreenFonts

type ScreenFonts int32

Font sizes for the device screen

const (
	// TODO: REPLACE
	ScreenFonts_FONT_SMALL ScreenFonts = 0
	// TODO: REPLACE
	ScreenFonts_FONT_MEDIUM ScreenFonts = 1
	// TODO: REPLACE
	ScreenFonts_FONT_LARGE ScreenFonts = 2
)

func (ScreenFonts) Descriptor

func (ScreenFonts) Enum

func (x ScreenFonts) Enum() *ScreenFonts

func (ScreenFonts) EnumDescriptor deprecated

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

Deprecated: Use ScreenFonts.Descriptor instead.

func (ScreenFonts) Number

func (x ScreenFonts) Number() protoreflect.EnumNumber

func (ScreenFonts) String

func (x ScreenFonts) String() string

func (ScreenFonts) Type

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) Descriptor deprecated

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

Deprecated: Use SerialConnectionStatus.ProtoReflect.Descriptor instead.

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

func (x *SerialConnectionStatus) String() string

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) Descriptor deprecated

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

Deprecated: Use ServiceEnvelope.ProtoReflect.Descriptor instead.

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

func (*ServiceEnvelope) ProtoMessage()

func (*ServiceEnvelope) ProtoReflect

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

func (*ServiceEnvelope) Reset

func (x *ServiceEnvelope) Reset()

func (*ServiceEnvelope) String

func (x *ServiceEnvelope) String() string

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) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

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

func (x *Status) String() string

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 assignable 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) Descriptor deprecated

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

Deprecated: Use StoreAndForward.ProtoReflect.Descriptor instead.

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 (m *StoreAndForward) GetVariant() isStoreAndForward_Variant

func (*StoreAndForward) ProtoMessage

func (*StoreAndForward) ProtoMessage()

func (*StoreAndForward) ProtoReflect

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

func (*StoreAndForward) Reset

func (x *StoreAndForward) Reset()

func (*StoreAndForward) String

func (x *StoreAndForward) String() string

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) Descriptor deprecated

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

Deprecated: Use StoreAndForward_Heartbeat.ProtoReflect.Descriptor instead.

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) 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_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) Descriptor deprecated

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

Deprecated: Use StoreAndForward_History.ProtoReflect.Descriptor instead.

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) 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_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) EnumDescriptor deprecated

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

Deprecated: Use StoreAndForward_RequestResponse.Descriptor instead.

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) Descriptor deprecated

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

Deprecated: Use StoreAndForward_Statistics.ProtoReflect.Descriptor instead.

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

func (x *StoreAndForward_Statistics) String() string

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

Packets for the official ATAK Plugin

func (*TAKPacket) Descriptor deprecated

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

Deprecated: Use TAKPacket.ProtoReflect.Descriptor instead.

func (*TAKPacket) GetChat

func (x *TAKPacket) GetChat() *GeoChat

func (*TAKPacket) GetContact

func (x *TAKPacket) GetContact() *Contact

func (*TAKPacket) GetGroup

func (x *TAKPacket) GetGroup() *Group

func (*TAKPacket) GetIsCompressed

func (x *TAKPacket) GetIsCompressed() bool

func (*TAKPacket) GetPayloadVariant

func (m *TAKPacket) GetPayloadVariant() isTAKPacket_PayloadVariant

func (*TAKPacket) GetPli

func (x *TAKPacket) GetPli() *PLI

func (*TAKPacket) GetStatus

func (x *TAKPacket) GetStatus() *Status

func (*TAKPacket) ProtoMessage

func (*TAKPacket) ProtoMessage()

func (*TAKPacket) ProtoReflect

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

func (*TAKPacket) Reset

func (x *TAKPacket) Reset()

func (*TAKPacket) String

func (x *TAKPacket) String() string

type TAKPacket_Chat

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

type TAKPacket_Pli

type TAKPacket_Pli struct {
	// TAK position report
	Pli *PLI `protobuf:"bytes,5,opt,name=pli,proto3,oneof"`
}

type 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) EnumDescriptor deprecated

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

Deprecated: Use Team.Descriptor instead.

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 assignable to Variant:
	//
	//	*Telemetry_DeviceMetrics
	//	*Telemetry_EnvironmentMetrics
	//	*Telemetry_AirQualityMetrics
	//	*Telemetry_PowerMetrics
	Variant isTelemetry_Variant `protobuf_oneof:"variant"`
	// contains filtered or unexported fields
}

Types of Measurements the telemetry module is equipped to handle

func (*Telemetry) Descriptor deprecated

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

Deprecated: Use Telemetry.ProtoReflect.Descriptor instead.

func (*Telemetry) GetAirQualityMetrics

func (x *Telemetry) GetAirQualityMetrics() *AirQualityMetrics

func (*Telemetry) GetDeviceMetrics

func (x *Telemetry) GetDeviceMetrics() *DeviceMetrics

func (*Telemetry) GetEnvironmentMetrics

func (x *Telemetry) GetEnvironmentMetrics() *EnvironmentMetrics

func (*Telemetry) GetPowerMetrics

func (x *Telemetry) GetPowerMetrics() *PowerMetrics

func (*Telemetry) GetTime

func (x *Telemetry) GetTime() uint32

func (*Telemetry) GetVariant

func (m *Telemetry) GetVariant() isTelemetry_Variant

func (*Telemetry) ProtoMessage

func (*Telemetry) ProtoMessage()

func (*Telemetry) ProtoReflect

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

func (*Telemetry) Reset

func (x *Telemetry) Reset()

func (*Telemetry) String

func (x *Telemetry) String() string

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
)

func (TelemetrySensorType) Descriptor

func (TelemetrySensorType) Enum

func (TelemetrySensorType) EnumDescriptor deprecated

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

Deprecated: Use TelemetrySensorType.Descriptor instead.

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_PowerMetrics

type Telemetry_PowerMetrics struct {
	//
	// Power Metrics
	PowerMetrics *PowerMetrics `protobuf:"bytes,5,opt,name=power_metrics,json=powerMetrics,proto3,oneof"`
}

type ToRadio

type ToRadio struct {

	// Log levels, chosen to match python logging conventions.
	//
	// Types that are assignable 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) Descriptor deprecated

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

Deprecated: Use ToRadio.ProtoReflect.Descriptor instead.

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 (m *ToRadio) GetPayloadVariant() isToRadio_PayloadVariant

func (*ToRadio) GetWantConfigId

func (x *ToRadio) GetWantConfigId() uint32

func (*ToRadio) GetXmodemPacket

func (x *ToRadio) GetXmodemPacket() *XModem

func (*ToRadio) ProtoMessage

func (*ToRadio) ProtoMessage()

func (*ToRadio) ProtoReflect

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

func (*ToRadio) Reset

func (x *ToRadio) Reset()

func (*ToRadio) String

func (x *ToRadio) String() string

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 User

type User struct {

	// A globally unique ID string for this user.
	// In the case of Signal that would mean +16504442323, for the default macaddr derived id it would be !<8 hexidecimal bytes>.
	// Note: app developers are encouraged to also use the following standard
	// node IDs "^all" (for broadcast), "^local" (for the locally connected node)
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A full name for this user, i.e. "Kevin Hester"
	LongName string `protobuf:"bytes,2,opt,name=long_name,json=longName,proto3" json:"long_name,omitempty"`
	// A VERY short name, ideally two characters.
	// Suitable for a tiny OLED screen
	ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
	// Deprecated in Meshtastic 2.1.x
	// This is the addr of the radio.
	// Not populated by the phone, but added by the esp32 when broadcasting
	//
	// Deprecated: Marked as deprecated in meshtastic/mesh.proto.
	Macaddr []byte `protobuf:"bytes,4,opt,name=macaddr,proto3" json:"macaddr,omitempty"`
	// TBEAM, HELTEC, etc...
	// Starting in 1.2.11 moved to hw_model enum in the NodeInfo object.
	// Apps will still need the string here for older builds
	// (so OTA update can find the right image), but if the enum is available it will be used instead.
	HwModel HardwareModel `protobuf:"varint,5,opt,name=hw_model,json=hwModel,proto3,enum=meshtastic.HardwareModel" json:"hw_model,omitempty"`
	// In some regions Ham radio operators have different bandwidth limitations than others.
	// If this user is a licensed operator, set this flag.
	// Also, "long_name" should be their licence number.
	IsLicensed bool `protobuf:"varint,6,opt,name=is_licensed,json=isLicensed,proto3" json:"is_licensed,omitempty"`
	// Indicates that the user's role in the mesh
	Role Config_DeviceConfig_Role `protobuf:"varint,7,opt,name=role,proto3,enum=meshtastic.Config_DeviceConfig_Role" json:"role,omitempty"`
	// contains filtered or unexported fields
}

Broadcast when a newly powered mesh node wants to find a node num it can use Sent from the phone over bluetooth to set the user id for the owner of this node. Also sent from nodes to each other when a new node signs on (so all clients can have this info) The algorithm is as follows: when a node starts up, it broadcasts their user and the normal flow is for all other nodes to reply with their User as well (so the new node can build its nodedb) If a node ever receives a User (not just the first broadcast) message where the sender node number equals our node number, that indicates a collision has occurred and the following steps should happen: If the receiving node (that was already in the mesh)'s macaddr is LOWER than the new User who just tried to sign in: it gets to keep its nodenum. We send a broadcast message of OUR User (we use a broadcast so that the other node can receive our message, considering we have the same id - it also serves to let observers correct their nodedb) - this case is rare so it should be okay. If any node receives a User where the macaddr is GTE than their local macaddr, they have been vetoed and should pick a new random nodenum (filtering against whatever it knows about the nodedb) and rebroadcast their User. A few nodenums are reserved and will never be requested: 0xff - broadcast 0 through 3 - for future use

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

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

func (x *User) GetRole() Config_DeviceConfig_Role

func (*User) GetShortName

func (x *User) GetShortName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type Waypoint

type Waypoint struct {

	// Id of the waypoint
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// latitude_i
	LatitudeI int32 `protobuf:"fixed32,2,opt,name=latitude_i,json=latitudeI,proto3" json:"latitude_i,omitempty"`
	// longitude_i
	LongitudeI int32 `protobuf:"fixed32,3,opt,name=longitude_i,json=longitudeI,proto3" json:"longitude_i,omitempty"`
	// Time the waypoint is to expire (epoch)
	Expire uint32 `protobuf:"varint,4,opt,name=expire,proto3" json:"expire,omitempty"`
	// If greater than zero, treat the value as a nodenum only allowing them to update the waypoint.
	// If zero, the waypoint is open to be edited by any member of the mesh.
	LockedTo uint32 `protobuf:"varint,5,opt,name=locked_to,json=lockedTo,proto3" json:"locked_to,omitempty"`
	// Name of the waypoint - max 30 chars
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the waypoint - max 100 chars
	Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	// Designator icon for the waypoint in the form of a unicode emoji
	Icon uint32 `protobuf:"fixed32,8,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

Waypoint message, used to share arbitrary locations across the mesh

func (*Waypoint) Descriptor deprecated

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

Deprecated: Use Waypoint.ProtoReflect.Descriptor instead.

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

func (*Waypoint) ProtoMessage()

func (*Waypoint) ProtoReflect

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

func (*Waypoint) Reset

func (x *Waypoint) Reset()

func (*Waypoint) String

func (x *Waypoint) String() string

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) Descriptor deprecated

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

Deprecated: Use WifiConnectionStatus.ProtoReflect.Descriptor instead.

func (*WifiConnectionStatus) GetRssi

func (x *WifiConnectionStatus) GetRssi() int32

func (*WifiConnectionStatus) GetSsid

func (x *WifiConnectionStatus) GetSsid() string

func (*WifiConnectionStatus) GetStatus

func (*WifiConnectionStatus) ProtoMessage

func (*WifiConnectionStatus) ProtoMessage()

func (*WifiConnectionStatus) ProtoReflect

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

func (*WifiConnectionStatus) Reset

func (x *WifiConnectionStatus) Reset()

func (*WifiConnectionStatus) String

func (x *WifiConnectionStatus) String() string

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) Descriptor deprecated

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

Deprecated: Use XModem.ProtoReflect.Descriptor instead.

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) 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) EnumDescriptor deprecated

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

Deprecated: Use XModem_Control.Descriptor instead.

func (XModem_Control) Number

func (XModem_Control) String

func (x XModem_Control) String() string

func (XModem_Control) Type

Jump to

Keyboard shortcuts

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