Share via


Bluetooth Performance Best Practices (Windows Embedded CE 6.0)

1/6/2010

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

Other Resources

Bluetooth