You are on page 1of 18

Generated by Foxit PDF Creator Foxit Software

http://www.foxitsoftware.com For evaluation only.

------------------------------------------------------------------------------: ARM9(400M ) + WINCE 5.0 GPRS,WIFI,


,RFID2.4G
. C++, C#
(:)

Release Note

1.
2. C++
3. C#

1. C++
2. C#

PDAapi.dll
1. PDAapi.dll
2. GPIO
3. GPRS
4. VIB
5. WIFI
6.
7.
8. RFID(2.4G)
9.
10.
11.

1. USB
2.
3.

4.

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

Release Notes
Version

Data

author

Notes

2.00

20110305 Simon.hu

1.03

2011.01.03

Simon.hu

1.02

2010.1126

Simon.hu

SDK

1.01

2010.0929

Simon.hu

Add wifi , io
C#

1.0

2011.0211

Simon.hu

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

-------------------------------------------------------------------------------

1.
PDAapiSample: API
: DEMO
Lib:
C500_SDK.msi: C500_SDK.msi

2. C++ :
2.1 : WINDOWS XP SP2/SP3 + VS2005 + MFC
2.2 WINCE 5.0SDK: C500_SDK.msi
2.3.
2.3.0. PDA2440_SDK.msi(VS2005+MFC )
2.3.1. PDAapi.h
2.3.2. OnInitDialog LoadPDACxx() PDAapi.dll
2.3.3., PDAapi.h
2.3.4.(OnClose OnDestroy) UnloadPDACxx()
PDAapi.dl ,!
2.4 : PDAapi.lib, PDAapi.dll, PDAapi.h

3.C#:
3.1 WINDOWS XP SP2/SP3 + VS2005 + NETCF 2.0( FRAMEWORD)
WINDOWS XP SP2/SP3 + VS2008 + NETCF 3.5
3.2 SQLCE 3.5 SP1(:3.5.5692)
3.3.
3.3.1 using System.Runtime.InteropServices;
3.3.2 PDAapi.dll:
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool LoadPDACxx();
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool UnloadPDACxx();
3.3.3 FormX_Load() LoadPDACxx() PDAapi.dll
3.3.4 FormX_Closed() UnloadPDACxx() PDAapi.dll

3.3.5

!
: PDAapi.lib, PDAapi.dll, PDAapi.h

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

1.C++

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

C500

C++

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

2.C#

C#

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

PDAapi
1.PDAapi.dll
1.1 PDAapi.dll
BOOL LoadPDACxx();
:
:TRUE
FALSE:
1.2 PDAapi.dll
BOOL UnloadPDACxx();
:
:TRUE
FALSE:
1.3 C#
//PDAapi.DLL
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool LoadPDACxx();
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool UnloadPDACxx();

2.GPIO
2.1 GPIO
BOOL SetIoOn(char chGPX,char chNum);
:chGPX:IO
chNum:IO
:TRUE
FALSE:
2.2 GPIO
BOOL SetIoOff(char chGPX,char chNum);
:chGPX:IO
chNum:IO
:TRUE
FALSE:

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

2.3 GPIO
SetIoInput(char chGPX,char chNum);
:chGPX:IO
chNum:IO
:TRUE
FALSE:

2.4 C#
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool SetIoOn(char chGPX, char chNum);
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool SetIoOff(char chGPX, char chNum);
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool SetIoInput(char chGPX, char chNum);
2.5 IO
2.5.1 IO 1 (C++)
IO GPF4 : SetIoOn(F,4);
IO GPF4 : SetIoOff(F,4);
IO :
GetIoState(F,4);
2.5.2 IO 2(C#)
SetIoOn(Convert.ToChar('F'), (char)3); //GPF3 :
SetIoOff(Convert.ToChar('G'), (char)11); //GPG11 :
SetIoInput(Convert.ToChar('H'), (char)9); // GPH9

3.GPRS
3.1 GPRS
BOOL SetGPRSOn();
:
:TRUE
FALSE:

3.2 GPRS
BOOL SetGPRSOff();
:
:TRUE
FALSE:

3.3 GPRS

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

BOOL GetGPRSState();
:
:TRUE
FALSE:

3.4 GPRS
3.41 SIM
3.42 GPRS GPB10 2 GPB10 ,
SetGPRSOn()
3.43 GPRS 3 ()
3.44 WINCE
3.45 IE www.google.com.hk
3.5 C#

[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]


public static extern bool SetGPRSOn ();
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool SetGPRSOff ();
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool GetGPRSState ();

4.VIB
4.1
BOOL SetVibOn();
:
:TRUE
FALSE:

4.2
BOOL SetVibOff();
:
:TRUE
FALSE:
4.3 C#

[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]


public static extern bool SetVibOn ();
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool SetVibOff ();

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

5.WIFI
5.1 WIFI
BOOL SetWifiOn();
:
:TRUE
FALSE:
5.2 WIFI
BOOL SetWifiOff();
:
:TRUE
FALSE:
5.3 C#

[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]


public static extern bool SetWifiOn ();
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool SetWifiOff ();

6.
6.1
BOOL SetIrOn();
:
:TRUE
FALSE:

6.2
BOOL SetIrOff();
:
:TRUE
FALSE:

6.3
BOOL GetIRState();
:
:TRUE
FALSE:

6.4
6.41 GPF4 ,SetIoOn(F,4);

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

6.42 COM1:, 2400 8, NONE 1


6.43
6.44
6.5 C#

[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]


public static extern bool SetIrOn ();
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool SetIrOff ();
[DllImport("PDAapi.dll", CharSet = CharSet.Auto)]
public static extern bool GetIRState ();

7.
7.1
SetIoInput('H',9);
SetIoOff('G', 11,);
SetIoOn ('F', 3);

7.2
SetIoOn ('G', 11);
SetIoOff('F', 3);

7.2
:Com4:
:9600

8.RFID(2.4G)
8.1 (13.56M) RFID
8.1.1 (13.56M)
SetIoOn('F', 5); //RFID
SetIoOff('G', 11);//

8.1.2 (13.56M)
SetIoOff('F', 5);//RFID
SetIoOn('G', 11);//

8.1.3 (13.56M)
:COM1:
9600

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

8.1.4 /
sRFIDApi.dll

8.2 (900M)RFID
8.2.1 (900M)
SetIoInput ('H',9);
SetIoOff( ('F'), 4);//UART,RFID
SetIoOn('F', 5);
SetIoOff( 'G', 11);//

8.2.2 (900M)
SetIoOn( 'F', 4);//UART,RFID
SetIoOff( 'F', 5);
SetIoOn( 'G', 11);//

8.2.3 (900M)
:COM1:
9600
8.2.4 /
RFID900_api.dll

9.
WINCE waveOutSetVolume .

10.
10.1 WM_KEYDOWN , MSG
wParam
10.2
DWORD GetKeyMode(void);
:
:
:

#define
#define
#define

MWHITE
MYELLOW
MGREEN

0//
1//
2//

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

#define

MBLUE

3//

11.
10-99, ,
,:
[HKEY_CURRENT_USER\ControlPanel\Backlight]
"SetBrightVal"=dword:50
; 16

---------------------1. USB
1.1 USB 4.5 4.5
1.2 4.10
1.3

( 4.10)

2.
2.1 /WINDOWS , USB
/ResidentFlash
2.2 4.20

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

3.
RAMDISK,
(\),WINDOWS (\WINDOWS).

4.
.EXE \ResidentFlash\Documents and
Settings\default\MyStart

Generated by Foxit PDF Creator Foxit Software


http://www.foxitsoftware.com For evaluation only.

5.
PC WINCE \ResidentFlash\MyDoc

You might also like