|
||
class TBTCommPortSettings;
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.
Defined in TBTCommPortSettings
:
BDAddr()const
Returns the address of the default device associated with the service. IsAuthenticationOnlySet()const
Getter to return whether only authentication has been set for the virtual serial...IsEncryptionSet()const
Getter to return whether encryption has been set for the virtual serial port con...IsSecuritySet()const
Getter to return whether any security level is set Name()const
Returns the name of the service. Port()const
Getter for the port number of the virtual serial port SecurityLevel()const
Getter for the security level of the virtual serial port SetAuthentication()
Setter to request authentication of the virtual serial connection when connectio...SetAuthenticationAndEncryption()
Setter to request authentication and encryption of the virtual serial connection...SetBTAddr(TBTDevAddr)
Sets the address of the default device associated with the service. SetName(const TDesC &)
Sets the name of the service. SetNoSecurity()
Setter to clear any setting of security settings SetPort(TUint32)
Setter for the port number of the virtual serial port SetSecurityLevel(TUint8)
Sets the security level for this default service. SetUUID(TUUID)
Sets the unique id of the service. TBTCommPortSettings()
Default constructor TBTCommPortSettings(const TDesC &,TUUID,TUint32,TUint8,TBTDevAddr)
Constructor UUID()const
Returns the unique id of the service. IMPORT_C TBTCommPortSettings(const TDesC &aName, TUUID aUUID, TUint32 aBTCommPort, TUint8 aSecurityLevel, TBTDevAddr aBDAddr);
Constructor
|
IMPORT_C const TDesC& Name() const;
Returns the name of the service.
Getter for the name of the virtual serial port
|
IMPORT_C TUUID UUID() const;
Returns the unique id of the service.
Getter for the UUID of the virtual serial port
|
IMPORT_C TBTDevAddr BDAddr() const;
Returns the address of the default device associated with the service.
Getter for the remote device address of the virtual serial port
|
IMPORT_C TUint32 Port() const;
Getter for the port number of the virtual serial port
|
IMPORT_C TBool IsSecuritySet() const;
Getter to return whether any security level is set
|
IMPORT_C TBool IsEncryptionSet() const;
Getter to return whether encryption has been set for the virtual serial port connection
|
IMPORT_C TBool IsAuthenticationOnlySet() const;
Getter to return whether only authentication has been set for the virtual serial port connection
|
IMPORT_C void SetName(const TDesC &aName);
Sets the name of the service.
Setter for the name of the virtual serial port
|
IMPORT_C void SetUUID(TUUID aUUID);
Sets the unique id of the service.
Setter for the UUID of the virtual serial port
|
IMPORT_C void SetPort(TUint32 aBTCommPort);
Setter for the port number of the virtual serial port
|
IMPORT_C void SetAuthentication();
Setter to request authentication of the virtual serial connection when connection occurs
IMPORT_C void SetAuthenticationAndEncryption();
Setter to request authentication and encryption of the virtual serial connection when connection occurs
IMPORT_C void SetBTAddr(TBTDevAddr aBDAddr);
Sets the address of the default device associated with the service.
Setter for the remote device address of the virtual serial port
|
IMPORT_C TUint8 SecurityLevel() const;
Getter for the security level of the virtual serial port
|
TBTCommPortSettings::SetSecurityLevel(TUint8)
Sets the security level for this default service. IMPORT_C void SetSecurityLevel(TUint8 aLevel);
Sets the security level for this default service.
|