summaryrefslogtreecommitdiff
path: root/include/user-awareness-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/user-awareness-private.h')
-rw-r--r--include/user-awareness-private.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/user-awareness-private.h b/include/user-awareness-private.h
index 7e6478e..0a507f5 100644
--- a/include/user-awareness-private.h
+++ b/include/user-awareness-private.h
@@ -202,12 +202,12 @@ typedef struct {
*/
typedef struct {
unsigned int status; /**< Sensor status 1:PRESENCE 2:ABSENCE */
- ua_sensor_h handle;
- ua_sensor_e bitmask;
- long int timestamp;
- int accuracy;
- int count;
- double *values;
+ ua_sensor_h handle; /**< Sensor handle */
+ ua_sensor_e bitmask; /**< Sensor bitmask */
+ unsigned long long timestamp; /**< Timestamp */
+ int accuracy; /**< Accuracty from sensor device */
+ int count; /**< How many sensor data included */
+ double *values; /**< Sensor data */
} ua_sensor_info_s;
/**
@@ -304,7 +304,7 @@ typedef struct {
gboolean isadded; /**< Is the device addition completed? */
gboolean create_by_app; /**< Did app add this device information? */
gboolean discriminant; /**< Determines whether to judge PRESENCE/ABSENCE */
- long last_presence_timestamp; /**< timestamp of last presence */
+ unsigned long long last_presence_timestamp; /**< timestamp of last presence */
ua_ble_payload_s *payload; /**< BLE payload to filter device*/
} ua_dev_info_s;