From a76ceb1509b2ec3d844af0378e998e7d4737492c Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Wed, 10 Feb 2021 16:18:06 +0800 Subject: [PATCH] updates to get device code building with new proto names --- mesh.options | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mesh.options b/mesh.options index 9f0ec88..547eccb 100644 --- a/mesh.options +++ b/mesh.options @@ -30,9 +30,16 @@ # Note: the actual limit (because of header bytes) on the size of encrypted payloads is 251 bytes, but I use 256 # here because we might need to fill with zeros for padding to encryption block size (16 bytes per block) *MeshPacket.encrypted max_size:256 -*MeshPacket.payload anonymous_oneof:true +*MeshPacket.payloadVariant anonymous_oneof:true -*SubPacket.payload anonymous_oneof:true +*SubPacket.payloadVariant anonymous_oneof:true + +# We don't want this one anonymous +# *SubPacket.ackVariant anonymous_oneof:true + +*ToRadio.payloadVariant anonymous_oneof:true + +*FromRadio.payloadVariant anonymous_oneof:true # Max of three ignored nodes for our testing *UserPreferences.ignore_incoming max_count:3