CAN trace on its own debug tab (/trace.html), off the CAN analyzer: records between Start and Stop only (polled every 0.5 s, the server keeps the last 5000 frames, lost ones counted, stops at 20000), the newest on top; sorted by any column, filtered by text (a, b = either), frame type, interface, node and only changes; Δ per ID; 1000 rows drawn, the filter and sort over all; export as candump .log (can-utils, SavvyCAN, python-can) or the shown rows decoded as CSV; SDO objects named by esphome-canopen's EDS (public/can/esphome.eds, from can2mqtt) and its entity objects
This commit is contained in:
1 parent
b1a5d47859
commit
712c6bf7ad
9 files changed
+498
-125
No files matched your search
@@ -67,6 +67,7 @@ class CanTest < Minitest::Test
|
||||
assert_equal [:tpdo1, 1, 2, 0.5], tpdo.values_at(:role, :node, :count, :interval)
|
||||
assert_equal({ code: 0x8130, register: 0x11, at: 3.0 }, snapshot[:nodes][5][:emcy])
|
||||
assert_equal [3, 4], store.snapshot(since: 2)[:log].map { |f| f[:seq] }
|
||||
assert_equal [[], 4], store.snapshot(since: 99).values_at(:log, :log_seq)
|
||||
assert_equal "3081" "11", store.snapshot(since: 3)[:log].first[:data]
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user