User's Manual

Table Of Contents
Boomer II User Manual & Integrator’s Guide ________________________________Appendix C – Sample Programs
BM210012WT27 165 Wavenet Technology
Appendix C – Sample programs
Sample programs are provided with the SDK. The purpose of these
sample programs is to show how a complete working client server
application can be built using the SDK NCL API with the client
program and the SDK SCR API with the server program.
These sample programs demonstrate how to write a simple application
that allows a wireless client to send data to a central server application
and receive responses back from the central server application. The
sample programs are not intended to be a functional application, but are
intended to serve as a guide to writing applications and can be used as a
basis for developing more complex applications.
The information given in this section is intended to supplement the
source code for the applications by providing a high-level overview of
the source code.
In the following sections, the client and server applications are
described separately.
Client Application
The client application is called ModemInfo and uses the NCL API to
interface to the DataTAC
®
network. The sample client program
retrieves the modem’s current status, and enables the user to send and
receive messages on the current channel the device is registered to.