btledev_private #2

Merged
sqozz merged 4 commits from btledev_private into master 2019-11-13 18:13:37 +01:00
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 2019-11-13 18:13:37 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sqozz/sem6000#2
No description provided.