×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2003
    Location
    France
    Posts
    17

    Detect connection Bluetooth or GPRS

    Hello,
    I want to write a Symbian program on a nokia 3650 to know if a connection ( GPRS connection or Serial Bluetooth connection ) is active or not before to open a TCP socket.
    I tried with NifMan and NetworkActive method, but it works with GPRS connection only. If a bluetooth serial connection is opened, NifMan.NetworkActive return false.

    So, I don't know how see if a serial bluetooth connection is active or not.

    Anybody can help me ?

    Thank's

  2. #2
    Regular Contributor
    Join Date
    Jun 2003
    Posts
    113

    mRouter

    You can detect the mRouter status [see MRStatusL()], if mRouter is active, then you are 'connected'. If you are connected, then you can use RSocket::Connect() to open a tcp/ip connection.

    Note that this will not work on 6600.

    See: "mrouterclient.h"

  3. #3
    Registered User
    Join Date
    Jul 2003
    Location
    France
    Posts
    17
    I thank'you.
    But, i don't have the mrouterclient.h file and the documention about. I have only mrouterclient.lib and mrouterclient.dll files.

    How can i have mrouterclient.h ?
    Anybody can he give me this file ?

    Thank's

  4. #4
    Registered User
    Join Date
    Jul 2003
    Location
    France
    Posts
    17
    I found the mrouterclient.h in a another sdk, but when I use MRStatusL, the application crashes ??
    When steps i must do before use the MRStatusL methode ?

    Thank's

Posting Permissions

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