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.

Re: ActiveSync Registry Settings by Peter

Peter
Thu Mar 03 02:46:58 CST 2005

Roger,

make sure you have added the Activesync catalogue item to your platform then
make sure that both serial ports are working; once this is confirmed you
then need to create a connectoid for Activesync you do this by booting the
CE platform and...:

1. Start - Settings - Network & Dial-up Connections

2. Make New Connection

3. connection name: ACTIVESYNC

4. Direct Connection

5. NEXT

6. Select Device: Serial Cable on COM2:

7. Configure

8. Port Settings: deselect all check boxes

9. Port Settings: 19200, 8, N, 1, HARDWARE

10. Call Options: deselect all check boxes

11. OK

12. FINISH

13. File - Close

Now that you have created the connectoid you need to select it
automatically:

14. Start - Settings - Control Panel

15. PC Connection

16. Check: allow connection with desktop computer when device is attached

17. Connect using: ACTIVESYNC

18. OK

19. File - Close

And there you go...

once you've confirmed that Activesync is working I suggest you export the
relevant sections of the registry and add them to you platform; therefore
whenever your platform boots you will always have the connectoid :)




"Roger N." <RogerN@discussions.microsoft.com> wrote in message
news:2DDED783-E349-4E76-8591-3344C6DEED33@microsoft.com...
> 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.



Re: ActiveSync Registry Settings by RogerN

RogerN
Fri Mar 11 01:55:02 CST 2005

Hi Peter,
thanks for your advice!! I will check it out if it works.

"Peter Beard" wrote:

> Roger,
>
> make sure you have added the Activesync catalogue item to your platform then
> make sure that both serial ports are working; once this is confirmed you
> then need to create a connectoid for Activesync you do this by booting the
> CE platform and...:
>
> 1. Start - Settings - Network & Dial-up Connections
>
> 2. Make New Connection
>
> 3. connection name: ACTIVESYNC
>
> 4. Direct Connection
>
> 5. NEXT
>
> 6. Select Device: Serial Cable on COM2:
>
> 7. Configure
>
> 8. Port Settings: deselect all check boxes
>
> 9. Port Settings: 19200, 8, N, 1, HARDWARE
>
> 10. Call Options: deselect all check boxes
>
> 11. OK
>
> 12. FINISH
>
> 13. File - Close
>
> Now that you have created the connectoid you need to select it
> automatically:
>
> 14. Start - Settings - Control Panel
>
> 15. PC Connection
>
> 16. Check: allow connection with desktop computer when device is attached
>
> 17. Connect using: ACTIVESYNC
>
> 18. OK
>
> 19. File - Close
>
> And there you go...
>
> once you've confirmed that Activesync is working I suggest you export the
> relevant sections of the registry and add them to you platform; therefore
> whenever your platform boots you will always have the connectoid :)
>
>
>
>
> "Roger N." <RogerN@discussions.microsoft.com> wrote in message
> news:2DDED783-E349-4E76-8591-3344C6DEED33@microsoft.com...
> > 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.
>
>
>