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

[BREAKING] - Refactor NimBLEHIDDevice #767

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[BREAKING] - Refactor NimBLEHIDDevice #767

wants to merge 1 commit into from

Conversation

h2zero
Copy link
Owner

@h2zero h2zero commented Nov 29, 2024

  • General code cleanup.
  • All functions that return a characteristic or service have been renamed to have a get prefix to better represent their function.
  • All functions that set a value have been renamed with the prefix set to better represent their functionality.
  • Added an bool notify parameter to setBatteryLevel, which if true, will send a notification of the value to the peer.

@h2zero
Copy link
Owner Author

h2zero commented Nov 29, 2024

@lemmingDev, would you mind testing/reviewing this?

* General code cleanup.
* All functions that return a characteristic or service have been renamed to have a `get` prefix to better represent their function.
* All functions that set a value have been renamed with the prefix `set` to better represent their functionality.
* Added an `bool notify` parameter to `setBatteryLevel`, which if `true`, will send a notification of the value to the peer.
@lemmingDev
Copy link

@sab1e - If you've got the time

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.

2 participants