User Manual

Table Of Contents
viii Millennial Net
Configuring AD (analog-to-digital) Converter Operation.................................... 3-14
Configuring RS-232 Operation (MN-5409 only) ................................................. 3-15
Configuring RS-485 Operation (MN-5409 only) ................................................. 3-16
Using Watch Function to Display Configuration Information.............................. 3-17
Labeling an End Node or Mesh Node ........................................................................3-19
Configuring Persistence Attributes ............................................................................3-20
Selecting a Com Port on the Host PC ........................................................................3-21
Configuring Serial and ADC Data Formats ................................................................3-22
Turning Event Tracking On/Off..................................................................................3-23
Broadcasting Data to All Nodes.................................................................................3-24
Creating an Event Log File ........................................................................................3-26
Viewing the Contents of an Event Log File ................................................................3-27
Viewing MeshScape Statistics ...................................................................................3-29
4 Using the MeshScape API
Using the MeshScape API ...........................................................................................4-2
MeshScape API Directory Structure .............................................................................4-3
MeshScape API Functions Overview ............................................................................4-5
iBeanAPI.h ..................................................................................................................4-7
Data Structures ................................................................................................... 4-7
Functions .......................................................................................................... 4-13
iBeanAPI_IO.h ...........................................................................................................4-23
Data Structures ................................................................................................. 4-23
Functions .......................................................................................................... 4-25
iBeanAPI_Utils.h........................................................................................................4-32
Functions .......................................................................................................... 4-32
iBeanAPI_LPR.h.........................................................................................................4-36
Functions .......................................................................................................... 4-36
iBeanAPI_performance.h...........................................................................................4-39
Data Structures ................................................................................................. 4-39
Functions .......................................................................................................... 4-41
Example API Code ....................................................................................................4-42
ListDevicesVC7 Example .................................................................................... 4-42
ListDevicesVC7 Code......................................................................................... 4-43
A Sample Application
Application Overview................................................................................................. A-2
Application Components.................................................................................... A-3
Application Setup & Operation .................................................................................. A-4
Temperature Sensor Assembly Setup .................................................................. A-4
Launching TempMonitor Application.................................................................. A-5
TempMonitor Overview...................................................................................... A-6
Changing Temperature Sensor Battery ....................................................................... A-7
B Performing Firmware Upgrades and
Configuring Device IDs
Getting Started with MeshScape Programmer.............................................................B-2
Connecting the Target Device to Your Computer ................................................ B-2
Launching MeshScape Programmer Using Windows............................................ B-3