Contents
Display Legacy Contents

 Print
    Barcode Connect    
Connects to a Barcode device.

Parameters

DeviceType numeric
The type of barcode device to use.

it can be one of:

  • 0 - Internal API.
    Uses the device manufacturers API to connect to an internal or external scanner.

  • 1 - Serial Port.
    Connects to an external scanner using a serial port.

      Barcode Sufix expression string.
      The control character or characters that indicate the end of the barcode.

      Normally it is an ENTER.
      If this parameter is an empty string, the barcode is considered complete when nothing is received from the scanner for a few milliseconds (normally 100 ms), but can return invalid results if multiple barcodes are scanned in a very fast succession.


      Background Connection numeric.
      Specifies whether the connection is made or not in the background.

      it can be one of:

      • 1 - YES
        Connects in the background without blocking the application untill it succeeds

      • 2 - NO
        Blocks the application and waits until the connection succeeds.


      Device string
      The name of the device string specifying the serial port to open.

      Leave empty for system default.
      For example "BT1:" in Windows or "/dev/ttyS1" in Android.


      Port numeric
      The COM Port Number.

      A negative value specifies an LPT port.


      Baud Rate numeric
      The baud rate for the serial port that user wants to open.

      There are several pre-defined values for this parameter. For more information, see the notes.


      Data Bits numeric
      The number of data bits transmitted thru the serial port.

      it can be one of:

      • 1 - 7 bits

      • 2 - 8 bits.


      Stop Bits numeric
      The number of stop bits in the serial port.

      it can be one of:

      • 1 - 1 bit,

      • 2 - 2 bits.


      Parity numeric
      The number of parity bits in the serial port.

      it can be one of:

      • 1 - None,

      • 2 - Even,

      • 3 - Odd.


  • 2-Bluetooth.
    Connects to an external scanner using bluetooth.

      Barcode Sufix expression string.
      The control character or characters that indicate the end of the barcode.

      Normally it is an ENTER.
      If this parameter is an empty string, the barcode is considered complete when nothing is received from the scanner for a few milliseconds (normally 100 ms), but can return invalid results if multiple barcodes are scanned in a very fast succession.


      Background Connection numeric.
      Specifies whether the connection is made or not in the background.

      it can be one of:

      • 1 - YES
        Connects in the background without blocking the application untill it succeeds

      • 2 - NO
        Blocks the application and waits until the connection succeeds.


      MAC Address string
      The MAC Address of the device.


  • 3 - Socket.
    Connects to an external scanner using TCP/IP sockets.

      Barcode Sufix expression string.
      The control character or characters that indicate the end of the barcode.

      Normally it is an ENTER.
      If this parameter is an empty string, the barcode is considered complete when nothing is received from the scanner for a few milliseconds (normally 100 ms), but can return invalid results if multiple barcodes are scanned in a very fast succession.


      Background Connection numeric.
      Specifies whether the connection is made or not in the background.

      it can be one of:

      • 1 - YES
        Connects in the background without blocking the application untill it succeeds

      • 2 - NO
        Blocks the application and waits until the connection succeeds.


      Host Address string
      The Host Address of the device.


      Port numeric numeric
      The Port Number.


  • 4 - External API.
    Uses an external Java library provided by you to interact with the barcode scanner 

Jar
File
<string>: defines the full path and name of the JAR or APK file that contains your barcode interface implementation.


Class Name <string>: Fully classified class name that contains the function to execute.
See Notes for more details.


User Parameters
<string>: String expression with any value that we will pass in the call to the Method Name.


     
  • The pre-defined values for the Baud Rate are: 110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400, 56000, 57600, 115200 and 128000.

  • If Device String value is specified, the actual number in Serial Port is ignored to open the port, but you must specify the same Serial Port in subsequent Serial ... actions called to use the same port opened in this action.

  • Internal APIs supported in Windows CE/Mobile.
    • Zebra
    • Intermec
    • Psion
    • Cipherlab
    • Unitech
    • Honeywell
    • Datalogic
    • Pidion
    • M3
    • Denso
    • ACD
    • PointMobile
    • Newland

  • Internal APIs supported in Android.
    • Zebra
    • Intermec
    • Cipherlab
    • Honeywell
    • Datalogic
    • M3
    • Denso
    • Start Asura
    • Adlink
    • PointMobile
    • Newland

  • Internal APIs supported in Windows 10. In Windows 10 the API used is from the Operating System. So any device that complies with Win10 Windows.Devices.PointOfService.BarcodeScanner API should be supported.

  • External API option allows you to implement an interface with a barcode scanner SDK and use standard Kalipso Barcode... actions to interact with it.
    • You can find the android java library containing the interfaces in Designer folder under "Plugins\Android\libs"
    • You should create a class that implements the KExternalScannerAPI interface. Then you pass in the path to the JAR/APK file you created and you must pass the name of the class that implements this interface. Kalipso will create an instance of this class, and any call to Kalipso Barcode... actions will be translated into a call to the corresponding Interface method.
    • The KExternalEventsInterface that you will receive in the Connect() call allow you to send barcode scan events and other additional events to Kalipso to App Notifed events in Kalipso forms and to register callbacks for some events to be sent to you from Kalipso. See RunJar.

See also
Barcode Disconnect
Barcode Enable
Barcode Disable
Barcode Scan
Barcode Set Enabled Symbologies
Barcode Get Enabled Symbologies
Barcode Set Parameter
Barcode Get Parameter
Cortex Scan Connect
Cortex Scan Disconnect
Cortex Scan Set Camera Preview
Cortex Scan Enable
Cortex Scan Disable
Cortex Scan Scan Barcode
Cortex Scan Set Enabled Symbol
Cortex Scan Get Enabled Symbol
Cortex Scan Set Property
Cortex Scan Get Property
Zebra Scan Enum Device
Zebra Scan Connect
Zebra Scan Disconnect
Zebra Scan Enable
Zebra Scan Disable
Zebra Scan Barcode
Zebra Scan Set Enabled Symbologies
Zebra Scan Get Enabled Symbologies
Honeywell Scan Connect
Honeywell Scan Disconnect
Honeywell Scan Enable
Honeywell Scan Disable
Honeywell Scan Barcode
Honeywell Scan Set Enabled Symbologies
Honeywell Scan Get Enabled Symbologies
CipherLab Scan Connect
CipherLab Scan Disconnect
CipherLab Get Scanner Type
CipherLab Reset Scanner
CipherLab Read Barcode
CipherLab Set Scanner Preferences
CipherLab Set Symbology Options
Cipherlab Scan Enable
Cipherlab Scan Disable
Intermec Scan Enum Device
Intermec Scan Connect
Intermec Scan Disconnect
Intermec Scan Enable
Intermec Scan Disable
Intermec Scan Barcode
Intermec Scan Set Enable
Intermec Scan Get Enable
Intermec Scan Send Conf. Command
Intermec Scan Get Conf. Value
Unitech Scan Connect
Unitech Scan Disconnect
Unitech Scan Enable
Unitech Scan Disable
Unitech Scan Barcode
Psion Scan Connect
Psion Scan Disconnect
Psion Scan Enable
Psion Scan Disable
Psion Scan Barcode
Psion Scan Set Property
Psion Scan Get Property
Nordic ID Scan Connect
Nordic ID Scan Disconnect
Nordic ID Scan Enable
Nordic ID Scan Disable
Nordic ID Scan Barcode
Nordic ID Scan Set Enabled Symbologies
Nordic ID Scan Get Enabled Symbologies
Nordic ID Connect
Nordic ID Disconnect
Nordic ID Get Value
Nordic ID Set Value
Nordic ID Execute
Baracoda Initialize
Baracoda Uninitialize
Baracoda Get Device List
Baracoda Pair Device
Baracoda Unpair Device
Baracoda Is Device Paired
Baracoda Connect Device
Baracoda Disconnect Device
Baracoda Is Device Conn.
Baracoda Send Acknowledge
M3 Scan Connect
M3 Scan Disconnect
M3 Scan Enable
M3 Scan Disable
M3 Scan Barcode
M3 Scan Set Enabled Symbologies
M3 Scan Get Enabled Symbologies
Pidion Scan Connect
Pidion Scan Disconnect
Pidion Scan Enable
Pidion Scan Disable
Pidion Scan Barcode
Pidion Scan Set Enable Symbologie
Pidion Scan Get Enable Symbologie
Denso Scan Connect
Denso Scan Disconnect
Denso Scan Enable
Denso Scan Disable
Denso Scan Barcode
Denso Scan Set Enabled Symbologies
Denso Scan Get Enabled Symbologies
PointMobile Scan Connect
PointMobile Scan Disconnect
PointMobile Scan Enable
PointMobile Scan Disable
PointMobile Scan Barcode
PointMobile Scan Set Enabled Symbologies
PointMobile Scan Get Enabled Symbology
Newland Scan Connect
Newland Scan Disconnect
Newland Scan Enable
Newland Scan Disable
Newland Scan Barcode
Newland Scan Set Enabled Symbology
Newland Scan Get Enabled Symbology
Samples
Barcode Sample
 
 
Updated : 3/27/2020 4:22 PM