User's Manual
x Millennial Net
Configuring Digital I/O Operation ...................................................................... 3-10
Configuring UART Operation............................................................................. 3-13
Configuring AD (analog-to-digital) Converter Operation.................................... 3-15
Using Watch Function to Display Configuration Information.............................. 3-17
Labeling an End Node or Mesh Node ........................................................................3-19
Configuring Persistence Attributes ............................................................................3-20
Setting the MeshScape Time.....................................................................................3-21
Specifying the MeshScape Connection Port ..............................................................3-22
Configuring Serial and ADC Data Formats ................................................................3-23
Turning Event Tracking On/Off..................................................................................3-24
Creating an Event Log File ........................................................................................3-25
Viewing the Contents of an Event Log File ................................................................3-26
Viewing MeshScape Statistics ...................................................................................3-28
Rebooting a Node.....................................................................................................3-30
Modifying a Node’s Network/Identity........................................................................3-31
Modifying a Node’s Operating Channel ....................................................................3-32
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-8
Data Structures ................................................................................................... 4-8
Functions .......................................................................................................... 4-17
iBeanAPI_IO.h...........................................................................................................4-36
Data Structures ................................................................................................. 4-36
Functions .......................................................................................................... 4-38
iBeanAPI_Utils.h........................................................................................................4-46
Functions .......................................................................................................... 4-46
iBeanAPI_LPR.h.........................................................................................................4-50
Functions .......................................................................................................... 4-50
iBeanAPI_performance.h...........................................................................................4-53
Data Structures ................................................................................................. 4-53
Functions .......................................................................................................... 4-55
Example API Code ....................................................................................................4-56
A Running the Demo Application
Running the MeshScape Demo Program .................................................................... A-2
Running the Temperature Sensor Demo..................................................................... A-3
B Using MeshScape Programmer
Getting Started with MeshScape Programmer.............................................................B-2
Connecting the Target Device to Your Computer ................................................ B-2
Launching MeshScape Programmer Using Windows............................................ B-5
Performing MeshScape Programmer Operations .........................................................B-6
Upgrading Firmware on the Target Device........................................................... B-6
Unlocking Features on the Target Device ............................................................. B-7
Reprogramming the Group and Device IDs on the Target Device ......................... B-8
Reprogramming the Target Device’s Radio Configuration .................................... B-9