Closed stokito closed 2 years ago
thank you @Arsenicu
Hi! I generated a data, where should I put it?
parallels@ubuntu-linux-22-04-desktop:~/HomeKitADK$ ./Output/Linux-aarch64-unknown-linux-gnu/Debug/Tools/AccessorySetupGenerator.OpenSSL --ip --category 5
1
641-42-238
DB20811F5D6D857AFB1D43A8261E5C3F
3EAB154CC433C5A41C9E8DDC050FBBC16A9421BB18CCB322E40B1871F95F0D084FD286FF162496233BE9A2F414FE9A10F487BB826BEF4B0DF4588B74CA4AC27EB7E4F5C4CCEC30AC05AAEF6B671005F91866E040A6452BF480A065820376F4DD66805ABABC21B7D6799D69123CE97CEBA436BBDF8DBF496D0B005EADBC27F8EAA62F4DF587C57C7D513136473541A8143B1A7626619E5C23A7E25E1F36960B8DB4AEBDFACAC2BF14E859D79CF2AF8B5D21F6438270D6DE9FB826A132125DCBD4A2C27CAE1D10D8E02EC476E2562C470323EBAC99EFC1649B98F73B84C96BB9B18111F3C85248A0AA91604BD19270BFB8F8C603C012236D32747E7E8AEBEC5362D12BD03878361E89BF34B312A7F1B5B69BA37C360BBBEE15C007A255D6161428C2A42D6FC446FB4985A9D53B8DDFCCDABEE88710BFAB1A77E9C503C92A5C44E1B49DECCC142B492F31E5F5C656F6FD46D8D1DE26A4AC0C83CB502725A7A3454D5240B199A6CD0BBDA753AE0918D084B702B8DDD354A77F1FD2C3A54CF235F570
YH7H
X-HM://00532SFJ2YH7H
I tried the Lightbulb example (without MFA) and struggled to connect my iPhone. In the example application there is no any code to configure and during pairing I got an error: "No setup code found in key-value store.". There is some mock example in PAL/Mock/HAPPlatformAccessorySetup.c with SetupInfo and I reused it in example and added manually to keystore on app setup:
And this worked. But may you somehow add this to example or tell me how to do this properly. Maybe somewhere exists a code to generate a random setup code.