OBEX Registry Settings
The registry stores information necessary to configure the system for applications and hardware devices. The registry also contains information that the operating system (OS) continually references during operation.
Note The default registry values vary depending on which features are included in your platform. For more information, see Default Registry Settings.
Enables OBEX IrDA hint bit
The following table shows the registry values for the HKEY_LOCAL_MACHINE\Comm\IrDA registry key.
Value | Description |
---|---|
Hints | Default setting is hexadecimal 8224. This DWORD indicates the device's IrDA capabilities. When two devices want to establish an IrDA connection, they exchange capabilities by using this value. Some devices require that specific capabilities are supported, and will not connect if the required support is not present.
The following list shows the meaning of the first two digits of the value. These can be used in combination. For example, in the default setting, 82 indicates that there is another byte of capabilities, and that this is a PDA or palmtop device.
The following list shows the meaning of the second two digits of the value. These can be used in combination. For example, in the default setting, 24 indicates IrObex and IrCOMM.
|
Enable the OBEX Server
Based on registry entries, OBEX is registered with Services.exe during device start up. The following table shows the registry values for the HKEY_LOCAL_MACHINE\Services\OBEX registry key.
Value | Description |
---|---|
DLL | Default Setting is OBEXSrVr.dll. The Dynamic-link library (DLL) file to be loaded. |
Keep | Default Setting is 1. Specifies whether to postpone loading the DLL after initialization. When this DWORD value is zero (0), the DLL is loaded immediately. |
Order | Default Setting is 9. The order in which the service is loaded. The service with the lowest DWORD value is loaded first. |
Prefix | Default Setting is OBX. Prefix of the DLL to be loaded. |
Index | Default Setting is zero (0). Service index. |
For more information about how these values are used when the system starts, see Services.exe at System Startup.
IrDA and Bluetooth Transports
The following table shows the registry values for the HKEY_LOCAL_MACHINE\Software\Microsoft\Obex\Transports\{30a7bc02-59b6-40bb-aa2b-89eb49ef274e} registry key.
Value | Description |
---|---|
Name | Default Setting is IRDA. Specifies the IrDA transport. |
The following table shows the registry values for the HKEY_LOCAL_MACHINE\Software\Microsoft\Obex\Transports\{30a7bc03-59b6-40bb-aa2b-89eb49ef274e} registry key.
Value | Description |
---|---|
Name | Default Setting is Bluetooth. Specifies the Bluetooth transport. |
OBEX Server Options
The following table shows the registry values for the HKEY_LOCAL_MACHINE\Software\Microsoft\Obex registry key.
Value | Description |
---|---|
DebugOutputMask | Default Setting is zero (0). The mask of enabled debug zones. The following list shows the DWORD values you can use:
|
DebugOutputChannels | Default Setting is 4. The mask of OBEX debug output channels. DWORD. |
protocols | Default Setting is bth,irda.
To remove or add protocols, you can change this value. For example, if you want only IrDA, change the value to irda. Then, restart OBEX with the new settings by issuing IOCTL_SERVICE_REFRESH. |
IsEnabled | Default Setting is zero (0). The status of the OBEX Server. This value can be either zero (0) (Disabled) or 1 (Enabled). |
For information about how to disable Obex, see Server Support.
Obex Default Inbox
The following table shows the registry values for the HKEY_LOCAL_MACHINE\Software\Microsoft\Obex\Services\{00000000-0000-0000-0000-000000000000} registry key.
Value | Description |
---|---|
BaseDir | Default Setting is \\My Documents\\DefaultInbox. The directory where the FTP Server puts files. |
DisableUI | Default DWORD value is 0. When this value is 1, all UI prompts are disabled, except for the upload and overwrite prompts. (Upload and overwrite prompts can be disabled using the PromptBeforeUpload and PromptForOverwrite registry settings.) |
Server | Default Setting is obexinbx.dll. The OBEX inbox DLL. |
BluetoothSdpRecord | A record sent to SDP for OBEX. Default Setting is:
hexidecimal:35,5f,09,00,01,35,03,19,11,05,09,00,04,35,11,35,\ 03,19,01,00,35,05,19,00,03,08,0a,35,03,19,00,08,\ 09,00,06,35,09,09,65,6e,09,00,6a,09,01,00,09,00,\ 09,35,08,35,06,19,11,05,09,01,00,09,01,00,25,10,\ 4f,42,45,58,20,4f,62,6a,65,63,74,20,50,75,73,68,\ 09,03,03,35,0c,35,02,08,01,35,02,08,02,35,02,08,\ 03 |
PromptBeforeUpload | Default DWORD value is 1. When this value is 1, the Server prompts the user to accept the file. If this value is zero (0), this security check is disabled. |
PromptForOverwrite | Default DWORD value is 1. When this value is 1, the Server prompts the user to overwrite a file. If this value is zero (0), this security check is disabled. |
The following table shows the registry values for the HKEY_LOCAL_MACHINE\Software\Microsoft\Obex\Services\{00000000-0000-0000-0000-000000000000}\MimeTypes registry key.
Value | Description |
---|---|
DefaultFile | Default is vCard. A string that specifies the default file to send. |
DLL | A string that indicates the dll of the service header to load. After the DLL is loaded, getProcAddress is called for the ObexInboxClient. |
Extension | Default is .vcd. A string of file extensions for the MIME type. |
Obex File Server
The following table shows the registry values for the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Obex\Services\{f9ec7bc4-953c-11d2-984e-525400dc9e09} registry key.
Value | Description |
---|---|
BaseDir | Default Setting is \\Temp\\Ftp. The directory where the FTP Server puts files. |
Server | Default Setting is obexfile.dll. The OBEX file server DLL. |
CanWrite | Default Setting is zero (0). Specifies whether the file server allows read/write access. This value is zero (0) for read only acces. When the value is any value other than zero (0), the file server allows read and write access. |
BluetoothSdpRecord | A record sent to SDP for OBEX.
Default Setting is: hexidecimal:35,41,09,00,01,35,03,19,11,06,09,00,04,35,11,35,\ 03,19,01,00,35,05,19,00,03,08,0a,35,03,19,00,08,\ 09,00,06,35,09,09,65,6e,09,00,6a,09,01,00,09,00,\ 09,35,08,35,06,19,11,06,09,01,00,09,01,00,25,03,\ 46,54,50 |
Password | The password, which is a string in nonencrypted text. |
Authenticate | This value is a DWORD. If this value is zero (0), then no authentication is required. |
Transport Authenticate | This value is a DWORD. This value requests tranport authentication. |
See Also
Last updated on Friday, April 09, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.