Siemens 7 manual Settings Stored in the Windows Registry, Value Data Example Properties

Page 21

Multiplexer Driver Developer’s Guide

4.2 Settings Stored in the Windows Registry

s

4.2Settings Stored in the Windows Registry

The WinMux2k driver parameters are located in the registry path

HKLM\System\CurrentControlSet\Enum\Root\winmux\000X\Device Parameters.

X is the number of the device instance.

All values listed below will be created during the installation of the WinMux2k driver. The settings are provided by the winmux2k.inf file. If you want to write your own preferences to the Registry you can edit the inf file before installing the driver.

Table 6: Registry values

Value

Data (Example)

Properties

 

 

 

BasePort

COM1

The physical serial port that connects the module to the PC.

 

 

 

BaudRate

115200

Baud rate used on the physical port.

 

 

 

BaudRateString

AT+IPR=115200

This string is used to set the module to the given baud rate.

 

 

Note: This string must contain the same value as the

 

 

BaudRate value.

 

 

If you select a higher baud rate be sure it is supported by the

 

 

module. For details see [3].

ModemInit

AT

This multi-string value contains several AT commands

 

AT&S0

which are used to switch the module to multiplexer mode.

 

AT\Q3

Possible ERROR codes resulting from unsupported com-

 

AT+ICF=3

mands are ignored by the WinMux2k initialization sequence.

 

AT+CMUX=0

 

RequestTimeout

2000

Timeout value used only during the initialization of the mod-

 

 

ule. 2000 is the maximum number of milliseconds the mod-

 

 

ule can take to respond to AT requests.

VirtPort1

COM10

Name of the first virtual port. Each virtual port must have a

 

 

unique name. Otherwise the driver will fail to start up.

VirtPort2

COM11

See VirtPort1

 

 

 

VirtPort3

COM12

See VirtPort1

 

 

 

VirtualChannels

3

Number of Virtual Channels visible as COM ports. The

 

 

WinMux2k driver supports up to 3 virtual ports. The number

 

 

of VirtualChannels must be less or equal to TotalChannels.

TotalChannels

3

If the number of TotalChannels is greater than VirtualChan-

 

 

nels and no VirtPortX value for additional channels is

 

 

defined, these additional ports are not visible as COM ports.

 

 

They can be accessed by the link named

 

 

SERMUX_CONTROL_PREFIX defined in sermux_i.h. This

 

 

allows to hide virtual ports to the user. Each physical port

 

 

can have one hidden port.

WakeUpTime

4000

Timeout during module initialization. The timeout takes

 

 

effect only when the driver tries to restart the module from

 

 

Power Down or to wake it up from SLEEP mode

 

 

AT+CFUN=0. The time is given in milliseconds.

PowerCmdPort

3

This virtual channel is used to send the power down com-

 

 

mands to the module. The data state on this channel may be

 

 

disturbed during power down and cannot be reconstructed

 

 

by the driver.

 

 

 

Mux_Drv_DevGuide_v07

Page 21 of 36

2006-9-27

Confidential / Released

 

 

Image 21
Contents User’s Guide Copyright General NotesContents Multiplexer Driver Developer’s Guide List of Tables TablesList of Figures FiguresChapter What is new Document HistoryDocument History Multiplexer Driver Developer’s Guide Introduction IntroductionSupported Product Versions Supported Product VersionsAbbreviations Related DocumentsRelated Documents Abbreviation DescriptionArchitecture Hierarchy Chart in the SystemUser ArchitectureHandling of the Physical Serial Port Signal DescriptionModule Detection Handling of the Physical Serial PortHandling of Control Lines on Virtual Ports Limitation of Virtual PortsHandling of Control Lines on Virtual Ports Command Response Function Associated Registry Value Module Initializing SequenceModule Initializing Sequence Power Down on PC Suspend Power DownPower Down after Closing the Last Port Module Re-initializationPower Down Power Down on PC ShutdownFiles Required for WinMux2k Driver Installation InstallationInstalling the WinMux2k Driver InstallationDeinstalling the Driver Deinstalling the DriverWindows Windows XP new desktop, not the classic desktopDevice Settings and Properties Settings on the Serial Multiplexer PropertiesDevice Settings and Properties Settings Stored in the Windows Registry Settings Stored in the Windows RegistryValue Data Example Properties TC45, XC18 only Multiplexer Driver Developer’s Guide Values Data Example Properties Dial-up Network Settings Settings for ApplicationsFax Settings Settings for ApplicationsSoftware Requirements Translate Source CodePreparing the Translation Compiler FlagsAdditional Source Documentation Interaction of the Different Driver ObjectsAdditional Source Documentation Internal Driver States Internal Driver StatesBuffer Handling Buffer HandlingTo th e S e rM u x O b je c t a re in d ic a te d Data TransferMultiplexer Driver Developer’s Guide SerMuxSend and SerMuxSendPort0 Functions SerMuxSend FunctionStart +++-Parser +++-ParserBooting Operating System Known ProblemsShutdown of the Operating System Standby of the Operating SystemOperation on Virtual USB Port Special EnvironmentsAutomatic Shutdown in case of Emergency Special Environments