kopia lustrzana https://github.com/meshtastic/protobufs
26 wiersze
501 B
Protocol Buffer
26 wiersze
501 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option java_package = "com.geeksville.mesh";
|
|
option optimize_for = LITE_RUNTIME;
|
|
option go_package = "github.com/meshtastic/go/generated";
|
|
|
|
option java_outer_classname = "XmodemProtos";
|
|
option csharp_namespace = "Meshtastic.Protobufs";
|
|
|
|
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;
|
|
} |