Scan and Enter Quantity App
Scan and Enter Quantity App

Scan and Enter Quantity App

Function prototype: int8_t CST_APIsendManualBarCodeQty(char *barcode, uint16_t quantity);

Description
:
          Sends the edit barcode data or info to the firmware layer, number of times, specified by quantity.
Parameters
:
        
quantity
: quantity of the barcodes sent.
        
ptrDecodeData
:  pointer to edited barcode data.
Return value
:
int8_t status
          APP_SEND_QTY_SUCESS                               (1)
          If valid quantity and barcode data is sent out.
          APP_SEND_QTY_UNDERFLOW_ERROR       (-1L)
          If Quantity entered is less than or equal to zero.
          APP_SEND_QTY_OVERFLOW_ERROR         (-2L)
          If Quantity entered is greater than 9999.
          APP_SEND_QTY_INVALID_DATA                   (-3L)
          If the barcode data is not valid (NULL).
          APP_SEND_QTY_INVALID_LENGTH              (-4L)
          If the length of the barcode data is not within allowed range.