Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2001-2013 Anviz Global Inc. USA Anviz Online Training Lesson 5 : SDK Training Anviz International Technical Support Team.

Similar presentations


Presentation on theme: "Copyright © 2001-2013 Anviz Global Inc. USA Anviz Online Training Lesson 5 : SDK Training Anviz International Technical Support Team."— Presentation transcript:

1 Copyright © 2001-2013 Anviz Global Inc. USA Anviz Online Training Lesson 5 : SDK Training Anviz International Technical Support Team

2 Embedded System What is Embedded System? An embedded system is a computer system with a dedicated function within a larger mechanical or electrical system. It is embedded in hardware and mechanical parts.computersystem Embedded system contains processing cores that are either microcontrollers or digital signal processors (DSP).microcontrollersdigital signal processors

3 ADSL modem router 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1. Telephone Decoupling Electronics2. Multi Color LED3. Single Color LED4. Main Processor5. JTAG Test and Programming Port6. RAM7. Flash Memory8. Power Supply Regulator

4 9. Telephone Connector Fuses10. Telephone Port11. USB Port12. Ethernet PHY Transmitter/Receiver13. Ethernet Transformer14. Ethernet Port15. Quartz Crystal16. Reset Button17. Power Connector18. Fuse for Main Power Supply 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

5 Mainboard VF30

6 Various kinds of Embedded System are commonly found in cooking, automotive, medical, commercial and military applications.

7 Communication Structure Interface Type: SerialUSBEthernet

8  Device:  PC: Device Display User Data Firmware Protocol Packet Device Interface Hardware Interface Protocol Packet SDK User Data

9 SDK SDK is an abbreviation of Software Development Kit,which is also typical a set of software development tool for:software development What is SDK? Creating Applications for Software Package Software Framework Operating System/Video Game Console

10 General Files API for Compilation Common Tool Debugging Aids IDE Support Document Sample Code Technical Notes

11 API specifies a set of functions or routines that accomplish a specific task or allow to interact with a specific software component. For example:functions or routines #include double sqrt(double X) / float sqrtf(float X); SYNOPSIS sqrt computes the positive square root of the argument.... DESCRIPTION on success, the square root is returned. If X is real and positive... RETURNS

12 DLL (Dynamic-link library) containing any combination of code, data and resources is the concept of a shared library in the Win OS. These libraries have file extensions such as DLL,OCX, or DRV. DLL provides a mechanism for shared code and data, allowing a developer to share code or upgrade data without re-compiling the interlinkage of applications.

13 SDK DLL API

14 System Platform AvailableWin32Win64OthersLinuxUnixMac OS

15 CKT_GetDeviceInfo [Funciton] retrieve device’s system information [Prototype] CKT_RESULT WINAPI CKT_GetDeviceInfo (int sno,LPDEVICEINFO devinfo) [Parameter] sno :Device ID,scope:1 —— 99999999 devinfo:Structure pointing receiving system information [Return] success return1(TRUE) fail return 0(FALSE) API Example

16 typedef struct CKT_DeviceInfo { int ID; // Device serial number int MajorVersion; // Device firmware version int MinorVersion; // Device firmware version int DoorLockDelay; // Lock control delay int SpeakerVolume; // Speaker volume int Parameter; // int DefaultAuth; // int Capacity; // Capacity for the staffer information int RealTimeAllow;//Allow to transfer data real-time. int RingAllow;//Allow to make ringing int LockDelayTime;//Lock delay time int FixWGHead;//Fixed wiegand area code

17 int WGOption;//wiegand option int AutoUpdateAllow;//Allow to update the fingerprint template intelligently int KQRepeatTime;//Options for the repeated clocking char[8] AdminPassword; // Commuinication password } DEVICEINFO, *LPDEVICEINFO; [Sample] DEVICEINFO devinfo; if (CKT_GetDeviceInfo(12345678, &devinfo)) { printf("(CKT_GetDeviceInfo success.\n"); } [Note] The returned structure members Parameter, DefaultAuth is no sense, just keeping compatible with OA200.

18 Anviz Technical Support Team Thank You


Download ppt "Copyright © 2001-2013 Anviz Global Inc. USA Anviz Online Training Lesson 5 : SDK Training Anviz International Technical Support Team."

Similar presentations


Ads by Google