Sensor OIC notif-remove sensor spec cfg
@@ -456,9 +456,6 @@ ble_oic_log_init(void)
int
main(int argc, char **argv)
{
- struct sensor_type_traits stt;
- struct sensor_accel_data sad_low;
- struct sensor_accel_data sad_high;
#ifdef ARCH_sim
mcu_sim_parse_args(argc, argv);
@@ -481,31 +478,6 @@ main(int argc, char **argv)
/* Initialize BLE OIC GATT Server */
sensor_ble_oic_server_init();
- sad_low.sad_x = 0.6712;
- sad_low.sad_y = 0.6712;
- sad_low.sad_z = 0.6712;
-
- sad_low.sad_x_is_valid = 1;
- sad_low.sad_y_is_valid = 1;
- sad_low.sad_z_is_valid = 1;
-
- sad_high.sad_x = 0.6712;
- sad_high.sad_y = 0.6712;
- sad_high.sad_z = 0.6712;
-
- sad_high.sad_x_is_valid = 1;
- sad_high.sad_y_is_valid = 1;
- sad_high.sad_z_is_valid = 1;
-
- stt.stt_sensor_type = SENSOR_TYPE_ACCELEROMETER;
- stt.stt_low_thresh.sad = &sad_low;
- stt.stt_high_thresh.sad = &sad_high;
- stt.stt_algo = SENSOR_THRESH_ALGO_WATERMARK;
-
- sensor_set_thresh("lis2dh12_0", &stt);
-
- sensor_set_poll_rate_ms("lis2dh12_0", 3600000);
-
/* log reboot */
reboot_start(hal_reset_cause());
