call param callback twice
This commit is contained in:
@ -111,13 +111,22 @@ class GomspaceDeviceHandler : public DeviceHandlerBase {
|
||||
size_t commandDataLen);
|
||||
|
||||
private:
|
||||
SetParamMessageUnpacker setParamCacher;
|
||||
/**
|
||||
* @brief Function to generate the command to set a parameter. Command
|
||||
* will be sent to the ComIF over the rawPacket buffer.
|
||||
*/
|
||||
ReturnValue_t generateSetParamCommand(const uint8_t *commandData, size_t commandDataLen);
|
||||
|
||||
virtual ReturnValue_t setParamCallback(SetParamMessageUnpacker &unpacker);
|
||||
/**
|
||||
* Callback is called on a parameter set command. It is called before executing it and after
|
||||
* after successful execution
|
||||
* @param unpacker Passed before
|
||||
* @param beforeSet False for callback before execution, true if called after successful
|
||||
* execution
|
||||
* @return
|
||||
*/
|
||||
virtual ReturnValue_t setParamCallback(SetParamMessageUnpacker& unpacker, bool afterExecution);
|
||||
|
||||
/**
|
||||
* @brief Function to generate the command to get a parameter from a
|
||||
|
Reference in New Issue
Block a user