Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: ICE-Application/src/DataHandler/DataHandler.h
- Revision:
- 2:02cb20446785
- Parent:
- 1:b2e90cda7a5a
--- a/ICE-Application/src/DataHandler/DataHandler.h Tue Jan 24 19:06:45 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ -#ifndef DATAHANDLER_H -#define DATAHANDLER_H - -#ifdef __cplusplus -#define EXTERNC extern "C" -#else -#define EXTERNC -#endif - -EXTERNC void DataHandler(const void *args); - -#undef EXTERNC - -#ifdef MDOT_ICE -#include "mDot.h" -#endif -#include <string> - -#define HEARTBEAT_MSG_MTYPE 20 // heartbeat (out) - -#define SETPOINT_CONTROL_MTYPE 100 // setpoint control config -#define TIMER_CONTROL_MTYPE 101 // timer control config -#define PID_CONTROL_MTYPE 102 // PID control config -#define MANUAL_CONTROL_MTYPE 103 // manual control config -#define COMPOSITE_CONTROL_MTYPE 104 // composite control config -#define SEQUENCE_CONTROL_MTYPE 105 // sequence control -#define FAILSAFE_CONTROL_MTYPE 106 // failsafe conrol - -#define INPUT_CONFIG_MTYPE 200 // input config -#define OUTPUT_CONFIG_MTYPE 201 // output config -#define VINPUT_CONFIG_MTYPE 203 // virtual input config -#define VOUTPUT_CONFIG_MTYPE 204 // virtual output config -#define HOLDING_CONFIG_MTYPE 205 // holding config - -#define VIRTUAL_COMMAND_MTYPE 250 // virtual command -#define EQUATION_COMMAND_MTYPE 251 // equation command - -#define DESTROY_SETPOINT_MTYPE 300 // destroys a setpoint control -#define DESTROY_TIMER_MTYPE 301 // destroys a timer control -#define DESTROY_PID_MTYPE 302 // destroys a PID control -#define DESTROY_MANUAL_MTYPE 303 // destroys a manual control - -#define EVENT_LOG_MTYPE 300 // event log [out], pump actuation, etc. -#define DEVICE_CONN_MTYPE 301 // device connected -#define LIVE_DATA_MTYPE 400 // live data [out] - - -// BLE requests -#define BT_MODBUS_HOLD_COMMAND_MTYPE 1000 -#define BT_MODBUS_RAW_COMMAND_MTYPE 1002 -#define BT_MODBUS_COMMAND_REPLY_MTYPE 1001 - -#define BT_GETLOG_COMMAND_MTYPE 1100 -#define BT_GETLOG_COMMAND_REPLY_MTYPE 1101 -#define BT_GETLIVE_COMMAND_MTYPE 1200 - -#define BT_START_CAL_COMMAND_MTYPE 1300 -#define BT_1PT_CAL_COMMAND_MTYPE 1301 - -#define SETPOINT_CONTROL_REPLY_MTYPE 500 -#define TIMER_CONTROL_REPLY_MTYPE 501 -#define MANUAL_CONTROL_REPLY_MTYPE 503 -#define COMPOSITE_CONTROL_REPLY_MTYPE 504 -#define SEQUENCE_CONTROL_REPLY_MTYPE 505 -#define FAILSAFE_CONTROL_REPLY_MTYPE 506 - -#define INPUT_CONFIG_REPLY_MTYPE 550 -#define OUTPUT_CONFIG_REPLY_MTYPE 551 - -#ifdef MDOT_ICE -bool StoreReceivedFile( mDot *dot, std::string &payload_string ); -#endif - -#endif \ No newline at end of file