Compartilhar via


Modem Gateway Registry Settings (Compact 2013)

3/26/2014

You can configure the modem gateway by using the registry entries in the key HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Modemgw.

Name

Type

Description

Default

ModemPortName

REG_SZ

The existing COM port for the modem.

BthPortName

REG_SZ

The Bluetooth COM port that will be created by the service; this COM port must not be present in the system.

ModemBaud

REG_DWORD

Optional. The Baud rate.

ModemParity

REG_DWORD

Optional. A standard Win32 parity setting, such as NOPARITY.

ModemByteSize

REG_DWORD

Optional. A standard Win32 byte-size setting. The value can range from 4 through 8.

ModemStopBits

REG_DWORD

Optional. A standard Win32 byte stop-bit setting, such as ONESTOPBIT.

ModemFlowControl

REG_DWORD

Optional. The flow control method of the modem. One of the following values.

  • 1 = hardware.
  • 2 = software.
  • 3 = none.

ModemDCB

REG_BINARY

Optional. The Device Control Block (DCB) for the modem port.

MTU

REG_DWORD

Optional. The Maximum Transmission Unit (MTU) for the Bluetooth RFCOMM session.

Channel

REG_DWORD

Optional. The service channel. If no value is specified for this setting, use 0xfe or auto allocate a service channel.

Authenticate

REG_DWORD

Optional. Whether to authenticate the connection.

  • Non-zero = Authenticate.
  • Zero = Do not authenticate.
Ee495644.Caution(en-us,WinEmbedded.80).gifCaution:
Disabling authentication is a potential security risk.

Non-zero.

Encrypt

REG_DWORD

Optional. Whether to encrypt the connection.

  • Non-zero = Encrypt.
  • Zero = Do not encrypt.
Ee495644.Caution(en-us,WinEmbedded.80).gifCaution:
Disabling encryption is a potential security risk.

Non-zero.

See Also

Reference

Bluetooth Registry Settings