63 lines
1.9 KiB
C
63 lines
1.9 KiB
C
///*
|
|
// * MGMRM3100Handler.h
|
|
// *
|
|
// * Created on: 28.05.2020
|
|
// * Author: lukas
|
|
// */
|
|
//
|
|
//#ifndef MISSION_DEVICEHANDLING_MGMRM3100HANDLER_H_
|
|
//#define MISSION_DEVICEHANDLING_MGMRM3100HANDLER_H_
|
|
//
|
|
//#include <bits/stdint-uintn.h>
|
|
//#include <config/datapool/dataPoolInit.h>
|
|
//#include <framework/devicehandlers/DeviceHandlerMessage.h>
|
|
//#include <framework/objectmanager/SystemObjectIF.h>
|
|
//#include <framework/returnvalues/HasReturnvaluesIF.h>
|
|
//#include <mission/devicehandling/NotDeviceHandlerBase.h>
|
|
//#include <stddef.h>
|
|
//
|
|
//using namespace std;
|
|
//
|
|
//class MGMRM3100Handler: public NotDeviceHandlerBase {
|
|
//public:
|
|
//
|
|
// MGMRM3100Handler(DeviceCommunicationIF *comInterface,
|
|
// object_id_t setObjectId, uint32_t address, uint32_t maxReplyLen,
|
|
// datapool::opus_variable_id mgmMeasurement,
|
|
// datapool::opus_variable_id mgmTemperature);
|
|
// virtual ~MGMRM3100Handler();
|
|
//
|
|
//protected:
|
|
// //These are the commands the Device has to implement
|
|
// virtual ReturnValue_t buildTransitionDeviceCommand(DeviceCommandId_t *id);
|
|
// virtual void doStartUp();
|
|
// virtual void doShutDown();
|
|
// virtual ReturnValue_t buildNormalDeviceCommand(DeviceCommandId_t *id);
|
|
// virtual ReturnValue_t buildCommandFromCommand(
|
|
// DeviceCommandId_t deviceCommand, const uint8_t *commandData,
|
|
// size_t commandDataLen);
|
|
// virtual ReturnValue_t scanForReply(const uint8_t *start, uint32_t len,
|
|
// DeviceCommandId_t *foundId, uint32_t *foundLen);
|
|
// virtual ReturnValue_t interpretDeviceReply(DeviceCommandId_t id,
|
|
// const uint8_t *packet);
|
|
//
|
|
//private:
|
|
// /**
|
|
// * Magnetic field data pool id
|
|
// */
|
|
// datapool::opus_variable_id mgmMagneticPoolId;
|
|
//
|
|
// /*
|
|
// * Temperature value pool id
|
|
// */
|
|
//
|
|
// datapool::opus_variable_id mgmTempPoolId;
|
|
//
|
|
// enum InternalState {
|
|
// STATE_NONE, STATE_FIRST_CONTACT, STATE_SETUP, STATE_CHECK_REGISTERS
|
|
// } internalState;
|
|
//
|
|
//};
|
|
//
|
|
//#endif /* MISSION_DEVICEHANDLING_MGMRM3100HANDLER_H_ */
|