@@ -513,8 +513,8 @@ thus user agents should not provide
513
513
unnecessarily verbose readouts of sensors data.
514
514
515
515
Implementations of concrete sensors may define a [=threshold check algorithm=]
516
- so that new readings that do not meet the [=reading change threshold =] when
517
- compared to the [=latest readings=] are discarded.
516
+ so that new readings that do not differ enough from the [=latest readings =] are
517
+ discarded.
518
518
519
519
Implementations of concrete sensors may define a [=reading quantization
520
520
algorithm=] to reduce the accuracy of the [=sensor readings=] received from a
@@ -725,19 +725,6 @@ define ways to uniquely identify each one.
725
725
</pre>
726
726
</div>
727
727
728
- ## Reading change threshold ## {#concepts-reading-change-threshold}
729
-
730
- A [=platform sensor=] reports [=sensor readings|readings=] to the user agent considering
731
- the [=reading change threshold=] .
732
-
733
- The <dfn>reading change threshold</dfn> refers to a value which indicates whether or
734
- not the changes in the [=device sensor=] 's measurements were significant enough to
735
- update the corresponding [=sensor readings=] .
736
-
737
- The [=reading change threshold|threshold=] value depends on the surrounding software and hardware
738
- environment constraints, e.g., software power consumption optimizations or the underlying
739
- [=device sensor=] 's accuracy.
740
-
741
728
## Sampling Frequency and Reporting Frequency ## {#concepts-sampling-and-reporting-frequencies}
742
729
743
730
For the purpose of this specification, <dfn>sampling frequency</dfn> for a [=platform sensor=] is
@@ -753,8 +740,12 @@ can support it.
753
740
The [=sampling frequency=] differs from the [=requested sampling frequency=] in the following cases:
754
741
- the [=requested sampling frequency=] exceeds upper or lower [=sampling frequency=] bounds
755
742
supported by the underlying platform.
756
- - the [=reading change threshold|threshold=] value is significant so that some of the
757
- [=device sensor=] 's measurements are skipped and the [=sensor readings=] are not updated.
743
+ - the operating system and/or the [=device sensor=] automatically discard
744
+ readings that do not differ enough (in absolute or relative terms) from the
745
+ previously reported ones via a hardware or operating system filter.
746
+ - the [=platform sensor=] 's associated [=sensor type=]' s [=threshold check
747
+ algorithm=] fails and the [=platform sensor=] 's [=latest readings=] are not
748
+ updated.
758
749
759
750
The <dfn>reporting frequency</dfn> for a concrete {{Sensor}} object is defined as a frequency at which
760
751
the "reading" event is [=fire an event|fired=] at this object.
@@ -819,8 +810,8 @@ A [=sensor type=] has a [=set/is empty|nonempty=] [=ordered set|set=] of associa
819
810
820
811
A [=sensor type=] may have an associated <dfn export>threshold check
821
812
algorithm</dfn> , which takes as arguments two separate [=sensor readings=] and
822
- determines if the difference between them is higher than an
823
- implementation-defined [= reading change threshold=] .
813
+ determines if they differ enough to cause a [=platform sensor=] 's [=latest
814
+ reading=] map to be updated .
824
815
825
816
A [=sensor type=] may have an associated <dfn export>reading quantization
826
817
algorithm</dfn> , which takes a [=sensor reading=] and returns a less accurate
0 commit comments