HomeKit ADK Remote.OpenSSL fails with No setup info found in key-value store during pairing (HAPPlatformAccessorySetup.c:93)

Hello Apple Developers,

I'm currently working on building a custom HomeKit Accessory using the HomeKit ADK v6.3 and running the Remote.OpenSSL sample on a Raspberry Pi 4 (64-bit Ubuntu / Linux Kernel 6.1.21-v8+). I'm trying to pair the accessory via the MFi HomeKit ADK pairing process.

I've successfully compiled the ADK using:

The application (Remote.OpenSSL) launches correctly, and the accessory server starts as expected, broadcasting via mDNS. However, when I attempt to initiate pairing via iOS (or simulate pairing), the following error occurs:

Fault   fatal error - HAPPlatformAccessorySetupLoadSetupInfo @ PAL/Linux/HAPPlatformAccessorySetup.c:93

This causes the application to crash.

I'm currently working on building a custom HomeKit Accessory using the HomeKit ADK v6.3 and running the Remote.OpenSSL sample on a Raspberry Pi 4 (64-bit Ubuntu / Linux Kernel 6.1.21-v8+). I'm trying to pair the accessory via the MFi HomeKit ADK pairing process.

The details of most MFi specifications are protected by NDA, so your question cannot be answered in detail on this forum. If you're an MFi licensee, then the MFi program has its own support process, the details of which you can find in the "Developer Technical Support" section of the "MFi Licensing Handbook", which you'll find on the MFI Portal. Please submit your MFi-specific question(s) using that process.

However, I will provide one hint/suggestion here:

The application (Remote.OpenSSL) launches correctly, and the accessory server starts as expected, broadcasting via mDNS. However, when I attempt to initiate pairing via iOS (or simulate pairing), the following error occurs: Fault fatal error - HAPPlatformAccessorySetupLoadSetupInfo @ PAL/Linux/HAPPlatformAccessorySetup.c:93

The "SetupInfo" referenced above refers to the unique "baseline" data every accessory needs to have in order to complete discovery and Pair Setup (SRP verifier, setup payload configuration, etc.). The PAL is crashing because that data is either in the wrong format or hasn't been configured at all. The "Tools/provision_raspi.sh" script is what's normally used to configure this on development hardware.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

HomeKit ADK Remote.OpenSSL fails with No setup info found in key-value store during pairing (HAPPlatformAccessorySetup.c:93)
 
 
Q