SENA Rhio10 User Manual
Page 94

94
RHIO_SndCmd_GetPwrStopEnable
Description : Used to send the command to check whether it is possible to get the
Enable/Disable Power Failure Recovery of all the input ports
Function Prototype :
extern "C" __declspec(dllexport) bool RHIO_SndCmd_GetPwrStopEnable();
Parameter : None
Return : TRUE if successful, False if failed.
Parameter when reaction event is received :
WPARAM
: Command transfer status flag (ESF_MON_PWR_STOP)
LPARAM
: Control status flag of the command (False if Time Out Error)
(0x30:Normal operation, 0x39:Abnormal operation, 0x31:Not the Set Mode)
※ When reaction event is received, get data using RHIO_GetSettingData function and
check the Enable/Disable Power Failure Recovery on setting.
eg. : RHIO_SndCmd_GetPortEnable();
RHIO_SndCmd_SetFactoryReset
Description : Used to send the command to request RHIO FactoryReset
Function Prototype :
extern "C" __declspec(dllexport) bool RHIO_SndCmd_SetFactoryReset();
Parameter : None
Return : TRUE if successful, False if failed.
Parameter when reaction event is received :
WPARAM
: Command transfer status flag (ESF_SET_FACTROT_RESET)
LPARAM
: Control status flag of the command (False if Time Out Error)
(0x30:Normal operation 0x39:Abnormal operation)
eg. : RHIO_SndCmd_SetFactoryReset();
RHIO_SndCmd_SetSerial
Description : Used to send command to set the RHIO serial number
Function Prototype :
extern "C" __declspec(dllexport) bool RHIO_SndCmd_SetSerial
(CString strSerial);
Parameter :
SRHIOSetting sSetData : Data to set