Skip to content

Commit

Permalink
ptp2: add EOS event code/type info and make sure every events is logged
Browse files Browse the repository at this point in the history
This shall help with comparing the event log with USB packet traces. Also
tune the layout to accommodate the new info.

example log:

event 635:c18a: prop d175 options changed, type 3, count  1 (EOS_NetworkCommunicationMode)
                prop d175 option[ 0] == 0x00
event 636:c18a: prop d244 options changed, type 3, count  3 ((null)) (unknown)
event 637:c1a4: CTGInfoCheckComplete 0x00020001
event 638:c19d: unhandled EOS event PowerZoomInfoChanged (size 12)
         0x000:  -  -  -  -
event 639:c1a5: OLCInfoChanged (size 100, version 0x14, mask 0x1fff)
         0x000: 60  -  -  - ff 1f  -  - 01  - 01 01  - a0  - 10
         0x010:  - 68  - 01 03  - 50  - 20  - 38  - 01 01  -  -
         0x020: 78 28  - 04 01 06 41  -  -  -  -  -  - 01 01  -
         0x030:  -  -  -  -  -  -  - 01  -  -  -  -  -  -  -  -
         0x040:  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
         0x050:  -  -  -  -  -  -  -  -  -  -  -  -
event 639:0001: (olcmask) 2 bytes: 01 00
event 640:0002: (olcmask) 9 bytes: 01 01 00 a0 00 10 00 68 00
event 641:0004: (olcmask) 9 bytes: 01 03 00 50 00 20 00 38 00
event 642:0008: (olcmask) 7 bytes: 01 01 00 00 78 28 00
  • Loading branch information
axxel authored and msmeissn committed Oct 1, 2024
1 parent ad66ce6 commit cedc250
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 64 deletions.
Loading

0 comments on commit cedc250

Please sign in to comment.