Function sh2_devOn

Function Documentation

int sh2_devOn(void)

Turn sensor hub on by sending ON (2) command on “device” channel.

Returns:

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