Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Linea Pro SDK

I am looking for help in integrating Linea Pro SDK within appcelerator. The Linea SDK comes with the Linea Pro scanner/msr for iphone.

I am trying to use Linea SDK in a custom module and call it in the main app. My issue is in establishing basic connection with the Linea SDK and thus the hardware

I am using the following code in the custom module startup method linea=[Linea sharedDevice]; [linea addDelegate:self]; [linea connect];

When I try to get connection status through method -connectionState, the state is alwaysdisconnected.

Any clues???

— asked June 18th 2011 by Balaji Ganesan
  • custom module
  • external accessory
  • linea pro
1 Comment
  • It looks like there hasn't been any change to this Module in 2 years. The Github repository does not have the code needed to make changes to the module. Is there a way to get access or to write in other methods like triggering the scanner, custom sounds, etc? Or has anyone else heard of someone that has written another module for this scanner?

    — commented September 10th 2013 by Sean Rowen

2 Answers

  • I wrote a custom module. You can find it here. :)
    https://github.com/iampnelson/LineaPro-TiModule

    — answered July 7th 2011 by Paul Nelson
    permalink
    5 Comments
    • Paul, what methods does your module support? The demo.js code only shows the use of the barcodeData event. Can you configure the scanner to set allowed barcode types? Configure or disable the beep (I find the IP4 sled's beep obnoxiously loud compared to the original sled for the 3rd generation units)? Use the mag strip reader?

      I didn't find the source to the module on github either, but maybe you don't intend to release that.

      — commented July 7th 2011 by Doug Handy
    • I am working on a full write up of use cases for the module. This was just a "get it out" so people can start playing around with it. The use cases should be released soon.

      — commented July 7th 2011 by Paul Nelson
    • Also, the barcodeData event is my custom event from the OBJ-C side, similar events will be available for mag strip, beep sound, etc.

      — commented July 7th 2011 by Paul Nelson
    • Sorry, I only posted here because the other thread appeared locked. But it isn't anymore so I will followup there instead.

      — commented July 7th 2011 by Doug Handy
    • I am looking for a barcode scanning solution that utilizes the Linea Pro 4. Is there an app developer here that has experience creating an application with the SDK provided by Infinite?

      — commented January 29th 2013 by Zach Taylor
  • I am looking for a robust barcode solution for IPhone. What are your experinces with Linea-Pro 4?

    — answered November 7th 2011 by Morten Bræmer
    permalink
    1 Comment
    • Very, very solid. IMHO, laser scanning is well justified over camera scanning when it comes to high volume production environments. You can point a laser towards a barcode and scan in a fraction of the time of using a camera. My environment mostly uses UPC and EAN barcodes, so I use the 1D models from Linea Pro.

      — commented November 7th 2011 by Doug Handy
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.