iOS usb/serial access and use
dougr at telus.net
Mon Apr 16 10:13:56 EDT 2018
Thanks for the reply, Monte. Well, that's disappointing but not surprising. Kinda like "Dad" not letting you drive his car ... although I'm likely older than "Dad" and willing to take the "responsibility". I guess it's on to XCode, then. It's good to have a definitive answer to this question. Fosters confidence in web searches ... even negative result ones.
It does somewhat bother me, though, that use of the USB to an iOS device *is* available "within" LC but not exposed as a function... I though the LC IDE was written in LC ... someone had that in a posting I read recently ... so, in principle, it "could" be made available to developers. It's not as if LC doesn't allow us to access and use serial/USB devices in other OS's! I'm sure in this age of wireless-ness, hardwire connectivity is a conceptual dinosaur but, for us die-hards, it remains a viable alternative.
Unless something has changed recently iOS does not provide a public way to use the USB cable. It could be that there is a third party accessory that you can plug in to do this though. If so you could use mergAccessory to read and write to it.
> On 16 Apr 2018, at 1:42 am, Douglas Ruisaard via use-livecode <use-livecode at lists.runrev.com> wrote:
> Now, for the next "component", I'd like to be able to communicate to and from the arduino to and from an iOS device (iPhone or iPad) via a "hardwire" connection...
More information about the Use-livecode