Skip to content

Commit

Permalink
Minor refactor NimBLEAdvertised device.
Browse files Browse the repository at this point in the history
Construct the device with the parameters from the advertisement rather than setting them after construction.
* Remove no longer needed methods.
* Consolidate some functions to use getPayloadByType.
* Add optional index parameter to getPayloadByType.
* Change payload indexing to use 0
* Code cleanup
  • Loading branch information
h2zero committed Jul 9, 2024
1 parent 44977cd commit eb8c6b3
Show file tree
Hide file tree
Showing 3 changed files with 298 additions and 389 deletions.
Loading

0 comments on commit eb8c6b3

Please sign in to comment.