Seperate out BaseDevice and strip useless newline at the end of every response packet