// Autogenerated C header file for Motion
#ifndef _JACDAC_SPEC_MOTION_H
#define _JACDAC_SPEC_MOTION_H 1

#define JD_SERVICE_CLASS_MOTION  0x1179a749

// enum Variant (uint8_t)
#define JD_MOTION_VARIANT_PIR 0x1

/**
 * Read-only bool (uint8_t). Reports is movement is currently detected by the sensor.
 */
#define JD_MOTION_REG_MOVING JD_REG_READING

/**
 * Constant m u16.16 (uint32_t). Maximum distance where objects can be detected.
 */
#define JD_MOTION_REG_MAX_DISTANCE 0x180

/**
 * Constant ° uint16_t. Opening of the field of view
 */
#define JD_MOTION_REG_ANGLE 0x181

/**
 * Constant Variant (uint8_t). Type of physical sensor
 */
#define JD_MOTION_REG_VARIANT JD_REG_VARIANT

/**
 * A movement was detected.
 */
#define JD_MOTION_EV_MOVEMENT JD_EV_ACTIVE

#endif
