Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/button subscription response from hmi #2740

Closed

Conversation

mked-luxoft
Copy link
Contributor

@mked-luxoft mked-luxoft commented Nov 6, 2018

NOTE ❗ : This implementation is based on Handle response from HMI during resumption data and Interior Vehicle Data resumption, so this PR should be merged AFTER #2619 and #2674

Fixes #2508

This PR is [ready] for review.

Risk

This PR makes [major] API changes.

Testing Plan

ATF tests are provided

Summary

In this PR OnButtonSubscription notification is replaced with
(Un)SubscribeButton request/response.

Changelog

API was updated, as well as new request/response classes were introduces in SDL core.
Pending subscription resolution mechanism was introduced in case HMI responds to request after default timeout.
Moreover, ButtonNotificationToMobile class was created to encapsulate duplicated logic of OnButtonPress and OnButtonEvent

Bug Fixes

#967 is fixed in scope of this feature

CLA

@LuxoftAKutsan
Copy link
Contributor

@mked-luxoft please resolve conflicts and re-base branch - create good git history.
Also please take care about conflicts and git history of #2619

@mked-luxoft mked-luxoft force-pushed the feature/button_subscription_response_from_hmi branch from e06e21a to 3421252 Compare November 14, 2018 20:12
@mked-luxoft mked-luxoft force-pushed the feature/button_subscription_response_from_hmi branch from 3421252 to be3846d Compare November 30, 2018 16:30
@ychernysheva
Copy link
Contributor

Closed in favor of #3743

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants