make tools
sudo ./Tools/provision_raspi.sh --category 5 --setup-code 111-22-333 ./Output/Linux-x86_64-pc-linux-gnu/Debug/IP/Applications/.HomeKitStore
make TARGET=Linux apps
./Output/Linux-x86_64-pc-linux-gnu/Debug/IP/Applications/Lightbulb.OpenSSL
So, in the first terminal I see QR code, in the second - LightBulb logs, when I scan this QR code with Add accessory and push "Add Anyway" on a modal with "Uncertified Accessory" I get
2021-02-24'T'13:17:53'Z' Error [com.apple.mfi.HomeKit.Platform:AccessorySetup] No setup code found in key-value store.
2021-02-24'T'13:17:53'Z' Fault fatal error - HAPPlatformAccessorySetupLoadSetupInfo @ PAL/Linux/HAPPlatformAccessorySetup.c:50
In the .HomeKitStore directory I see two files 40.10 & 40.11
UPD: The solution is to put .HomeKitStore to the root dir
I compile and run example under Ubuntu 20.04
So, in the first terminal I see QR code, in the second - LightBulb logs, when I scan this QR code with Add accessory and push "Add Anyway" on a modal with "Uncertified Accessory" I get
In the .HomeKitStore directory I see two files 40.10 & 40.11
UPD: The solution is to put .HomeKitStore to the root dir