btledev_private #2

Merged
sqozz merged 4 commits from btledev_private into master 3 years ago
sqozz commented 3 years ago
Owner

This cleans up some rough edges of the initial version.

  1. Reconnect support introduces better handling of missing or misbehaving wall sockets.
  2. Variable visibility for the internally used ble characteristics just give the reader a slight clue about their (un)importance for them.
  3. Variable access was cleaned up to use the provided setter for cmd and payload.
  4. Some spaghetti code got slightly more readable.
  5. Finally, graceful handling of disconnects is now possible. This allows short lived scripts (e.g. home-assistant components) to access multiple sockets with the same BLE adapter.
This cleans up some rough edges of the initial version. 1. Reconnect support introduces better handling of missing or misbehaving wall sockets. 2. Variable visibility for the internally used ble characteristics just give the reader a slight clue about their (un)importance for them. 3. Variable access was cleaned up to use the provided setter for `cmd` and `payload`. 4. Some spaghetti code got slightly more readable. 5. Finally, graceful handling of disconnects is now possible. This allows short lived scripts (e.g. home-assistant components) to access multiple sockets with the same BLE adapter.
sqozz closed this pull request 3 years ago
The pull request has been merged as 8b7e88db74.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: sqozz/sem6000#2
Loading…
There is no content yet.