User Manual
Table Of Contents
- RK-5409-5 Reference Kit for 916 MHz MeshScape™ Systems
- Contents
- About This Guide
- 1: Introduction
- 2: Installing the MeshScape System
- 3: Running MeshScape Network Monitor
- MeshScape Network Monitor Overview
- Configuring a Node’s Operation
- Configuring Sample Interval of Single Node
- Configuring Sample Interval of all Network Nodes
- Configuring Digital I/O Operation
- Configuring UART Operation
- Configuring AD (analog-to-digital) Converter Operation
- Configuring RS-232 Operation (MN-5409 only)
- Configuring RS-485 Operation (MN-5409 only)
- Using Watch Function to Display Configuration Information
- Labeling an End Node or Mesh Node
- Configuring Persistence Attributes
- Selecting a Com Port on the Host PC
- Configuring Serial and ADC Data Formats
- Turning Event Tracking On/Off
- Broadcasting Data to All Nodes.
- Creating an Event Log File
- Viewing the Contents of an Event Log File
- Viewing MeshScape Statistics
- 4: Using the MeshScape API
- A: Sample Application
- B: Performing Firmware Upgrades and Configuring Device IDs
- Glossary
- Index
4-12 Millennial Net
Using the MeshScape API
12. ibApi_VERSION
typedef ibApi_UINT32 ibApi_VERSION;
#define ibApi_MAKE_VERSION(MAJOR,MINOR,RELEASE)
((ibApi_VERSION)((MAJOR<<16)|(MINOR<<8)|RELEASE))
#define ibApi_GET_VERSION_MAJOR(VER)((VER>>16) & 0xff)
#define ibApi_GET_VERSION_MINOR(VER)((VER>>8) & 0xff)
#define ibApi_GET_VERSION_RELEASE(VER)(VER & 0xff)
The ibApi_VERSION type is used by functions such as ibApi_GetApiVersion() to
encode version numbers as a 32-bit integer. Binary compatibility is only guaranteed when
the major and minor components are the same. Note that this is a non-negative number to
enable casting as ibApi_RESULT.
13. ibApi_EXPECTED_VERSION
#define ibApi_EXPECTED_VERSION
ibApi_MAKE_VERSION(5,0,11)
This macro encodes the API version number that the application was compiled with. It is
passed to ibApi_Open() as a safeguard to ensure that the correct DLL file is being loaded
by the application.
14. ibApi_EXPECTED_VERSION
#define ibApi_EXPECTED_MASC_VERSION
ibApi_MAKE_VERSION(5,0,11)
This macro encodes the API version number that the application was compiled with. It is
passed to ibApi_Open() as a safeguard to ensure that the correct DLL file is being loaded
by the application.