equal
deleted
inserted
replaced
|
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 inline CRfcommFrame::CRfcommFrame(CRfcommMuxer& aMux, CRfcommSAP* aSAP) |
|
17 : iMuxer(aMux), |
|
18 iSAP(aSAP) |
|
19 { |
|
20 } |
|
21 |
|
22 inline CRfcommFrame::CRfcommFrame(CRfcommMuxer& aMux) |
|
23 : iMuxer(aMux) |
|
24 { |
|
25 } |
|
26 |
|
27 inline void CRfcommFrame::SetAddress(TUint8 aChan) |
|
28 { |
|
29 iAddr=aChan; |
|
30 } |
|
31 |
|
32 inline TUint8 CRfcommFrame::Address() const |
|
33 { |
|
34 return iAddr; |
|
35 } |
|
36 |
|
37 inline void CRfcommFrame::SetControl(TUint8 aCtrl) |
|
38 { |
|
39 iCtrl=aCtrl; |
|
40 } |
|
41 |
|
42 inline TUint8 CRfcommFrame::Ctrl() const |
|
43 { |
|
44 return iCtrl; |
|
45 } |
|
46 |
|
47 inline TUint8 CRfcommFrame::Credit() const |
|
48 { |
|
49 return 0; |
|
50 } |
|
51 |
|
52 inline void CRfcommFrame::SetCredit(TUint8 /*aCredit*/) |
|
53 { |
|
54 return; |
|
55 } |
|
56 |
|
57 inline TUint16 CRfcommFrame::DataLength() const |
|
58 { |
|
59 return 0; |
|
60 } |
|
61 |
|
62 inline CRfcommSAP* CRfcommFrame::SAP() const |
|
63 { |
|
64 return iSAP; |
|
65 } |
|
66 |
|
67 inline void CRfcommMuxCtrlFrame::SetDLCI(TUint8 aDLCI) |
|
68 { |
|
69 iDLCI=aDLCI; |
|
70 } |
|
71 |
|
72 inline TUint8 CRfcommMuxCtrlFrame::DLCI() const |
|
73 { |
|
74 return iDLCI; |
|
75 } |