Plugin Commands: SB1 Gesture Sensor#
Diagnostic commands for the SB1 Gesture Sensor.
Macros#
#define
plugin sb1-gesture-sensor msg-ready
#define
plugin sb1-gesture-sensor read-msg
#define
plugin sb1-gesture-sensor send-gest [gesture:1] [button:1]
Macro Definition Documentation#
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SB1_GESTURE_SENSOR_PLUGIN_SB1_GESTURE_SENSOR_MSG_READY#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SB1_GESTURE_SENSOR_PLUGIN_SB1_GESTURE_SENSOR_MSG_READY
plugin sb1-gesture-sensor msg-ready
Will print "msg ready" or "no msg ready" based on the state of the SB1's IRQ pin
Definition at line
5988
of file ./app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SB1_GESTURE_SENSOR_PLUGIN_SB1_GESTURE_SENSOR_READ_MSG#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SB1_GESTURE_SENSOR_PLUGIN_SB1_GESTURE_SENSOR_READ_MSG
plugin sb1-gesture-sensor read-msg
Will generate an i2c read of the sb1 gesture sensor, printing the resulting message (or i2c bus state in case of error)
Definition at line
5993
of file ./app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SB1_GESTURE_SENSOR_PLUGIN_SB1_GESTURE_SENSOR_SEND_GEST#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SB1_GESTURE_SENSOR_PLUGIN_SB1_GESTURE_SENSOR_SEND_GEST
plugin sb1-gesture-sensor send-gest [gesture:1] [button:1]
Will simulate receiving a gesture of type specified by the argument
gesture - INT8U - Gesture to simulate.
button - INT8U - Button to simulate gesture on.
Definition at line
6000
of file ./app/framework/test/headers/cli.doc