Share via


BthSSPWriteDebugMode (Compact 7)

3/12/2014

This function sets the Secure Simple Pairing (SSP) debug mode.

Syntax

DWORD BthSSPWriteDebugMode(
  __in BYTE Mode);

Parameters

  • Mode
    Zero (0) specifies disable debug mode. One (1) specifies enable debug mode; all other values are reserved.

Return Value

The following table shows the possible return values.

Value Description

ERROR_SUCCESS

Success.

ERROR_INVALID_PARAMETER

Mode is not set to zero or one.

Remarks

Warning

Enabling this mode will result in a total loss of link-layer security. It should only be enabled during development, and then only if you need to monitor the connection using a protocol analyzer.

See Also

Reference

Bluetooth API SSP Functions