Поделиться через


Point-to-Point Protocol over Ethernet (PPPoE) Registry Settings (Windows Embedded CE 6.0)

1/6/2010

The registry stores information that is necessary to configure the system for applications and hardware devices. The registry also contains information that the operating system continually references during operation.

Note

The default registry values vary depending on which Catalog items are included in your OS design. For more information, see Default Registry Settings.

The registry key name is HKEY_LOCAL_MACHINE\Comm\Pppoe1\Parms. The following table shows the named values for the PPPoE registry configuration parameters.

Value : type Description

BusNumber : REG_DWORD

Default set to 0. Specifies the bus number.

BusType : REG_DWORD

Default set to 0. Specifies the bus type.

DisablePowerManagement : REG_DWORD

Default set to 1. If this value is set to 1, power management is disabled, if this value is set to 0, power management is enabled.

fAcceptAnyService : REG_DWORD

Default set to 0. If this value is set to 0 (FALSE) and the Windows Embedded CE-enabled client device specifies a service name, the client will not connect to any other service name. If the client device does not specify a service name and the PPPoE Active Discovery Offer (PADO) packet contains a service name, the client device will refuse to connect to this Access Concentrator.

MaxLines : REG_DWORD

Default set to 1. Specifies the number of device lines.

MaxSendPackets : REG_DWORD

Default set to 30. Specifies the number of transmit buffers.

Windows Embedded CE enables you to associate a device line with one or more adapter instances by using the registry. The following code example shows how to associate the "PPPoe Line 3" device line with a VMINI1 adapter instance.

[HKEY_LOCAL_MACHINE\Comm\PPPOE1\Parms]
   "BusNumber"=dword:0
   "BusType"=dword:0
   "DisablePowerManagement"=dword:1
   "MaxLines"=dword:3            ; 
   "MaxLines"=dword:3            ; 
   "MaxSendPackets"=dword:30     ;
   "Line3"=multi_sz:"NE20001","PCI\\RTL81391","VMINI1"  //Associates the "PPPoe Line 3" device with adapter instance VMINI1.

See Also

Other Resources

Point-to-Point Protocol over Ethernet (PPPoE)