Device.Net icon indicating copy to clipboard operation
Device.Net copied to clipboard

IPhone Support

Open michaelonz opened this issue 6 years ago • 10 comments

Hi, Is there any plans to support IPHONE with this library? Pretty much want to use the usb cable on the iphone to communicate to a hardware device.

michaelonz avatar Aug 12 '19 04:08 michaelonz

Would love to. Does iPhone even support connected USB devices?

MelbourneDeveloper avatar Aug 12 '19 04:08 MelbourneDeveloper

@michaelonz , when I've looked in to this in the past, these are the kinds of things I see:

https://www.ios-blog.com/tutorials/iokit-an-introduction/

There is a framework called IO Kit, but the problem is that it doesn't really seem like you're meant to use it for iOS - or at least apps deployed in the store.

MelbourneDeveloper avatar Aug 12 '19 04:08 MelbourneDeveloper

https://developer.apple.com/documentation/iokit

MelbourneDeveloper avatar Aug 12 '19 04:08 MelbourneDeveloper

This link implies it can be done (for ipad - i assume iphone is similar):

https://www.cultofmac.com/636290/every-usb-device-ive-plugged-into-an-ios-13-ipad-so-far/

michaelonz avatar Aug 12 '19 04:08 michaelonz

would be great if this could work :)

michaelonz avatar Aug 12 '19 04:08 michaelonz

@michaelonz the first step is leveraging the API in C#. This article doesn't really talk about the API at all.

Perhaps it's talking about the OS giving IO Kit the permission to actually use the device?

MelbourneDeveloper avatar Aug 12 '19 04:08 MelbourneDeveloper

Is this any help: http://thecodewash.blogspot.com/2017/05/communicating-with-your-ios-app-over.html

michaelonz avatar Aug 12 '19 05:08 michaelonz

@michaelonz ah yes, I've seen that one before. It's the only promising one I've come across.

If you are keen on building a POC - i.e. some app that talks to a device, I will find a way to integrate that code in to the Device.Net framework.

For now, this is something I definitely want to do, but all the other stuff in the pipeline also has to get done.

MelbourneDeveloper avatar Aug 12 '19 05:08 MelbourneDeveloper

Hi Christian, Im very busy right now also - once the dust settles i will try and visit this and see if it can work.

michaelonz avatar Aug 12 '19 06:08 michaelonz

http://thecodewash.blogspot.com/2017/05/communicating-with-your-ios-app-over.html

https://github.com/rsms/peertalk

MelbourneDeveloper avatar Aug 03 '20 22:08 MelbourneDeveloper