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

Fix several clang-tidiy issues #6

Merged
merged 3 commits into from
Oct 25, 2024
Merged

Fix several clang-tidiy issues #6

merged 3 commits into from
Oct 25, 2024

Conversation

psachs
Copy link
Member

@psachs psachs commented Oct 24, 2024

  • Add unused annotations
  • Fix missing explicit casting issues
  • Remove "_" prefix from header guards and make them readable

* Add unused annotations
* Fix missing explicit casting issues
* Remove "_" prefix from header guards and make them readable
Rename setupAndStartBleScans to setupBleScans since it only
configures the BLE scanning.

Create new internal function to start BLE scans that gets called
from the begin() method.

keepAlive doesn't need to be called on init to start the scanning.
It can be used to re-start in case of errors as documented.
Use uint64_t as interface between NimBLE client and SensiScan
as we only convert it into a invalid string and back into an
uint64_t.

Add constructor and destructure to NimBLE client to better
represent the life-cycle of this class.

Remove squash method from SensiScan as it is not required anymore.
@psachs psachs merged commit b74d2df into main Oct 25, 2024
6 checks passed
@psachs psachs deleted the fix-clang-tidy-issues branch October 25, 2024 07:48
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