equal
deleted
inserted
replaced
33 CBmbCmdListener::~CBmbCmdListener() |
33 CBmbCmdListener::~CBmbCmdListener() |
34 { |
34 { |
35 Cancel(); |
35 Cancel(); |
36 iATCmdProperty.Close(); |
36 iATCmdProperty.Close(); |
37 iATRespProperty.Close(); |
37 iATRespProperty.Close(); |
38 iAtCmdBuf.Close(); |
|
39 } |
38 } |
40 |
39 |
41 // --------------------------------------------------------------------------- |
40 // --------------------------------------------------------------------------- |
42 // Send the response via PS, and starts listening the next command |
41 // Send the response via PS, and starts listening the next command |
43 // to be handled by this bearer. |
42 // to be handled by this bearer. |
59 void CBmbCmdListener::ConstructL() |
58 void CBmbCmdListener::ConstructL() |
60 { |
59 { |
61 TRACE_FUNC |
60 TRACE_FUNC |
62 LEAVE_IF_ERROR(iATCmdProperty.Attach(KPSUidBluetoothEnginePrivateCategory, KBTHfpATCommand)); |
61 LEAVE_IF_ERROR(iATCmdProperty.Attach(KPSUidBluetoothEnginePrivateCategory, KBTHfpATCommand)); |
63 LEAVE_IF_ERROR(iATRespProperty.Attach(KPSUidBluetoothEnginePrivateCategory, KBTHfpATResponse)); |
62 LEAVE_IF_ERROR(iATRespProperty.Attach(KPSUidBluetoothEnginePrivateCategory, KBTHfpATResponse)); |
64 iAtCmdBuf.CreateL(KDefaultCmdBufLength); |
|
65 Subscribe(); |
63 Subscribe(); |
66 } |
64 } |
67 |
65 |
68 void CBmbCmdListener::RunL() |
66 void CBmbCmdListener::RunL() |
69 { |
67 { |