# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: all.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\tall.proto\x12\x03\x61ll\"#\n\x14UsbBootloaderRequest\x12\x0b\n\x03val\x18\x01 \x01(\r\"\x17\n\x05\x45mpty\x12\x0e\n\x06status\x18\x01 \x01(\r\"\x1e\n\x0b\x45\x63hoMessage\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x12\n\x10GetStatusRequest\"#\n\x0fGPIOReadRequest\x12\x10\n\x08gpio_pin\x18\x01 \x01(\r\"!\n\x10GPIOReadResponse\x12\r\n\x05state\x18\x01 \x01(\x08\"3\n\x10GPIOWriteRequest\x12\x10\n\x08gpio_pin\x18\x01 \x01(\r\x12\r\n\x05state\x18\x02 \x01(\x08\"p\n\x0fSPISetupRequest\x12\x10\n\x08sclk_pin\x18\x02 \x01(\r\x12\x10\n\x08mosi_pin\x18\x03 \x01(\r\x12\x10\n\x08miso_pin\x18\x04 \x01(\r\x12\x14\n\x0cinstance_num\x18\x05 \x01(\r\x12\x11\n\tbaud_rate\x18\x06 \x01(\r\"E\n\x0fSPIWriteRequest\x12\x14\n\x0cinstance_num\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0e\n\x06\x63s_pin\x18\x03 \x01(\r\"W\n\x13SoftSPIWriteRequest\x12\x0e\n\x06\x63s_pin\x18\x01 \x01(\r\x12\x10\n\x08sclk_pin\x18\x02 \x01(\r\x12\x10\n\x08mosi_pin\x18\x03 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\"X\n\x0eSPIReadRequest\x12\x14\n\x0cinstance_num\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\r\x12\x0e\n\x06\x63s_pin\x18\x03 \x01(\r\x12\x12\n\nbyte_count\x18\x04 \x01(\r\"\x1f\n\x0fSPIReadResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"I\n\x0fI2CSetupRequest\x12\x0f\n\x07sda_pin\x18\x01 \x01(\r\x12\x0f\n\x07scl_pin\x18\x02 \x01(\r\x12\x14\n\x0cinstance_num\x18\x03 \x01(\r\"M\n\x0fI2CWriteRequest\x12\x14\n\x0cinstance_num\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x16\n\x0e\x64\x65vice_address\x18\x03 \x01(\r\"`\n\x0eI2CReadRequest\x12\x14\n\x0cinstance_num\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x16\n\x0e\x64\x65vice_address\x18\x03 \x01(\r\x12\x12\n\nbyte_count\x18\x04 \x01(\r\"\x1f\n\x0fI2CReadResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"<\n\x0fGPIOModeRequest\x12\x10\n\x08gpio_pin\x18\x01 \x01(\r\x12\x17\n\x04mode\x18\x02 \x01(\x0e\x32\t.all.Mode\" \n\rErrorResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\"#\n\x10UsbPDReadRequest\x12\x0f\n\x07\x63hannel\x18\x01 \x01(\r\"\x95\x01\n\x11UsbPDReadResponse\x12\x1b\n\x13measured_voltage_mv\x18\x01 \x01(\r\x12\x1b\n\x13measured_current_ma\x18\x02 \x01(\r\x12\x1c\n\x14requested_voltage_mv\x18\x03 \x01(\r\x12\x1c\n\x14requested_current_ma\x18\x04 \x01(\r\x12\n\n\x02on\x18\x05 \x01(\x08\"5\n\x13UsbPDReadPDORequest\x12\x0f\n\x07\x63hannel\x18\x01 \x01(\r\x12\r\n\x05index\x18\x02 \x01(\r\".\n\x1bUsbPDReadTemperatureRequest\x12\x0f\n\x07\x63hannel\x18\x01 \x01(\r\"T\n\x1cUsbPDReadTemperatureResponse\x12\x19\n\x11temperature_ch1_c\x18\x01 \x01(\r\x12\x19\n\x11temperature_ch2_c\x18\x02 \x01(\r\"6\n\x10WriteTextRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\t\n\x01x\x18\x02 \x01(\r\x12\t\n\x01y\x18\x03 \x01(\r\"h\n\x14UsbPDReadPDOResponse\x12\x12\n\nvoltage_mv\x18\x01 \x01(\r\x12\x12\n\ncurrent_ma\x18\x02 \x01(\r\x12\x10\n\x08is_fixed\x18\x03 \x01(\x08\x12\x16\n\x0evoltage_mv_min\x18\x04 \x01(\r\"1\n\x12UsbPDEnableRequest\x12\x0f\n\x07\x63hannel\x18\x01 \x01(\r\x12\n\n\x02on\x18\x02 \x01(\x08\"\x14\n\x12\x43learScreenRequest\"\x16\n\x14RefreshScreenRequest\"[\n\x10UartSetupRequest\x12\x11\n\tbaud_rate\x18\x01 \x01(\r\x12\x0e\n\x06tx_pin\x18\x02 \x01(\r\x12\x0e\n\x06rx_pin\x18\x03 \x01(\r\x12\x14\n\x0cinstance_num\x18\x04 \x01(\r\"J\n\x10UartWriteRequest\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x12\n\ntimeout_ms\x18\x02 \x01(\r\x12\x14\n\x0cinstance_num\x18\x03 \x01(\r\"O\n\x0fUartReadRequest\x12\x12\n\nbyte_count\x18\x01 \x01(\r\x12\x12\n\ntimeout_ms\x18\x02 \x01(\r\x12\x14\n\x0cinstance_num\x18\x03 \x01(\r\" \n\x10UartReadResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"h\n\x14UsbPDWritePDORequest\x12\x0f\n\x07\x63hannel\x18\x01 \x01(\r\x12\x12\n\nvoltage_mv\x18\x03 \x01(\r\x12\x18\n\x10\x63urrent_limit_ma\x18\x04 \x01(\r\x12\x11\n\tpdo_index\x18\x05 \x01(\r\"X\n\x15UsbPDWritePDOResponse\x12\x11\n\tpdo_index\x18\x01 \x01(\r\x12\x12\n\nvoltage_mv\x18\x02 \x01(\r\x12\x18\n\x10\x63urrent_limit_ma\x18\x03 \x01(\r\"#\n\x13\x46irmwareInfoRequest\x12\x0c\n\x04info\x18\x01 \x01(\r\"I\n\x14\x46irmwareInfoResponse\x12\x0c\n\x04hash\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x12\n\nupdated_at\x18\x03 \x01(\t\"J\n\x17WriteBankVoltageRequest\x12\x0c\n\x04\x62\x61nk\x18\x01 \x01(\r\x12!\n\x07voltage\x18\x02 \x01(\x0e\x32\x10.all.BankVoltage\"\x1d\n\rSDInfoRequest\x12\x0c\n\x04info\x18\x01 \x01(\r\"(\n\x0eSDInfoResponse\x12\x16\n\x0e\x63\x61pacity_bytes\x18\x01 \x01(\x04\"\xd8\x15\n\nAppMessage\x12\x31\n\x11gpio_mode_request\x18\x01 \x01(\x0b\x32\x14.all.GPIOModeRequestH\x00\x12\x1b\n\x05\x65mtpy\x18\x02 \x01(\x0b\x32\n.all.EmptyH\x00\x12\x33\n\x12gpio_write_request\x18\x03 \x01(\x0b\x32\x15.all.GPIOWriteRequestH\x00\x12;\n\x16usb_bootloader_request\x18\x04 \x01(\x0b\x32\x19.all.UsbBootloaderRequestH\x00\x12)\n\x13gpio_write_response\x18\x05 \x01(\x0b\x32\n.all.EmptyH\x00\x12\x31\n\x11gpio_read_request\x18\x06 \x01(\x0b\x32\x14.all.GPIOReadRequestH\x00\x12\x33\n\x12gpio_read_response\x18\x07 \x01(\x0b\x32\x15.all.GPIOReadResponseH\x00\x12(\n\x0c\x65\x63ho_message\x18\x08 \x01(\x0b\x32\x10.all.EchoMessageH\x00\x12-\n\x17usb_bootloader_response\x18\t \x01(\x0b\x32\n.all.EmptyH\x00\x12,\n\x0e\x65rror_response\x18\n \x01(\x0b\x32\x12.all.ErrorResponseH\x00\x12\x31\n\x11i2c_setup_request\x18\x0b \x01(\x0b\x32\x14.all.I2CSetupRequestH\x00\x12(\n\x12i2c_setup_response\x18\x0c \x01(\x0b\x32\n.all.EmptyH\x00\x12\x31\n\x11i2c_write_request\x18\r \x01(\x0b\x32\x14.all.I2CWriteRequestH\x00\x12(\n\x12i2c_write_response\x18\x0e \x01(\x0b\x32\n.all.EmptyH\x00\x12/\n\x10i2c_read_request\x18\x0f \x01(\x0b\x32\x13.all.I2CReadRequestH\x00\x12\x31\n\x11i2c_read_response\x18\x10 \x01(\x0b\x32\x14.all.I2CReadResponseH\x00\x12\x31\n\x11spi_setup_request\x18\x11 \x01(\x0b\x32\x14.all.SPISetupRequestH\x00\x12(\n\x12spi_setup_response\x18\x12 \x01(\x0b\x32\n.all.EmptyH\x00\x12/\n\x10spi_read_request\x18\x13 \x01(\x0b\x32\x13.all.SPIReadRequestH\x00\x12\x31\n\x11spi_read_response\x18\x14 \x01(\x0b\x32\x14.all.SPIReadResponseH\x00\x12\x31\n\x11spi_write_request\x18\x15 \x01(\x0b\x32\x14.all.SPIWriteRequestH\x00\x12(\n\x12spi_write_response\x18\x16 \x01(\x0b\x32\n.all.EmptyH\x00\x12\x34\n\x13usb_pd_read_request\x18\x17 \x01(\x0b\x32\x15.all.UsbPDReadRequestH\x00\x12\x36\n\x14usb_pd_read_response\x18\x18 \x01(\x0b\x32\x16.all.UsbPDReadResponseH\x00\x12;\n\x17usb_pd_read_pdo_request\x18\x19 \x01(\x0b\x32\x18.all.UsbPDReadPDORequestH\x00\x12=\n\x18usb_pd_read_pdo_response\x18\x1a \x01(\x0b\x32\x19.all.UsbPDReadPDOResponseH\x00\x12=\n\x18usb_pd_write_pdo_request\x18\x1b \x01(\x0b\x32\x19.all.UsbPDWritePDORequestH\x00\x12\x33\n\x12write_text_request\x18\x1d \x01(\x0b\x32\x15.all.WriteTextRequestH\x00\x12)\n\x13write_text_response\x18\x1e \x01(\x0b\x32\n.all.EmptyH\x00\x12\x38\n\x15usb_pd_enable_request\x18\x1f \x01(\x0b\x32\x17.all.UsbPDEnableRequestH\x00\x12,\n\x16usb_pd_enable_response\x18  \x01(\x0b\x32\n.all.EmptyH\x00\x12\x37\n\x14\x63lear_screen_request\x18\x1c \x01(\x0b\x32\x17.all.ClearScreenRequestH\x00\x12+\n\x15\x63lear_screen_response\x18\" \x01(\x0b\x32\n.all.EmptyH\x00\x12;\n\x16refresh_screen_request\x18# \x01(\x0b\x32\x19.all.RefreshScreenRequestH\x00\x12\x39\n\x15\x66irmware_info_request\x18$ \x01(\x0b\x32\x18.all.FirmwareInfoRequestH\x00\x12;\n\x16\x66irmware_info_response\x18% \x01(\x0b\x32\x19.all.FirmwareInfoResponseH\x00\x12-\n\x17refresh_screen_response\x18& \x01(\x0b\x32\n.all.EmptyH\x00\x12?\n\x19usb_pd_write_pdo_response\x18\' \x01(\x0b\x32\x1a.all.UsbPDWritePDOResponseH\x00\x12:\n\x16soft_spi_write_request\x18( \x01(\x0b\x32\x18.all.SoftSPIWriteRequestH\x00\x12-\n\x17soft_spi_write_response\x18) \x01(\x0b\x32\n.all.EmptyH\x00\x12(\n\x12gpio_mode_response\x18* \x01(\x0b\x32\n.all.EmptyH\x00\x12\x42\n\x1awrite_bank_voltage_request\x18+ \x01(\x0b\x32\x1c.all.WriteBankVoltageRequestH\x00\x12\x31\n\x1bwrite_bank_voltage_response\x18, \x01(\x0b\x32\n.all.EmptyH\x00\x12K\n\x1fusb_pd_read_temperature_request\x18- \x01(\x0b\x32 .all.UsbPDReadTemperatureRequestH\x00\x12M\n usb_pd_read_temperature_response\x18. \x01(\x0b\x32!.all.UsbPDReadTemperatureResponseH\x00\x12-\n\x0fsd_info_request\x18/ \x01(\x0b\x32\x12.all.SDInfoRequestH\x00\x12/\n\x10sd_info_response\x18\x30 \x01(\x0b\x32\x13.all.SDInfoResponseH\x00\x12\x33\n\x12uart_setup_request\x18\x31 \x01(\x0b\x32\x15.all.UartSetupRequestH\x00\x12)\n\x13uart_setup_response\x18\x32 \x01(\x0b\x32\n.all.EmptyH\x00\x12\x31\n\x11uart_read_request\x18\x33 \x01(\x0b\x32\x14.all.UartReadRequestH\x00\x12\x33\n\x12uart_read_response\x18\x34 \x01(\x0b\x32\x15.all.UartReadResponseH\x00\x12\x33\n\x12uart_write_request\x18\x35 \x01(\x0b\x32\x15.all.UartWriteRequestH\x00\x12)\n\x13uart_write_response\x18\x36 \x01(\x0b\x32\n.all.EmptyH\x00\x42\x06\n\x04kind*&\n\x04Mode\x12\t\n\x05input\x10\x00\x12\n\n\x06output\x10\x01\x12\x07\n\x03pwm\x10\x02*+\n\x0b\x42\x61nkVoltage\x12\x08\n\x04V1P8\x10\x00\x12\x08\n\x04V3P3\x10\x01\x12\x08\n\x04V5P0\x10\x02\x62\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'all_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _MODE._serialized_start=5192
  _MODE._serialized_end=5230
  _BANKVOLTAGE._serialized_start=5232
  _BANKVOLTAGE._serialized_end=5275
  _USBBOOTLOADERREQUEST._serialized_start=18
  _USBBOOTLOADERREQUEST._serialized_end=53
  _EMPTY._serialized_start=55
  _EMPTY._serialized_end=78
  _ECHOMESSAGE._serialized_start=80
  _ECHOMESSAGE._serialized_end=110
  _GETSTATUSREQUEST._serialized_start=112
  _GETSTATUSREQUEST._serialized_end=130
  _GPIOREADREQUEST._serialized_start=132
  _GPIOREADREQUEST._serialized_end=167
  _GPIOREADRESPONSE._serialized_start=169
  _GPIOREADRESPONSE._serialized_end=202
  _GPIOWRITEREQUEST._serialized_start=204
  _GPIOWRITEREQUEST._serialized_end=255
  _SPISETUPREQUEST._serialized_start=257
  _SPISETUPREQUEST._serialized_end=369
  _SPIWRITEREQUEST._serialized_start=371
  _SPIWRITEREQUEST._serialized_end=440
  _SOFTSPIWRITEREQUEST._serialized_start=442
  _SOFTSPIWRITEREQUEST._serialized_end=529
  _SPIREADREQUEST._serialized_start=531
  _SPIREADREQUEST._serialized_end=619
  _SPIREADRESPONSE._serialized_start=621
  _SPIREADRESPONSE._serialized_end=652
  _I2CSETUPREQUEST._serialized_start=654
  _I2CSETUPREQUEST._serialized_end=727
  _I2CWRITEREQUEST._serialized_start=729
  _I2CWRITEREQUEST._serialized_end=806
  _I2CREADREQUEST._serialized_start=808
  _I2CREADREQUEST._serialized_end=904
  _I2CREADRESPONSE._serialized_start=906
  _I2CREADRESPONSE._serialized_end=937
  _GPIOMODEREQUEST._serialized_start=939
  _GPIOMODEREQUEST._serialized_end=999
  _ERRORRESPONSE._serialized_start=1001
  _ERRORRESPONSE._serialized_end=1033
  _USBPDREADREQUEST._serialized_start=1035
  _USBPDREADREQUEST._serialized_end=1070
  _USBPDREADRESPONSE._serialized_start=1073
  _USBPDREADRESPONSE._serialized_end=1222
  _USBPDREADPDOREQUEST._serialized_start=1224
  _USBPDREADPDOREQUEST._serialized_end=1277
  _USBPDREADTEMPERATUREREQUEST._serialized_start=1279
  _USBPDREADTEMPERATUREREQUEST._serialized_end=1325
  _USBPDREADTEMPERATURERESPONSE._serialized_start=1327
  _USBPDREADTEMPERATURERESPONSE._serialized_end=1411
  _WRITETEXTREQUEST._serialized_start=1413
  _WRITETEXTREQUEST._serialized_end=1467
  _USBPDREADPDORESPONSE._serialized_start=1469
  _USBPDREADPDORESPONSE._serialized_end=1573
  _USBPDENABLEREQUEST._serialized_start=1575
  _USBPDENABLEREQUEST._serialized_end=1624
  _CLEARSCREENREQUEST._serialized_start=1626
  _CLEARSCREENREQUEST._serialized_end=1646
  _REFRESHSCREENREQUEST._serialized_start=1648
  _REFRESHSCREENREQUEST._serialized_end=1670
  _UARTSETUPREQUEST._serialized_start=1672
  _UARTSETUPREQUEST._serialized_end=1763
  _UARTWRITEREQUEST._serialized_start=1765
  _UARTWRITEREQUEST._serialized_end=1839
  _UARTREADREQUEST._serialized_start=1841
  _UARTREADREQUEST._serialized_end=1920
  _UARTREADRESPONSE._serialized_start=1922
  _UARTREADRESPONSE._serialized_end=1954
  _USBPDWRITEPDOREQUEST._serialized_start=1956
  _USBPDWRITEPDOREQUEST._serialized_end=2060
  _USBPDWRITEPDORESPONSE._serialized_start=2062
  _USBPDWRITEPDORESPONSE._serialized_end=2150
  _FIRMWAREINFOREQUEST._serialized_start=2152
  _FIRMWAREINFOREQUEST._serialized_end=2187
  _FIRMWAREINFORESPONSE._serialized_start=2189
  _FIRMWAREINFORESPONSE._serialized_end=2262
  _WRITEBANKVOLTAGEREQUEST._serialized_start=2264
  _WRITEBANKVOLTAGEREQUEST._serialized_end=2338
  _SDINFOREQUEST._serialized_start=2340
  _SDINFOREQUEST._serialized_end=2369
  _SDINFORESPONSE._serialized_start=2371
  _SDINFORESPONSE._serialized_end=2411
  _APPMESSAGE._serialized_start=2414
  _APPMESSAGE._serialized_end=5190
# @@protoc_insertion_point(module_scope)
