Sends the location and barcode data to the firmware layer.
LocRecord_t *location
: pointer to the structure containing location data and length.
BarcodeRecord_t *barcode
: structure containing the barcode data and length
quantity
: number of barcode data from GUI.
Return value
:
int8_t status
If valid quantity, location 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 Location data or barcode data is not valid (NULL).
APP_SEND_QTY_INVALID_LENGTH (-4L)
If the length of the Location data or barcode data is not within allowed range.