#include <bt_sock.h>
Link against:
bluetooth.lib
Class TRfcommRemotePortParams
class TRfcommRemotePortParams;
Description
RF COMM remote port parameters.
Members
Defined in TRfcommRemotePortParams
:
GetBitRate(TBps &)const
GetDataBits(TDataBits &)const
If Data Bits are valid, sets reference and returns True, otherwise, returns Fals...
GetFlowCtrl(TUint8 &)const
If Flow Control is valid, sets reference and returns True, otherwise, returns Fa...
GetParity(TParity &)const
If Parity is valid, sets reference and returns True, otherwise, returns False
GetStopBit(TStopBits &)const
If Stop Bit is valid, sets reference and returns True, otherwise, returns False
GetXOffChar(TUint8 &)const
If XOff Char is valid, sets reference and returns True, otherwise, returns False...
GetXOnChar(TUint8 &)const
If XOn Char is valid, sets reference and returns True, otherwise, returns False
IsValid()const
SetBitRate(TBps)
SetDataBits(TDataBits)
SetFlowCtrl(TUint8)
SetParity(TParity)
SetStopBit(TStopBits)
SetXOffChar(TUint8)
SetXOnChar(TUint8)
TRfcommRemotePortParams()
UpdateFlowCtrlBit(TUint8,TRPNFlowCtrlMask)
Constructor Set the flow control bit specified by aFCMask to the same value it h...
UpdateFromRPNTransaction(const TRfcommRPNTransaction &)
Update using a TRfcommRPNTransaction class. Update all parameters according to p...
UpdateWholeFlowCtrl(TUint16,TUint8)
Used to update flow control with relevant bits from aFlowCtrl (as specified by a...
Construction and destruction
TRfcommRemotePortParams()
IMPORT_C TRfcommRemotePortParams();
Description
IMPORT_C TUint8 IsValid() const;
Description
Return value
IMPORT_C TBool GetBitRate(TBps &aBitRate) const;
Description
Parameters
Return value
IMPORT_C TInt SetBitRate(TBps aBitRate);
Description
Parameters
Return value
GetDataBits(TDataBits &)const
IMPORT_C TBool GetDataBits(TDataBits &aDataBits) const;
Description
If Data Bits are valid, sets reference and returns True, otherwise, returns False
Parameters
Return value
IMPORT_C TInt SetDataBits(TDataBits aDataBits);
Description
Parameters
Return value
GetStopBit(TStopBits &)const
IMPORT_C TBool GetStopBit(TStopBits &aStopBit) const;
Description
If Stop Bit is valid, sets reference and returns True, otherwise, returns False
Parameters
Return value
IMPORT_C TInt SetStopBit(TStopBits aStopBit);
Description
Parameters
Return value
GetParity(TParity &)const
IMPORT_C TBool GetParity(TParity &aParity) const;
Description
If Parity is valid, sets reference and returns True, otherwise, returns False
Parameters
Return value
IMPORT_C TInt SetParity(TParity aParity);
Description
Parameters
Return value
GetFlowCtrl(TUint8 &)const
IMPORT_C TBool GetFlowCtrl(TUint8 &aFlowCtrl) const;
Description
If Flow Control is valid, sets reference and returns True, otherwise, returns False
Parameters
Return value
IMPORT_C TInt SetFlowCtrl(TUint8 aFlowCtrl);
Description
Parameters
Return value
GetXOnChar(TUint8 &)const
IMPORT_C TBool GetXOnChar(TUint8 &aXOnChar) const;
Description
If XOn Char is valid, sets reference and returns True, otherwise, returns False
Parameters
Return value
IMPORT_C TInt SetXOnChar(TUint8 aXOnChar);
Description
Parameters
Return value
GetXOffChar(TUint8 &)const
IMPORT_C TBool GetXOffChar(TUint8 &aXOffChar) const;
Description
If XOff Char is valid, sets reference and returns True, otherwise, returns False
Parameters
Return value
IMPORT_C TInt SetXOffChar(TUint8 aXOffChar);
Description
Parameters
Return value
UpdateFlowCtrlBit(TUint8,TRPNFlowCtrlMask)
IMPORT_C void UpdateFlowCtrlBit(TUint8 aFlowCtrl, TRPNFlowCtrlMask aFCMask);
Description
Constructor Set the flow control bit specified by aFCMask to the same value it has in aFlowCtrl
Parameters
UpdateWholeFlowCtrl(TUint16,TUint8)
IMPORT_C void UpdateWholeFlowCtrl(TUint16 aParamMask, TUint8 aFlowCtrl);
Description
Used to update flow control with relevant bits from aFlowCtrl (as specified by aParamsMask)
Parameters
TUint16 aParamMask |
The parameter mask specifing what to change.
|
TUint8 aFlowCtrl |
Flow control information specifing new values.
|
|
UpdateFromRPNTransaction(const TRfcommRPNTransaction &)
IMPORT_C void UpdateFromRPNTransaction(const TRfcommRPNTransaction &aRPNTransaction);
Description
Update using a TRfcommRPNTransaction
class. Update all parameters according to parameters and mask in aRPNTransaction
Parameters
const TRfcommRPNTransaction &aRPNTransaction |
The internal values are updated according to the values held in this attribute.
|
|
See also: