added resource serial protocol, now when can talk for example with arduino