From f1bf16bd74b37be55a04c25c1e2a930a6ea3dd69 Mon Sep 17 00:00:00 2001 From: August Quint <49277349+AugustQu@users.noreply.github.com> Date: Tue, 1 Sep 2020 16:26:30 +0200 Subject: [PATCH] Create corona.h added: CWA-handling --- include/corona.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/corona.h diff --git a/include/corona.h b/include/corona.h new file mode 100644 index 00000000..fcbf556d --- /dev/null +++ b/include/corona.h @@ -0,0 +1,16 @@ +#ifndef _CORONA_h +#define _CORONA_H + +// inspired by https://github.com/kmetz/BLEExposureNotificationBeeper +// (c) by Kaspar Metz +// modified for use in the Paxcounter by AQ + +#include "globals.h" +#include + +bool cwa_init(void); +bool cwa_mac_add(uint8_t *); +void cwa_clear(void); +uint16_t cwa_report(void); + +#endif