Commit Graph

794 Commits

Author SHA1 Message Date
J. Nick Koston
70a670f2b2
Rename internal client connection get function to _get_connection (#661) 2023-11-22 22:32:22 +01:00
J. Nick Koston
ac43747196
Refactor connection checks to return APIConnection to avoid many asserts (#660) 2023-11-22 22:22:10 +01:00
J. Nick Koston
3fb5f322b5
Add coverage for fetching GATT services (#658) 2023-11-22 21:57:26 +01:00
github-actions[bot]
8d88e01f93 Bump version to 18.5.7 2023-11-22 20:54:19 +00:00
J. Nick Koston
77a7c5eaf4
Guard client connection asserts with if TYPE_CHECKING (#659) 2023-11-22 21:54:01 +01:00
J. Nick Koston
d8cace0b26
Reduce duplication in bluetooth gatt read code (#657) 2023-11-21 23:24:54 +01:00
J. Nick Koston
432a3e65b6
Add more missing command tests (#656) 2023-11-21 17:26:09 +01:00
J. Nick Koston
7dd0992f52
Add siren tests (#655) 2023-11-21 17:18:58 +01:00
J. Nick Koston
54452b4b94
Add button tests (#654) 2023-11-21 17:09:11 +01:00
J. Nick Koston
2501ea4275
Add additional coverage for starting noise connections (#653) 2023-11-21 16:42:23 +01:00
J. Nick Koston
0afa8c6832
Remove in_do_connect contextvar (#652) 2023-11-21 15:36:43 +01:00
J. Nick Koston
f88b15e33b
Fix eof_received not raising SocketClosedAPIError (#651) 2023-11-21 14:56:31 +01:00
J. Nick Koston
ccf2f1f245
Add tests for ping responses (#650) 2023-11-21 14:01:58 +01:00
J. Nick Koston
298aa01b00
Small cleanups to connection (#648) 2023-11-21 13:08:48 +01:00
github-actions[bot]
b40d34c154 Bump version to 18.5.6 2023-11-21 10:53:21 +00:00
J. Nick Koston
9d785d70a9
Fix benchmarks not working after latest refactoring (#647) 2023-11-21 11:53:04 +01:00
dependabot[bot]
16c116795d
Bump docker/build-push-action from 5.0.0 to 5.1.0 (#645) 2023-11-20 19:09:06 +01:00
github-actions[bot]
a19650693a Bump version to 18.5.5 2023-11-20 18:08:45 +00:00
J. Nick Koston
f783438a7d
Ensure expected_disconnect is True when sending DisconnectResponse fails (#646) 2023-11-20 19:08:29 +01:00
github-actions[bot]
041cbad89f Bump version to 18.5.4 2023-11-18 21:10:57 +00:00
J. Nick Koston
c76d741cb8
Refactor to reduce duplicate connection code (#644) 2023-11-18 15:10:40 -06:00
github-actions[bot]
d350e96405 Bump version to 18.5.3 2023-11-17 19:11:53 +00:00
J. Nick Koston
b12903e2e7
Refactor zeroconf code to avoid creating instances when one is unneeded (#643) 2023-11-17 13:11:36 -06:00
github-actions[bot]
9a86f449a6 Bump version to 18.5.2 2023-11-16 23:51:13 +00:00
J. Nick Koston
f94ddf8e6a
Fix handling incoming data from protractor event loop (#642) 2023-11-16 17:50:54 -06:00
github-actions[bot]
a60e54d438 Bump version to 18.5.1 2023-11-16 18:25:09 +00:00
J. Nick Koston
3ccb36b6fc
Refactor frame helper to avoid py conversions when processing packets (#641) 2023-11-16 12:24:50 -06:00
github-actions[bot]
371143d383 Bump version to 18.5.0 2023-11-16 16:31:21 +00:00
J. Nick Koston
d6293d9177
Refactor frame helper to allow sending multiple packets at once (#640) 2023-11-16 10:31:02 -06:00
J. Nick Koston
e6257a8627
Add the ability to pass the name the reconnect logic when running logs (#639) 2023-11-15 00:55:39 -06:00
dependabot[bot]
f1956aa598
Bump mypy from 1.6.1 to 1.7.0 (#638)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-13 22:22:43 -06:00
github-actions[bot]
b0bb1fb691 Bump version to 18.4.1 2023-11-13 19:57:09 +00:00
J. Nick Koston
e70cbb8135
Increase cli tool logging timestamps to include nanoseconds (#637) 2023-11-13 13:56:52 -06:00
J. Nick Koston
634c739048
Fix host resolution when local dns does not resolve mdns (#636) 2023-11-11 14:48:12 -06:00
J. Nick Koston
c1a0500ecb
Update some legacy python code to python 3.9 (#635) 2023-11-11 14:19:04 -06:00
J. Nick Koston
712efb9c05
Avoid building musllinux wheels (#634) 2023-11-11 14:10:57 -06:00
J. Nick Koston
2b219f79cf
Update readme (#633) 2023-11-11 14:08:08 -06:00
J. Nick Koston
0202e00eae
Ensure zeroconf instance is closed when log runner ends (#632) 2023-11-11 13:43:31 -06:00
github-actions[bot]
338e89069f Bump version to 18.4.0 2023-11-11 19:06:48 +00:00
J. Nick Koston
3ffcca3bdd
Make log runner code reusable and add coverage (#630) 2023-11-11 13:06:27 -06:00
github-actions[bot]
89f34cbcad Bump version to 18.3.1 2023-11-10 23:14:15 +00:00
J. Nick Koston
b227f79dad
Refactor bluetooth client functions to reduce duplicate code (#629) 2023-11-10 17:14:00 -06:00
github-actions[bot]
0dfabef72f Bump version to 18.3.0 2023-11-10 01:18:07 +00:00
J. Nick Koston
a15b96c76b
Send hello and login asynchronously to speed up connecting (#628) 2023-11-09 19:17:53 -06:00
J. Nick Koston
8678fa9ebc
Small cleanups to noise write_packet (#627) 2023-11-09 11:28:18 -06:00
J. Nick Koston
419bf67e9b
Small readability improvements to the plain_text frame helper (#626) 2023-11-09 11:12:00 -06:00
J. Nick Koston
94157a8ac1
Small speed up to the plaintext frame helper (#625) 2023-11-09 10:20:42 -06:00
github-actions[bot]
622d6060ee Bump version to 18.2.8 2023-11-09 15:31:31 +00:00
J. Nick Koston
92eaf62f8b
Add benchmark for processing raw ble messages (#624) 2023-11-09 09:31:13 -06:00
J. Nick Koston
ef9f9bf136
Ensure an empty noise_psk or expected_name is treated as None (#623) 2023-11-08 18:00:28 -06:00