TwiceAsNice  2019-02-18
Namespaces | Enumerations | Variables
CommandIDs.h File Reference

This file includes all unimod command numbers. More...

#include <string>
Include dependency graph for CommandIDs.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 Basda
 These are contants that are used by the services internally.
 
 Basda::Cmd
 
 Basda::Event
 
 Basda::Error
 
 Basda::SensorID
 Sensor IDs of the TH8Mod.
 
 Basda::UnitID
 Unit IDs of the TH8Mod.
 
 Basda::TypeID
 Type IDs of the TH8Mod.
 
 Basda::CurrentSource
 Current source parameter of command UNIMOD_TH8MOD_CURRENT_SOURCE_INIT, UNIMOD_TH8MOD_SET_CURRENT and UNIMOD_TH8MOD_SET_CURRENT_PERCENT.
 

Enumerations

enum  Basda::SensorID::Constant { Basda::SensorID::UNIMOD_TH8MOD_SENSOR_ID_AD7793 = 1, Basda::SensorID::UNIMOD_TH8MOD_SENSOR_ID_SHT21 = 2, Basda::SensorID::UNIMOD_TH8MOD_SENSOR_ID_AD7793 = 1, Basda::SensorID::UNIMOD_TH8MOD_SENSOR_ID_SHT21 = 2 }
 
enum  Basda::UnitID::Constant {
  Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_NONE = 0, Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_HEX = 1, Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_VOLT = 2, Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_OHM = 3,
  Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_DEGREE_CELSIUS = 4, Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_KELVIN = 5, Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_PERCENT = 6, Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_NONE = 0,
  Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_HEX = 1, Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_VOLT = 2, Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_OHM = 3, Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_DEGREE_CELSIUS = 4,
  Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_KELVIN = 5, Basda::UnitID::UNIMOD_TH8MOD_UNIT_ID_PERCENT = 6
}
 
enum  Basda::TypeID::Constant {
  Basda::TypeID::UNIMOD_TH8MOD_TYPE_ID_AVERAGE_MIN_MAX = 1, Basda::TypeID::UNIMOD_TH8MOD_TYPE_ID_AVERAGE = 2, Basda::TypeID::UNIMOD_TH8MOD_TYPE_ID_MIN = 2, Basda::TypeID::UNIMOD_TH8MOD_TYPE_ID_MAX = 3,
  Basda::TypeID::UNIMOD_TH8MOD_TYPE_ID_AVERAGE_MIN_MAX = 1, Basda::TypeID::UNIMOD_TH8MOD_TYPE_ID_AVERAGE = 2, Basda::TypeID::UNIMOD_TH8MOD_TYPE_ID_MIN = 2, Basda::TypeID::UNIMOD_TH8MOD_TYPE_ID_MAX = 3
}
 
enum  Basda::CurrentSource::Constant {
  Basda::CurrentSource::UNIMOD_TH8MOD_CURRENT_SOURCE_A = 0, Basda::CurrentSource::UNIMOD_TH8MOD_CURRENT_SOURCE_B = 1, Basda::CurrentSource::UNIMOD_TH8MOD_CURRENT_SOURCE_AB = 2, Basda::CurrentSource::UNIMOD_TH8MOD_CURRENT_SOURCE_A = 0,
  Basda::CurrentSource::UNIMOD_TH8MOD_CURRENT_SOURCE_B = 1, Basda::CurrentSource::UNIMOD_TH8MOD_CURRENT_SOURCE_AB = 2
}
 

Variables

const double Basda::UNIMOD_COS_VERSION_NUMBER = 2.19
 
const double Basda::UNIMOD_CONTROLLER_VERSION_NUMBER = 1.15
 
const std::string Basda::UNIMOD_CONTROLLER_NAME = "Universal Modules"
 
const int Basda::Cmd::UNIMOD_SHOW_MODULES = 400
 UniMod specific command. More...
 
const int Basda::Cmd::UNIMOD_CHECK_RUN = 402
 UniMod specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_SENSOR_INIT = 370
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_READ_TEMP_SINGLE = 371
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_READ_TEMP_MULTIPLE = 372
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_READ_HUM_SINGLE = 373
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_READ_HUM_MULTIPLE = 374
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_READ_TEMP_SAVE = 375
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_READ_HUM_SAVE = 376
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_WATCH_TEMP = 377
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_WATCH_HUM = 378
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_GET_LAST_RESULT = 379
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_END_COMMAND = 380
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_CURRENT_SOURCE_INIT = 381
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_SET_CURRENT = 382
 TH8MOD specific command. More...
 
const int Basda::Cmd::UNIMOD_TH8MOD_SET_CURRENT_PERCENT = 383
 TH8MOD specific command. More...
 
const int Basda::Event::_TH8MOD_EVENT_COMPLETE = 1
 Event message. More...
 
const int Basda::Event::_TH8MOD_EVENT_DATA = 2
 Event message. More...
 
const int Basda::Event::_TH8MOD_EVENT_ERROR_I2C_TIMEOUT = 3
 Event message. More...
 
const int Basda::Event::_TH8MOD_EVENT_ERROR_I2C_TRANSMISSION_ERROR = 4
 Event message. More...
 
const int Basda::Event::_TH8MOD_EVENT_ERROR_INCORRECT_RESULT = 5
 Event message. More...
 
const int Basda::Error::_TH8MOD_NO_INIT_OR_WRONG_DEVICE = 1
 TH8MOD error number. More...
 
const int Basda::Error::_TH8MOD_CHANNEL_BUSY = 2
 TH8MOD error number. More...
 
const int Basda::Error::_TH8MOD_I2C_TIMEOUT = 3
 TH8MOD error number. More...
 
const int Basda::Error::_TH8MOD_I2C_TRANSMISSION_ERROR = 4
 TH8MOD error number. More...
 
const int Basda::Error::_TH8MOD_RAM_FULL = 5
 TH8MOD error number. More...
 
const int Basda::Error::_TH8MOD_NO_RUNNING_CMD = 6
 TH8MOD error number. More...
 
const int Basda::Error::_TH8MOD_I2C_ERROR_OR_WRONG_DEVICE = 7
 TH8MOD error number. More...
 
const int Basda::Error::_TH8MOD_WRONG_UNIT = 8
 TH8MOD error number. More...
 
const int Basda::Error::_TH8MOD_WRONG_SENSOR = 9
 TH8MOD error number. More...
 
const int Basda::Error::_TH8MOD_DISTANCE_TOO_SHORT = 10
 TH8MOD error number. More...
 
const int Basda::Error::_TH8MOD_MAX_SMALLER_MIN = 11
 TH8MOD error number. More...
 
const int Basda::Error::_TH8MOD_OUT_OF_BOUNDARY = 12
 TH8MOD error number. More...
 
const int Basda::Error::_TH8MOD_NO_INIT = 13
 TH8MOD error number. More...
 

Detailed Description

This file includes all unimod command numbers.

This file is not the same file like MPIA_Interface.h from Lars Mohr. This file includes also the select, value, type and mode numbers (defined by Frank Kittmann). The command numbers are defined by Lars Mohr.

Author
Frank Kittmann
Version
14.11.25
Date
2014.11.25