mirror of
https://github.com/meshtastic/python.git
synced 2025-12-26 01:17:51 -05:00
66 lines
3.3 KiB
Python
66 lines
3.3 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: deviceonly.proto
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf.internal import enum_type_wrapper
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
from google.protobuf import message as _message
|
|
from google.protobuf import reflection as _reflection
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
from . import channel_pb2 as channel__pb2
|
|
from . import mesh_pb2 as mesh__pb2
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10\x64\x65viceonly.proto\x1a\rchannel.proto\x1a\nmesh.proto\"\xe6\x01\n\x0b\x44\x65viceState\x12\x1c\n\x07my_node\x18\x02 \x01(\x0b\x32\x0b.MyNodeInfo\x12\x14\n\x05owner\x18\x03 \x01(\x0b\x32\x05.User\x12\x1a\n\x07node_db\x18\x04 \x03(\x0b\x32\t.NodeInfo\x12\"\n\rreceive_queue\x18\x05 \x03(\x0b\x32\x0b.MeshPacket\x12\x0f\n\x07version\x18\x08 \x01(\r\x12$\n\x0frx_text_message\x18\x07 \x01(\x0b\x32\x0b.MeshPacket\x12\x0f\n\x07no_save\x18\t \x01(\x08\x12\x15\n\rdid_gps_reset\x18\x0b \x01(\x08J\x04\x08\x0c\x10\r\":\n\x0b\x43hannelFile\x12\x1a\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x08.Channel\x12\x0f\n\x07version\x18\x02 \x01(\r\"\x84\x01\n\x08OEMStore\x12\x16\n\x0eoem_icon_width\x18\x01 \x01(\r\x12\x17\n\x0foem_icon_height\x18\x02 \x01(\r\x12\x15\n\roem_icon_bits\x18\x03 \x01(\x0c\x12\x1e\n\x08oem_font\x18\x04 \x01(\x0e\x32\x0c.ScreenFonts\x12\x10\n\x08oem_text\x18\x05 \x01(\t*>\n\x0bScreenFonts\x12\x0e\n\nFONT_SMALL\x10\x00\x12\x0f\n\x0b\x46ONT_MEDIUM\x10\x01\x12\x0e\n\nFONT_LARGE\x10\x02\x42\x46\n\x13\x63om.geeksville.meshB\nDeviceOnlyH\x03Z!github.com/meshtastic/gomeshprotob\x06proto3')
|
|
|
|
_SCREENFONTS = DESCRIPTOR.enum_types_by_name['ScreenFonts']
|
|
ScreenFonts = enum_type_wrapper.EnumTypeWrapper(_SCREENFONTS)
|
|
FONT_SMALL = 0
|
|
FONT_MEDIUM = 1
|
|
FONT_LARGE = 2
|
|
|
|
|
|
_DEVICESTATE = DESCRIPTOR.message_types_by_name['DeviceState']
|
|
_CHANNELFILE = DESCRIPTOR.message_types_by_name['ChannelFile']
|
|
_OEMSTORE = DESCRIPTOR.message_types_by_name['OEMStore']
|
|
DeviceState = _reflection.GeneratedProtocolMessageType('DeviceState', (_message.Message,), {
|
|
'DESCRIPTOR' : _DEVICESTATE,
|
|
'__module__' : 'deviceonly_pb2'
|
|
# @@protoc_insertion_point(class_scope:DeviceState)
|
|
})
|
|
_sym_db.RegisterMessage(DeviceState)
|
|
|
|
ChannelFile = _reflection.GeneratedProtocolMessageType('ChannelFile', (_message.Message,), {
|
|
'DESCRIPTOR' : _CHANNELFILE,
|
|
'__module__' : 'deviceonly_pb2'
|
|
# @@protoc_insertion_point(class_scope:ChannelFile)
|
|
})
|
|
_sym_db.RegisterMessage(ChannelFile)
|
|
|
|
OEMStore = _reflection.GeneratedProtocolMessageType('OEMStore', (_message.Message,), {
|
|
'DESCRIPTOR' : _OEMSTORE,
|
|
'__module__' : 'deviceonly_pb2'
|
|
# @@protoc_insertion_point(class_scope:OEMStore)
|
|
})
|
|
_sym_db.RegisterMessage(OEMStore)
|
|
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
|
DESCRIPTOR._options = None
|
|
DESCRIPTOR._serialized_options = b'\n\023com.geeksville.meshB\nDeviceOnlyH\003Z!github.com/meshtastic/gomeshproto'
|
|
_SCREENFONTS._serialized_start=475
|
|
_SCREENFONTS._serialized_end=537
|
|
_DEVICESTATE._serialized_start=48
|
|
_DEVICESTATE._serialized_end=278
|
|
_CHANNELFILE._serialized_start=280
|
|
_CHANNELFILE._serialized_end=338
|
|
_OEMSTORE._serialized_start=341
|
|
_OEMSTORE._serialized_end=473
|
|
# @@protoc_insertion_point(module_scope)
|