Commit 4b41f21
committed
fix: Ignore unsupported command responses (cmd:Unknown, code:1)
Previously, responses with code:1 and cmd:Unknown would be processed
and could cause issues. Now these responses are properly ignored with
a debug log, matching the Python implementation behavior.
This prevents error spam when polling for state on cameras that don't
support certain features.
Closes #11 parent 691b12b commit 4b41f21
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
571 | 577 | | |
572 | 578 | | |
573 | 579 | | |
| |||
0 commit comments