Page 2
Pictures in this manual are for illustration purposes only. SY-7000 is a trademark of Synel Industries Ltd. All trade names referenced herein are either trademarks or registered trademarks of their respective companies.
SY-7000 SDK Manual Introduction Chapter 1 - Introduction The SY-7000 series data collection terminal is introduced by Synel as a top of the line hardware terminal. The terminal has almost unlimited capabilities when partnered with Synel’s additional time and attendance software and hardware products.
• Recommended stand-alone PoE power injector module: Ault PW130RB4800F01 Note: PW130RA modules are not 802.3af compliant. You can view the SY-7000 series matrix in “Model Matrix” on page 44. 1.1.2 The Software Development Kit 1.1.2.1Components The following components are included in the SY-7000 SDK kit.
SY-7000 SDK Manual Introduction 1.1.3.1Technical Specifications The heart of the Terminal is based on a MPC885 from Freescale Semiconductor. It is specifically designed to enable working with for several communication types and is powerful enough to meet several future demands. Operating System - standard open source embedded Linux Version 2.4.26.
SY-7000 SDK Manual Terminal Configuration Instructions Chapter 2 -Terminal Configuration Instructions The following section describes the way in which to initially configure the terminal, using the standard configuration of the factory default SY-7000 application. Most of the configuration can be done using the standard Linux system commands via Telnet or Serial port, as explained in Communication Between the Host and Terminal on page 16.
Terminal Configuration InstructionsSY-7000 SDK Manual Version Application Version Release Version Root FS Version Kernal Version Wired Settings Wireless Settings Config Access Keypad Utilities Telnet 2.0.2 Dates The date configuration menu allow the programming of the terminal date and time, as well as configuring the use of daylight savings.
After selecting SSID from the menu, the terminal will prompt for SSID entry. The SSID can be up to 20 characters long. 2.0.3.2.2Security The SY-7000 series terminals come with the option of configuring security via WEP key solutions. None This will disable any wireless security.
Terminal Configuration InstructionsSY-7000 SDK Manual 2.0.6 Clock Reset Accessing the clock reset menu gives the option of resetting the terminal. Warning! Resetting the terminal will erase all memory from the clock, and restore it to the factory defaults. This includes both the clock configuration, as well as the transactions. 2.0.6.1Reset Clock The terminal will ask yes or no on the confirmation of being reset.
SY-7000 SDK Manual Terminal Configuration Instructions 2.0.7.2.5IP Settings This menu displays the wireless IP address settings in the current format: IP=000.000.000.000 NM=000.000.000.000 Gateway=000.000.000.000 2.0.7.2.6Wireless Status The wireless status menu displays a live network of transmitting data, including errors over the wireless network in the following format: RX bytes: (bytes) Errors: (bytes) TX bytes: (bytes) Errors: (bytes)
Application Development InstructionsSY-7000 SDK Manual Chapter 3 -Application Development Instructions You can add almost unlimited capabilities to the SY-7000 terminal by writing your own terminal applications. The following section describes the way in which to develop your own customized application for the SY-7000 terminal. 3.1 Toolchain Development Tools This sections lists the tools needed to compile and link the application used for developing an application for SY-7000.
Application Development InstructionsSY-7000 SDK Manual Stop bits = 1 Flow control = None. Step 6. When the communication is defined, select File/ Open. The terminal comes up and the terminal data is displayed. The last line which appears should resemble: “192.168.108.2 login:” (the IP may vary according to what is entered in the UBoot) Step 7.
SY-7000 SDK Manual Writing the SDK Application Chapter 4 - Writing the SDK Application The SY7000 SDK runs give the user the ability to develop an C++/C application which accesses and control the S Y7000 functionality terminal like (Keyboard, LEDs, card readers, Buzzer, Relay). The SDK is based on the following libraries that are supplied in the CD: GLibC –...
Writing the SDK ApplicationSY-7000 SDK Manual CLASS EVENTMANAGER This class is responsible to handling all events in the system the Event Manager related to 8 events. Every event has a call back function that presents the handle function. When one event occurs the call back function for this event is called and in this way you can configure the functionality of every event.
SY-7000 SDK Manual Writing the SDK Application • EVENT_MAGCARD2, • EVENT_MAGCARD3, • EVENT_PROXCARD, • EVENT_TIMER, • EVENT_SOCKET EventCallback callback function to be called when the event occurs void* userdata pointer to structure passed when the event triggers callback The callback function used must be in the following the form: void _callback_keys (Event event, const char * data_p, const unsigned int size,...
Writing the SDK ApplicationSY-7000 SDK Manual int InstallNetworkServer ( const unsigned int port , const char* ifc = "eth0" ); Installs a network server. InstallNetworkServer should not be called more than once! Arguments: port port for session interface (default "eth0") int createLowResTimer (long timeoutSeconds);...
SY-7000 SDK Manual Writing the SDK Application CLASS LCDDISPLAY The LCDDisplay class is responsible for handling the LCD display (4 rows x 20 columns). Public methods: • LCDDisplay (); • virtual ~LCDDisplay (); • virtual void Write (int row, int col, const char * str); •...
Writing the SDK ApplicationSY-7000 SDK Manual the display. The first position byte specifies the LCD character row while the second position byte specifies the LCD character column. The rows and columns are numbered starting with 1. A row or column position of 0 indicates the respective value does not change, instead the current cursor row and/or column is used.
SY-7000 SDK Manual Writing the SDK Application CLASS SOUND This class is responsible for creating sounds in the system. Public methods: • Sound(); • virtual ~Sound(); • void Beep(int milliseconds, int toneHz); Methods description: void Sound (); Creator for the Sound class virtual ~Sound();...
Writing the SDK ApplicationSY-7000 SDK Manual CLASS LED This class is responsible for operating the LED in the system. Public methods: • LED(); • virtual ~LED(); • void TurnOn(Light light); • void TurnOff(Light light); Methods description: void LED (); Creator for the LED class virtual ~LED();...
SY-7000 SDK Manual Writing the SDK Application CLASS RELAY This class is responsible to set output relay. Public methods: • Relay (); • virtual ~ Relay (); • void Set(int index, int state); Methods description: void Relay (); Creator for the Relay class virtual ~ Relay ();...
Writing the SDK ApplicationSY-7000 SDK Manual 4.1 Demo Application The SY-7000 demo gives simple examples of how the various APIs can be used. The application first initializes the system. This includes the following functionalities: • Defining the IP address for TCP based applications (such as FTP). •...
Page 28
SY-7000 SDK Manual Writing the SDK Application 4.1.0.0.1 Simple operations application • Magnetic card reader • Barcode wand • Proximity reader • Keyboard Input & Navigation • Fingerprint reader operation • FTP communication • Play buzzer/sounder • Relay outputs • Display contrast adjust F1 –...
Page 29
Writing the SDK ApplicationSY-7000 SDK Manual F6 – Finger print reader • Display – “Finger print “ • Display – “1- Enrol 2- Verify 3 – Identify” • Wait for Input from KB Enroll • Display “Key in your ID” •...
Page 30
SY-7000 SDK Manual Writing the SDK Application • Uses F2,F5,F8,F11 to turn OFF outputs 1-4 respectively. • Uses F3,F6,F9,F12 to alternate output 1-4 every 1 second for 10 seconds. • Uses Clear to exit. F10 – Put a file via FTP •...
Page 31
Writing the SDK ApplicationSY-7000 SDK Manual F2 – Out • Display – “OUT – Swipe your card” • Wait for card • Display Employee name – or error message if name is not found • Saves a record to a file (“Transact.txt”) •...
Page 32
SY-7000 SDK Manual Writing the SDK Application • The name will be removed after “Clear” is pressed – or after 5 seconds. 4.1.0.0.3Typical ON Line application • Barcode reader F1 – ON line query • Display – “IN – Swipe your card” •...
Page 33
Writing the SDK ApplicationSY-7000 SDK Manual...
SY-7000 SDK Manual Creating and Loading the Application File to the Terminal Chapter 5 - Creating and Loading the Application File to the Terminal This chapter describes the way in which to create a binary file of the application you have written for the terminal and the way in which to load the application to the terminal.
Creating and Loading the Application File to the TerminalSY-7000 SDK Manual 5.2 Loading the Application Binary file to the Terminal Writing to the terminal file system is only allowed in the Home directory and Terminal subdirectory, all other directories of the terminal file system are read only. The “chmod”...
SY-7000 SDK Manual Creating and Loading the Application File to the Terminal 5.3 Running The Application on Terminal Startup You can set the terminal to run the application on startup. To do this you need to edit the “applstart.sh” script in the /Home/Terminal directory. The following commands are used to edit the script: Step 1.
Page 37
Creating and Loading the Application File to the TerminalSY-7000 SDK Manual...
SY-7000 SDK Manual Appendix A - Setting Up the PIK Environment This appendix describes the way in which to set up cygwin to set you Microsoft Windows platform to act similarly to a Unix system. See “CygWin” on page 16 for additional information. http://www.cygwin.com Step 1.
Page 39
SY-7000 SDK Manual Step 2. Download the file and run the installation. Step 3. When the download is complete, click Run. The Cygwin setup opens. Step 4. Click Next until you reach the screen displayed below. Step 5. Select “Install from Internet” and click Next.
Page 40
SY-7000 SDK Manual Step 6. Use the default settings on this screen and click Next.
Page 41
SY-7000 SDK Manual Step 7. Specify the location to store the installation files and click Next.
Page 42
SY-7000 SDK Manual Step 8. Select Direct Connection and click Next.
Page 43
SY-7000 SDK Manual Step 9. Pick a mirror to download Cygwin from. It is recommended to select a site that is local to your geographic area and click Next.
Page 44
SY-7000 SDK Manual Step 10. Click the + sign next to Devel to expand it.
Page 45
SY-7000 SDK Manual Step 11. Under Devel, scroll down to gcc.
Page 46
SY-7000 SDK Manual Step 12. Select gcc by clicking on the word Skip once.
Page 47
SY-7000 SDK Manual Step 13. Scroll down and select the make and any other packages you want included and click Next.
Page 48
SY-7000 SDK Manual Cygwin will now download and install the packages that you selected.
Page 49
SY-7000 SDK Manual Step 14. Leave the options checked and click Finish.
Page 50
SY-7000 SDK Manual Step 15. Copy file that was now created to the Cygwin root directory (you will need WinZip or similar application installed for this). Step 16. Run Cygwin.bat. Step 17. Type in cd / and press ENTER. You can now use Cygwin.
Need help?
Do you have a question about the SY-7000 series and is the answer not in the manual?
Questions and answers