View Single Post
      03-26-2013, 03:16 PM   #1
scalbert
Major General
scalbert's Avatar
153
Rep
5,780
Posts

Drives: '13 S4, '15 Q7
Join Date: Feb 2007
Location: Woodstock, GA

iTrader: (8)

iOS Development Question

Does anyone do any, know of someone or know of a decent forum for iOS development? I have searched and found some forums but unsure of which would be a better resource and before registering to several, I thought I would ask here first.

The application is to connect a Cognex industrial scanner to an iPad. Unfortunately Cognex does not make it easy and wants everyone to use their base station and have it connect to a PC via USB. The idea is to have the scanner connect to a tablet and whatever they scan is entered into any field, regardless of application. It could be a field in a website, Word, Excel, whatever. Cognex offers a keyboard wedge but requires the use of the base station connection via USB. The customer wants to bypass the base station.

To cut to the chase, there are workarounds and we have it working on a Win8 tablet or PC. The scanner will allow direct wireless network connections to it and it acts as a Telnet server. We wrote a quick application that connects to the scanner via Telnet and then whatever it receives is passed on to the OS via the SendKeys command and the active window receives the data as though it was entered into the keyboard. This was easy to mock up for Windows and even runs on all versions, XP, 7, etc. excluding RT.

However, knowing some of the restrictions of iOS but ignorant on details, I am not sure this could even be done. I know there are ways to create apps to run in the background in iOS but unsure if it could perform this. I have a feeling that the connection to a telnet server could be done. But am unsure if text received could be sent to the active app as keyboard input.

Any assistance or direction is greatly appreciated.
Appreciate 0