Get Homekit with Software Authentication up and running

Hi everybody!


I implemented Homekit AP in my application with Hardware Authentication and Apple Coprocessor 2.0C, over the BLE protocol, and it works pretty stable.

Now, I am trying to get Software Authentication up and running, to get rid of the Apple Coprocessor requierment.

The issue is, it does not work.

The only thing I changed is the data I send in M4 step during Pair Setup. I send the state and the SRP proof, instead of the

State, Proof and Encrypted Data. After the data is read out by the controller, the controller disconnects.


Are there other requierments or changes that need to be reflected in order to get SW Authentication to work with my accessory?


I am using iOS 11.0.3 on an iPhone 5S, if that makes a difference.


Thanks in advance!


Regards,

irfansehic

Replies

For a non-MFi-certified accessory, you must set feature flag bit 1 to 0. If feature flag is set to 1 and the encrypted data from the coprocessor is missing the controller will disconnect.