SENA Rhio232 User Manual
Page 73
73
RHIO_GetSettingData
Description : Used to send the command to get the setting data corresponding to the
command transfer status flag
Function Prototype :
extern "C" __declspec(dllexport) bool RHIO_GetSettingData
(SRHIOSetting &sSetData);
Parameter :
SRHIOSetting &sSetData : Data to get
Return : TRUE if successful, False if failed.
eg. :
SRHIOSetting sSetData;
RHIO_GetSettingData(sSetData); // Setting data stored to sSetData
RHIO_GetOnOffData
Description : Used to send the command to get the ON/OFF status of all the ports
Function Prototype :
extern "C" __declspec(dllexport) bool RHIO_GetOnOffData
(SOnOffStatusData &sOnOffData);
Parameter :
SOnOffStatusData &sOnOffData : Data to get
Return : TRUE if successful, False if failed.
eg. :
SOnOffStatusData sOnOffData;
RHIO_GetOnOffData(sOnOffData);
//ON/OFF status stored to sOnOffData