Which header has RBTSecuritySettings

Login to reply to this topic.
Fri, 2005-08-05 08:17
Joined: 2005-08-04
Forum posts: 11
I am trying to build bluetooth pmp example. i am using eka2. when i build CW is unable to find RBTSecuritySettings . Which header and library required for RBTSecuritySettings.
-datha

Fri, 2005-08-05 08:36
Joined: 2005-06-10
Forum posts: 26
Re: Which header has RBTSecuritySettings
Hi,

This class is found in btmanclient.h.

However, which SDK are you using to build the project? For Series60, this class has been removed from the SDK 2.6 FP2 onwards, but is available in the earlier SDKs, so the project won't build if you are using FP2.

Regards,
MoS.
Thu, 2005-08-11 10:06
Joined: 2005-06-08
Forum posts: 53
Re: Which header has RBTSecuritySettings
Quote from: MoS
Hi,

This class is found in btmanclient.h.

However, which SDK are you using to build the project? For Series60, this class has been removed from the SDK 2.6 FP2 onwards, but is available in the earlier SDKs, so the project won't build if you are using FP2.

Regards,
MoS.

Is there any other function/lib to do the job of RBTSecuritySettings by using FP2?

Thanks
Thu, 2005-08-11 10:54
Joined: 2005-06-10
Forum posts: 26
Re: Which header has RBTSecuritySettings
Hi,

The bluetooth security paradigms have been changed majorly from FP2 onwards.

The FP2 release notes say that they have documented these changes in a file called README_BLUETOOTH.txt that comes with the FP2 installation package.

I couldn't find this file in the package I downloaded Sad, so can't help you there, however, if you can find that file, maybe that could be of some help.

Regards,
MoS.
Mon, 2005-08-15 09:50
Joined: 2005-06-08
Forum posts: 53
Re: Which header has RBTSecuritySettings
http://www3.symbian.com/faq.nsf/0/0BAD854B09D8E20480256FE3005449D3?OpenDocument

Quote
Question:
I am having difficulty running Series 60 code written for v6.1 and v7.0s phones on newer Symbian OS phones using 8.0a and/or recompiling my code on new SDKs, such as the Series 60 2nd Edition FP2.

Answer:

      You may be experiencing such problems if you are using the Bluetooth Registry for configuring the Bluetooth virtual serial port settings.
      Previously with Symbian OS v6.1/v7.0 and v7.0s you would have used the API as declared in btregistry.h. In v8.0a you have to include btdefcommport.h and btmanclient.h instead. Moreover, you need to link against btmanclient.lib as opposed to btregistry.lib in your MMP file.

      Unfortunately, btdefcommport.h is missing from S60 v2 FP2 SDK, and you can't reuse the 7.0s btdefcommport.h found in the Series 80 v2 and Techview v7.0s SDKs. Use the supplied v8.0a btdefcommport.h file by copying it into your v8.0a SDK's \epoc32\include directory.

      The new Bluetooth API is documented in the Symbian OS v8.1a developer library on Symbian Developer Network website (http://www.symbian.com/developer/techlib/sdl.html).

      Examples of its usage can be found in the source of the BTComm Control application in the example applications section of the Symbian Developer Network website (http://www.symbian.com/developer/development/index.html#example)
Mon, 2005-08-15 14:00
Joined: 2005-06-08
Forum posts: 53
Re: Which header has RBTSecuritySettings
Quote
The methods RBTSecuritySettings::RegisterService and RBTSecuritySettings::UnregisterService (defined in btmanclient.h) used for configuring security for incoming connections have been replaced by TBTSockAddr::SetSecurity (defined in bt_sock.h), which sets the security when the listening socket is opened. It is now also used for outgoing connection sockets; the formerly used Ioctls KHCIEncryptIoctl and KHCIAuthRequestIoctl now return KerrNotSupported.
Typedef name TBTDevAddrPckg is changed to TBTDevAddrPckgBuf, defined in btmanclient.h.
  • Login to reply to this topic.