SENA Rhio10 User Manual

Page 96

Advertising
background image

96

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

Advertising