Updated main.c with wireless test code.