WiFly GSX Breakout - dropping packets

WiFly GSX is on my local WIFI Network, rx / tx to my maple mini (72mhz ARM).

I’m having trouble with packets either doubling up or dropping out (Im not 100% sure which). I am sending 832bits (124 bytes) at a time at 460800 bps

  • Is it necessary to have an external antenna for 100% data accuracy? In command mode show RSSI sits at -58dbm. Is that acceptable?

set comm size (which is under another name in command mode) is supposed to be automatically adjusted. But it seems to be always around 1000. Is that enough for 406800 baud rates?

  • What is the maximum buffer that the unit can store while sending received bits to the maple?

  • Is there a maximum amount of bytes I can send at one time?

  • Where is the spi documentation for the RN131???

* Documentation states in known problems:

Flow control: RTS may fail to de-assert quickly enough for some high speed CPUs to correctly stop sending data bytes. For high speed transfers at baudrates > 460800, it is best to limit RX data to the maximum Ethernet frame (1460 bytes) and have a protocol to acknowledge data is received by the remote host. So I should be well and truly within my range?

I have managed to find a way that does not drop data by reducing to 230400bps, capturing only 4 bits at a time per loop cycle with a 15ms delay between Serial1.read(). But it is terribly slow! All up I’d like to send at least 199680 bits per second (199kb). But at the moment I can barely send 120kbps with dataloss between frames.

Also, is hardware flow control going to be any use for packet sizes of 900bytes in a receive situation?