new.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. diff --git a/Dissector/uhf_dissector.lua b/Dissector/uhf_dissector.lua
  2. index 389b682..fb0acd0 100644
  3. --- a/Dissector/uhf_dissector.lua
  4. +++ b/Dissector/uhf_dissector.lua
  5. @@ -56,16 +56,16 @@ for i = 0, data3 - 1 do
  6. --offset = offset + 8
  7. local subtree1 = subtree:add(TC_TM_PROTOCOL, buffer(), "Instance "..i)
  8. - local a = buffer(offset, 1):le_uint()
  9. - subtree1:add(f_cnt_hk_str, a)
  10. - offset = offset + 1
  11. + --local a = buffer(offset, 1):le_uint()
  12. + --subtree1:add(f_cnt_hk_str, a)
  13. + --offset = offset + 1
  14. local b = buffer(offset, 4):le_uint()
  15. subtree1:add(f_timestamp, b)
  16. - offset = offset + 4
  17. - b = buffer(offset, 4):le_uint()
  18. - subtree1:add(f_timestamp, b)
  19. - offset = offset + 4
  20. + offset = offset + 8
  21. + --b = buffer(offset, 4):le_uint()
  22. + --subtree1:add(f_timestamp, b)
  23. + --offset = offset + 4
  24. -- dissect uptime
  25. local uptime = buffer(offset, 4):le_uint()
  26. @@ -147,7 +147,7 @@ for i = 0, data3 - 1 do
  27. -- dissect reserved0
  28. local reserved0 = buffer(offset, 4):le_uint()
  29. subtree1:add(f_reserved0, reserved0)
  30. - offset = offset + 4
  31. + offset = offset + 9
  32. -- dissect customo
  33. --local customo = buffer(offset, 4):le_uint()