maximkulkin / esp-homekit

Apple HomeKit accessory server library for ESP-OPEN-RTOS
MIT License
1.1k stars 168 forks source link

Remove duplicate socket conenction. Don't update flash on Add paring for know UUID #118

Closed maccoylton closed 3 years ago

maccoylton commented 4 years ago

Added function to check for and remove old duplication sockets on new connection. Added code to not write flash if pairing updated for known UUUID

nonameplum commented 4 years ago

Did you find that this solve some issue?

peros550 commented 4 years ago

Had the same question

maccoylton commented 4 years ago

Yes, I was seeing rapid memory consumption, the stale connections never got freed up and the device would crash. Haven’t got to the bottom of what causes the stale connections in the diet place

Sent with GitHawk

mriksman commented 4 years ago

This appears related to #141

maccoylton commented 4 years ago

May well be, I'm sure saw this issue on my led strip and rgbw light bulbs which use multipwm, although I can;t categorically say I've never saw the issue on other types of accessories