TwclBluetoothRadio.HalNumericComparisonReply(Int64,Cardinal,Boolean) Method
Implements a hardware-dependent code to reply on a numeric comparison request.
protected function HalNumericComparisonReply(const Address: Int64; const Value: Cardinal; const Confirm: Boolean): Integer; virtual; abstract;
Parameters
- Address
- Type: Int64
A remote device's MAC address.
- Value
- Type: Cardinal
The numeric value reply.
- Confirm
- Type: Boolean
An application must set this parameter to
True
to confirm pairing. Set it toFalse
to reject pairing.
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.