Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Contributor
Posts: 2
Registered: ‎05-29-2012
My Device: Bold 9000
My Carrier: Vodafone

Bluetooth Serial Port communiations with 7.0/7.1



We have a problem with the Bluetooth serial port communiations on our App when testing on 7.0 and 7.1 devices. This code is not new and has worked years on  for OS 4.5, 4.7, 5.0 and 6.0.


The problem seems not be device specific.


The problem is when the .BluetoothSerialPortread function is called as it is not returning all the expected data.


We have a buffer size of 1019 bytes but the read function is only returning 1008 bytes. When we decode the data, the packet length is included in the data and this set to 1019, at which point we reject the data.


During tests, if we reduce the buffer size to 1008 bytes, then the received data.


Have the maximum buffer sizes been reduced.


Thanks for any help,