16 lines
261 B
Protocol Buffer
16 lines
261 B
Protocol Buffer
syntax = "proto3";
|
|
package control_communication;
|
|
|
|
message RfidId {
|
|
uint32 value = 1;
|
|
}
|
|
|
|
message SyncResponse {
|
|
int64 currentTime = 1;
|
|
bool pendingChanges = 2;
|
|
}
|
|
|
|
message SyncRequest {
|
|
optional int64 lastSync = 1;
|
|
map<uint64, uint32> accessLogs = 2;
|
|
} |