wclGattServerClientGetMaxPayloadSize Method |
Reads the maximum payload size for the current
connection.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.19.35.0 (7.19.35.0)
Syntaxpublic int GetMaxPayloadSize(
out ushort Size
)
Public Function GetMaxPayloadSize (
<OutAttribute> ByRef Size As UShort
) As Integer
public:
int GetMaxPayloadSize(
[OutAttribute] unsigned short% Size
)
Parameters
- Size UInt16
- If the method completed with success on output
contains the maximum payload 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.
See Also