I need to operate and send gcode through the serial port via a serial wifi link (eg xbee shield), NOT USINGS USB PORTS. I this possible?. When I connect to serial 0 gcode command are not executed!! My setup is Tinyg2 in a Due + gShield, firmware 078.03.
Only way I know you can make this happen is to uses Chilipeppr and a RaspbPi2. Load SPJS into the RaspbPi 2, insert a wifi dongle into RasbPi2 as well as connecting Due to RaspBPi 2 with usb cable.
tinyG2 USB port support is rather generic, if you have a wiUSB over wifi solution that needs no special client support (from the DUE) you may be able to make that work as well. I am not aware of anyone trying.