Bluetooth Framework C++ Edition

◆ GetMaxPayloadSize()

int GetMaxPayloadSize ( unsigned short & Size)

Reads the maximum payload size for the current connection.

Parameters
SizeIf the method completed with success on output contains the maximum payload size.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.