TwclGattClientConnection.HalGetMaxPduSize(Word) Method

Implements a hardware-dependent code to reads the maximum PDU size for the current connection.

Namespace: wclBluetooth
protected
 function HalGetMaxPduSize(out Size: Word): Integer; virtual; abstract;

Parameters

Size
Type: Word

If the method completed with success on output contains the maximum PDU size.

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.

A derived class must override this method.