wrapper working but serial comm is not