As someone who writes iOS code that interfaces with external hardware, I can 
give some feedback on this.

The short answer is that it is unlikely that attaching a logic analyzer to an 
iPad or iPhone will be possible.

This is because on iOS, Apple's general philosophy is to only support standard 
protocols for a handful use cases (ex: audio only supported over USB audio, 
Bluetooth A2DP, or Bluetooth Handset Profile).  To support a non-standard 
protocol (like what most logic analyzers use), developers have to use Apple's 
proprietary iAP protocol's External Accessory feature to communicate with the 
hardware.  This requires the hardware manufacturer to incorporate Apple's 
Authentication Coprocessor chip into their hardware.  It also requires the 
hardware manufacturer to implement the iAP protocol according to the iAP 
specification and then submit the device to Apple for testing and 
qualification.  To be able to purchase the chips and the specification, the 
hardware manufacturer has to join Apple's MFi program which requires following 
a number of rules, including not sharing implementation details publicly.  Some 
specification documents have every page watermarked with your name, email, and 
phone number so Apple will know who leaked the documents.  I'm only talking 
about general top-level topics so I should be safe from repercussions.

These constraints apply to hardware connected via USB, Classic Bluetooth, 
serial, and (on ancient iPhones) Firewire.  This does not apply to Bluetooth 
Low-Energy where Apple is open.

Thus, attaching most/all existing logic analyzers to an iPhone or iOS is not 
going to work.  On the other hand, if a hardware manufacturer did ever decide 
to support the iAP protocol, then adapting much of the PulseView should be 
fairly easy since Apple's External Accessory APIs are easy for software devs to 
use.  The UI for PulseView would have to be overhauled to use Apple's APIs, 
though.

I hope that helps set expectations.

-Chris

From: Soeren Apel <soe...@apelpie.net>
Sent: Saturday, November 3, 2018 4:01 PM
To: paulcrawfordgm; sigrok-devel@lists.sourceforge.net
Subject: Re: [sigrok-devel] Pulseview for iOS
 
Hello Paul,

Personally, I don't know what would be required to make PV work
on iOS and how much work that would entail. However, I assume that
there are significant differences in how devices are accessed
compared to OSX, so it's probably not a straightforward matter.

If you have an idea of how this could be done, it's something we
certainly would consider. However, we currently lack the resources
to perform such changes ourselves in case they turn out to be
elaborate.

Regards,
 -Soeren


On Wed, 2018-10-31 at 07:32 -0400, paulcrawfordgm wrote:
> Is there any serious consideration being given to porting Pulseview
> to iOS?
>
> I am considering a new iPad Pro which now has a USB C port which
> should allow the logic analyzer data to be captured but obviously I
> need software to see the data.
>
> Thanks,
>
> Paul Crawford
>
> _______________________________________________
> sigrok-devel mailing list
> sigrok-devel@lists.sourceforge.net
> https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fsigrok-devel&amp;data=02%7C01%7C%7C13c34293fad74e3df7eb08d641e0746e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636768829606572685&amp;sdata=7gSI7PQ5J9d7tgrjLhOiycNzv8uq2XyZsPJXhrsP5vQ%3D&amp;reserved=0


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fsigrok-devel&amp;data=02%7C01%7C%7C13c34293fad74e3df7eb08d641e0746e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636768829606572685&amp;sdata=7gSI7PQ5J9d7tgrjLhOiycNzv8uq2XyZsPJXhrsP5vQ%3D&amp;reserved=0


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to