mirror of
https://github.com/deavmi/doap
synced 2024-07-07 05:50:07 +02:00
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:
parent
74f287ad9d
commit
71c0781ff6
|
@ -448,7 +448,9 @@ public class CoapPacket
|
||||||
|
|
||||||
// Then tack on the delta
|
// Then tack on the delta
|
||||||
optionId+=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
|
// Jump over [Option delta extended (16bit)] here
|
||||||
idx+=2;
|
idx+=2;
|
||||||
|
@ -488,7 +490,7 @@ public class CoapPacket
|
||||||
|
|
||||||
writeln("Support not yet finished for delta type 14");
|
writeln("Support not yet finished for delta type 14");
|
||||||
|
|
||||||
break;
|
// break;
|
||||||
}
|
}
|
||||||
// 15
|
// 15
|
||||||
else if(computed == 15)
|
else if(computed == 15)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user