CoapPacket

- If we are in the 16-bit extended option delta mode and we come across a non 4bit length, then assert falsely
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-21 17:23:53 +02:00
parent 71c0781ff6
commit 6dfd908184

View File

@ -481,6 +481,11 @@ public class CoapPacket
writeln("Built option: ", option);
createdOptions ~= option;
}
else
{
writeln("OptionDelta14 Mode: We don't yet support other option lengths in this mode");
assert(false);
}