SENA Rhio10 User Manual
Page 87

87
RHIO_SndCmd_GetOnOff
Description : Used to send the command to get ON/OFF status of all the ports
Function Prototype :
extern "C" __declspec(dllexport) bool RHIO_SndCmd_GetOnOff();
Parameter : None
Return : TRUE if successful, False if failed.
eg. : RHIO_SndCmd_GetOnOff();
RHIO_SndCmd_SetSettingMod
Description : Used to send the command to switch to the Set Mode.
Function Prototype :
extern "C" __declspec(dllexport) bool RHIO_SndCmd_SetSettingMode()
Parameter : None
Return : TRUE if successful, False if failed.
Parameter when reaction event is received :
WPARAM
: Command transfer status Flag (ESF_SET_MODE)
LPARAM
: Control status flag of the command (False if Time Out Error)
(0x30: Normal operation, 0x31 : Not the Run Mode, 0x32:Abnormal operation)
eg : RHIO_SndCmd_SetSettingMode();
RHIO_SndCmd_SetRunMode
Description : Used to send the command to switch to the Run Mode
Function Prototype :
extern "C" __declspec(dllexport) bool RHIO_SndCmd_SetRunMode()
Parameter : None
Return : TRUE if successful, False if failed.
Parameter when reaction event is received :
WPARAM
: Command transfer status Flag (ESF_RUN_MODE)
LPARAM
: Control status Flag of the command (False if Time Out Error)
(0x30: Normal operation, 0x31 : Not the Run Mode, 0x32:Abnormal operation)
eg. : RHIO_SndCmd_SetRunMode();