4 #ifndef LDMRSSOPASLAYER_HPP 5 #define LDMRSSOPASLAYER_HPP 7 #include "../BasicDatatypes.hpp" 8 #include "../manager.hpp" 9 #include "../interfaces/tcp.hpp" 11 #include "../datatypes/EvalCase.hpp" 12 #include "../datatypes/EvalCases.hpp" 13 #include "../datatypes/EvalCaseResults.hpp" 14 #include "../datatypes/FieldParameter.hpp" 15 #include "../datatypes/Fields.hpp" 16 #include "../datatypes/SensorStateInfo.hpp" 32 std::string ipAddress,
46 bool action_subscribeEvalCaseResults();
47 bool action_unSubscribeEvalCaseResults();
48 bool action_subscribeScanData();
49 bool action_unSubscribeScanData();
50 bool action_startMeasure();
51 bool action_stopMeasure();
52 bool action_readFields();
53 bool action_readEvalCases();
54 bool action_readSerialNumber();
55 bool action_readScanConfig();
57 bool action_writeEvalCases(
const EvalCases& evalCases);
58 bool action_flashFieldParameters();
59 bool action_flashMrsParameters();
62 return m_fieldEventIsRegistered;
79 index_var_DeviceIdent = 0x00,
80 index_var_SOPASVersion = 0x01,
81 index_var_LocationName = 0x02,
82 index_var_SerialNumber = 0x03,
83 index_var_FirmwareVersion = 0x04,
84 index_var_Scanning = 0x05,
85 index_var_SopasInfo = 0x06,
86 index_var_InternalFeedback = 0x07,
87 index_var_TestScanFrequency = 0x08,
88 index_var_CIDChecksum = 0x09,
89 index_var_TestScanActive = 0x0a,
90 index_var_ScanDataConfig = 0x0b,
91 index_var_AngleDataConfig = 0x0c,
92 index_var_LayerEchoConfig = 0x0d,
93 index_var_ScanConfig = 0x0e,
94 index_var_MeasMode = 0x0f,
95 index_var_ApplRange = 0x10,
96 index_var_DataOutputRange = 0x11,
97 index_var_AutoStartMeasure = 0x12,
98 index_var_field000 = 0x003d,
99 index_var_field001 = 0x003e,
100 index_var_field002 = 0x003f,
101 index_var_field003 = 0x0040,
102 index_var_field004 = 0x0041,
103 index_var_field005 = 0x0042,
104 index_var_field006 = 0x0043,
105 index_var_field007 = 0x0044,
106 index_var_field008 = 0x0045,
107 index_var_field009 = 0x0046,
108 index_var_field010 = 0x0047,
109 index_var_field011 = 0x0048,
110 index_var_field012 = 0x0049,
111 index_var_field013 = 0x004a,
112 index_var_field014 = 0x004b,
113 index_var_field015 = 0x004c,
114 index_var_numOfParamFields = 0x004d,
115 index_var_evalCaseParam = 0x004e
118 static const UINT16 MAX_NUM_OF_FIELDS = 16;
123 index_meth_SetAccessMode = 0x0000,
124 index_meth_GetAccessMode = 0x0001,
125 index_meth_Run = 0x0002,
126 index_meth_FlashFieldParameters = 0x0003,
127 index_meth_GetDescription = 0x0004,
128 index_meth_CheckPassword = 0x0005,
129 index_meth_MthdFlashLUXParameters = 0x0006,
130 index_meth_mStartMeasure = 0x000b,
131 index_meth_mStopMeasure = 0x000c
136 index_event_Scanning = 0x0000,
137 index_event_ScanDataMonitor = 0x0011,
138 index_event_aEvalCaseResult = 0x0029
150 double angleToRad(
INT32 angle);
174 #endif // LDMRSSOPASLAYER_HPP
Class that encapsulates a buffer that was sent as return to a sync call. (variable / method) ...
Class that represents a message that was sent by a sensor. (Event message)
void(* DisconnectFunction)(void *obj)