Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8421127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:03:40+00:00 2026-06-10T03:03:40+00:00

I am dealing with External Accessories and MFI for a project and have this

  • 0

I am dealing with External Accessories and MFI for a project and have this question:

What 3rd party hardware attributes, if any, can be recognized after connecting an iOS device to the MFI hardware? Specifically, I am looking for a generic way to determine the device classes or capabilities rather than having to check the specific manufacturer and device names, similar to how Android can do it (see below). Is this possible?

http://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.html

The end goal: Toggle a boolean when connected to an audio dock; ignore other events. I’m not sure how granular iOS can get. Can iOS tell the difference between an audio dock and a Golf Putter App Cradle ? Does MFi grant insight into the capabilities of a device?

I will be targeting iOS 4.2+.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:03:42+00:00Added an answer on June 10, 2026 at 3:03 am

    You can request to get notifications by the EAAccessoryManagerclass (via registerForLocalNotificationsmethod). To do so, you need to add the ExternalAccessory.framework to your project.

    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_accessoryDidDisconnect:) name:EAAccessoryDidDisconnectNotification object:nil];
    [[EAAccessoryManager sharedAccessoryManager] registerForLocalNotifications];
    

    Once a hardware is added, you get a notification with EAAccessoryKey, what in turn can be used to get an EAAccessory from the accessory manager

    - (void)_accessoryDidConnect:(NSNotification *)notification {
          EAAccessory *accessory = [[notification userInfo] objectForKey:EAAccessoryKey];
    

    The accessory has a number of properties that should help to identify which kind of hardware have been connected:

    NSString* name  
    NSString* manufacturer  
    NSString* modelNumber  
    NSString* serialNumber  
    NSString* firmwareRevision  
    NSString* hardwareRevision  
    NSArray* protocolStrings
    

    I have no idea, what your audio dock provides here, but it should easy to simply try and hope that it is consistent for all devices 🙂

    If you are not interested in a specific device but in a class of devices (with a specific behavior), protocolStrings should be useful. The array consists of strings that name protocols (in sense of behaviors, not in ObjectiveC sense). The names are formatted as reverse-DNS strings (com.mycompany.myprotocol).

    If you provide one or more of such protocol names in the UISupportedExternalAccessoryProtocols section (type: array of strings) of your app’s Info.plist file, your app will be started if a proper device is connected.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm fairly new to Guice so hopefully this isn't an obvious question... I'm dealing
When dealing with a collection of key/value pairs is there any difference between using
I'm dealing with a problem the whole week already and can't find the answer
Other questions dealing with use of match_parent pre 2.2 have answers stating one should
I am dealing with very primitive HTML construction that goes like this: <a NAME=header1></a><b><font
Can someone enlighten me on how to include an external java framework to android
As a project over summer while I have some downtime from Uni I am
I am dealing with some external APIs, and when I save to the db,
I have a class that represents an external physical measuring device. The simplified version
I have an application that talks to several internal and external sources using SOAP,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.