52 lines
1.5 KiB
C++
52 lines
1.5 KiB
C++
#include "GyroADIS16507Handler.h"
|
|
|
|
GyroADIS16507Handler::GyroADIS16507Handler(object_id_t objectId,
|
|
object_id_t deviceCommunication, CookieIF * comCookie):
|
|
DeviceHandlerBase(objectId, deviceCommunication, comCookie) {
|
|
}
|
|
|
|
void GyroADIS16507Handler::doStartUp() {
|
|
if(internalState == InternalState::STARTUP) {
|
|
if(commandExecuted) {
|
|
commandExecuted = false;
|
|
internalState = InternalState::IDLE;
|
|
}
|
|
}
|
|
}
|
|
|
|
void GyroADIS16507Handler::doShutDown() {
|
|
}
|
|
|
|
ReturnValue_t GyroADIS16507Handler::buildNormalDeviceCommand(DeviceCommandId_t *id) {
|
|
return HasReturnvaluesIF::RETURN_OK;
|
|
}
|
|
|
|
ReturnValue_t GyroADIS16507Handler::buildTransitionDeviceCommand(DeviceCommandId_t *id) {
|
|
return HasReturnvaluesIF::RETURN_OK;
|
|
}
|
|
|
|
ReturnValue_t GyroADIS16507Handler::buildCommandFromCommand(DeviceCommandId_t deviceCommand,
|
|
const uint8_t *commandData, size_t commandDataLen) {
|
|
return HasReturnvaluesIF::RETURN_OK;
|
|
}
|
|
|
|
void GyroADIS16507Handler::fillCommandAndReplyMap() {
|
|
}
|
|
|
|
ReturnValue_t GyroADIS16507Handler::scanForReply(const uint8_t *start, size_t remainingSize,
|
|
DeviceCommandId_t *foundId, size_t *foundLen) {
|
|
return HasReturnvaluesIF::RETURN_OK;
|
|
}
|
|
|
|
ReturnValue_t GyroADIS16507Handler::interpretDeviceReply(DeviceCommandId_t id,
|
|
const uint8_t *packet) {
|
|
return HasReturnvaluesIF::RETURN_OK;
|
|
}
|
|
|
|
void GyroADIS16507Handler::setNormalDatapoolEntriesInvalid() {
|
|
}
|
|
|
|
uint32_t GyroADIS16507Handler::getTransitionDelayMs(Mode_t modeFrom, Mode_t modeTo) {
|
|
return 5000;
|
|
}
|