Hi,

Can I assume your wifi device is a variation of the ESP8266? If so, you would NOT require a MAX chip between the PIC and the Wifi module. Serout, Hserout should work, as also debug (the last in mode 0).

Only thing to remember is the Wifi module, depending on the version you have might not be 5 volt tolerant.

Regards,

Anand Dhuru