CoapPacket

- For option delta type 14. Once we compute the delta, add missing 269 and the current delta; that's our option id
- BUT it is als the NEW delta
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-21 17:21:51 +02:00
parent 74f287ad9d
commit 71c0781ff6

View File

@ -448,7 +448,9 @@ public class CoapPacket
// Then tack on the delta
optionId+=delta;
// TODO: What to do about delta?
// TODO: What to do about delta? I think we should make it the new delta
delta=optionId;
// Jump over [Option delta extended (16bit)] here
idx+=2;
@ -488,7 +490,7 @@ public class CoapPacket
writeln("Support not yet finished for delta type 14");
break;
// break;
}
// 15
else if(computed == 15)