none
Telit GC864 RRS feed

  • Question

  • Hi

         We r using GC864 GSM module from Telit and the environment is Wince6.0.We got the following dlls from Telit ->rilgsm.dll and riltelit.dll.

            The problem is we don't know how to integrate these dlls in the image.Can anyone help me in solving this issue.I need the registry settings and the settings to be included in the platform.bib file.

    Wednesday, August 25, 2010 9:07 AM

All replies

  • For the regular registry settings of loading a driver you can read Bruce Eitman's blog .

    There might be specific registry settings for the driver. You need to contact Telit to get those. I'd recommend asking them for the sources and signing an NDA. It will be easier for you integrate the driver with the power up/down sequences.

    Shai

    Wednesday, August 25, 2010 9:14 AM
  • Hi

         Thanks for ur reply.Actually i signed the NDA with Telit and got the driver.They provided the source code and rilgsm.dll.When i built the driver i got riltelit.dll. But i they didn't provide me any registry files.Have u worked with Telit GC864 module?. Can u provide me the registry settings for that

     

    William

    Wednesday, August 25, 2010 10:32 AM
  • Windows CE 6.0 Device Emulator BSP contains a sample RIL Driver. It is the driver for ENFORA. you can take the registry settings and bib file entry from this BSP as a example. The sample Registry and bib files are in the \WINCE600\PLATFORM\DEVICEEMULATOR\FILES\platform.reg and platform.bib. Hope this will give you some idea about the RIL registry settings.


    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Wednesday, August 25, 2010 10:37 AM
  • Hi William,

    Vinoth's suggestion is the place to start. I worked with Telit once, I only remember they had an additional registry entry regarding some MUX configuration. As far as I recall the registry file was included in the driver they supplied. Contact them. Their support was quick for easy requests such as this.

    Shai

    Wednesday, August 25, 2010 10:58 AM
  • Hi Shai

               Do i need to enable some options in Catalog Items for Telit driver to work;I have modified the platform.reg file in \WINCE600\PLATFORM\DEVICEEMULATOR\FILES\platform.reg  according to our platform.But still i am not able to find the virtual connection in the "Network and Dial-up connection".I see only one option , i.e. Hayes Compatible on COM1:

     

    Regards

    William

    Wednesday, August 25, 2010 12:17 PM
  • Have you enabled the necessary cellcore components in the catalog Item? that is common for who are all using the RIL architecture. To show a connection in the "Network and Dial-up connection", you have to enable the CellTSP (SYSGEN_CELLCORE_CELLTSP) from the cellcore component.
    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Thursday, August 26, 2010 7:32 AM
  • Hi Vinoth

             Is it enough to include only SYSGEN_CELLCORE_CELLTSP or i have to include "All Modules" (SYSGEN_CELLCORE)option in Cellcore component.

          I have enabled SYSGEN_PPP,SYSGEN_AUTORAS,SYSGEN_MODEM,SYSGEN_TAPI,SYSGEN_UNIMODEM in Networking-Wide Area Network(WAN) of the catalog item.Is this setting necessary? or only the SYSGEN_CELLCORE_CELLTSP  component is enough

     

    Regards

    William

     

    Thursday, August 26, 2010 8:27 AM
  • you need all the component you have mentioned. I have few questions to you regarding the cellcore. What is the purpose of your modem?

    1)Are you going to use for GPRS alone?

    or

    2) All the functionality like Phone, SIM related operations, GPRS, signal strength etc..

    If your purpose is 1), then Use unimodem for GPRS (Hayes compatible Modem).  See this article.

    http://www.windowsfordevices.com/c/a/Windows-For-Devices-Articles/Making-GPRS-connections-in-Windows-CE-60/

    if your purpose is 2), then use cellcore and it is better to select all the cellcore components.

     Definitely RIL proxy(SYSGEN_CELLCORE_RIL) is necessary.


    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Thursday, August 26, 2010 10:08 AM
  • Hi

            The purpose of our modem is the point 2 mentioned by u.I got the driver from Telit .They gave the driver and registy file.But the problem is when i build the driver i get riltelit.dll and in the registry settings it is mentioned as rilgsm.dll (This dll they have sent separatley.no source code for this.).I don't know which dll to use. The registry settings is

      [HKEY_CURRENT_USER\ControlPanel\Phone]
     "Features"=dword:0206C7D8

    [HKEY_LOCAL_MACHINE\System\State\Phone]
     "Phone Status Flags"=dword:10
                   
    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]
     "Dll"="rilgsm.dll"
     "Index"=dword:1
     "Order"=dword:9
     "Prefix"="RIL"  
     "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
     "ComPort"="COM8:"
     "ComPortNotifications"="COM8:"
     "RebootOKEvName"="Mux0710_RebootOK"    ; name of the event used to signal reboot OK
     "RebootKOEvName"="Mux0710_RebootKO"    ; name of the event used to signal reboot failure
     "LastEquipmentState"=dword:2
     "LastCLIR"=dword:2
     "MaxTimeouts"=dword:2710
        
    [HKEY_LOCAL_MACHINE\Comm\Cellular\RIL]
     "CapsNotificationImplParams"=dword:0000000

     

     

     

     

    Thursday, August 26, 2010 10:58 AM
  • Check the platform.bib for the following entry, if not,  add the following entry in the MODULES section.

       rilgsm.dll          $(_FLATRELEASEDIR)\riltelit.dll          NK  SHK

    Then riltelit.dll is automatically renamed to rilgsm.dll during the Makeimg(final stage of build) process.

    No need to change the registry settings.


    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Thursday, August 26, 2010 11:13 AM
  • Hi

               I have one more doubt.In the platform.reg of DEVICEEMULATOR BSP apart from the [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]  registry settings there are also extra entries related to MUX i.e.,

                  [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ttpmux1]

                   [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ttpmux2] and etc...

    How to include that MUX driver for my platform,becuase when the image is loaded i don't find any options in "Select Modem" option in Network and Dialup connections.Only Hayes Compatible on COM1: option is there.

    Thursday, August 26, 2010 11:33 AM
  • Hi Vinoth

                  Thanks for ur prompt reply

                  We got one option now in the  "Select Modem" option in Network and Dialup connections.The option is

    "Cellular Line".But the problem is when i select "Cellular Line" option and press Configure ,i get an application error as follows

       "Application connmc.exe encountered a serious error and must shutdown"

        As mentioned in ur blog http://www.windowsfordevices.com/c/a/Windows-For-Devices-Articles/Making-GPRS-connections-in-Windows-CE-60/ , the procedure for connecting through Dialup Network, is there any procedure for configuring through RIL driver

     

    Regards

    William

     

    Thursday, August 26, 2010 11:55 AM
  • Is your GSM modem support MUX mode then you can use the MUX driver.

    Don't use these registry..

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ttpmux1]

     [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ttpmux2]

    Use the registry from IMGENFORA for MUX. See the sample given platform.reg of DeviceEmulator BSP

     [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GSM0710_1]
                "Prefix"="COM"
                "Dll"="Mux07_10.dll"
                "DeviceArrayIndex"=dword:1
                "Index"=dword:7
                "Order"=dword:2
                ; power manager enabled device driver
                "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
                ; GSM 07.10 specific
                "GSM_0710_DLCI"=dword:1   ; Rem: Dlci also define priority (lowest is low prio)
                "GSM_0710_TYPE"=dword:1   ; boolean: 1 (true) is for AT cmd, 0 (false) is for Data

            ; COM9 for ppp connection over CSD / GPRS                   
            [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GSM0710_2]
                "Prefix"="COM"
                "Dll"="Mux07_10.dll"
                "DeviceArrayIndex"=dword:1
                "Index"=dword:9
                "Order"=dword:3
                ; power manager enabled device driver
                "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
                ; GSM 07.10 specific
                "GSM_0710_DLCI"=dword:2    ; Rem: Dlci also define priority (lowest is low prio)
                "GSM_0710_TYPE"=dword:1    ; boolean: 1 (true) is for AT cmd, 0 (false) is for Data

            ; COM1 for underlying GSM 07.10
            [HKEY_LOCAL_MACHINE\Software\Microsoft\GSM07_10]
                "ComPort"="COM1:"
                "BaudRate"=dword:1C200    ; 115200
                "FrameOption"=dword:1     ; Advanced


    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Thursday, August 26, 2010 11:55 AM
  • You cannot vote on your own post
    0

    Hi Vinoth

                  Thanks for ur prompt reply

                  We got one option now in the  "Select Modem" option in Network and Dialup connections.The option is

    "Cellular Line".But the problem is when i select "Cellular Line" option and press Configure ,i get an application error as follows

       "Application connmc.exe encountered a serious error and must shutdown"

        As mentioned in ur blog http://www.windowsfordevices.com/c/a/Windows-For-Devices-Articles/Making-GPRS-connections-in-Windows-CE-60/ , the procedure for connecting through Dialup Network, is there any procedure for configuring through RIL driver

              Whether i have to implement a MUX driver similiar to Mux07_10.dll for creating virtual com port? or is there any standard MUX driver so that i can include it in my platform

    Regards

    William

    Thursday, August 26, 2010 12:32 PM
  • The article i have given for simple standard unimodem. Celltsp is a seperate TSP and it is using RIL architecture. It will call some RIL APIs to initate the GPRS communication. These RIL APIs is using RIL proxy driver. I don't have settings for celltsp and also no idea about the API call sequence. Best way is - get the support from your Modem Vendor who is selling the riltelit.dll.
    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Thursday, August 26, 2010 12:34 PM
  • Hi Vinoth

     Thanks a lot for replying me all these times.I will contact the vendor for configuring our GSM module and will get back to u if i find any issues

     

     

    Thursday, August 26, 2010 12:48 PM
  • Regarding the Mux07_10.dll, This is a standard GSM MUX 7.10 driver given in the cellcore architecture. This will be used to create virtual ports. Just confirm with your vendor about the MUX version in the Modem or else you can see the version in the modem data sheets.


    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    • Proposed as answer by Vinoth[MCTS] Thursday, August 26, 2010 1:29 PM
    Thursday, August 26, 2010 1:29 PM
  • Hi

              I got the MUX driver from the vendor and added to my image.But still i am not able to get the virtual port connection in the "Network and Dialup Connections".The registry settings given by them for RIL and MUX is

    RIL Registry

        [HKEY_CURRENT_USER\ControlPanel\Phone]
     "Features"=dword:0206C7D8
     

     
    [HKEY_LOCAL_MACHINE\System\State\Phone]
     "Phone Status Flags"=dword:10
                   
    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]
     "Dll"="rilgsm.dll"
     "Index"=dword:1
     "Order"=dword:9
     "Prefix"="RIL"  
     "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
     "ComPort"="COM8:"
     "ComPortNotifications"="COM8:"
     "RebootOKEvName"="Mux0710_RebootOK"    ; name of the event used to signal reboot OK
     "RebootKOEvName"="Mux0710_RebootKO"    ; name of the event used to signal reboot failure
     "LastEquipmentState"=dword:2
     "LastCLIR"=dword:2
     "MaxTimeouts"=dword:2710
        
    [HKEY_LOCAL_MACHINE\Comm\Cellular\RIL]
     "CapsNotificationImplParams"=dword:00000000       ;00000007

    MUX Registry

     [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GSM0710_1]
     "Prefix"="COM"
     "Dll"="Mux07_10.dll"
     "DeviceArrayIndex"=dword:1
     "Index"=dword:8
     "Order"=dword:5
     "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
     "GSM_0710_DLCI"=dword:1   ; Rem: Dlci also define priority (lowest is low prio)
     "GSM_0710_TYPE"=dword:1   ; boolean: 1 (true) is for AT cmd, 0 (false) is for Data
     "GSM_0710_ACTIVITY_TIMEOUT"=dword:2710
            
    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GSM0710_2]
     "Prefix"="COM"
     "Dll"="Mux07_10.dll"
     "DeviceArrayIndex"=dword:1
     "Index"=dword:9
     "Order"=dword:6
     "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
     "GSM_0710_DLCI"=dword:2    ; Rem: Dlci also define priority (lowest is low prio)
     "GSM_0710_TYPE"=dword:1    ; boolean: 1 (true) is for AT cmd, 0 (false) is for Data
     "GSM_0710_ACTIVITY_TIMEOUT"=dword:4E20

    [HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
     "ComPort"="COM2:"
     "BaudRate"=dword:1C200    ; 115200
     "FrameOption"=dword:0     ;
     "FrameSize"=dword:00000070      

    We have connected the Telit GSM module to COM port 1 of our processor.(the processor has 4 UARTs).

     Can u tell me where am i going wrong.When i saw the registry in my device all the above entries r added and the rilgsm.dll and mux07_10.dll are present in the device.Whether i have to replace  "ComPort"="COM2:" with "ComPort"="COM1:" ?

     

    Regards

    William

     

     

     

    Friday, August 27, 2010 9:50 AM
  • yes. you have to replace COM2 with COM1.
    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Friday, August 27, 2010 3:06 PM
  • Hi

                 i have replaced COM2 with COM1.But still i didn't get any virtual connection options in "Dialup and Network properties" window

    i have one doubt.In the source file of MUX driver they r creating only Library, i.e., mux07_10.lib

     TARGETNAME=Mux07_10

    DEFFILE=ser_intf.def
    RELEASETYPE=OAK
    TARGETTYPE=LIBRARY

    #TARGETDEFNAME=Mux07_10
    #WINCETARGETFILE0=$(_RELEASELIBDIR)\$(TARGETDEFNAME).def

    WINCEOEM=1

    !IFDEF GSM0710_LOG_MSG
    CDEFINES=$(CDEFINES) -DGSM0710_LOG_MSG -DGSM0710_ERR_MSG
    !ENDIF

    !IFDEF GSM0710_ERR_MSG
    CDEFINES=$(CDEFINES) -DGSM0710_ERR_MSG
    !ENDIF

    SOURCES= \
     chanel.cpp  \
     dispatcher.cpp \
     ser_intf.cpp \
     hw_related.cpp 

     

     

    but in the platform.bib the vendor has asked to add

     Mux07_10.dll           $(_FLATRELEASEDIR)\Mux07_10.dll   NK  SHK

     How is this Mux07_10.dll created.It is giving error for me while the image is building,i.e., unable to find the mux07_10.dll

    i have commented the following 2lines in the source file of mux driver

    #TARGETDEFNAME=Mux07_10
    #WINCETARGETFILE0=$(_RELEASELIBDIR)\$(TARGETDEFNAME).def

    because if i uncomment that it is giving the following error.

    BUILD: [00:0000000022:ERRORI] Tried to look up directory info for directory with no drive: \oak\lib\ARMV4I\retail\Mux07_10.def

     

    Regards

    William

     

    Sunday, August 29, 2010 10:24 AM
  • Conversion from Mux07_10.lib to Mux07_10.dll during the sysgen process. If you have select "All modules" (SYSGEN_CELLCORE), the Mux07_10.dll will be automatically created. In this case you won't get the  error during the image building.
    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Monday, August 30, 2010 6:50 AM
  • Hi All

               I have solved the problem.There was some hardware problem with our device.We fixed that and it is working now.

    Friday, September 17, 2010 2:00 PM