37
Update
You may write your own code for the mobile computer to communication with the 8400
GPRS Cradle via the terminal port (I/O pins). Refer to a separate programming guide.
TRANSPARENT MODE
Use AT commands to configure PIN code and GPRS AP name. Then, follow the
programming flow of WLAN Example (802.11b/g)
using
NetInit(7L)
in C or
START
TCPIP(7)
in BASIC.
MODEM MODE
An example is provided below.
char c;
SetCommType(1,COMM_DOCKING); /*Set COM1 for terminal port (I/O pins)*/
open_com(1,BAUD_57600|DATA_BIT8|PARITY_NONE|HANDSHAKE_NONE);
…
clear_com(1);
write_com(1,
"
AT\r
"
); /* Send string or char to COM1*/
while (!com_eot(1));
while (1) {
if (read_com(1,(void*)&c) )
/*read COM1 buffer data and save it in the C*/
{
…
}
…
}
…
Appendix I
PROGRAMMING SUPPORT
Содержание 8400 GPRS Cradle
Страница 1: ...GPRS Cradle For 8400 Series Mobile Computers Version 1 01...
Страница 6: ......
Страница 18: ...10 8400 GPRS Cradle Reference Manual 1 3 2 4 5 6 7...
Страница 22: ...14 8400 GPRS Cradle Reference Manual...
Страница 34: ...26 8400 GPRS Cradle Reference Manual 7 Disconnect the power supply cord 8 Re connect the power supply cord...
Страница 40: ...32 8400 GPRS Cradle Reference Manual...