Move deduplication_id in LogEvent to context field.

This commit is contained in:
Orne Brocaar
2022-06-30 19:30:56 +01:00
parent f27b8da38d
commit a46b0a9469
9 changed files with 205 additions and 225 deletions

View File

@ -191,26 +191,23 @@ message TxAckEvent {
// LogEvent is the message sent when a device-related log was sent.
message LogEvent {
// Deduplication ID (UUID).
string deduplication_id = 1;
// Timestamp.
google.protobuf.Timestamp time = 2;
google.protobuf.Timestamp time = 1;
// Device info.
DeviceInfo device_info = 3;
DeviceInfo device_info = 2;
// Log level.
LogLevel level = 4;
LogLevel level = 3;
// Log code.
LogCode code = 5;
LogCode code = 4;
// Description message.
string description = 6;
string description = 5;
// Context map.
map<string, string> context = 7;
map<string, string> context = 6;
}
// StatusEvent is the message sent when a device-status mac-command was sent