TRfcommRemotePortParams Class Reference

#include <bt_sock.h>

Link against: bluetooth.lib

class TRfcommRemotePortParams

Detailed Description

RF COMM remote port parameters.

Constructor & Destructor Documentation

TRfcommRemotePortParams ( )

IMPORT_CTRfcommRemotePortParams()

Member Function Documentation

GetBitRate ( TBps & )

IMPORT_C TBoolGetBitRate(TBps &aBitRate)const

GetDataBits ( TDataBits & )

IMPORT_C TBoolGetDataBits(TDataBits &aDataBits)const

GetFlowCtrl ( TUint8 & )

IMPORT_C TBoolGetFlowCtrl(TUint8 &aFlowCtrl)const

GetParity ( TParity & )

IMPORT_C TBoolGetParity(TParity &aParity)const

GetStopBit ( TStopBits & )

IMPORT_C TBoolGetStopBit(TStopBits &aStopBit)const

GetXOffChar ( TUint8 & )

IMPORT_C TBoolGetXOffChar(TUint8 &aXOffChar)const

GetXOnChar ( TUint8 & )

IMPORT_C TBoolGetXOnChar(TUint8 &aXOnChar)const

IsValid ( )

IMPORT_C TUint8IsValid()const

SetBitRate ( TBps )

IMPORT_C TIntSetBitRate(TBpsaBitRate)

SetDataBits ( TDataBits )

IMPORT_C TIntSetDataBits(TDataBitsaDataBits)

SetFlowCtrl ( TUint8 )

IMPORT_C TIntSetFlowCtrl(TUint8aFlowCtrl)

SetParity ( TParity )

IMPORT_C TIntSetParity(TParityaParity)

SetStopBit ( TStopBits )

IMPORT_C TIntSetStopBit(TStopBitsaStopBit)

SetXOffChar ( TUint8 )

IMPORT_C TIntSetXOffChar(TUint8aXOffChar)

SetXOnChar ( TUint8 )

IMPORT_C TIntSetXOnChar(TUint8aXOnChar)

UpdateFlowCtrlBit ( TUint8, TRPNFlowCtrlMask )

IMPORT_C voidUpdateFlowCtrlBit(TUint8aFlowCtrl,
TRPNFlowCtrlMaskaFCMask
)

Constructor Set the flow control bit specified by aFCMask to the same value it has in aFlowCtrl

ParameterDescription
aFlowCtrlFlow control specifier.
aFCMaskFlow control mask.

UpdateFromRPNTransaction ( const TRfcommRPNTransaction & )

IMPORT_C voidUpdateFromRPNTransaction(const TRfcommRPNTransaction &aRPNTransaction)

Update using a TRfcommRPNTransaction class. Update all parameters according to parameters and mask in aRPNTransaction

See also: TRfcommRPNTransaction

ParameterDescription
aRPNTransactionThe internal values are updated according to the values held in this attribute.

UpdateWholeFlowCtrl ( TUint16, TUint8 )

IMPORT_C voidUpdateWholeFlowCtrl(TUint16aParamMask,
TUint8aFlowCtrl
)

Used to update flow control with relevant bits from aFlowCtrl (as specified by aParamsMask)

ParameterDescription
aParamMaskThe parameter mask specifing what to change.
aFlowCtrlFlow control information specifing new values.