arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.69k stars 4.72k forks source link

Matter CASE Sigma1 resumption mode for faster reconnection #21644

Closed s-hadinger closed 2 weeks ago

s-hadinger commented 2 weeks ago

Description:

When the controller connects to the Tasmota device, it uses the CASE protocol. For faster reconnects (after reboot for ex), Matter has a "resumption" option. This options did not work up to now, and forced a normal (longer) reconnect. Resumption now work as expected.

Example

21:28:41.429 MTR: >Received  (     0) CASE_Sigma1 rid=138215474 exch=48051 from [192.168.2.18]:52510
21:28:41.453 MTR: +Session   ( 40521) from '[192.168.2.18]:52510'
21:28:41.467 MTR: <Replied   (     0) CASE_Sigma2_Resume
21:28:41.482 MTR: -Session   ( 45013) (removed)
21:28:41.483 MTR: -Session   ( 45013) (removed)
21:28:41.836 MTR: =Saved     2 fabric(s) and 6 session(s)
21:28:41.839 MTR:                     Sigma1 Resumption SUCCEEDED

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass