2 Replies Latest reply on Feb 13, 2020 3:28 AM by PaYe_4603801

    Sensor Motion application: cannot find where sensor data is read

    PaYe_4603801

      Hello,

       

      In the mesh_sensor_publish_timer_callback there is following instruction:

       meshmesh_sensor_current_value = mesh_sensor_get_current_value();
      

       

      Here is definition of mesh_sensor_get_current_value function:

      int32_t mesh_sensor_get_current_value(void)
      {
          return presence_detected;
      }
      

       

      But I didn't find where presence_detected is assigned ???

      Any comments ?

      Thanks