// Autogenerated C header file for Vibration motor
#ifndef _JACDAC_SPEC_VIBRATION_MOTOR_H
#define _JACDAC_SPEC_VIBRATION_MOTOR_H 1

#define JD_SERVICE_CLASS_VIBRATION_MOTOR  0x183fc4a2

/**
 * Starts a sequence of vibration and pauses. To stop any existing vibration, send an empty payload.
 */
#define JD_VIBRATION_MOTOR_CMD_VIBRATE 0x80
typedef struct jd_vibration_motor_vibrate {
    uint8_t duration; // 8ms
    uint8_t intensity;  // ratio u0.8
} jd_vibration_motor_vibrate_t;


/**
 * Constant uint8_t. The maximum number of vibration sequences supported in a single packet.
 */
#define JD_VIBRATION_MOTOR_REG_MAX_VIBRATIONS 0x180

#endif
