I've implemented a Midlet that sends and receives data to/from neighboring mobile phones via L2CAP. The size of the data is approx. 50-500 kb. In 70% of all cases the data transfer is accomplished successfully. But in the remaining cases the data is corrupted somehow. So for example one get a NumFormatException when extracting the byte array because the data was not transferred successfully. The package size is the MTU size. I'm using two N6630.
Is it maybe a hardware (Bluetooth) problem or a coding problem?
Has anyone did this before without errors?