Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2005

    KPropertyKeyBluetoothGetLocalDeviceAddress error

    I'm trying to get the local bluetooth address using KPropertyKeyBluetoothGetLocalDeviceAddress, but I'm getting only zeros in the TBTDevAddr, and RProperty::Get() returns KErrNone. One of these results is obviously wrong.

    Here's my code:
    TBTDevAddr btaddr;
    TPckgBuf<TBTDevAddr> pckg(btaddr);
    int result = RProperty::Get(KUidSystemCategory, KPropertyKeyBluetoothGetLocalDeviceAddress, pckg);
    LOG("result: %i\n", result);
    I've tried it on an E61i and an N73, with the same results. Results are also the same whether or not Bluetooth is turned on.

    I've also tried the RSocket Ioctl KHCILocalAddressIoctl, but that returns KErrNotSupported.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: KPropertyKeyBluetoothGetLocalDeviceAddress error

    Strange, an other thread for today reports that it works: http://discussion.forum.nokia.com/fo...d.php?t=166635
    Are you sure about that you get KErrNone on the device?

  3. #3
    Registered User
    Join Date
    Sep 2005

    Re: KPropertyKeyBluetoothGetLocalDeviceAddress error

    Yep. Logfile contains "result: 0".

Similar Threads

  1. XMl Parser Implementation for Symbian
    By ittiam in forum Symbian
    Replies: 26
    Last Post: 2009-09-16, 05:26
  2. i cant build helloworld project
    By akhin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2008-12-22, 12:38
  3. Help with lnk2019 lnk1120 error
    By yuenfatt in forum Symbian
    Replies: 8
    Last Post: 2007-08-24, 08:21
  4. My BuilderX (with S60 SDK 2.1.NET MS version) cannot build ARMI UREL
    By danielvidonyi@hotmail.com in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-05-04, 21:30
  5. User break point error in Grid
    By ag24master in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-08-07, 08:20

Posting Permissions

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