Hi all
Our target device (x86) has only one serial interface, COM2.
Is it possible to use ActiveSync with the COM2 serial interface?
I recaptured COM1 according to the article from Dennis Krabbe.
We want to use the same image for a different target device which
has two serial ports.
My registries in platform.reg look like this:
IF BSP_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
"SysIntr"=dword:14
"IoBase"=dword:03F8
"IoLen"=dword:8
"DeviceArrayIndex"=dword:0
"Prefix"="COM"
"Dll"="Com16550.Dll"
"Order"=dword:0
"Priority"=dword:0
; Turn on follows for Installable ISR (isr16550 supporting SOFTWARE FIFO
; "Irq"=dword:3
; "IsrDll"="isr16550.dll"
; "IsrHandler"="ISRHandler"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"=LOC_FRIENDLYNAME_SERIAL
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00,
00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_NOSERIAL !
IF BSP_SERIAL2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"SysIntr"=dword:13
"IoBase"=dword:02E8
"IoLen"=dword:8
"DeviceArrayIndex"=dword:1
"Prefix"="COM"
"Dll"="Com16550.Dll"
"Order"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"=LOC_FRIENDLYNAME_SERIAL2
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00,
00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_SERIAL2
I also made the following entry according to the online documentation
of ActiveSync:
[HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services]
"SerialBaudRate"=dword:0000e100
"SerialPort"="Serial2"
The recaptured COM1 port works fine. But somehow I can't open a connection
via ActiveSync on COM2. Can anybody help me?
Thanks
Roger N.