Change-Id: I82932df8e53fae4b06db1f4ad251bdb669b921c2
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
typedef enum {
UAM_DETECT_PRESENCE = 0x01,
UAM_DETECT_ABSENCE = 0x02,
- UAM_DETECT_LOCATION = 0x03,
+ UAM_DETECT_LOCATION = 0x04,
} uam_pm_detection_mode_e;
int _uam_pm_init(void);
case UAM_DETECT_ABSENCE:
type = UAS_ABSENCE;
break;
+ case UAM_DETECT_LOCATION:
+ type = UAS_LOCATION;
+ break;
default:
type = UAS_PRESENCE | UAS_ABSENCE;
}
case UAM_DETECT_ABSENCE:
type = UAS_ABSENCE;
break;
+ case UAM_DETECT_LOCATION:
+ type = UAS_LOCATION;
+ break;
default:
type = UAS_PRESENCE | UAS_ABSENCE;
}
/* Detection event types */
typedef enum {
UAS_PRESENCE = 0x01, /**< Presence event */
- UAS_ABSENCE = 0x02 /**< Absence event */
+ UAS_ABSENCE = 0x02, /**< Absence event */
+ UAS_LOCATION = 0x04 /**< Location event */
} uas_detection_type_e;
/* Device address information structure */