-
Notifications
You must be signed in to change notification settings - Fork 8
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
MockDevice support connect/disconnect #751
Conversation
run |
We need a checkmark in the description like [ ] I ran apiDump |
Can we add a simple test, also to demonstrate usage? And a simple README entry. Looks good otherwise. |
Test added, README updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice additions
Resolves #750
Attempt to have MockDevice to be connectable and disconnectable
Current simple implementation of mock device a bit confusing.
After creating object and naive calling connect() it does nothing (even no log message that it is not supported or implemented).
This PR just keeps mock simple as it was but provides connect disconnect calls to behave similar to real world device.