Escolar Documentos
Profissional Documentos
Cultura Documentos
SmartComm
Version 01.0
Website: www.SmartComm.biz
Page 1 of 34
Name:
Version:
Date:
Doc No:
Status:
Page 2 of 34
Content Table
Revision Record................................................................................................................... 4
Operation System ................................................................................................................ 5
System Software .................................................................................................................. 5
I/O Control API Description ................................................................................................. 6
Connector Diagram .................................................................................................... 12
Box Panel Side A: ........................................................................................ 12
Connector Table: ......................................................................................... 12
LED Status Table: ........................................................................................ 13
Serial ports description ...................................................................................................... 13
Introduction ................................................................................................................. 13
Box Panel Side B: ........................................................................................ 14
Application Developing Steps ............................................................................................ 17
T310 Digital Output Usage ......................................................................................... 17
T310 Digital Input Usage: ........................................................................................... 18
Appendix A:........................................................................................................................ 20
Page 3 of 34
Revision Record
Version #
Created /
Updated By
V01.0
Qu
Last Updated
Date
April 10, 2010
Reason
Note
Initialization
Page 4 of 34
Operation System
Operation system of T310 is Windows CE 5.0, including OS functionalities listed in
Appendix A.
System Software
\Flash_Storage\App\App.exe
This file will be executed immediately when OS is running. It will initial GPIO, register
network phone book, load extended serial ports driver, and then run \ Flash_Storage
\App\AutoRun.exe.
\ Flash_Storage \App\AutoRun.exe
It is auto-startup program; the auto-startup application program must be used as
same name and same directory.
\ Flash_Storage \App\AVRControl.dll
It is an extended serial ports driver.
\ Flash_Storage \App\IOControl.dll
It is a control driver for input and output.
Page 5 of 34
Description
Parameters:
None
Return:
Successful return TRUE, failed to return FALSE
Description:
You must call this API in advanced for the whole DLL
initialization.
BOOL IO_OpenGprsPower(BOOL
Parameters:
bOnOff)
Parameters:
bOnOff)
Page 6 of 34
Parameters:
None
Return:
Successful return TRUE, failed to return FALSE
Description:
The API for the reset GPS modules. In case GPS
module no longer sends out data, you should use this
API to reset GPS module (hot reset). If it still cant
work, you shall call IO_OpenGpsPower for a cold
start.
BOOL IO_ChangeSIM()
Parameters:
None
Return:
Successful return TRUE, failed to return FALSE
Description:
This function is to switch the SIM card slot. When It
returns TRUE, it means that the successful
implementation of the SIM card slot switch
If you want to detect the SIM card number or to
control SIM card, it should detect by AT commands.
BOOL IO_ResetOS()
Parameters:
None
Return:
None.
Description:
The API is to reset OS only except peripheral
hardware modules, such as GPS / GPRS, etc.
Page 7 of 34
Parameters:
None
Return:
TRUE for internal battery mode
Parameters:
bOnOff
Return:
Successful return TRUE, failed to return FALSE
Description:
This API control the buzzer switch, please use timer or
delay to adjust the bee length.
BOOL IO_OpenTTSAmp(BOOL
Parameters:
bOnOff)
bOnOff
FALSE
for
closing .
Return:
Successful return TRUE, failed to return FALSE
Description:
This API is to open and close the amplifier.
BOOL IO_SetLcdBackLight(int iLevel)
Parameters:
iLevel
to rank 7.
Return:
Successful return TRUE, failed to return FALSE
Description:
This API is to adjust the LCD backlight brightness.
Page 8 of 34
Parameters:
None
Return:
Parameters:
bIsTTSAmp)
Description:
Parameters:
None
Return:
Page 9 of 34
Parameters:
None
Return:
Parameters:
Description:
Parameters:
fVoltage)
fVoltage
Return:
Successful return TRUE, failed to return FALSE
Description:
Page 10 of 34
Parameters:
None
Return:
Parameters:
cVal)
cVal
Return:
Parameters:
None
Return:
Page 11 of 34
Parameters:
None
Return:
bOnOff
TRUE-Open FALSE-Off
Description:
Connector Diagram
Box Panel Side A:
Connector Table:
No
Name
Description
USB Host
LED
LED Name
Status
Power
Off
No Main Power
On
Main Power On
Off:
CPU
Blink
second
3
GPRS
GPS
every
one
Off
GPRS communication
Off
Always On
Page 13 of 34
Blue
Red
Green
Black
Purple
Pink
Gray
Black
Page 14 of 34
J205:
1. RXD4 (Receive, AVR1)
2. RXD5 (Receive, AVR3)
3. TXD4 (Transmit, AVR1)
4. TXD5 (Transmit, AVR3)
5. Digital Input 3(Voltage Range: +12VDC~+28VDC)
6. Digital Input 4(Voltage Range: +12VDC~+28VDC)
7. CAN BUS: CAN_H (CAN bus 2.0B high)
8. CAN BUS: CAN_L (CAN bus 2.0B low)
Purple
Brown
Gray
Yellow
Blue
Green
Orange
Yellow+Green
Note: All Serial Ports with background color can be used by User Application.
Device
Name
Configuration
Parameter
Used By
Signal In
Above
Diagram
Description
COM1
115200/57600/38400/19
200/9600bps, 8/9 data
bits, 1/2 stop bit,
Even/Odd/no parity, no
flow control
None
RX0,
TX0
COM5
115200/57600/38400/19
200/9600bps, 8 data
bits,1 stop bit, no parity,
no flow control
AVRContro
l.dll system
file
NULL
COM6
115200/57600/38400/19
200/9600bps, 8/9 data
bits, 1 / 2 stop bit,
Even/Odd/no parity, no
flow control
GPRS
Modem
NULL
GPRS Modem
AVR0
115200/57600/38400/19
200/9600bps,8/9
data
bits,1 / 2 stop bit,
Even/Odd/no parity, no
flow control
None
TX6,
RX6
AVR1
115200/57600/38400/19
200/9600bps, 8 data bits,
1stop bit, no parity,
no flow control
None
TX4,
RX4
Page 15 of 34
115200/57600/38400/19
200/9600bps, 8 data bits,
1stop bit, no parity,
no flow control
None
TX3,
RX3
AVR3
9600/4800/2400/1200
bps, 8 data bits,
1stop bit, no parity,
no flow control
None
TX5,
RX5
AVR4
GPS
NULL
AVR5
No Need to configure
System
NULL
AVR6
No Need to configure
None
AVR7
Same as AVR4
None
Page 16 of 34
Page 17 of 34
Digital Output 2 Internal Diagram (Digital Output 2 is Open Collector Circuit Connection):
Page 19 of 34
Appendix A:
APPLICATIONS AND SERVICES DEVELOPMENT
Core
C++ Runtime Support for Exception Handling and Runtime Type Information
Full C Runtime
DCOM
COM Storage
DCOM Remote Access
Minimal COM (No OLE Support)
CoCreateGuid functionality for OLE32
COM Storage
Speech Interface
Speech API (SAPI) 5.0
Page 20 of 34
Professional
XML
MSXML 3.0
XML Core Services and Document Object Model (DOM)
XML HTTP
XML Query Languages (XQL)
XML Stylesheet Language Transformations (XSLT)
XML SAX
XML Error Strings
XML Minimal Parser
Exchange Client
APPLICATIONS - END USER
ActiveSync
File Sync
Inbox Sync
Pocket Outlook Database Sync
CAB File Installer/Uninstaller
File Viewers*
Microsoft Excel Viewer*
Microsoft Image Viewer*
Microsoft PDF Viewer*
Microsoft PowerPoint Viewer*
Microsoft Word Viewer*
FLASH Update Sample Application
Games
Freecell
Solitaire
Help*
Inbox
Remote Desktop Connection
Remote Desktop Protocol (RDP)
User Interface Dialog Boxes
Smart Card Redirection
File Storage Redirection
Filtered File Storage Redirection
Cut/Copy/Paste Clipboard Redirection
Serial and Parallel Port Redirection
Audio Playback Redirection
Printer Redirection
Terminal Emulator
Page 21 of 34
Debugging Tools
Fiber API
FormatMessage API
Domain Discovery
Extended DNS Querying and Update (DNSAPI)
Secure DDNS
Page 22 of 34
Network Bridging
Network Driver Architecture (NDIS)
TCP/IP
IP Helper API
TCP/IPv6
Universal Plug and Play (UPnP)
Control Point API
Device Host API
Device Host API (Minimal Subset)
Sample UPnP IGD Schema Implementation
UPnP Tools
UPnP Audio-Video DCP
AV Control Point API
AV Device API
AV Renderer Sample
USB Flash Config Tool
Windows Networking API/Redirector (SMB/CIFS)
Winsock Support
Networking - Local Area Network (LAN)
Page 23 of 34
AutoDial
SNTP Server
SNTP Client with DST
Page 24 of 34
Database Support
Bit-based
Count-Based
File System - Internal (Choose 1)
RAM-based Registry
Storage Manager
FONTS
Arial
Arial (Subset 1_30)
Arial Black
Arial Bold
Arial Bold Italic
Arial Italic
Comic Sans MS
Comic Sans MS
Comic Sans MS Bold
Courier New
Courier New (Subset 1_30)
Courier New Bold
Courier New Bold Italic
Courier New Italic
Georgia
Georgia
Georgia Bold
Georgia Bold Italic
Georgia Italic
Impact
Page 25 of 34
Tahoma
Tahoma (Subset 1_07)
Tahoma Bold
Times New Roman
Times New Roman (Subset 1_30)
Times New Roman Bold
Times New Roman Bold Italic
Times New Roman Italic
Trebuchet MS
Trebuchet MS
Trebuchet MS Bold
Trebuchet MS Bold Italic
Trebuchet MS Italic
Verdana
Verdana
Verdana Bold
Verdana Bold Italic
Verdana Italic
Webdings
Wingding
INTERNATIONAL
Input Method Manager (IMM)
Locale Services (Choose 1)
National Language Support (NLS)
Arabic
Fonts
Tahoma (subset 1_08)
Tahoma Bold (subset 1_08)
Arial (subset 1_08)
Arial Bold (subset 1_08)
Courier New (subset 1_08)
Keyboard
Arabic Keyboard (101)
Chinese (Simplified)
Fonts
SimSun & NSimSun (Choose 1)
SimSun & NSimSun
Page 26 of 34
Page 27 of 34
Page 28 of 34
Page 29 of 34
Browser Application
Internet Explorer 6.0 for Windows CE - Standard Components
Internet Explorer 6.0 Sample Browser
TV-Style Navigation Components
Pocket Internet Explorer
Internet Explorer 6.0 for Windows CE Components
Page 30 of 34
Graphics
Raster Fonts Support
V1 Font Compatibility
Alphablend API (GDI version)
Gradient Fill Support
PNG Decoder
BMP Decoder
GIF Decoder
ICO Decoder
JPG Decoder
Still Image Encoders
GIF Encoder
BMP Encoder
JPG Encoder
PNG Encoder
Direct3D Mobile
DirectDraw
Audio
Audio Compression Manager
GSM 6.10 Codec
MSFilter Codec
Waveform Audio
Page 31 of 34
Media
Streaming Media Playback (requires WMP application)
WMA and MP3 Local Playback
WMA and MP3 Streaming (requires WMP application)
Digital Rights Management
Digital Rights Management (DRM)
DRM for Portable Devices
DRM License Acquisition OCX
DirectShow
DirectShow Core
DirectShow Display
Media Formats
AVI Filter
MPEG-1 Parser/Splitter
Overlay Mixer
Video/Image Compression Manager
DVD-Video
DVD-Video
DVD-Video Samples
Windows Media Player
Page 32 of 34
Shell
Graphical Shell (Choose 1)
Standard Shell
Console Window
Command Processor
User Interface
Accessibility
Common Dialog Support
Controls Option B
Control Panel Applets
Customizable UI
Windows XP-like Sample Skin
Page 33 of 34
Overlapping Menus
Software Input Panel
Animation Control
Common Control
End of Document
Page 34 of 34