×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    12

    Ecom Plugin Registration Problem

    Hiya all!

    Im testing my SIP app on the EPOC emulator using S60 FP2 SDK with an SIP plugin 3.0.

    Tested the chipflip and it works fine. With this, i know that my environment works.

    so i created mine based on it along with the ecom plugin. but then, problem arises when i try to to use an invite. It returns a 488 Not Acceptable here.

    I know this means that the SDP message isnt recognized. so i deleted the ECom.ROM.dat to get it to refresh but still to no success. I opened the file and saw the chipflip sdp line in the file....but i noticed that mine wasnt there.

    No wonder it gives out a 488! the ecom plugin isnt registered or worst, being read at all! No matter what i do, my plugin isnt being listed in the ECom.ROM.dat.

    Is there any way I can get it registered on the ECom.ROM.dat? It seems that putting the ecom dll and its RSC file in the \libs\plugins directory isn't enough after all.

    Thanks!

  2. #2
    Registered User
    Join Date
    Sep 2005
    Posts
    12

    Re: Ecom Plugin Registration Problem

    Just an update.

    Already installed the SIP Plugin 4.0, still the same.

    anybody got any ideas?

    i may be missing some files...how did u implement ur ecom plugin on ur emulator?

    thanks for any help

  3. #3
    Registered User
    Join Date
    Sep 2005
    Posts
    12

    Re: Ecom Plugin Registration Problem

    got it to work!

    thread close!

  4. #4
    Registered User
    Join Date
    Jul 2003
    Posts
    190

    Re: Ecom Plugin Registration Problem

    Please post solution.

    I also try my ECom plugin being recognized, but it's not. I've created DLL and RSC files and placed them to correct locations, yet plugin isn't found.

    Just describe your mistake and solution, maybe it'll help.
    Thanks

  5. #5
    Regular Contributor
    Join Date
    Oct 2005
    Location
    Mumbai, India
    Posts
    103

    Re: Ecom Plugin Registration Problem

    Hi Mike, I was around the same problem some times before.I have tried a lot and finally able to register my plugin with the Ecom.Try the following steps.
    1)delete your Ecom.rom.Dat and other files in that folder.

    2)give the uid of your application to the rss file of your plugin and edit the opaque_data field as
    opaque_data = "<SIP_CLIENT ALLOW_STARTING=\"YES\"><SIP_HEADERS><ACCEPT value=\"application/sdp\"/></SIP_HEADERS><SDP_LINES><LINE name=\"m\" value=\"application 1025 tcp Your application name\"/></SDP_LINES></SIP_CLIENT>";

    3)Uninstall your Nokia SIP server emulator and reinstall it.
    4)Run your example plugin and check the Ecom.Rom.Dat to know whether it registered your plugin.
    Make sure that you are not running the chipflip ecom plugin prior to running your application's Ecom plugin.

    ......just try your luck with the above method

    hope it work
    regards
    Rafeeq

  6. #6
    Registered User
    Join Date
    Jul 2003
    Posts
    190

    Re: Ecom Plugin Registration Problem

    Hi,
    I've tried 1), no success so far.

    Actually my plugin is not SIP, so opaque data don't matter I think.

    I have generic plugin which implements my own interface, so I have also defined own interface uid. Hopefully this is possible.

    I try to find my plugin with REComSession::ListImplementationsL giving it interface UID used in plugin's registration file in interface_uid member, but it always returns 0 implementations found.

    Any idea what I may be doing wrong?

  7. #7
    Registered User
    Join Date
    Jul 2003
    Posts
    190

    Re: Ecom Plugin Registration Problem

    I got it registered!
    Deleting Ecom.rom.Dat is not needed, it's updated automatically.

    The problem was I forgot to define UID2=0x101f747d when calling rcomp.exe, so my rsc file was not proper ECom registration file. Now my plugin is found!

  8. #8
    Regular Contributor
    Join Date
    May 2006
    Posts
    58

    Re: Ecom Plugin Registration Problem

    I'm trying to use Chipflips ECOM plugin. I've changed the UID in the Dlls rss as well as the opaque data section. Compiling seems to put the dll and the 1020691B.RSC file into the correct place, z:system/libs/plugins. How can I tell that the plugin is registered correctly? I'm assuming it is working as I'm getting 603 decline messages for MESSAGE and PUBLISH.

    Anyone have an example app handy? (Not chipflip or battleships)

    Cheers!
    Last edited by PrinceAlbertz; 2006-05-16 at 11:07.

  9. #9
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    52

    Re: Ecom Plugin Registration Problem

    Hi Mike,
    We face the same problem. Our plugin is not detected by ECom framework & we cant see it via ListImplementationL(). You said something about UID2 being 0x101f747d. We are creating a Browser MIME type Plugin. What could be the problem. Following are our .MMP and .RSS files.

    --MMP--
    TARGET BrowserPlugin.dll
    TARGETTYPE PLUGIN
    UID 0x10009D8D 0xA000030C
    TARGETPATH \apps\plugin
    VENDORID 0
    CAPABILITY NetworkServices LocalServices ReadUserData WriteUserData ReadDeviceData WriteDeviceData SwEvent UserEnvironment DRM NetworkControl
    /* [+] */ USERINCLUDE ..\data
    USERINCLUDE ..\src
    USERINCLUDE ..\inc
    SYSTEMINCLUDE \epoc32\include
    SYSTEMINCLUDE \epoc32\include\libc
    SYSTEMINCLUDE \epoc32\include\ecom
    SYSTEMINCLUDE ..\inc

    SOURCEPATH ..\src
    SOURCE logfile.cpp
    SOURCE BrowserControl.cpp
    SOURCE E32NpDllEntryPoint.cpp
    SOURCE BrowserInterface.cpp
    SOURCE BrowserPlugin.cpp

    LIBRARY CHARCONV.LIB
    LIBRARY HAL.LIB
    LIBRARY efsrv.lib
    LIBRARY fbscli.lib
    LIBRARY cone.lib
    LIBRARY estlib.lib
    LIBRARY ecom.lib
    LIBRARY euser.lib

    SOURCEPATH ..\Data
    START RESOURCE A000030C.rss
    TARGET BrowserPlugin.rsc
    END
    --------

    --A000030C.rss--
    RESOURCE REGISTRY_INFO theInfo
    {
    dll_uid = 0xA000030C; // should match the name of the file.
    // 3-d Uid of associeted plugin dll (declared in the dll mmp file)

    interfaces=
    {
    INTERFACE_INFO
    {
    interface_uid = 0x101F8810; // identifies plugin type (used by ECom)
    implementations =
    {
    IMPLEMENTATION_INFO
    {
    implementation_uid = 0xA000030D; // specify specific implementation (must
    // match an implementation entry in the dll
    version_no = 1;
    display_name = "BrowserPlugin.dll;RSS Plug-in"; // file name; plugin's name
    default_data = "text/html;html";
    opaque_data = "RSS plug-in for Podcasting"; // plugin's description
    }
    };
    }
    };
    }
    -------

    Regards,
    AG

Similar Threads

  1. problem when stop playing video on 3650 and try to play again
    By niko86 in forum Mobile Java General
    Replies: 5
    Last Post: 2007-08-03, 07:40
  2. SIP Plugin Problem
    By pratsdim in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2007-05-08, 15:53
  3. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  4. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36
  5. PJava runtime problem within Nokia 9210, Hrlp~!
    By Nokia_Archive in forum PersonalJava
    Replies: 1
    Last Post: 2002-05-28, 13:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×