From 8305924651e43483c64a505da56056edc75256c9 Mon Sep 17 00:00:00 2001 From: tmechen Date: Wed, 10 Nov 2021 18:25:58 +0100 Subject: [PATCH 1/3] fix QRCodePayload in .proto example fixing protofile doc: 4 in QRCodePayload isn't just bytes but vendordata with CWALocationData, see https://github.com/corona-warn-app/cwa-app-android/blob/main/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/presencetracing/checkins/qrcode/QrCodePayload.kt --- event_registration.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/event_registration.md b/event_registration.md index 0dcb669..97d78e0 100644 --- a/event_registration.md +++ b/event_registration.md @@ -63,8 +63,7 @@ message QRCodePayload { uint32 version = 1; TraceLocation locationData = 2; CrowdNotifierData crowdNotifierData = 3; - // byte sequence of CWALocationData - bytes countryData = 4; + CWALocationData vendordata = 4; } message TraceLocation { From d63c666be27b2e6317e96cc98be355ecad229260 Mon Sep 17 00:00:00 2001 From: tmechen Date: Wed, 10 Nov 2021 18:28:37 +0100 Subject: [PATCH 2/3] Update event_registration.md fix camelCase for vendorData --- event_registration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event_registration.md b/event_registration.md index 97d78e0..03f23b9 100644 --- a/event_registration.md +++ b/event_registration.md @@ -63,7 +63,7 @@ message QRCodePayload { uint32 version = 1; TraceLocation locationData = 2; CrowdNotifierData crowdNotifierData = 3; - CWALocationData vendordata = 4; + CWALocationData vendorData = 4; } message TraceLocation { From 4ad7de687e395d8f40dda1077057c673d88e7353 Mon Sep 17 00:00:00 2001 From: tmechen Date: Thu, 11 Nov 2021 11:21:16 +0100 Subject: [PATCH 3/3] Update event_registration.md Co-authored-by: Maximilian Lenkeit --- event_registration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/event_registration.md b/event_registration.md index 03f23b9..f0c47ca 100644 --- a/event_registration.md +++ b/event_registration.md @@ -63,7 +63,8 @@ message QRCodePayload { uint32 version = 1; TraceLocation locationData = 2; CrowdNotifierData crowdNotifierData = 3; - CWALocationData vendorData = 4; + // byte sequence of CWALocationData + bytes vendorData = 4; } message TraceLocation {