User Manual

Table Of Contents
RK-5409-5 Reference Kit User’s Guide 4-3
MeshScape API Directory Structure
MeshScape API Directory Structure
The MeshScape API sub-directory contains five sub-directories which hold the API related files,
including header files, dll and library files, and various compiled examples along with their
source code listings.
Figure 4-2 is a representation of the directory structure.
Figure 4-2. MeshScape API directories
The contents of each directory is described below.
bin Directory:
This sub-directory contains the iBeanAPI.dll file required for running API related
applications. This dll file is compiled with Microsoft’s Visual Studio .Net edition and
therefore only supports Microsoft Visual C++ programming conventions.
doc Directory:
This sub-directory contains the MeshScape system user documentation in Adobe Acrobat
(.pdf) format including:
RK-5409-5 Reference Kit User’s Guide (i.e., this guide)
RK-5409-5 916 MHz MeshScape™ Reference Kit Contents & Getting Started Guide
MeshScape Product Family Sheet
Technical specifications for MeshGate gateway, mesh node, and end node
Release notes
examples Directory:
This sub-directory contains the iMDLL5k.dll file along with pre-compiled API executables.
These executables are compiled with Microsoft’s Visual Studio .Net edition and are
designed to run under Windows XP and Windows 2000. The source code along with
sample Microsoft Visual Studio .Net solution file for these example applications can be
found in the /src sub-directory. Here is a brief description of the API example applications:
ListDevicesVC7.exe: This is a console based application that lists current online
devices. For a detailed look at this example and its code, see
’Example API Code’ on
page 4-42.
ReadSerialVC7.exe: This is a console based application that reads serial data received
from any online device on the network that has serial interface enabled.
SetSamplingVC7.exe: This is a console based application that changes the sampling
interval of the online devices.
TempMonitor.exe: This is a console based application that displays information from
the Temperature Sensor Assembly.