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.
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.
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?
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.
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.
according to this question and IAP_APP_REQ command. Has the opportunity to open the application without alert appeared? Maybe on last firmware update?
As mentioned above, there should be two options / modes to open the application. One with alert display, the other without. Currently, the IAP_APP_REQ command opens the application with an alert.
Is it currently possible to use the second option? Maybe I need to provide some parameters to high level Melody command?