ReportID is the first byte in read/write operation

* add debug output
* refine error output
* fix if-branch