summaryrefslogtreecommitdiff
path: root/src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h
diff options
context:
space:
mode:
authorAKalinich-Luxoft <AKalinich@luxoft.com>2017-06-14 18:33:24 +0300
committerAKalinich-Luxoft <AKalinich@luxoft.com>2017-06-14 18:33:24 +0300
commit14a1b722bb1103c328ea6935e9642ee80e2a68fc (patch)
treed80d26a39d0d37b74534b00b45a12174d5888246 /src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h
parent817052ffe35991d6927e9176528821323b4e6812 (diff)
downloadsdl_core-14a1b722bb1103c328ea6935e9642ee80e2a68fc.tar.gz
Fix SubscribeVehicleData request subscriptions
The main idea here is to perform subscriptions only after SDL receives successful result from HMI. In case of erroneous result code SDL should not subscribe to requested VehicleData.
Diffstat (limited to 'src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h')
-rw-r--r--src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h b/src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h
index fb21823b3a..0fdc0dd31f 100644
--- a/src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h
+++ b/src/components/application_manager/include/application_manager/commands/mobile/subscribe_vehicle_data_request.h
@@ -143,6 +143,11 @@ class SubscribeVehicleDataRequest : public CommandRequestImpl {
*/
VehicleInfoSubscriptions vi_already_subscribed_by_this_app_;
+ /**
+ * @brief VI parameters which wait for subscribe after HMI respond
+ */
+ VehicleInfoSubscriptions vi_waiting_for_subscribe_;
+
DISALLOW_COPY_AND_ASSIGN(SubscribeVehicleDataRequest);
};