Bluetooth missing bytes

I’m using the Bluetooth v1.2 SMD module and I am getting a lot of data loss. As a test, I am sending bytes with numbers 1 to 50 to a PC from a PIC. The computer usually recieves 1 to 50, but oftentimes a number is missing.

Thinking it might be a buffer overrun problem, I put in a 25ms delay between numbers and a 1 second delay between groups of 50, but it still is missing bytes.

I thought Bluetooth did error detection/correction. Does anyone know why I might be missing bytes?

I got it to work. I hooked up a hardwired serial port and found that the PIC was sending bad data. I lowered the baud rate to 9600 and it worked fine.