언어 설정

Menu
Sites
Language
Inconsistency in accelerometer sensor data records

Hello Developer Support Team,

I am facing an issue with accelerometer sensor. The sensor data records are not consistent. There should be 25 records per second. But many of the times, there are less number of records or more number of records in one second.
I have tested it on Gear Fit 2 band, Gear S3 watch and Gear Sport watch. Please find attached log file. (I have also shared Samsple App - source code with Samsung team via email.)

Here are some code level details:
1. Tizen native service application captures accelerometer sensor data with 25 records per second (that is 40 milliseconds interval).
2. This service app is launched via native UI application. 
3. In service application manifest file, I have added <metadata key="http://tizen.org/metadata/background-category/sensor"/>
4. And sensor is registered using SENSOR_OPTION_ALWAYS_ON.

I cannot use power lock, because that consumes lot of watch battery. And hence the app gets rejected in test confirmation by Samsung Galaxy Apps Validation Team.

Please could you assist me to resolve this issue?

Thank you.
-Madhura

Responses

4 댓글
Armaan-Ul- Islam

Hello Madhura Pohekar,

It's good idea from you to share the logs... But the thing is I can't see/download the logs you've attached. Would You please attach/shareLinks again.

GEUNSOO KIM

what is interval to read the sensors?

If the interval is more than 10 minute, you'd better scheduling it with alarm.

 

Madhura Pohekar

Hello,

1) The interval is set to 40 (milliseconds). Hence there should be 25 records in one second.

2) Logs:

03-21 20:24:28.969 : ERROR / TEST_APP ( 5678 : 5678 ) : smartwatch : main ------------ xxxxxxxxxxx
03-21 20:24:28.969 : INFO / TEST_APP ( 5678 : 5678 ) : smartwatch : launch_service : app_manager_is_running : retVal->0, isServiceRunning->0
03-21 20:24:28.969 : INFO / TEST_APP ( 5678 : 5678 ) : smartwatch : launch_service : service NOT running.
03-21 20:24:29.149 : ERROR / TEST_APP ( 5734 : 5734 ) : smartwatchservice : main ---------------------
03-21 20:24:29.229 : INFO / TEST_APP ( 5678 : 5678 ) : smartwatch : launch_service : app_control_send_launch_request : retVal->0
03-21 20:24:29.229 : INFO / TEST_APP ( 5678 : 5678 ) : smartwatch : launch_service : service launch request sent.
03-21 20:24:29.229 : DEBUG / TEST_APP ( 5678 : 5678 ) : smartwatch : current watch model is : SM-R600
03-21 20:24:29.239 : INFO / TEST_APP ( 5734 : 5734 ) : smartwatchservice : service_app_create
03-21 20:24:29.249 : INFO / TEST_APP ( 5734 : 5734 ) : sensorservice : sensor_init : sensor_is_supported : retVal->0, m_b_isSensorSupported->1
03-21 20:24:29.249 : INFO / TEST_APP ( 5734 : 5734 ) : sensorservice : sensor_init : Supports accelerometer sensor.
03-21 20:24:29.249 : INFO / TEST_APP ( 5734 : 5734 ) : sensorservice : sensor_init : sensor_get_default_sensor : retVal->0
03-21 20:24:29.269 : INFO / TEST_APP ( 5734 : 5734 ) : sensorservice : sensor_init : sensor_create_listener : retVal->0
03-21 20:24:29.269 : INFO / TEST_APP ( 5734 : 5734 ) : sensorservice : sensor_init : sensor_listener_set_event_cb : retVal->0
03-21 20:24:29.269 : INFO / TEST_APP ( 5734 : 5734 ) : sensorservice : sensor_init : sensor_listener_set_option : retVal->0
03-21 20:24:29.279 : INFO / TEST_APP ( 5734 : 5734 ) : sensorservice : sensor_init : name->LSM6DSL, vendor->ST Microelectronics, type->0, min_range->-78.408012, max_range->78.405624, resolution->0.002393, min_interval->1
03-21 20:24:29.279 : INFO / TEST_APP ( 5734 : 5734 ) : sensorservice : sensor_init : start_sensor ***
03-21 20:24:29.289 : INFO / TEST_APP ( 5734 : 5734 ) : sensorservice : start_sensor : sensor_listener_start : retVal->0
03-21 20:24:29.289 : INFO / TEST_APP ( 5734 : 5734 ) : smartwatchservice : service_app_control
03-21 20:24:29.349 : DEBUG / TEST_APP ( 5678 : 5678 ) : smartwatch : app_create
03-21 20:24:29.349 : DEBUG / TEST_APP ( 5678 : 5678 ) : smartwatch : create_base_gui
03-21 20:24:29.429 : DEBUG / TEST_APP ( 5678 : 5678 ) : smartwatch : create_view
03-21 20:24:29.429 : DEBUG / TEST_APP ( 5678 : 5678 ) : smartwatch : create_view : current watch model is :SM-R600
03-21 20:24:29.499 : INFO / TEST_APP ( 5678 : 5678 ) : smartwatch : app_control
03-21 20:24:29.499 : INFO / TEST_APP ( 5678 : 5678 ) : smartwatch : app_resume
03-21 20:24:29.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->16
03-21 20:24:31.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:31.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:33.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:33.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:35.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:36.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:37.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:38.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:38.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:40.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:40.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:42.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:43.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:44.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:45.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:45.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:46.879 : INFO / TEST_APP ( 5678 : 5678 ) : smartwatch : app_pause
03-21 20:24:47.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:47.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:49.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:49.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:51.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:52.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:53.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:54.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:54.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:56.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:56.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:24:58.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:24:58.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:00.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:01.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:02.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:03.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:03.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:05.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:05.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:07.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:08.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:09.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:10.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:10.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:12.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:12.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:14.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:14.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:16.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:17.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:18.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:19.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:19.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:21.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:21.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:23.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:24.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:25.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:26.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:27.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:28.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:28.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:30.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:30.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:32.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:33.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:34.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:35.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:35.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:37.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:37.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:39.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:39.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:41.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:42.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:43.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:44.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:44.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:46.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:46.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:48.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:49.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:50.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:51.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:51.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:53.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:53.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:55.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:55.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:57.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:25:58.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:25:59.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:00.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:00.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:02.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:02.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:04.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:05.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:06.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:07.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:08.039 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:09.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:09.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:11.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:11.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:13.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:14.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:15.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:16.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:16.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:18.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:18.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:20.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:20.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:22.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:23.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:24.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:25.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:25.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:27.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:27.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:29.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:30.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:31.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:32.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:32.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:34.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:34.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:36.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:36.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:38.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:39.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:40.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:41.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:41.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:43.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:43.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:45.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:46.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:47.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:48.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:48.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:50.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:50.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:52.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:52.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:54.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:55.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:56.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:57.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:57.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:26:59.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:26:59.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:01.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:02.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:03.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:04.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:05.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:06.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:06.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:08.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:08.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:10.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:11.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:12.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:13.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:13.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:15.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:15.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:17.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:17.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:19.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:20.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:21.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:22.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:22.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:24.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:24.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:26.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:27.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:28.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:29.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:29.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:31.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:31.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:33.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:33.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:35.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:36.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:37.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:38.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:38.989 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:40.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:40.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:42.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:43.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:44.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:45.009 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:46.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:47.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:47.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:49.019 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24
03-21 20:27:49.999 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->23
03-21 20:27:51.029 : ERROR / TEST_APP ( 5734 : 5734 ) : sensor_event_callback : Unexpected records->24

 

Thanks,

Madhura

Armaan-Ul- Islam

Please run your code on Emulator and check the results.

 

If nothing's wrong with your code, Emulator should give you data at suggested interval. Which is the Ideal Scenario.