×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Feb 2007
    Location
    Bangalore, India
    Posts
    122

    Lightbulb any alternative for RBTSecuritySettings??

    Hi all,

    I am using RBTSecuritySettings class in my application, but it is showing some linking error as RBTSecuritySettings class not defined.

    Then while serching I got that RBTSecuritySettings is been changed to RBTSecuritySettingsB. But on changing it to RBTSecuritySettingsB also the same error is coming.

    So ny one knows wht is the actual problem whts going wrong ?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: any alternative for RBTSecuritySettings??

    I guess the question is about 3rd edition, try using TBTServiceSecurity.

  3. #3
    Regular Contributor
    Join Date
    Feb 2007
    Location
    Bangalore, India
    Posts
    122

    Re: any alternative for RBTSecuritySettings??

    Hi Wizard ,
    Its for 2nd edition. In the SDK its mentioned that :

    Code:
    Incoming connections will not work unless they have 
    been registered with the Bluetooth security manager, thus 
    allowing the incoming traffic through the security wall, which 
    by default denies access to all connection attempts
    also they are saying that :

    Code:
    The security profile is created and packaged in 
    serviceSecurity and applied using RBTSecuritySettings::RegisterService(). 
    The security profile overrides the default security settings thereby allowing
     incoming connections
    so using TBTServiceSecurity we can not RegisterService. for that I was using the RBTSecuritySettings class. but the error results.

    Plz help .

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: any alternative for RBTSecuritySettings??

    TBTSockAddr.SetSecurity(const TBTServiceSecurity &aSecurity); does the work for you.

  5. #5
    Regular Contributor
    Join Date
    Feb 2007
    Location
    Bangalore, India
    Posts
    122

    Re: any alternative for RBTSecuritySettings??

    So, I need not take any extra burden for registering the service ?

  6. #6
    Regular Contributor
    Join Date
    Feb 2007
    Location
    Bangalore, India
    Posts
    122

    Re: any alternative for RBTSecuritySettings??

    Hello Wizard_hu sir,

    Shall I not use any thing for registerin right na ???
    or shall I use RServiceResolver class or else to register ????

    help plzz.
    Rajan

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: any alternative for RBTSecuritySettings??

    Although I do not know the class RServiceResolver, my BT code (I use RFCOMM) actually works with TBTSockAddr::SetSecurity.

  8. #8
    Regular Contributor
    Join Date
    Feb 2007
    Location
    Bangalore, India
    Posts
    122

    Re: any alternative for RBTSecuritySettings??

    SO are u getting the notification for the connection request and the datas that are been send by the remote device through Bluetooth??

    as because I first tried with the same (RFCOMM) and used the class u mentioned, but I was not getting the data that is been sent by the other remote device.

    can u plz help me out in this respect??

    thnx,
    Rajan.

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: any alternative for RBTSecuritySettings??

    How about checking the BTPointToPoint example bundled with 2nd edition S60 SDK-s?

Similar Threads

  1. Request | SDKs >> Alternative download site
    By series60nubee in forum Symbian Tools & SDKs
    Replies: 21
    Last Post: 2010-01-20, 10:15
  2. Replies: 5
    Last Post: 2007-05-22, 09:49
  3. Sycml alternative
    By angelescifuentes in forum OMA DM/DS/CP
    Replies: 1
    Last Post: 2006-07-20, 17:44
  4. Nokia Developer Suite - An Alternative to EclipseME ?
    By ozgurdeniz.onur in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2005-10-09, 09:04
  5. alternative to syncml?
    By dirty_harry in forum OMA DM/DS/CP
    Replies: 1
    Last Post: 2004-10-09, 07:50

Posting Permissions

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