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
RK-5424-5 Reference Kit User’s Guide 4-13
iBeanAPI.h
17. ibApi_Serial_Receive_EVENT_DATA
typedef struct {
ibApi_UINT8 dataType; // Must be first!
ibApi_UINT8 serialState; // 0xFF=undefined
ibApi_DEVICEID deviceID;
ibApi_UINT8 serialDataSize;
ibApi_UINT8 serialSequence;
ibApi_UINT8 serialData[ibApi_MAX_SERIAL_DATA_SIZE];
}
This data structure will be passed to event callbacks to convey information about serial
receive events.
Use the first argument ibApi_EVENTMASK to determine how to cast the callback data.
18. ibApi_Battery_Level_EVENT_DATA
typedef struct {
ibApi_UINT8 dataType; // Must be first!
ibApi_UINT8 reserved; // for alignement
ibApi_DEVICEID deviceID;
ibApi_FLOAT batteryLevel;
}
This data structure will be passed to event callbacks to convey information about battery
level events.
Use the first argument ibApi_EVENTMASK to determine how to cast the callback data.
19. ibApi_Network_EVENT_DATA
typedef struct {
ibApi_UINT8 dataType; // Must be first!
ibApi_UINT8 hopCount;
ibApi_DEVICEID deviceID;
ibApi_DEVICEID firstHopRouter;
ibApi_DEVICEID lastHopRouter;
}
This data structure will be passed to event callbacks to convey information about network
events.
Use the first argument ibApi_EVENTMASK to determine how to cast the callback data.