If you are developing a Matter-over-Wi-Fi device on the ESP32, you have likely encountered the specific problem that is the Apple Home "Commissioning Failed" error. Android devices commission instantly. The chip-tool on Linux works perfectly. Yet, when you scan the QR code with an iPhone, the Home app spins on "Connecting..." for 30 seconds before unceremoniously dropping the connection. Apple provides zero logs to the user. However, the issue almost always boils down to two factors specific to the ESP32 implementation: BLE Advertisement intervals violating Apple's strict accessory design guidelines and Memory exhaustion during the PASE (Passcode Authenticated Session Establishment) handshake . Here is the root cause analysis and the production-grade fix to stabilize your Matter commissioning. The Root Cause: Timing and Fragmentation Matter commissioning (specifically PASE) begins over Bluetooth Low Energy (BLE). The Commissioner (the iPhone) must ...
Programming Tutorials
Android, .NET C#, Flutter, and Many More Programming tutorials.