Tags: zigpy/zigpy
Tags
Reserve capacity for high priority requests (#1635) * Remove unused data structures * Implement a `RequestLimiter` type * Use it instead of the semaphore * Add `cancel_waiting` * Fixes * Remove old semaphore * Revert "Remove unused data structures" This reverts commit 71e095a. * WIP * Get things running * Fix tests * Clean up implementation * WIP: add CPython semaphore unit tests * WIP * WIP: initial commit of CPython source * WIP: minimal API compatibility * WIP: make release synchronous * WIP: get most passing * Fix repr test * Fix remaining tests * Oops * Bring up coverage * Drop unnecessary test * Fix tests for 3.10 * Remove unnecessary code * Add backwards compatible `max_value` property for existing radio libraries * Add a unit test * Gracefully handle concurrency limits incompatible with concurrency fractions * Remove unnecessary error
Implement `_find_zcl_cluster` and drop `deserialize` APIs (#1628) * Implement `_find_zcl_cluster` and drop `deserialize` APIs in favor of methods on `Device` object * Add a `custom_profile_packet_received` method * Handle ZDO * Fix existing `test_ignore_unknown_endpoint` test * Add a test for the custom protocol handler * Break up `packet_received` a little * Clean up comments * Fix tests * Bring up coverage * Clean up typing
Enable fast polling during joins and when requests are pending (#1621) * Create a cluster finding helper * Return a callback listener cancellation handle for app listeners * Subscribe to fast poll checkins * Explicitly start fast polling during initialization * Fix existing tests * Address "review" comments * WIP * WIP * Use new request priority construct * Fix typo * Rename default fast poll timeout constant * Bind before writing the PollControl attribute * Add some tests * Remove unnecessary test * Handle timeouts as well
Fix Struct bitwise operations for int subclasses (#1596) * Properly subclass `int` for `Struct` objects * Amend unit test * Bool tests * Fix unit tests mutating integer structs * Remove unused dynamic features from `Struct` * Finish implementation * Try to fix typing for older Python versions * 100% test coverage * Speed up deserialization a little * Disallow positional arguments for integer structs * Fix unit tests * 100% test coverage
PreviousNext