TwclRfCommClient.SetReadBufferSize(Cardinal) Method

Sets the read buffer size.

Namespace: wclBluetooth
public
 function SetReadBufferSize(const Size: Cardinal): Integer;

Parameters

Size
Type: Cardinal

The new read buffer size in bytes.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.