diff options
| author | Roy <Roy.mail.net@gmail.com> | 2023-02-06 19:47:59 +0200 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2023-02-06 19:47:59 +0200 |
| commit | 5f8a6184e8c0b6de2e61fd9845378eb4324c50a6 (patch) | |
| tree | cf4c5f2612168d22a5827588e081ea71da60aa39 /Software/PMR | |
| parent | 48c49f651b9acb1aa87f845d68ed5b4f49f3d447 (diff) | |
| download | Tango-5f8a6184e8c0b6de2e61fd9845378eb4324c50a6.tar.gz Tango-5f8a6184e8c0b6de2e61fd9845378eb4324c50a6.zip | |
Machine Type Connection, Discovery Handling.
Diffstat (limited to 'Software/PMR')
3 files changed, 15 insertions, 0 deletions
diff --git a/Software/PMR/Messages/Common/MachineType.proto b/Software/PMR/Messages/Common/MachineType.proto new file mode 100644 index 000000000..8f80120f0 --- /dev/null +++ b/Software/PMR/Messages/Common/MachineType.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +package Tango.PMR.Common; +option java_package = "com.twine.tango.pmr.common"; + +enum MachineType +{ + TS1800 = 0; + Eureka = 1; +} diff --git a/Software/PMR/Messages/Connection/ConnectRequest.proto b/Software/PMR/Messages/Connection/ConnectRequest.proto index 11661bc5c..a672aeb3f 100644 --- a/Software/PMR/Messages/Connection/ConnectRequest.proto +++ b/Software/PMR/Messages/Connection/ConnectRequest.proto @@ -1,6 +1,7 @@ syntax = "proto3"; import "JobSpoolType.proto"; +import "MachineType.proto"; package Tango.PMR.Connection; option java_package = "com.twine.tango.pmr.connection"; @@ -10,4 +11,5 @@ message ConnectRequest string Password = 1; int64 UnixTime = 2; PMR.Printing.JobSpoolType SpoolType = 3; + PMR.Common.MachineType MachineType = 4; }
\ No newline at end of file diff --git a/Software/PMR/Messages/Integration/ExternalBridgeUdpDiscoveryPacket.proto b/Software/PMR/Messages/Integration/ExternalBridgeUdpDiscoveryPacket.proto index 9a65d3818..414052552 100644 --- a/Software/PMR/Messages/Integration/ExternalBridgeUdpDiscoveryPacket.proto +++ b/Software/PMR/Messages/Integration/ExternalBridgeUdpDiscoveryPacket.proto @@ -1,5 +1,7 @@ syntax = "proto3"; +import "MachineType.proto"; + package Tango.PMR.Integration; option java_package = "com.twine.tango.pmr.integration"; @@ -8,4 +10,5 @@ message ExternalBridgeUdpDiscoveryPacket string Time = 1; string SerialNumber = 2; string Guid = 3; + PMR.Common.MachineType MachineType = 4; }
\ No newline at end of file |
