Macros

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SB1_GESTURE_SENSOR_PLUGIN_SB1_GESTURE_SENSOR_MSG_READY
plugin sb1-gesture-sensor msg-ready
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SB1_GESTURE_SENSOR_PLUGIN_SB1_GESTURE_SENSOR_READ_MSG
plugin sb1-gesture-sensor read-msg
#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]

Detailed Description

Diagnostic commands for the SB1 Gesture Sensor.

Macro Definition Documentation

#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
#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)
#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.