fix: resolve FFE2 characteristic lost during write #18
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "schwifty/fix-ffe2-characteristic-lost"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
CBCharacteristicreferences during BLE connection parameter renegotiation (common at edge-of-range), causing ourcharacteristics[]dictionary to return nil mid-writeresolveCharacteristic()method that falls back to walking the peripheral's live service list when the cache misses, plusdidModifyServicesdelegate to proactively clear stale cache entries and re-discovercharacteristics[]lookups withresolveCharacteristic()— also eliminates a force-unwrap on FFE1 subscribeTest plan
🤖 Generated with Claude Code
Pull request closed