add device method _writeBytes
removed debug...