Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    May 2007

    RConnection problem, Error = -30180


    I implement application which uses WiFi access point for VoIP purpose. Some time (unfortunately I can't be sure how to reproduce this bug) I see that my RConnection can't be connected (work correctly) to determined WLAN AP when phone is placed in good WiFi coverage with good RSSI level, I receive
    iStatus.Int() == -30180
    Be informed I can't check what exactly this error means, as any docs and header files don't include it.
    Also my application uses SIP profile based on the same AP that my RConnection.

    Please see exact behavior:
    1) Start application where WiFi coverage is good. App is connected to the server successfully.
    2) Move out WiFi coverage. App show that it is disconneced.
    3) Come back to WiFi. And waiting.
    4) After Some time SIP Profile is registered. My phone displays the icon of wifi-connectivity. Also I have MS Outlook running on the phone that uses same WiFi Access Point. It also works fine.
    5) But my application can't connect to AP. Using logs I see iStatus.Int() == -30180 in RunL() function.
    6) Exited the application and restarted. The same behaviour, can't connect.
    7) Went to “wlan wizard” of the phone. Disconnected the wlan manually. Restarted my app. Now it connects. iStatus.Int() == 0

    Please see code.
    void WiFiMonitor::StartSearch()
    LOGTXT("WiFiMonitor | StartSearch() | entry");
    if (IsActive())
    	TCommDbConnPref prefs;
    	TInt err = iSocketServer.Connect(KESockDefaultMessageSlots);
    	if(err != KErrNone)
    		LOGERR_ARG("WiFiMonitor | StartSearch() | iSocketServer.Connect() Failure Err :%d", err);		
    	err = iConnection.Open(iSocketServer, KConnectionTypeDefault);
    	if(err != KErrNone)
    		LOGERR_ARG("WiFiMonitor | StartSearch() | iConnection.Open() Failure Code :%d",err);
    	LOGTXT("WiFiMonitor | StartSearch() | Set prefs");
    	LOGTXT("WiFiMonitor | StartSearch() | iConnection.Start()");
    	LOGTXT("WiFiMonitor | StartSearch() | exit");
    void WiFiMonitor::RunL( )
        LOGTXT("WiFiMonitor | RunL() | [callback=CActive] entry");
        CArubaFMCClientAppUi* appUi = (CArubaFMCClientAppUi*)CEikonEnv::Static()->EikAppUi();
        TInt err = KErrNone;
        if ( iStatus.Int ( )== KErrNone && iCallBackFlag )
            err = iQOSSocket.Open (iSocketServer, KAfInet, KSockDatagram,
                    KProtocolInetUdp, iConnection );
    	LOGERR_ARG("WiFiMonitor | RunL() | WiFi Error :%d socket error: %d",iStatus.Int(), err);
            LOGTXT("WiFiMonitor | RunL() | [callback=CActive] exit");	
    Thanks for help.

  2. #2
    Regular Contributor
    Join Date
    Aug 2007

    Re: RConnection problem, Error = -30180


    The error -30180 is "No WLAN APs matching the IAP settings have been found."
    But why you get it in this case, I don't know.


  3. #3
    Regular Contributor
    Join Date
    May 2007

    Re: RConnection problem, Error = -30180

    jp40, thanks for answer.

    Could you tell me from where you know what this error means. I would like to know for further work.

    And does it mean that set IAP id is not found in current Access Points data base at that moment? (I just try to understand error reason).


  4. #4
    Regular Contributor
    Join Date
    Sep 2007

    Re: RConnection problem, Error = -30180

    thanks for your answer too.
    first i stay where there was a WLAN APs, I can connect net with it.
    after than, i go to anywhere there was not WLAN, I still want to connect net with it, it show me the error "-30180"
    Yesterday is a history. Tomorrow is a mystery. But today is a gift

Similar Threads

  1. Problem With Access Point Settings Using RConnection..
    By gmsk19 in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-06-09, 12:34
  2. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  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