lp-wan / datamodel

use of yang to describe SCHC
1 stars 3 forks source link

Destructive Rules #13

Open MarinoMtz opened 1 year ago

MarinoMtz commented 1 year ago

Destructive Rules: In SCHC equal/not-send, ignore/value-sent, ignore/compute-*, MSB/LSB, Match-mapping/mapping-sent do not destroy the information. The information is either in the TV or in the residue. So the equilibrium is that a specific rule (more info in the TV) send less residue but as a smaller probability to be selected. Destructive compression ignore/not-sent forces the decompression to take the TV regardless of the initial value. It is possible to create some very attractive rules (very small residue) and with a high probability. Therefore no valuable info is sent on the link.

MarinoMtz commented 1 year ago
  1. Selection Probability --> Rule selection procedure: Ana: If there are two rules that apply it is up to the implementation to select the rule. LT: We shall select the one that gives the best compression Conclusion: Keep it as in the RFC

  2. Destructive Compression: ignore-not_sent 2.1 Good for fields like Up limit: LPWAN 2.2 If it is a router, we shall not use destructive compression.