Bluetooth Performance Best Practices (Windows CE 5.0)

Send Feedback

The following is a list of best practices for increasing the performance of the Bluetooth stack.

  • Set the Maximum Transmission Unit (MTU) for the RFCOMM layer, to a value that is higher than 1024 bytes. This may result in faster transmission of data over a Bluetooth connection.

    You can set the MTU value in imtu member the PORTEMUPortParams structure. If this member is set to 0, the layer uses the default value of 1024 bytes. Performance can be improved by increasing this value appropriately.

    Alternatively, applications can call the setsockopt function to set the MTU value. This is done by passing SO_BTH_SET_MTU value in the optname parameter.

See Also

Bluetooth | Stack Registry Settings

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.