Hi all,
I have followed instruction
Debugging Symbian S60 with Carbide C++ Express and NCF 1.2 Bluetooth
http://discussion.forum.nokia.com/fo...ad.php?t=88537
and I modified CListener::SetSecurityL
void CListener::SetSecurityL(TInt aChannel)
{
TRequestStatus status;
RBTMan secManager;
TBTServiceSecurity secSettings;
TBTSockAddr listeningAddress;
// Set the Port to listen to.
listeningAddress.SetPort( aChannel );
// setup security
TUid settingsUID;
settingsUID.iUid = KBT_serviceID;
secSettings.SetUid(settingsUID);
secSettings.SetAuthentication(EFalse);
secSettings.SetAuthorisation(EFalse);
secSettings.SetEncryption(EFalse);
secSettings.SetDenied(EFalse);
// register settings with security
// Attach the security settings.
listeningAddress.SetSecurity(secSettings);
}
but example app does not work.
If I select "Discover devices" I got "Unable to execute file for security reason"
I added "NetworkServices" and "ReadUserdata" capabilities.
Most interesting that if I select "Start Slave" application crashes without any error message.
What capabilities requires TBTServiceSecurity?
What causes application to crash?
Zdenko



