TwclBluetoothRadio.HalGetSimplePairingMode(Boolean) Method

Implements a hardware-dependent code that reads a radio Secure Simple Pairing mode.

Namespace: wclBluetooth
protected
 function HalGetSimplePairingMode(
 out Enabled: Boolean): Integer; virtual; abstract;

Parameters

Enabled
Type: Boolean

If the function completed with success on output contains a boolean that indicates the current Secure Simple Pairing (SSP) mode. True if SSP is enabled. False if SSP is disabled.

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 to provide driver-dependent code.