Commit Graph

1141 Commits

Author SHA1 Message Date
github-actions[bot]
14a9ffc26b Bump version to 13.0.4 2023-01-08 00:16:47 +00:00
J. Nick Koston
025376852b
Clear on_stop after calling instead of using a separate _on_stop_called bool (#357) 2023-01-07 14:16:34 -10:00
J. Nick Koston
284b767d8d
Refactor cleanup to be a normal function (#355) 2023-01-06 21:42:39 -05:00
J. Nick Koston
2886d361f0
Simplify connection flow with an asyncio.Protocol (#352) 2023-01-05 23:24:10 -05:00
J. Nick Koston
049dc8bb56
Speed up parsing/conversion of BluetoothLEAdvertisement (#353) 2023-01-05 21:23:40 -05:00
J. Nick Koston
15edff86a3
Log the packet type when we get an invalid protobuf message (#343) 2023-01-03 17:40:17 -05:00
J. Nick Koston
a3e3cec26e
Add decoder tests (#344) 2023-01-03 17:39:50 -05:00
dependabot[bot]
f71f6e31be
Bump pylint from 2.15.7 to 2.15.8 (#335)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 17:24:43 -10:00
dependabot[bot]
8859c402c5
Bump isort from 5.10.1 to 5.11.2 (#342)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 17:24:30 -10:00
dependabot[bot]
2edbc0fb2f
Bump types-protobuf from 4.21.0.1 to 4.21.0.2 (#336)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 17:21:45 -10:00
github-actions[bot]
052cc28f2e Bump version to 13.0.3 2022-12-14 03:21:36 +00:00
dependabot[bot]
0f7673c8a5
Bump black from 22.10.0 to 22.12.0 (#338)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 17:21:18 -10:00
J. Nick Koston
b34664e44c
Fix failure to reconnect when the process task raises an exception during decoding a protobuf message (#339) 2022-12-13 10:31:12 -10:00
github-actions[bot]
4599e75e9d Bump version to 13.0.2 2022-12-13 06:18:52 +00:00
Alex Yao
3e99cd3177
Only start task if existing one is done (#337) 2022-12-12 20:18:35 -10:00
J. Nick Koston
6d4b9df969
Small speed up to parsing LE advertisement data (#330) 2022-12-04 17:21:19 -05:00
J. Nick Koston
9d9d19a2c1
Fix leak if send_message_callback_response raises (#334) 2022-12-04 17:20:12 -05:00
github-actions[bot]
96c1523eb6 Bump version to 13.0.1 2022-12-04 22:18:52 +00:00
J. Nick Koston
e588e84e17
Handle socket reset errors while reading (#333) 2022-12-04 17:18:38 -05:00
github-actions[bot]
f794984a1b Bump version to 13.0.0 2022-12-02 19:51:36 +00:00
J. Nick Koston
577868a84c
Add method to cancel bluetooth_gatt_start_notify upon ble device disconnect (#329) 2022-12-02 09:51:03 -10:00
J. Nick Koston
de5cdfa230
Callback messages to listeners by type (#328) 2022-12-02 09:36:58 -10:00
github-actions[bot]
056b9a3b79 Bump version to 12.2.2 2022-12-02 19:12:42 +00:00
J. Nick Koston
3692478455
Optimize throughput of api to decrease latency (#327) 2022-12-02 14:12:19 -05:00
dependabot[bot]
e2527878cb
Bump types-protobuf from 3.20.4.6 to 4.21.0.1 (#321)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 11:47:52 +13:00
dependabot[bot]
87a2585559
Bump pylint from 2.15.6 to 2.15.7 (#322)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 11:47:42 +13:00
J. Nick Koston
6273f785f4
Reduce number of calls to readexactly (#324) 2022-12-01 11:47:26 +13:00
J. Nick Koston
a452e738ff
Move message parsing out of the read loop (#323) 2022-12-01 11:42:15 +13:00
J. Nick Koston
585d4cb569
Small speed ups to the bluetooth advertisement converts (#325) 2022-12-01 11:38:09 +13:00
github-actions[bot]
d3c6cfcacc Bump version to 12.2.1 2022-11-30 22:37:15 +00:00
J. Nick Koston
4f7a1faddd
Fix bluetooth write without response (#326) 2022-12-01 11:36:58 +13:00
github-actions[bot]
22cb721c46 Bump version to 12.2.0 2022-11-29 04:00:43 +00:00
J. Nick Koston
a937d9d85a
Add address_type to BluetoothLEAdvertisementResponse and BluetoothDeviceRequest (#320) 2022-11-29 17:00:27 +13:00
github-actions[bot]
073b564bb0 Bump version to 12.1.0 2022-11-29 02:06:32 +00:00
J. Nick Koston
e3094db6ad
Active BLE connection v3 (#317) 2022-11-29 15:06:13 +13:00
Jesse Hills
c3d610e45a
Increase timeout while waiting for ListEntities to be done (#318) 2022-11-28 23:07:58 +13:00
dependabot[bot]
c9ba73c18c
Bump flake8 from 5.0.4 to 6.0.0 (#314)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 23:07:02 +13:00
J. Nick Koston
ac303e8986
Fix connection subscription leak on cancelation (#316) 2022-11-28 23:06:06 +13:00
github-actions[bot]
64550c2152 Bump version to 12.0.1 2022-11-28 09:52:30 +00:00
dependabot[bot]
a78a51fdb6
Bump types-protobuf from 3.20.4.5 to 3.20.4.6 (#313)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 22:52:13 +13:00
J. Nick Koston
14a2e30ec3
Wait for BLE disconnect when connecting timeouts (#310) 2022-11-23 07:32:04 +13:00
Jesse Hills
62ff753975
Update actions set-output to GITHUB_OUTPUT (#312) 2022-11-23 07:30:14 +13:00
dependabot[bot]
42d8996c3e
Bump types-protobuf from 3.20.4.4 to 3.20.4.5 (#308)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-23 07:21:40 +13:00
dependabot[bot]
bcc9e0e7fb
Bump pylint from 2.15.5 to 2.15.6 (#311)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-23 07:20:49 +13:00
github-actions[bot]
830e0c8d83 Bump version to 12.0.0 2022-11-22 18:20:39 +00:00
Jesse Hills
c2ed072c88
Protobuf version upgrades (#307) 2022-11-23 07:20:23 +13:00
github-actions[bot]
67f3b4efd1 Bump version to 11.5.0 2022-11-17 19:00:21 +00:00
Franck Nijhof
d9791d1874
Add device class support to number (#309) 2022-11-18 08:00:02 +13:00
Jesse Hills
356e4fbd8f
Catch error when task is stopped (#306) 2022-11-15 20:26:11 +13:00
Jesse Hills
949563c6f0
Add vscode task to Generate files (#305) 2022-11-15 15:26:51 +13:00