We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fb542a commit 0c16227Copy full SHA for 0c16227
1 file changed
src/MeshCore.h
@@ -21,7 +21,7 @@
21
// AEAD-4 (ChaChaPoly) encryption
22
#define AEAD_TAG_SIZE 4
23
#define AEAD_NONCE_SIZE 2
24
-#define CONTACT_FLAG_AEAD 0x02 // bit 1 of ContactInfo.flags (bit 0 = favourite)
+#define CONTACT_FLAG_AEAD 0x80 // bit 7 of ContactInfo.flags (bit 0 = favourite, bits 1-3 = telemetry perms)
25
#define FEAT1_AEAD_SUPPORT 0x0001 // bit 0 of feat1 uint16_t
26
27
// AEAD nonce persistence
0 commit comments