I would add one more thing to what's been said. Whatever protocol you use for the communications, test it through wires first. Only after you have everything working through wires, you should add the wireless element.