#include <btdefcommport.h>
class TBTCommPortSettings |
Public Member Functions | |
---|---|
TBTCommPortSettings(const TDesC &, TUUID, TUint32, TUint8, TBTDevAddr) | |
TBTCommPortSettings() | |
IMPORT_C TBTDevAddr | BDAddr() |
IMPORT_C TBool | IsAuthenticationOnlySet() |
IMPORT_C TBool | IsEncryptionSet() |
IMPORT_C TBool | IsSecuritySet() |
IMPORT_C const TDesC & | Name() |
IMPORT_C TUint32 | Port() |
IMPORT_C TUint8 | SecurityLevel() |
IMPORT_C void | SetAuthentication() |
IMPORT_C void | SetAuthenticationAndEncryption() |
IMPORT_C void | SetBTAddr(TBTDevAddr) |
IMPORT_C void | SetName(const TDesC &) |
IMPORT_C void | SetNoSecurity() |
IMPORT_C void | SetPort(TUint32) |
IMPORT_C void | SetSecurityLevel(TUint8) |
IMPORT_C void | SetUUID(TUUID) |
IMPORT_C TUUID | UUID() |
Used to configure a virtual serial port. The very least that is needed to configure a virtual serial port is the Bluetooth device address of the remote, and the SDP UUID to use on that device.
This info can then be saved by the registry and retrieved when needed.
IMPORT_C | TBTCommPortSettings | ( | const TDesC & | aName, |
TUUID | aUUID, | |||
TUint32 | aBTCommPort, | |||
TUint8 | aSecurityLevel, | |||
TBTDevAddr | aBDAddr | |||
) |