Marwa
Marwa

Reputation: 41

EADemo example is always displaying 'No Accessories connected'

I have an MFI program license and i'm trying to implement the WAC feature (Wireless Accessory Configuration). Every time I run the EADemo application whether on a real iPhone or on the simulator I get no accessories connected although I'm displaying accessories through the HomeKit tool from xCode is there any solution for this ?

PS: in my info.plist i didn't know what is the protocol of a simulated accessory. enter image description here

Upvotes: 2

Views: 632

Answers (1)

Yogendra Girase
Yogendra Girase

Reputation: 631

Add Info.plist

I have added below in info.plist. EADemo application is working on my side. Make sure your MFi device has connected through device setting.

<key>UISupportedExternalAccessoryProtocols</key>
    <array>
        <string>com.example.apple-samplecode.data</string>
        <string>com.yourcompany.serialtunnel.data</string>
        <string>com.apple.p1</string>
        <string>com.demo.control</string>
        <string>com.demo.data</string>
    </array>

Also need to change enter image description here

Upvotes: 1

Related Questions