Does it work if you remove the wireless link and have a direct cable connection?

If not then there is a code problem with the PIC

If it works then for some reason the radio link is dying.