|
1 // Copyright (c) 2006-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 // This file was generated automatically from the template completeeventheader.tmpl |
|
15 // on Wed, 25 Jul 2007 17:00:36 (time stamp) |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @publishedPartner |
|
22 @released |
|
23 */ |
|
24 |
|
25 #ifndef READRSSICOMPLETEEVENT_H |
|
26 #define READRSSICOMPLETEEVENT_H |
|
27 |
|
28 #include <bluetooth/hci/commandcompleteevent.h> |
|
29 |
|
30 /** |
|
31 This class represents command completion event for the ReadRSSI HCI command |
|
32 */ |
|
33 |
|
34 class TReadRSSICompleteEvent : public THCICommandCompleteEvent |
|
35 { |
|
36 public: |
|
37 // Construct an event object to wrap existing event data received from the Controller |
|
38 IMPORT_C TReadRSSICompleteEvent(const TDesC8& aEventData); |
|
39 // Construct an event object to generate a faked event using the supplied parameters |
|
40 IMPORT_C TReadRSSICompleteEvent(THCIErrorCode aStatus, TUint8 aNumHCICommandPackets, THCIConnectionHandle aConnectionHandle, THCIRssi aRSSI, TDes8& aEventData); |
|
41 |
|
42 // The static Cast method is used to obtain a pointer to the derived class object |
|
43 IMPORT_C static TReadRSSICompleteEvent& Cast(const THCIEventBase& aEvent); |
|
44 |
|
45 // Accessor methods for the parameters of the event |
|
46 IMPORT_C THCIConnectionHandle ConnectionHandle() const; |
|
47 IMPORT_C THCIRssi RSSI() const; |
|
48 |
|
49 }; |
|
50 |
|
51 #endif // READRSSICOMPLETEEVENT_H |