PS5 Barcode scanner
Loading...
Searching...
No Matches
menu.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <fcntl.h>
#include <unistd.h>
#include "lib.h"
#include "menu.h"
#include "utils.h"
#include "main.h"
#include "fancy.h"
#include "pdf_lib.h"
#include "fnt\\datetime.fnt"
#include "fnt\\barcode.fnt"
#include "fnt\\brain.fnt"
#include "fnt\\cards.fnt"
#include "fnt\\nodata.fnt"
#include "fnt\\tools.fnt"
#include "fnt\\trashfl.fnt"
#include "fnt\\trashemp.fnt"
#include "fnt\\version.fnt"
#include "fnt\\battsm.fnt"
#include "fnt\\lr2.fnt"
#include "fnt\\flashi.fnt"
#include "fnt\\comp.fnt"
#include "fnt\\standby.fnt"
#include "fnt\\battvolt.fnt"
#include "fnt\\opl9723.fnt"
#include "fnt\\opldata.fnt"
#include "fnt\\oplsend.fnt"
#include "fnt\\any_key.fnt"
#include "fnt\\msgicons.fnt"
#include "fnt\\light.fnt"
#include "fnt\\optiobar.fnt"
#include "fnt\\KA_bar.fnt"
#include "fnt\\KA8_exit.fnt"
#include "fnt\\KA_utils.fnt"
#include "fnt\\KA_int.fnt"
#include "fnt\\KA8_back.fnt"
#include "fnt\\opl_blue.fnt"
#include "fnt\\qty.fnt"
#include "fnt\\splash.fnt"
#include "fnt\\b_tooth.fnt"
#include "fnt\\KA8_real.fnt"
#include "fnt\\KA_Ma_Sl.fnt"
#include "fnt\\no_bt_ad.fnt"
#include "fnt\\scrolbar.fnt"
#include "fnt\\globe.fnt"
#include "fnt\\breadcrumbs.fnt"
#include "fnt\\gpstest.fnt"
#include "fnt\\gpsformat.fnt"
#include "fnt\\gpstimezone.fnt"

Macros

#define NULL   0
 
#define MAXBATTVOLT   300L
 
#define MAX_AD   1023L
 

Functions

int UpdateBluetoothState (int *stateChange)
 Bluetooth stat machine.
 
void set_font_input (void)
 Sets font and cursor for input.
 
int KAfancyselmenu (fancyselmenus *items, int layers[], char *elements, long *value, int more)
 Selectable list menu with masking based on elements parameter.
 
void InitMenu (void)
 Initializes the main menu array.
 
void MainMenu (void)
 Executes the main menu.
 
void print_message_bar (int bartype)
 Prints the the bottom message bar according to the specified type.
 
int scan_setup_bluetooth (void)
 Handle the initialisation of the Bluetooth in real time.
 
void update_scan_screen (int real_time_mode, char *last_barc, db_record *rec, int *pos, int *offset)
 Displays the appropriate screen (batch or real time).
 
void action_delete_record (db_record *db_rec, long record)
 Delete the given record, or the current record if record = -1.
 
int handle_quantity_input (db_record *db_rec, long fnd_quantity, long *new_quantity, long found_record)
 Handle the quantity inout.
 
void process_realtime_data (char *barc)
 Process the real time data (Bluetooth).
 
void action_change_quantity (db_record *db_rec, long record_index)
 Changes the quantity.
 
void main_scan (void)
 Scanning barcodes from the main menu item.
 
void update_record (long rec_index, db_record *rec)
 Edit a record and save it.
 
void main_scroll (void)
 Scrolls through stored records.
 
void main_delete (void)
 Deletes stored file.
 
void interface_menu (void)
 System communication interface menu.
 
void baudrate_menu (void)
 System communication baudrate menu.
 
void protocol_menu (void)
 System communication protocol menu.
 
void comm_menu (void)
 System communication menu.
 
void qty_menu (void)
 System quantity options menu.
 
void PutBufferTest (void)
 
void bluetooth_menu (void)
 System bluetooth menu.
 
void SetBluetoothMode ()
 System bluetoth set mode handler.
 
void SetPINCode (void)
 System bluetooth set PIN code handler.
 
void SetMACAddress (void)
 System bluetooth set MAC address handler.
 
void sys_bluetooth_reset (void)
 System bluetooth reset handler.
 
void sys_battery (void)
 System battery status handler.
 
void gps_menu (void)
 System GPS menu handler.
 
void gps_brd_menu (void)
 System GPS breadcrumb config menu.
 
void gps_format_menu (void)
 System GPS format menu.
 
void gps_test (void)
 System GPS test handler.
 
void gps_time_zone_menu (void)
 System GPS time zone config handler.
 
void sys_memory (void)
 System config/memory menu.
 
void save_config (void)
 System config/mem save configuration handler.
 
void send_Z3 (void)
 System config/mem send configuration handler.
 
void DefaultConfig (void)
 System config/mem default conifguration handler.
 
void system_menu (void)
 Main system menu handler.
 
int getMACAddress (int MAC_MODE)
 System bluetooth get MAC address handler.
 
int Discovery (char *address)
 BT_Discovery, does the discovery of other bluetooth devices, and allows the selection of discovered devices.
 
int verifyBTAddress (char *BTAddress)
 Verify bluetooth address.
 
int BT_address_setup (void)
 Setup bluetooth MAC address handler.
 
void ConnectBluetooth (void)
 System bluetooth connection handler.
 
void DisconnectBluetooth (void)
 Systme bluetooth disconnect handler.
 
void main_version (void)
 Main version display handler.
 
int send_barcode_real_time (char *barcode)
 Sends a barcode string over the active comm port using putcom().
 
int check_connection (void)
 Check if bluetooth is connected.
 
void applySuffixSettings (int suffix)
 Updates the global variable containing the suffix based on the selection.
 
void choose_suffix ()
 Choose the suffix for the Bluetooth transmission.
 
int init_connection ()
 Initiates bluetooth connection.
 
int close_connection (void)
 Closes bluetooth connection.
 
int init_master_connection ()
 Initiates bluetooth master connection.
 
int init_slave_connection ()
 Initiates bluetooth slave connection.
 
long get_active_port (void)
 Gets the active comm port number.
 
void display_master_connection_screen (void)
 Displays master bluetooth conenction screen.
 
void display_slave_connection_screen (void)
 Displays bluetooth slave connection screen.
 
void InputPincode (char *pincode)
 System bluetooth PIN code input handler.
 
void InputMACAddress (char *address)
 System bluettoh MAC addres input handler.
 
int check_flash_BT_address (void)
 Checks bluetooth MAC address as read from OS.
 
int check_flash_PIN_code (void)
 Checks bluetooth PIN code as read from OS.
 
void get_master_slave_mode (void)
 System bluetooth master/slave mode selection handler.
 
void get_BT_interface (void)
 System bluetooth data mode selection handler.
 
int check_valid_BT_address (void)
 Checks bluetooth MAC address against OS setting.
 
void bat_test (void)
 Battery voltage test.
 
char direct_character_input (unsigned char byte1, unsigned char byte2)
 Translates direct input menu codes to integer value.
 
void SetDefault (void)
 Set default symbology prefix and suffix.
 
void process_menu_code (char *barcode)
 Process menu code label.
 
void main_send (void)
 Main send stored records handler.
 
void OnOseComInfo (int status, int errorsuccess, int progress, const char *info)
 OseComm status.
 
void sys_barcodes (void)
 System barcode config menu.
 
void sys_datetime (void)
 System date/time handler.
 
void sys_standby (void)
 System standby menu.
 
void sys_backlight (void)
 System backlight menu.
 
void printsign (int x_start, int y, int signid)
 Displays preset symbols at specified coordinates.
 
void printbar (int y, int type, int LeftRight)
 Displays menu bar at speicified row.
 
void set_standby (void)
 Sets autopower down according to menu cofiguration.
 
void set_barcodes (void)
 Sets bar code enables according to menu configuration.
 
void display_mem (void)
 System config/mem free memory display handler.
 
void disp_no_database (void)
 Displays empty databse file message.
 
void display_scroll_data (db_record *db_rec, long curr, long max)
 Display data record.
 
void fill_record_struct (db_record *db_rec, char *record)
 Populate data record from character array.
 
int get_record (db_record *db_rec, long *rec_nr, long *max_rec)
 Get specified data record from file.
 
int show_message (const char *msg, int icons)
 Show a message with an icon max message size is 60 chars.
 
void printbattery (void)
 Displays the battery icon.
 
void display_BT_error (int err)
 Display bluetooth error status.
 
void set_time_and_date (void)
 Sets the time and date from keypad inputs.
 
void display_change_quantity (db_record *db_rec)
 Displays the change quantity screen.
 
void change_quantity (db_record *db_rec, long record_index)
 Change quantity handler.
 
int check_input_quant (char *input_quant, int use_default, long def_value, long fnd_quantity, long *new_quantity)
 Checks the quantity string input and returns the resulting quantity.
 
long string_quantity_to_long (char *quantity, int *illegal)
 Converts the quantity string to a long value.
 
long bin_search (char *fname, char *record, char *sstring, int sstr_len, int start, int rec_size)
 
long GetLastRecord (int rec_size)
 Gets the record number of the last record stored.
 
void print_msg_icons (int x, int y, int icons)
 Displays the selected icon.
 
int send_neto (void)
 Send data records using neto handler.
 
int send_xmodem (void)
 Send data records using xmodem handler.
 
int send_plain (void)
 Send data records with no protocol handler.
 
void display_time_date_error (int err_code)
 Display time/date error message.
 
int display_do_setting (void)
 Displays save or cancel bar and waits for response.
 
void display_time_date (char *time_str, char *date_str)
 Displays time and date.
 
void change_character (int x, int y, char *time_str, char *date_str)
 Changes character to next greater value.
 
void store_time_date (char *time_str, char *date_str)
 saves time and date.
 
int is_date_string_ok (char *date_str)
 Checks date string.
 
int is_time_string_ok (char *time_str)
 Checks time string.
 
void setstartpos (int *x, int *y)
 Initializes x and y for time date editting.
 
int setcursorpos (int *x, int *y, int direction)
 Sets the cursor position.
 
void remove_record (long record_no)
 Deletes the specified data record from the file.
 
void update_quantity_rec_struct (db_record *db_rec, long quantity)
 Updates the quantity, time and date stamp and GPS coordinates for the record.
 
void create_db_rec_struct (db_record *db_rec, char *barcode, long quantity)
 
void insertion_sort (FILE *pFile, long items)
 
void save_data (db_record *db_rec, long pos)
 Saves the data record at the specified position.
 
int get_qty_no_keyboard (char *qty)
 Quantity entry when no keypad available handler.
 
void setbaudrate (long baudrate)
 Set comm port baud rate according to specified number.
 
void display_scan_quantity (db_record *db_rec, long total)
 Display screen for barcode scanning when quantity is accumulated.
 
void display_scan_barcode (db_record *db_rec)
 Display screen for barcode scanning when quantity is not being accumulated.
 
void memory_full_error (void)
 Display low memory warning screen.
 
void gps_tag (void)
 System GPS real-time time and coordinate tag config setting handler.
 
void LoadMenuSettings (menuSettings *menu)
 Populate structure with current menu settings.
 
int IsEqualMenuSettings (menuSettings *menu)
 Compare current menu settings against submitted structure.
 
void CompareMenuSettings (menuSettings *menu)
 Menu settings changed handler.
 

Variables

scannerType scanner
 
const char back_string [] = " (back)"
 
const char jan13_string [] = "JAN 13"
 
const char ean13_string [] = "EAN 13"
 
const char upca_string [] = "UPC A"
 
const char jan8_string [] = "JAN 8"
 
const char ean8_string [] = "EAN 8"
 
const char upce_string [] = "UPC E"
 
const char instore13_string [] = "INSTORE 13"
 
const char instore8_string [] = "INSTORE 8"
 
const char code39_string [] = "CODE 39"
 
const char codabar_string [] = "CODABAR"
 
const char d2of5_string [] = "INDUST 2 OF 5"
 
const char i2of5_string [] = "INTERL 2 OF 5"
 
const char code93_string [] = "CODE 93"
 
const char code128_string [] = "CODE 128"
 
const char msi_string [] = "MSI PLESSEY"
 
const char iata_string [] = "IATA"
 
const char uk_string [] = "UK PLESSEY"
 
const char telepen_string [] = "TELEPEN"
 
const char m2of5_string [] = "MATRIX 2 OF 5"
 
const char chinpost_string [] = "CHINESE POST"
 
const char nw7_abc_string [] = "CODABAR ABC"
 
const char nw7_cx_string [] = "CODABAR CX"
 
const char scode_string [] = "SCODE"
 
const char laetus_string [] = "LAETUS"
 
const char c39_fa_string [] = "CD 39 FULL ASCII"
 
const char c39_it_string [] = "ITALIAN PHARMA."
 
const char unknown_string [] = "UNKNOWN CODE"
 
const char all_addon_string [] = "All ADDONS"
 
const char ean_string [] = "EAN"
 
const char upc_string [] = "UPC"
 
const char rss14_string [] = "RSS-14"
 
const char rssL_string [] = "RSS-Limited"
 
const char rssE_string [] = "RSS-Expanded"
 
const char pdf417_string [] = "PDF417"
 
const char updf417_string [] = "MicroPDF417"
 
const char DataMatrix_string [] = "DataMatrix"
 
const char Aztec_string [] = "Aztec"
 
const char Aztec_Runes_string [] = "Aztec Runes"
 
const char QR_Code_string [] = "QR Code"
 
const char Micro_QR_Code_string [] = "Micro QR Code"
 
const char Maxicode_string [] = "Maxicode"
 
const char jan13_2_string [] = "JAN 13 + 2"
 
const char ean13_2_string [] = "EAN 13 + 2"
 
const char upca_2_string [] = "UPC A + 2"
 
const char jan8_2_string [] = "JAN 8 + 2"
 
const char ean8_2_string [] = "EAN 8 + 2"
 
const char upce_2_string [] = "UPC E + 2"
 
const char code128_2_string [] = "CODE 128 + 2"
 
const char jan13_5_string [] = "JAN 13 + 5"
 
const char ean13_5_string [] = "EAN 13 + 5"
 
const char upca_5_string [] = "UPC A + 5"
 
const char jan8_5_string [] = "JAN 8 + 5"
 
const char ean8_5_string [] = "EAN 8 + 5"
 
const char upce_5_string [] = "UPC E + 5"
 
const char code128_5_string [] = "CODE 128 + 5"
 
const char menu_string [] = "MENU CODE"
 
const fancyselmenus barcodem_with2d []
 
const fancyselmenus barcodem []
 
const char day_gb_sunday [] = " Sunday "
 
const char day_gb_monday [] = " Monday "
 
const char day_gb_tuesday [] = " Tuesday "
 
const char day_gb_wednesday [] = " Wednesday"
 
const char day_gb_thursday [] = " Thursday "
 
const char day_gb_friday [] = " Friday "
 
const char day_gb_saturday [] = " Saturday "
 
const days day_gb []
 
const char baud_115200 [] = "115200 Baud"
 
const char baud_57600 [] = " 57600 Baud"
 
const char baud_38400 [] = " 38400 Baud"
 
const char baud_19200 [] = " 19200 Baud"
 
const char baud_9600 [] = " 9600 Baud"
 
const char baud_4800 [] = " 4800 Baud"
 
const char baud_2400 [] = " 2400 Baud"
 
const fancyselmenus baudm []
 
const char int_cradle [] = " Cradle"
 
const char int_BT_Batch [] = "BT Batch Mode"
 
const char int_BT_RealTime [] = " BT Real Time"
 
const char int_USB [] = " USB Cable"
 
const fancyselmenus interfacem []
 
const char qty_enter_only [] = " Enter QTY"
 
const char qty_required [] = " Collect QTY"
 
const char qty_not_required [] = " No QTY"
 
const fancyselmenus qtym []
 
const char standby_5 [] = " 5 seconds"
 
const char standby_10 [] = "10 seconds"
 
const char standby_15 [] = "15 seconds"
 
const char standby_30 [] = "30 seconds"
 
const char standby_45 [] = "45 seconds"
 
const char standby_60 [] = "60 seconds"
 
const char standby_120 [] = "120 seconds"
 
const char standby_180 [] = "180 seconds"
 
const fancyselmenus standbym []
 
const char backlight_off [] = " OFF"
 
const char backlight_on [] = " ON"
 
const char backlight_auto [] = " AUTO"
 
const fancyselmenus backlightm []
 
const char protocol_no [] = "No Protocol"
 
const char protocol_neto [] = "NetO Protocol"
 
const char protocol_xmodem [] = "XMODEM Protocol"
 
const char protocol_osecomm [] = "OseComm Protocol"
 
const fancyselmenus protocolm []
 
const char gps_brd_off [] = "Off"
 
const char gps_brd_1m [] = "1 minute"
 
const char gps_brd_5m [] = "5 minutes"
 
const char gps_brd_15m [] = "15 minutes"
 
const char gps_brd_30m [] = "30 minutes"
 
const fancyselmenus gpsBrdCrmb []
 
const char gps_format_raw [] = "NMEA"
 
const char gps_format_DD [] = "Degrees"
 
const char gps_format_DMS [] = "Deg:Min:Sec"
 
const fancyselmenus gpsFormats []
 
const char timeZoneLabel [24][16]
 
fancymenus mainmenu [6]
 
int menu_state
 
int NOT_IN_MENU_MODE = 0
 
int IN_MENU_MODE = 1
 
int EXITING_MENU_MODE = 2
 
int menu_layers [5]
 
long enabled_barcodes
 
long baudrate_enabled
 
long protocol_enabled
 
long standby_enabled
 
long backlight_enabled
 
long interface_enabled
 
long gps_bread_crumbs
 
long gps_data_format
 
long time_zone_offset
 
long time_zone_change
 
char * protocol_desc
 
char * interface_desc
 
char temp_mac [MAX_ADDRESS+1]
 
int battery_type
 
int batt_power
 
int battery_msg_status
 
int g_fSuspendGPS
 
int g_fSuspendConversion
 
int prefix
 
int suffix
 
Param param_tab [MAX_SYMBOLOGIES]
 
const char time_mask [] = "29:59:59"
 
const char date_mask [] = "39/19/2999/E"
 
menuSettings currentMenu
 
int g_bltPINCallback
 
char g_currentSuffix = '\0'
 
splash_screen splash_msg
 
char _signs []
 
int g_GPS_breadcrumbTimer
 
int g_GPS_Test_Mode
 
const char g_pszGPSBreadCrumb []
 
int g_nBreadCrumbIndex
 
unsigned long g_nGPSStandbyTimeout
 
char g_Longitude []
 
char g_Latitude []
 
const char g_EmptyLatitude []
 
const char g_EmptyLongitude []
 
int g_gpsfix
 
int g_BreadCrumbFlag
 
int g_BreadCrumbTime
 
int g_util_timer
 
int g_gpsOptions
 
char BTLocalName []
 
int BTState
 
int BTStateChange
 
int com_opened
 
char g_termID [5]
 
char app_version []
 
char messageStr []
 

Detailed Description

Created on: Mar 7, 2012 Author: kogami

Macro Definition Documentation

◆ MAX_AD

#define MAX_AD   1023L

◆ MAXBATTVOLT

#define MAXBATTVOLT   300L

◆ NULL

#define NULL   0

Function Documentation

◆ action_change_quantity()

void action_change_quantity ( db_record * db_rec,
long record_index )

Changes the quantity.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ action_delete_record()

void action_delete_record ( db_record * db_rec,
long record )

Delete the given record, or the current record if record = -1.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ applySuffixSettings()

void applySuffixSettings ( int suffix)

Updates the global variable containing the suffix based on the selection.

Here is the caller graph for this function:

◆ bat_test()

void bat_test ( void )

Battery voltage test.

◆ baudrate_menu()

void baudrate_menu ( void )

System communication baudrate menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bin_search()

long bin_search ( char * fname,
char * record,
char * sstring,
int sstr_len,
int start,
int rec_size )
Here is the caller graph for this function:

◆ bluetooth_menu()

void bluetooth_menu ( void )

System bluetooth menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BT_address_setup()

int BT_address_setup ( void )

Setup bluetooth MAC address handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ change_character()

void change_character ( int x,
int y,
char * time_str,
char * date_str )

Changes character to next greater value.

Here is the caller graph for this function:

◆ change_quantity()

void change_quantity ( db_record * db_rec,
long record_index )

Change quantity handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_connection()

int check_connection ( void )

Check if bluetooth is connected.

◆ check_flash_BT_address()

int check_flash_BT_address ( void )

Checks bluetooth MAC address as read from OS.

Here is the caller graph for this function:

◆ check_flash_PIN_code()

int check_flash_PIN_code ( void )

Checks bluetooth PIN code as read from OS.

◆ check_input_quant()

int check_input_quant ( char * input_quant,
int use_default,
long def_value,
long fnd_quantity,
long * new_quantity )

Checks the quantity string input and returns the resulting quantity.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_valid_BT_address()

int check_valid_BT_address ( void )

Checks bluetooth MAC address against OS setting.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ choose_suffix()

void choose_suffix ( )

Choose the suffix for the Bluetooth transmission.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ close_connection()

int close_connection ( void )

Closes bluetooth connection.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ comm_menu()

void comm_menu ( void )

System communication menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CompareMenuSettings()

void CompareMenuSettings ( menuSettings * menu)

Menu settings changed handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ConnectBluetooth()

void ConnectBluetooth ( void )

System bluetooth connection handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_db_rec_struct()

void create_db_rec_struct ( db_record * db_rec,
char * barcode,
long quantity )
Here is the caller graph for this function:

◆ DefaultConfig()

void DefaultConfig ( void )

System config/mem default conifguration handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ direct_character_input()

char direct_character_input ( unsigned char byte1,
unsigned char byte2 )

Translates direct input menu codes to integer value.

Here is the caller graph for this function:

◆ DisconnectBluetooth()

void DisconnectBluetooth ( void )

Systme bluetooth disconnect handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Discovery()

int Discovery ( char * address)

BT_Discovery, does the discovery of other bluetooth devices, and allows the selection of discovered devices.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_no_database()

void disp_no_database ( void )

Displays empty databse file message.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_BT_error()

void display_BT_error ( int err)

Display bluetooth error status.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_change_quantity()

void display_change_quantity ( db_record * db_rec)

Displays the change quantity screen.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_do_setting()

int display_do_setting ( void )

Displays save or cancel bar and waits for response.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_master_connection_screen()

void display_master_connection_screen ( void )

Displays master bluetooth conenction screen.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_mem()

void display_mem ( void )

System config/mem free memory display handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_scan_barcode()

void display_scan_barcode ( db_record * db_rec)

Display screen for barcode scanning when quantity is not being accumulated.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_scan_quantity()

void display_scan_quantity ( db_record * db_rec,
long total )

Display screen for barcode scanning when quantity is accumulated.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_scroll_data()

void display_scroll_data ( db_record * db_rec,
long curr,
long max )

Display data record.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_slave_connection_screen()

void display_slave_connection_screen ( void )

Displays bluetooth slave connection screen.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_time_date()

void display_time_date ( char * time_str,
char * date_str )

Displays time and date.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ display_time_date_error()

void display_time_date_error ( int err_code)

Display time/date error message.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fill_record_struct()

void fill_record_struct ( db_record * db_rec,
char * record )

Populate data record from character array.

Here is the caller graph for this function:

◆ get_active_port()

long get_active_port ( void )

Gets the active comm port number.

Here is the caller graph for this function:

◆ get_BT_interface()

void get_BT_interface ( void )

System bluetooth data mode selection handler.

Here is the call graph for this function:

◆ get_master_slave_mode()

void get_master_slave_mode ( void )

System bluetooth master/slave mode selection handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_qty_no_keyboard()

int get_qty_no_keyboard ( char * qty)

Quantity entry when no keypad available handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_record()

int get_record ( db_record * db_rec,
long * rec_nr,
long * max_rec )

Get specified data record from file.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetLastRecord()

long GetLastRecord ( int rec_size)

Gets the record number of the last record stored.

Here is the caller graph for this function:

◆ getMACAddress()

int getMACAddress ( int MAC_MODE)

System bluetooth get MAC address handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gps_brd_menu()

void gps_brd_menu ( void )

System GPS breadcrumb config menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gps_format_menu()

void gps_format_menu ( void )

System GPS format menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gps_menu()

void gps_menu ( void )

System GPS menu handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gps_tag()

void gps_tag ( void )

System GPS real-time time and coordinate tag config setting handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gps_test()

void gps_test ( void )

System GPS test handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gps_time_zone_menu()

void gps_time_zone_menu ( void )

System GPS time zone config handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle_quantity_input()

int handle_quantity_input ( db_record * db_rec,
long fnd_quantity,
long * new_quantity,
long found_record )

Handle the quantity inout.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_connection()

int init_connection ( )

Initiates bluetooth connection.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_master_connection()

int init_master_connection ( )

Initiates bluetooth master connection.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_slave_connection()

int init_slave_connection ( )

Initiates bluetooth slave connection.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitMenu()

void InitMenu ( void )

Initializes the main menu array.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InputMACAddress()

void InputMACAddress ( char * address)

System bluettoh MAC addres input handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InputPincode()

void InputPincode ( char * pincode)

System bluetooth PIN code input handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ insertion_sort()

void insertion_sort ( FILE * pFile,
long items )
Here is the caller graph for this function:

◆ interface_menu()

void interface_menu ( void )

System communication interface menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_date_string_ok()

int is_date_string_ok ( char * date_str)

Checks date string.

Here is the caller graph for this function:

◆ is_time_string_ok()

int is_time_string_ok ( char * time_str)

Checks time string.

Here is the caller graph for this function:

◆ IsEqualMenuSettings()

int IsEqualMenuSettings ( menuSettings * menu)

Compare current menu settings against submitted structure.

Here is the caller graph for this function:

◆ KAfancyselmenu()

int KAfancyselmenu ( fancyselmenus * items,
int layers[],
char * elements,
long * value,
int more )
extern

Selectable list menu with masking based on elements parameter.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadMenuSettings()

void LoadMenuSettings ( menuSettings * menu)

Populate structure with current menu settings.

Here is the caller graph for this function:

◆ main_delete()

void main_delete ( void )

Deletes stored file.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main_scan()

void main_scan ( void )

Scanning barcodes from the main menu item.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main_scroll()

void main_scroll ( void )

Scrolls through stored records.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main_send()

void main_send ( void )

Main send stored records handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main_version()

void main_version ( void )

Main version display handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MainMenu()

void MainMenu ( void )

Executes the main menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ memory_full_error()

void memory_full_error ( void )

Display low memory warning screen.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnOseComInfo()

void OnOseComInfo ( int status,
int errorsuccess,
int progress,
const char * info )

OseComm status.

Here is the caller graph for this function:

◆ print_message_bar()

void print_message_bar ( int bartype)

Prints the the bottom message bar according to the specified type.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_msg_icons()

void print_msg_icons ( int x,
int y,
int icons )

Displays the selected icon.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ printbar()

void printbar ( int y,
int type,
int LeftRight )

Displays menu bar at speicified row.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ printbattery()

void printbattery ( void )

Displays the battery icon.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ printsign()

void printsign ( int x_start,
int y,
int signid )

Displays preset symbols at specified coordinates.

Here is the caller graph for this function:

◆ process_menu_code()

void process_menu_code ( char * barcode)

Process menu code label.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_realtime_data()

void process_realtime_data ( char * barc)

Process the real time data (Bluetooth).

Here is the caller graph for this function:

◆ protocol_menu()

void protocol_menu ( void )

System communication protocol menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PutBufferTest()

void PutBufferTest ( void )
Here is the call graph for this function:

◆ qty_menu()

void qty_menu ( void )

System quantity options menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remove_record()

void remove_record ( long record_no)

Deletes the specified data record from the file.

Here is the caller graph for this function:

◆ save_config()

void save_config ( void )

System config/mem save configuration handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ save_data()

void save_data ( db_record * db_rec,
long pos )

Saves the data record at the specified position.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ scan_setup_bluetooth()

int scan_setup_bluetooth ( void )

Handle the initialisation of the Bluetooth in real time.

Returns
1 success, 0 batch mode, -1 connection error.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ send_barcode_real_time()

int send_barcode_real_time ( char * barcode)

Sends a barcode string over the active comm port using putcom().

◆ send_neto()

int send_neto ( void )

Send data records using neto handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ send_plain()

int send_plain ( void )

Send data records with no protocol handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ send_xmodem()

int send_xmodem ( void )

Send data records using xmodem handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ send_Z3()

void send_Z3 ( void )

System config/mem send configuration handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_barcodes()

void set_barcodes ( void )

Sets bar code enables according to menu configuration.

Here is the caller graph for this function:

◆ set_font_input()

void set_font_input ( void )
extern

Sets font and cursor for input.

Here is the caller graph for this function:

◆ set_standby()

void set_standby ( void )

Sets autopower down according to menu cofiguration.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_time_and_date()

void set_time_and_date ( void )

Sets the time and date from keypad inputs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setbaudrate()

void setbaudrate ( long baudrate)

Set comm port baud rate according to specified number.

Here is the caller graph for this function:

◆ SetBluetoothMode()

void SetBluetoothMode ( )

System bluetoth set mode handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setcursorpos()

int setcursorpos ( int * x,
int * y,
int direction )

Sets the cursor position.

Here is the caller graph for this function:

◆ SetDefault()

void SetDefault ( void )

Set default symbology prefix and suffix.

Here is the caller graph for this function:

◆ SetMACAddress()

void SetMACAddress ( void )

System bluetooth set MAC address handler.

Here is the call graph for this function:

◆ SetPINCode()

void SetPINCode ( void )

System bluetooth set PIN code handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setstartpos()

void setstartpos ( int * x,
int * y )

Initializes x and y for time date editting.

Here is the caller graph for this function:

◆ show_message()

int show_message ( const char * msg,
int icons )

Show a message with an icon max message size is 60 chars.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ store_time_date()

void store_time_date ( char * time_str,
char * date_str )

saves time and date.

Here is the caller graph for this function:

◆ string_quantity_to_long()

long string_quantity_to_long ( char * quantity,
int * illegal )

Converts the quantity string to a long value.

Here is the caller graph for this function:

◆ sys_backlight()

void sys_backlight ( void )

System backlight menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sys_barcodes()

void sys_barcodes ( void )

System barcode config menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sys_battery()

void sys_battery ( void )

System battery status handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sys_bluetooth_reset()

void sys_bluetooth_reset ( void )

System bluetooth reset handler.

Here is the call graph for this function:

◆ sys_datetime()

void sys_datetime ( void )

System date/time handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sys_memory()

void sys_memory ( void )

System config/memory menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sys_standby()

void sys_standby ( void )

System standby menu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ system_menu()

void system_menu ( void )

Main system menu handler.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_quantity_rec_struct()

void update_quantity_rec_struct ( db_record * db_rec,
long quantity )

Updates the quantity, time and date stamp and GPS coordinates for the record.

Here is the caller graph for this function:

◆ update_record()

void update_record ( long rec_index,
db_record * rec )

Edit a record and save it.

◆ update_scan_screen()

void update_scan_screen ( int real_time_mode,
char * last_barc,
db_record * rec,
int * pos,
int * offset )

Displays the appropriate screen (batch or real time).

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateBluetoothState()

int UpdateBluetoothState ( int * stateChange)
extern

Bluetooth stat machine.

Here is the caller graph for this function:

◆ verifyBTAddress()

int verifyBTAddress ( char * BTAddress)

Verify bluetooth address.

Here is the caller graph for this function:

Variable Documentation

◆ _signs

char _signs[]
extern

◆ all_addon_string

const char all_addon_string[] = "All ADDONS"

◆ app_version

char app_version[]
extern

◆ Aztec_Runes_string

const char Aztec_Runes_string[] = "Aztec Runes"

◆ Aztec_string

const char Aztec_string[] = "Aztec"

◆ back_string

const char back_string[] = " (back)"

◆ backlight_auto

const char backlight_auto[] = " AUTO"

◆ backlight_enabled

long backlight_enabled

◆ backlight_off

const char backlight_off[] = " OFF"

◆ backlight_on

const char backlight_on[] = " ON"

◆ backlightm

const fancyselmenus backlightm[]
Initial value:
= {
{(char*)back_string, -1},
{(char*)backlight_off, OFF},
{(char*)backlight_on, ON},
{(char*)backlight_auto, AUTO},
}
const char backlight_on[]
Definition menu.c:252
const char backlight_off[]
Definition menu.c:251
const char backlight_auto[]
Definition menu.c:253
const char back_string[]
Definition menu.c:72

◆ barcodem

const fancyselmenus barcodem[]
Initial value:
= {
{(char*)back_string, -1},
{(char*)code39_string, ID_CODE39},
{(char*)ean_string, ID_EAN},
{(char*)upc_string, ID_UPC},
{(char*)i2of5_string, ID_I2OF5},
{(char*)d2of5_string, ID_D2OF5},
{(char*)codabar_string, ID_CODABAR},
{(char*)code93_string, ID_CODE93},
{(char*)code128_string, ID_CODE128},
{(char*)msi_string, ID_MSI_PLESSEY},
{(char*)telepen_string, ID_TELEPEN},
{(char*)uk_string, ID_UK_PLESSEY},
{(char*)iata_string, ID_IATA},
{(char*)scode_string, ID_SCODE},
{(char*)m2of5_string, ID_M2OF5},
{(char*)rss14_string, ID_RSS_14},
{(char*)rssL_string, ID_RSS_LIMITED},
{(char*)rssE_string, ID_RSS_EXPANDED},
{(char*)pdf417_string, ID_PDF417},
{(char*)updf417_string, ID_MICRO_PDF417},
{(char*)all_addon_string, ID_ADDONS},
}
const char code93_string[]
Definition menu.c:86
const char telepen_string[]
Definition menu.c:91
const char code39_string[]
Definition menu.c:81
const char all_addon_string[]
Definition menu.c:101
const char rssE_string[]
Definition menu.c:107
const char pdf417_string[]
Definition menu.c:108
const char code128_string[]
Definition menu.c:87
const char rssL_string[]
Definition menu.c:106
const char msi_string[]
Definition menu.c:88
const char scode_string[]
Definition menu.c:96
const char codabar_string[]
Definition menu.c:82
const char d2of5_string[]
Definition menu.c:84
const char uk_string[]
Definition menu.c:90
const char rss14_string[]
Definition menu.c:105
const char iata_string[]
Definition menu.c:89
const char m2of5_string[]
Definition menu.c:92
const char ean_string[]
Definition menu.c:103
const char updf417_string[]
Definition menu.c:109
const char upc_string[]
Definition menu.c:104
const char i2of5_string[]
Definition menu.c:85

◆ barcodem_with2d

const fancyselmenus barcodem_with2d[]
Initial value:
= {
{(char*)back_string, -1},
{(char*)code39_string, ID_CODE39},
{(char*)ean_string, ID_EAN},
{(char*)upc_string, ID_UPC},
{(char*)i2of5_string, ID_I2OF5},
{(char*)d2of5_string, ID_D2OF5},
{(char*)codabar_string, ID_CODABAR},
{(char*)code93_string, ID_CODE93},
{(char*)code128_string, ID_CODE128},
{(char*)msi_string, ID_MSI_PLESSEY},
{(char*)telepen_string, ID_TELEPEN},
{(char*)uk_string, ID_UK_PLESSEY},
{(char*)iata_string, ID_IATA},
{(char*)scode_string, ID_SCODE},
{(char*)m2of5_string, ID_M2OF5},
{(char*)rss14_string, ID_RSS_14},
{(char*)rssL_string, ID_RSS_LIMITED},
{(char*)rssE_string, ID_RSS_EXPANDED},
{(char*)all_addon_string, ID_ADDONS},
{(char*)pdf417_string, ID_PDF417},
{(char*)updf417_string, ID_MICRO_PDF417},
{(char*)DataMatrix_string, ID_DATAMATRIX},
{(char*)Aztec_string, ID_AZTEC},
{(char*)Aztec_Runes_string, ID_AZTEC_RUNES},
{(char*)QR_Code_string, ID_QR_CODE},
{(char*)Micro_QR_Code_string, ID_MICRO_QR_CODE},
{(char*)Maxicode_string, ID_MAXICODE},
}
const char Micro_QR_Code_string[]
Definition menu.c:115
const char Aztec_Runes_string[]
Definition menu.c:113
const char DataMatrix_string[]
Definition menu.c:111
const char Aztec_string[]
Definition menu.c:112
const char Maxicode_string[]
Definition menu.c:116
const char QR_Code_string[]
Definition menu.c:114

◆ batt_power

int batt_power

◆ battery_msg_status

int battery_msg_status

◆ battery_type

int battery_type
Initial value:
=
#define BAT_CHARGE
Definition utils.c:25

◆ baud_115200

const char baud_115200[] = "115200 Baud"

◆ baud_19200

const char baud_19200[] = " 19200 Baud"

◆ baud_2400

const char baud_2400[] = " 2400 Baud"

◆ baud_38400

const char baud_38400[] = " 38400 Baud"

◆ baud_4800

const char baud_4800[] = " 4800 Baud"

◆ baud_57600

const char baud_57600[] = " 57600 Baud"

◆ baud_9600

const char baud_9600[] = " 9600 Baud"

◆ baudm

const fancyselmenus baudm[]
Initial value:
= {{(char*)back_string, -1}, {(char*)baud_115200, ID_115200},
{(char*)baud_57600, ID_57600}, {(char*)baud_38400, ID_38400},
{(char*)baud_19200, ID_19200}, {(char*)baud_9600, ID_9600},
{(char*)baud_4800, ID_4800}, {(char*)baud_2400, ID_2400}}
const char baud_2400[]
Definition menu.c:208
const char baud_19200[]
Definition menu.c:205
const char baud_38400[]
Definition menu.c:204
const char baud_115200[]
Definition menu.c:202
const char baud_9600[]
Definition menu.c:206
const char baud_4800[]
Definition menu.c:207
const char baud_57600[]
Definition menu.c:203

◆ baudrate_enabled

long baudrate_enabled

◆ BTLocalName

char BTLocalName[]
extern

◆ BTState

int BTState
extern

◆ BTStateChange

int BTStateChange
extern

◆ c39_fa_string

const char c39_fa_string[] = "CD 39 FULL ASCII"

◆ c39_it_string

const char c39_it_string[] = "ITALIAN PHARMA."

◆ chinpost_string

const char chinpost_string[] = "CHINESE POST"

◆ codabar_string

const char codabar_string[] = "CODABAR"

◆ code128_2_string

const char code128_2_string[] = "CODE 128 + 2"

◆ code128_5_string

const char code128_5_string[] = "CODE 128 + 5"

◆ code128_string

const char code128_string[] = "CODE 128"

◆ code39_string

const char code39_string[] = "CODE 39"

◆ code93_string

const char code93_string[] = "CODE 93"

◆ com_opened

int com_opened
extern

◆ currentMenu

menuSettings currentMenu

◆ d2of5_string

const char d2of5_string[] = "INDUST 2 OF 5"

◆ DataMatrix_string

const char DataMatrix_string[] = "DataMatrix"

◆ date_mask

const char date_mask[] = "39/19/2999/E"

◆ day_gb

const days day_gb[]
Initial value:
= {{(char*)day_gb_sunday}, {(char*)day_gb_monday}, {(char*)day_gb_tuesday},
{(char*)day_gb_wednesday}, {(char*)day_gb_thursday}, {(char*)day_gb_friday},
{(char*)day_gb_saturday}}
const char day_gb_monday[]
Definition menu.c:191
const char day_gb_sunday[]
Definition menu.c:190
const char day_gb_thursday[]
Definition menu.c:194
const char day_gb_tuesday[]
Definition menu.c:192
const char day_gb_saturday[]
Definition menu.c:196
const char day_gb_friday[]
Definition menu.c:195
const char day_gb_wednesday[]
Definition menu.c:193

◆ day_gb_friday

const char day_gb_friday[] = " Friday "

◆ day_gb_monday

const char day_gb_monday[] = " Monday "

◆ day_gb_saturday

const char day_gb_saturday[] = " Saturday "

◆ day_gb_sunday

const char day_gb_sunday[] = " Sunday "

◆ day_gb_thursday

const char day_gb_thursday[] = " Thursday "

◆ day_gb_tuesday

const char day_gb_tuesday[] = " Tuesday "

◆ day_gb_wednesday

const char day_gb_wednesday[] = " Wednesday"

◆ ean13_2_string

const char ean13_2_string[] = "EAN 13 + 2"

◆ ean13_5_string

const char ean13_5_string[] = "EAN 13 + 5"

◆ ean13_string

const char ean13_string[] = "EAN 13"

◆ ean8_2_string

const char ean8_2_string[] = "EAN 8 + 2"

◆ ean8_5_string

const char ean8_5_string[] = "EAN 8 + 5"

◆ ean8_string

const char ean8_string[] = "EAN 8"

◆ ean_string

const char ean_string[] = "EAN"

◆ enabled_barcodes

long enabled_barcodes

◆ EXITING_MENU_MODE

int EXITING_MENU_MODE = 2

◆ g_bltPINCallback

int g_bltPINCallback

◆ g_BreadCrumbFlag

int g_BreadCrumbFlag
extern

◆ g_BreadCrumbTime

int g_BreadCrumbTime
extern

◆ g_currentSuffix

char g_currentSuffix = '\0'

◆ g_EmptyLatitude

const char g_EmptyLatitude[]
extern

◆ g_EmptyLongitude

const char g_EmptyLongitude[]
extern

◆ g_fSuspendConversion

int g_fSuspendConversion

◆ g_fSuspendGPS

int g_fSuspendGPS

◆ g_GPS_breadcrumbTimer

int g_GPS_breadcrumbTimer
extern

◆ g_GPS_Test_Mode

int g_GPS_Test_Mode
extern

◆ g_gpsfix

int g_gpsfix
extern

◆ g_gpsOptions

int g_gpsOptions
extern

◆ g_Latitude

char g_Latitude[]
extern

◆ g_Longitude

char g_Longitude[]
extern

◆ g_nBreadCrumbIndex

int g_nBreadCrumbIndex
extern

◆ g_nGPSStandbyTimeout

unsigned long g_nGPSStandbyTimeout
extern

◆ g_pszGPSBreadCrumb

const char g_pszGPSBreadCrumb[]
extern

◆ g_termID

char g_termID[5]
extern

◆ g_util_timer

int g_util_timer
extern

◆ gps_brd_15m

const char gps_brd_15m[] = "15 minutes"

◆ gps_brd_1m

const char gps_brd_1m[] = "1 minute"

◆ gps_brd_30m

const char gps_brd_30m[] = "30 minutes"

◆ gps_brd_5m

const char gps_brd_5m[] = "5 minutes"

◆ gps_brd_off

const char gps_brd_off[] = "Off"

◆ gps_bread_crumbs

long gps_bread_crumbs

◆ gps_data_format

long gps_data_format

◆ gps_format_DD

const char gps_format_DD[] = "Degrees"

◆ gps_format_DMS

const char gps_format_DMS[] = "Deg:Min:Sec"

◆ gps_format_raw

const char gps_format_raw[] = "NMEA"

◆ gpsBrdCrmb

const fancyselmenus gpsBrdCrmb[]
Initial value:
= {
{(char*)back_string, -1}, {(char*)gps_brd_off, GPS_BRD_OFF},
{(char*)gps_brd_1m, GPS_BRD_1_M}, {(char*)gps_brd_5m, GPS_BRD_5_M},
{(char*)gps_brd_15m, GPS_BRD_15_M}, {(char*)gps_brd_30m, GPS_BRD_30_M}}
const char gps_brd_off[]
Definition menu.c:273
const char gps_brd_5m[]
Definition menu.c:275
const char gps_brd_30m[]
Definition menu.c:277
const char gps_brd_1m[]
Definition menu.c:274
const char gps_brd_15m[]
Definition menu.c:276

◆ gpsFormats

const fancyselmenus gpsFormats[]
Initial value:
= {{(char*)back_string, -1},
{(char*)gps_format_raw, GPS_RAW},
{(char*)gps_format_DD, GPS_DECIMAL_DEGREE},
{(char*)gps_format_DMS, GPS_DEG_MIN_SEC}}
const char gps_format_DMS[]
Definition menu.c:286
const char gps_format_DD[]
Definition menu.c:285
const char gps_format_raw[]
Definition menu.c:284

◆ i2of5_string

const char i2of5_string[] = "INTERL 2 OF 5"

◆ iata_string

const char iata_string[] = "IATA"

◆ IN_MENU_MODE

int IN_MENU_MODE = 1

◆ instore13_string

const char instore13_string[] = "INSTORE 13"

◆ instore8_string

const char instore8_string[] = "INSTORE 8"

◆ int_BT_Batch

const char int_BT_Batch[] = "BT Batch Mode"

◆ int_BT_RealTime

const char int_BT_RealTime[] = " BT Real Time"

◆ int_cradle

const char int_cradle[] = " Cradle"

◆ int_USB

const char int_USB[] = " USB Cable"

◆ interface_desc

char* interface_desc

◆ interface_enabled

long interface_enabled

◆ interfacem

const fancyselmenus interfacem[]
Initial value:
= {{(char*)back_string, -1},
{(char*)int_cradle, INTERFACE_CRADLE},
{(char*)int_BT_Batch, INTERFACE_BT_BATCH},
{(char*)int_BT_RealTime, INTERFACE_BT_REAL_TIME},
{(char*)int_USB, INTERFACE_USB}}
const char int_BT_Batch[]
Definition menu.c:216
const char int_cradle[]
Definition menu.c:215
const char int_BT_RealTime[]
Definition menu.c:217
const char int_USB[]
Definition menu.c:218

◆ jan13_2_string

const char jan13_2_string[] = "JAN 13 + 2"

◆ jan13_5_string

const char jan13_5_string[] = "JAN 13 + 5"

◆ jan13_string

const char jan13_string[] = "JAN 13"

◆ jan8_2_string

const char jan8_2_string[] = "JAN 8 + 2"

◆ jan8_5_string

const char jan8_5_string[] = "JAN 8 + 5"

◆ jan8_string

const char jan8_string[] = "JAN 8"

◆ laetus_string

const char laetus_string[] = "LAETUS"

◆ m2of5_string

const char m2of5_string[] = "MATRIX 2 OF 5"

◆ mainmenu

fancymenus mainmenu[6]

◆ Maxicode_string

const char Maxicode_string[] = "Maxicode"

◆ menu_layers

int menu_layers[5]

◆ menu_state

int menu_state

◆ menu_string

const char menu_string[] = "MENU CODE"

◆ messageStr

char messageStr[]
Initial value:
=
"! U1 BEGIN-PAGE\r\n! U1 SETLP 7 0 24\r\n\r\n\r\n CONAGRA FOODS MEXICO\r\nID "
"Cliente: 687019\r\nFecha: 06/07/2012 12:33 PM\r\n\r\nCANT DESC PRECIO "
"TOTAL \r\n------------------------------------------------\r\n 1 A2 Nat 85gr "
"5,00 5,00\r\n 1 A2 Ch L cja 402,00 402,00\r\n 1 Isadora R Bay "
" 12,50 12,50\r\n 1 DM Chic 400gr 7,50 7,50\r\n 1 "
"ARETE 0,00 0,00\r\n 1 Exhibidor Pir 0,00 "
"0,00\r\n 1 A2 Q Jal Reg 0,00 0,00\r\n 1 A2 Ext M 85gr 5,00 "
" 5,00\r\n 1 DM Ch Z 410gr 8,50 8,50\r\n 1 HUNTS 4 Q 360 "
" 7,00 7,00\r\n 1 SAL MEX V 475 15,00 15,00\r\n 2 DM En V "
"215gr 5,50 11,00\r\n 2 A2 Val 93.5gr 5,50 "
"11,00\r\n------------------------------------------------\r\n! U1 SETLP 7 1 48\r\nTOTAL: "
" 484,50\r\n! U1 SETLP 7 0 24\r\nProductos: 13\r\nArticulos: "
"15\r\n\r\n\r\n\r\n! U1 END-PAGE\r\n"

◆ Micro_QR_Code_string

const char Micro_QR_Code_string[] = "Micro QR Code"

◆ msi_string

const char msi_string[] = "MSI PLESSEY"

◆ NOT_IN_MENU_MODE

int NOT_IN_MENU_MODE = 0

◆ nw7_abc_string

const char nw7_abc_string[] = "CODABAR ABC"

◆ nw7_cx_string

const char nw7_cx_string[] = "CODABAR CX"

◆ param_tab

Param param_tab[MAX_SYMBOLOGIES]

◆ pdf417_string

const char pdf417_string[] = "PDF417"

◆ prefix

int prefix

◆ protocol_desc

char* protocol_desc

◆ protocol_enabled

long protocol_enabled

◆ protocol_neto

const char protocol_neto[] = "NetO Protocol"

◆ protocol_no

const char protocol_no[] = "No Protocol"

◆ protocol_osecomm

const char protocol_osecomm[] = "OseComm Protocol"

◆ protocol_xmodem

const char protocol_xmodem[] = "XMODEM Protocol"

◆ protocolm

const fancyselmenus protocolm[]
Initial value:
= {{(char*)back_string, -1},
{(char*)protocol_no, ID_NO_PROTOCOL},
{(char*)protocol_neto, ID_NETO_PROTOCOL},
{(char*)protocol_xmodem, ID_XMODEM_PROTOCOL},
{(char*)protocol_osecomm, ID_OSECOMM_PROTOCOL}}
const char protocol_no[]
Definition menu.c:262
const char protocol_neto[]
Definition menu.c:263
const char protocol_xmodem[]
Definition menu.c:264
const char protocol_osecomm[]
Definition menu.c:265

◆ QR_Code_string

const char QR_Code_string[] = "QR Code"

◆ qty_enter_only

const char qty_enter_only[] = " Enter QTY"

◆ qty_not_required

const char qty_not_required[] = " No QTY"

◆ qty_required

const char qty_required[] = " Collect QTY"

◆ qtym

const fancyselmenus qtym[]
Initial value:
= {
{(char*)back_string, -1},
{(char*)qty_required, QTY_REQUIRED},
{(char*)qty_enter_only, QTY_ENTER_ONLY},
{(char*)qty_not_required, QTY_NOT_REQUIRED}}
const char qty_not_required[]
Definition menu.c:228
const char qty_required[]
Definition menu.c:227
const char qty_enter_only[]
Definition menu.c:226

◆ rss14_string

const char rss14_string[] = "RSS-14"

◆ rssE_string

const char rssE_string[] = "RSS-Expanded"

◆ rssL_string

const char rssL_string[] = "RSS-Limited"

◆ scanner

scannerType scanner
extern

◆ scode_string

const char scode_string[] = "SCODE"

◆ splash_msg

splash_screen splash_msg
extern

◆ standby_10

const char standby_10[] = "10 seconds"

◆ standby_120

const char standby_120[] = "120 seconds"

◆ standby_15

const char standby_15[] = "15 seconds"

◆ standby_180

const char standby_180[] = "180 seconds"

◆ standby_30

const char standby_30[] = "30 seconds"

◆ standby_45

const char standby_45[] = "45 seconds"

◆ standby_5

const char standby_5[] = " 5 seconds"

◆ standby_60

const char standby_60[] = "60 seconds"

◆ standby_enabled

long standby_enabled

◆ standbym

const fancyselmenus standbym[]
Initial value:
= {{(char*)back_string, -1}, {(char*)standby_5, ST_05_SEC},
{(char*)standby_10, ST_10_SEC}, {(char*)standby_15, ST_15_SEC},
{(char*)standby_30, ST_30_SEC}, {(char*)standby_45, ST_45_SEC},
{(char*)standby_60, ST_60_SEC}, {(char*)standby_120, ST_120_SEC},
{(char*)standby_180, ST_180_SEC}}
const char standby_60[]
Definition menu.c:241
const char standby_10[]
Definition menu.c:237
const char standby_45[]
Definition menu.c:240
const char standby_5[]
Definition menu.c:236
const char standby_15[]
Definition menu.c:238
const char standby_120[]
Definition menu.c:242
const char standby_30[]
Definition menu.c:239
const char standby_180[]
Definition menu.c:243

◆ suffix

int suffix

◆ telepen_string

const char telepen_string[] = "TELEPEN"

◆ temp_mac

char temp_mac[MAX_ADDRESS+1]

◆ time_mask

const char time_mask[] = "29:59:59"

◆ time_zone_change

long time_zone_change

◆ time_zone_offset

long time_zone_offset

◆ timeZoneLabel

const char timeZoneLabel[24][16]
Initial value:
= {
"Midway",
"Hawaii",
"Anchorage",
"Pacific",
"Mountain",
"Central",
"Eastern",
"Bermuda",
"Sao Paolo",
"Sandwich Isles",
"Azores",
"London",
"Paris",
"Athens",
"Belarus",
"Moscow",
"Pakistan",
"Kazakhstan",
"Singapore",
"Beijing",
"Tokyo",
"Sydney",
"Vladivostok",
}

◆ uk_string

const char uk_string[] = "UK PLESSEY"

◆ unknown_string

const char unknown_string[] = "UNKNOWN CODE"

◆ upc_string

const char upc_string[] = "UPC"

◆ upca_2_string

const char upca_2_string[] = "UPC A + 2"

◆ upca_5_string

const char upca_5_string[] = "UPC A + 5"

◆ upca_string

const char upca_string[] = "UPC A"

◆ upce_2_string

const char upce_2_string[] = "UPC E + 2"

◆ upce_5_string

const char upce_5_string[] = "UPC E + 5"

◆ upce_string

const char upce_string[] = "UPC E"

◆ updf417_string

const char updf417_string[] = "MicroPDF417"