×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jan 2005
    Posts
    63

    bluetooth:RBTSecuritySettings is not linking with btmanclient.h

    hi all

    i am facing a very very strange and stupid problem.

    i am making a blue tooth applcation with sdk 2.0.

    i am using RBTSecuritySettings to set security attribute along

    with RBTMan.

    but in my hearder file RBTSecuritySettings is giving this error


    syntax error : missing ';' before identifier iSecSession
    \SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\BLUETOOTHTEST1\GROUP\bluetoothserver.h(59) : error C2501: RBTSecuritySettings : missing storage-class or type specifiers

    i checked the header btmanclient.h i does not has RBTSecuritySettings but has RBTSecuritySettingsB. i replace RBTSecuritySettings with RBTSecuritySettingsB but makes no effect it really strange and frustrating.


    any suggestion is welcome.

    thanks in advance

  2. #2
    Super Contributor
    Join Date
    Feb 2006
    Location
    Beijing
    Posts
    4,361

    Re: bluetooth:RBTSecuritySettings is not linking with btmanclient.h

    Hi, If you used 2nd fp2,please do these step for compile:
    1. find '#ifdef __BC70s__' in btmanclient.h, and comment it.
    2. in 2nd fp2,TBTServiceSecurity change to TBTServiceSecurityB, and RBTSecuritySettings change to RBTSecuritySettingsB, please modify your code.

    good luck~
    Stay Hungry. Stay Foolish.
    Sina Weibo:
    http://weibo.com/cxt728
    QQ Weibo:
    http://t.qq.com/Cxt_programmer

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: bluetooth:RBTSecuritySettings is not linking with btmanclient.h

    Basically you could check the BT examples from 2.0/2.1 SDKs, and copy the changed code from there, there was quite mig change between the 2nd ed FP1 & 2nd ed FP2 bluetooth handling.

    Also I suppose you could make the code for 2nd Ed FP1 and compile it with that SDK, I'm rather sure the code would still Run on 2nd ED FP2 & FP 3 devices, though if you compile it with 2nd ed FP2 SDK, i'm rather sure it will not work correctly on all pre 2nd ed FP2 devices.

Posting Permissions

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