00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 #ifndef _JAUS_CORE_MESSAGE_CLASS_CODES_H 00042 #define _JAUS_CORE_MESSAGE_CLASS_CODES_H 00043 00044 #include "jaus/core/types.h" 00045 #include <string> 00046 00047 namespace JAUS 00048 { 00049 // Command Messages 00050 const UShort SET_AUTHORITY = 0x0001; 00051 const UShort SHUTDOWN = 0x0002; 00052 const UShort STANDBY = 0x0003; 00053 const UShort RESUME = 0x0004; 00054 const UShort RESET = 0x0005; 00055 const UShort SET_EMERGENCY = 0x0006; 00056 const UShort CLEAR_EMERGENCY = 0x0007; 00057 const UShort REQUEST_CONTROL = 0x000D; 00058 const UShort RELEASE_CONTROL = 0x000E; 00059 const UShort CONFIRM_CONTROL = 0x000F; 00060 const UShort REJECT_CONTROL = 0x0010; 00061 const UShort SET_TIME = 0x0011; 00062 const UShort CREATE_EVENT = 0x01F0; 00063 const UShort UPDATE_EVENT = 0x01F1; 00064 const UShort CANCEL_EVENT = 0x01F2; 00065 const UShort CONFIRM_EVENT_REQUEST = 0x01F3; 00066 const UShort REJECT_EVENT_REQUEST = 0x01F4; 00067 const UShort REGISTER_SERVICES = 0x0B00; 00068 00069 // Query Messages. 00070 const UShort QUERY_AUTHORITY = 0x2001; 00071 const UShort QUERY_STATUS = 0x2002; 00072 const UShort QUERY_TIMEOUT = 0x2003; 00073 const UShort QUERY_TIME = 0x2011; 00074 const UShort QUERY_CONTROL = 0x200D; 00075 const UShort QUERY_EVENTS = 0x21F0; 00076 const UShort QUERY_HEARTBEAT_PULSE = 0x2202; 00077 const UShort QUERY_IDENTIFICATION = 0x2B00; 00078 const UShort QUERY_CONFIGURATION = 0x2B01; 00079 const UShort QUERY_SUBSYSTEM_LIST = 0x2B02; 00080 const UShort QUERY_SERVICES = 0x2B03; 00081 00082 // Inform Messages. 00083 const UShort REPORT_AUTHORITY = 0x4001; 00084 const UShort REPORT_STATUS = 0x4002; 00085 const UShort REPORT_TIMEOUT = 0x4003; 00086 const UShort REPORT_TIME = 0x4011; 00087 const UShort REPORT_CONTROL = 0x400D; 00088 const UShort REPORT_EVENTS = 0x41F0; 00089 const UShort EVENT = 0x41F1; 00090 const UShort REPORT_HEARTBEAT_PULSE = 0x4202; 00091 const UShort REPORT_IDENTIFICATION = 0x4B00; 00092 const UShort REPORT_CONFIGURATION = 0x4B01; 00093 const UShort REPORT_SUBSYSTEM_LIST = 0x4B02; 00094 const UShort REPORT_SERVICES = 0x4B03; 00095 } 00096 00097 #endif 00098 /* End of File */