Commit Graph

10 Commits (master)
 

Author SHA1 Message Date
sqozz a91eb91ac6 Instantiate Peripheral on class initialization 4 years ago
sqozz 8b7e88db74 Merge branch 'btledev_private' of sqozz/sem6000 into master
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.
4 years ago
sqozz bc34c9dd8f Add proper connect and disconnect functions
This makes it possible to only open a short lived connection to the
physical SEM6000 socket. A few old artefacts referencing __reconnect do
still exist in the code.
4 years ago
sqozz 6c83bccbde Use setter for init BTLE payload data 4 years ago
sqozz 4f8b698a14 Change visibility of some properties 5 years ago
sqozz 5c06fc131a Add timeout and reconnect support 5 years ago
sqozz 21433a3d20 Merge branch 'master' of ssh://git.geekify.de:1421/sqozz/sem6000 5 years ago
sqozz 3673e31ffc Add change password function and fix checksum 5 years ago
sqozz eb626bedd5 Add README 5 years ago
sqozz 3df74980e3 Add PoC lib 5 years ago