So if I understand this, for the 16f877 it says MAXPACKETSIZE=32. So thats how big the arreay should be for DATA_BUFF? I put in 50 for now, but can clearly make that 32. I think as a down the road desire, this value should be a variable that will get set at compile time or maybe the GUI can tell the PIC.

Good stuff Walter!!