User’s Manual
45
5. S
OFTWARE
R
EFERENCE
Dynamic C is an integrated development system for writing
embedded software. It runs on an IBM-compatible PC and is
designed for use with Z-World controllers and other devices
based on the Rabbit microprocessor. Chapter 5 describes the
software associated with the Wi-Fi Add-On Kits.
5.1 Dynamic C Functions
Z-World has implemented a packet driver for PRISM-based 802.11b CompactFlash cards,
CFPRISMINTERP.LIB
, which functions much like an Ethernet driver for the Dynamic C
implementation of the TCP/IP protocol stack. In addition to functioning like an Ethernet
packet driver, this driver implements an API to access the functions implemented on the
802.11b interface card.
The
CFPRISMINTERP.LIB
driver has been developed around Z-World’s Wi-Fi Add-On
Kits. We have tested this packet driver extensively with the Linksys WCF12 card.
5.1.1 Configuring Dynamic C to Use the
CFPRISMINTERP.LIB
Driver
The
CFPRISMINTERP.LIB
library is supplied on the supplementary CD-ROM included
with the Wi-Fi Add-On Kits. The
CFPRISMINTERP.LIB
and
CFIOINTERP.LIB
libraries
will be placed automatically in the Dynamic C
LIB\TCPIP
folder by InstallShield when
you install the software and sample programs from the supplementary CD-ROM.
Z-World has made it easy for you to use the
CFPRISMINTERP.LIB
library by simply add-
ing a
#define
for an already defined
TCPCONFIG
macro from the Dynamic C
TCP_CON-
FIG.LIB
library at the beginning of your program as in the example below.
#define TCPCONFIG 0
There are two
TCPCONFIG
macros specifically set up for Wi-Fi applications.
These default IP address, netmask, nameserver, and gateway network parameters are set
up for the
TCPCONFIG
macros.
#define _PRIMARY_STATIC_IP "10.10.6.100"
#define _PRIMARY_NETMASK "255.255.255.0"
#define MY_NAMESERVER "10.10.6.1"
#define MY_GATEWAY "10.10.6.1"
TCPCONFIG 9
Wi-Fi Prism2 chip set, no DHCP
TCPCONFIG 10
Wi-Fi Prism2 chip set, DHCP enabled
Содержание RCM3000
Страница 1: ...802 11b Wi Fi Add On Kits for RabbitCore and PowerCore Modules User s Manual 019 0092 051130 D ...
Страница 8: ...4 802 11b Wi Fi Add On Kits ...
Страница 28: ...24 802 11b Wi Fi Add On Kits ...
Страница 56: ...52 802 11b Wi Fi Add On Kits ...
Страница 60: ...56 802 11b Wi Fi Add On Kits ...
Страница 68: ...64 802 11b Wi Fi Add On Kits ...
Страница 78: ...74 802 11b Wi Fi Add On Kits ...
Страница 80: ...76 802 11b Wi Fi Add On Kits ...
Страница 82: ...78 RabbitCore RCM3800 ...
Страница 86: ......