![](/html/e5/e5b6/e5b69a3ec5552031bda3b1177deee785501c3f8888964744cc649a2a0db6470c/bg2.png)
Copyright
Copyright © 2015 VIA Technologies Incorporated. All rights reserved.
No part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language,
in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise without the prior written
permission of VIA Technologies, Incorporated.
Trademarks
All brands, product names, company names, trademarks and service marks are the property of their respective holders.
Disclaimer
VIA Technologies makes no warranties, implied or otherwise, in regard to this document and to the products described in this
document. The information provided in this document is believed to be accurate and reliable as of the publication date of this
document. However, VIA Technologies assumes no responsibility for the use or misuse of the information in this document and for
any patent infringements that may arise from the use of this document. The information and product specifications within this
document are subject to change at any time, without notice and without obligation to notify any person of such change.
VIA Technologies, Inc. reserves the right the make changes to the products described in this manual at any time without prior
notice.
![](/html/e5/e5b6/e5b69a3ec5552031bda3b1177deee785501c3f8888964744cc649a2a0db6470c/bg3.png)
VAB
VAB----600
VABVAB
Revision History
Version
Version Date
VersionVersion
1.00 2015/07/22 Initial external release.
1.01 2015/07/31 Removed Smart ETK version
Date Remarks
DateDate
Remarks
RemarksRemarks
600 Smart
Smart ETK
600 600
SmartSmart
ETK Programming
Programming Guide
ETKETK
ProgrammingProgramming
Guide
Guide Guide
iii
![](/html/e5/e5b6/e5b69a3ec5552031bda3b1177deee785501c3f8888964744cc649a2a0db6470c/bg4.png)
VAB
Table of Contents
1.
1. Introduction
Introduction ................................
1.1.
IntroductionIntroduction
2.
2. Develop the environment
Develop the environment ................................
2.2.
Develop the environmentDevelop the environment
2.1.
2.2.
2.3.
2.4.
................................................................
................................................................
SDK Class Definitions .................................................................................. 2
Function Return Values ............................................................................... 3
API List ............................................................................................................ 5
UART Parameters........................................................................................ 12
................................................................
................................................................
................................................................
................................................................
VAB----600
600 Smart
Smart ETK
ETK Programming
VABVAB
600 600
SmartSmart
..........................................
................................................................
...................................................
................................................................
Programming Guide
ETKETK
ProgrammingProgramming
Guide
Guide Guide
.......... 1111
....................
................... 2222
......................................
iv
![](/html/e5/e5b6/e5b69a3ec5552031bda3b1177deee785501c3f8888964744cc649a2a0db6470c/bg5.png)
VAB
1.
1. Introduction
Introduction
1.1.
IntroductionIntroduction
Smart ETK is programmed with the socket IO as a communication between
JAVA and C language to control the hardware modules. We implemented the
board support service such as bss_vab600 to meet the request from Smart ETK
API.
VAB-600 is designed with enhanced features including Watch Dog, RTC Power
On, Programmable GPIO, and Serial Ports.
VAB----600
600 Smart
VABVAB
600 600
Smart ETK
ETK Programming
SmartSmart
ETKETK
Programming Guide
ProgrammingProgramming
Guide
Guide Guide
1
![](/html/e5/e5b6/e5b69a3ec5552031bda3b1177deee785501c3f8888964744cc649a2a0db6470c/bg6.png)
VAB
2.
2. Develop
Develop the
2.2.
DevelopDevelop
Eclipse is an officially recommended and integrated development
environment (IDE) for the Android application. It requires importing the
specific reference Java Archive file in order to develop VAB-600 enhance
features.
Open Eclipse IDE and create an Android project. In project properties, import
the smartetk.jar into your project by clicking “Add External JARs
the eeeenvironment
the the
VAB----600
600 Smart
Smart ETK
ETK Programming
VABVAB
600 600
SmartSmart
nvironment
nvironmentnvironment
Add External JARs...”.
Add External JARsAdd External JARs
Programming Guide
ETKETK
ProgrammingProgramming
Guide
Guide Guide
2.1. SDK Class Definitions
All functions and values are placed in class named com.via.vepd.SmartETK
Import this package into Java code to use them.
GPIO PIN definitions:
ID 0 1 2 3 4 5 6 7
GPIO 20 21 22 23 24 25 26 27
2
com.via.vepd.SmartETK.
com.via.vepd.SmartETKcom.via.vepd.SmartETK