Function sh2_devSleep

Function Documentation

int sh2_devSleep(void)

Put sensor hub in sleep state by sending SLEEP (3) command on “device” channel.

Returns:

SH2_OK (0), on success. Negative value from sh2_err.h on error.