BC127 MFI - App Launch w/o User Alert Dialog


#1

I’ve recently been able to get IOS to launch an app from my BC127 DevKit using the IAP_APP_REQ. My issue is that it shows a dialog asking for user permission every time it does this. From the MFI documentation there should be a parameter I can pass to bypass this dialog box. Perhaps I’m mistaken but Melody doesn’t seem to support this out of the box.

How would I go about launching an App without a user alert dialog box?

Note: I’ve already spoken with my vendor (avnet) who reached out the Seirra and was then instructed by the vendor to ask this question on the forums.

Thanks,
Dan


#2

Dan,

Can you specify where the parameter is defined? What profile are you using? What connection (profile) are you trying to bring up?

Regards

Matt


#3

Matt,
The parameter is defined in the Apple MFI documentation on Accessory Interface Specification. When you look at the section discussing launching apps you’ll see that it takes two parameters, one the ID of the App to be launched and a second the method by which to launch to launch the app. It defaults to a value of 0 (which means the launch with user alert) but can also be set to 1 which would allow the accessory to launch without an alert. This is all using the iAP profile.

Dan


#4

Dan,

Pretty sure we do not have the ability to pas this paramters back to the iPhone in our command set.

Regards

Matt


#5

Matt, Dan is out this week, but I’m working on the same project.

Is there a way to send MFi commands directly through the dev kit? Or is there a way for us to build off the dev kit’s firmware to add that feature? Is this feature on the roadmap anywhere?

Thanks!

Paul


#6

@pmandel,

The command set is limited to what is in the manual you cannot add extensions or custm commands on as it would require firmware changes which only the FW team can do. Re adding a new feature, nothing is in the roadmap, feature addition is commercially driven i.e. if the business case makes sense then we will do it. To push it you need to go back through your commercial channel (so who you brought it from) to discuss it with them and for it to official go into the company/product management for specing and agreement.

Regards

Matt


#7

Is there any way to send MFi commands directly to the iOS device? Perhaps with SEND or SEND_RAW?

Thanks,

Paul


#8

@pmandel,

What you are talking about is sending data at a layer 3 level within the profile, this is part of the firmware so unfortunately the answer is no, the unit is designed around applications just sending application data, not modifying the stack.

Regards

Matt


#9

Gotcha. Do you know of any dev kits that do allow sending data at layer 3? We really want to be able to test this before we build a full product.

Thanks,

Paul


#10

@pmandel,

BC127 is our only MFi approved product, what other OEM’s do I don’t know, sorry.

Regards

Matt