Each national contact tracing team has two competing aims when it comes to payload:-
In the Herald Envelope payload for Contact Tracing we provide the outer payload to allow for international interoperability but leave the inner payload - the data payload for that country - to the national team to implement.
We recommend each country use the Envelope protocol and embed their payload as an Inner Payload, but there’s nothing stopping individual groups from creating their own Outer payload if they wish. Doing so though will prevent international interoperability between contact tracing apps and devices.
The outer payloads allow for certain standard data to be passed.
Note: All numbers are Big Endian (network order).
Any protocol and version identify ending in 0-7 (E.g. 0x00-0x07, 0x10-0x17, 0x20-0x27) is reserved for the use of the Herald Project. You are free to use any other values.
You do not need to register your protocol IDs with us so long as you use a different Bluetooth service UUID and characteristic UUID. If you wish to provide an extension to Herald, as we have done for our beacon payload, then please do let us know what range you are using.
The envelope header is the cornerstone of international interoperability. Please see the Interoperability page for full details
To help you get started, see the documentation.