User's Manual
Table Of Contents
- MeshScape™ RK-5424-5 Reference Kit for 2.4 GHz MeshScape Systems User's Guide
- 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
- 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: Running the Demo Application
- B: Using MeshScape Programmer
- Glossary
- Index
4-12 Millennial Net
Using the MeshScape API
14. ibApi_DIO_EVENT_DATA
typedef struct {
ibApi_UINT8 dataType; // Must be first!
ibApi_UINT8 direction; // 1=input, 0=output, 0xFF=undefined
ibApi_DEVICEID deviceID;
ibApi_UINT8 channelMask; // 0 = no data
ibApi_UINT8 channelData;
}
This data structure will be passed to event callbacks to convey information about DIO events.
Use the first argument ibApi_EVENTMASK to determine how to cast the callback data.
15. ibApi_Device_State_EVENT_DATA
typedef struct {
ibApi_UINT8 dataType; // Must be first!
ibApi_UINT8 reserved; // for alignment
ibApi_DEVICEID deviceID;
ibApi_DEVICESTATE state;
}
This data structure will be passed to event callbacks to convey information about device state
events.
Use the first argument ibApi_EVENTMASK to determine how to cast the callback data.
16. ibApi_Sampling_Interval_EVENT_DATA
typedef struct {
ibApi_UINT8 dataType; // Must be first!
ibApi_UINT8 reserved; // for alignement
ibApi_DEVICEID deviceID;
ibApi_UINT32 samplingInterval; // in milliseconds
}
This data structure will be passed to event callbacks to convey information about sampling
interval events.
Use the first argument ibApi_EVENTMASK to determine how to cast the callback data.