Click or drag to resize

wclGattServerClientGetMaxPduSize Method

Reads the maximum PDU size for the current connection.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public int GetMaxPduSize(
	out ushort Size
)

Parameters

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

Return Value

Int32
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
Remarks
The PDU size includes header and payload. For example if PDU size is 23 bytes the allowed payload is 20 bytes.
See Also