mirror of
https://github.com/dpup/meshstream.git
synced 2026-03-28 17:42:37 +01:00
28 lines
495 B
Protocol Buffer
28 lines
495 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package meshtastic;
|
|
|
|
option csharp_namespace = "Meshtastic.Protobufs";
|
|
option go_package = "meshstream/generated/meshtastic";
|
|
option java_outer_classname = "XmodemProtos";
|
|
option java_package = "com.geeksville.mesh";
|
|
option swift_prefix = "";
|
|
|
|
message XModem {
|
|
enum Control {
|
|
NUL = 0;
|
|
SOH = 1;
|
|
STX = 2;
|
|
EOT = 4;
|
|
ACK = 6;
|
|
NAK = 21;
|
|
CAN = 24;
|
|
CTRLZ = 26;
|
|
}
|
|
|
|
Control control = 1;
|
|
uint32 seq = 2;
|
|
uint32 crc16 = 3;
|
|
bytes buffer = 4;
|
|
}
|