Android define both: https://github.com/apache/nuttx/pull/15610
On Mon, Jan 20, 2025 at 1:14 AM Tomek CEDRO <to...@cedro.info> wrote: > On Sat, Jan 18, 2025 at 8:30 AM raiden00pl <raiden0...@gmail.com> wrote: > > Can we just rename `SENSOR_TYPE_AMBIENT_TEMPERATURE` to > > `SENSOR_TYPE_TEMPERATURE` > > and update the comments that this type is "a general temperature sensor"? > > The current definition is taken from Android, but NuttX is a more general > > OS, used in various embedded > > scenarios that go far beyond those of Android, like in this specific > case: > > rocket science :) > > Probably a copy of that type could be better as it would provide > compatibility with Android and give user a choice which one to prefer? > :-) I never played with uorb but maybe specification of some sort > already solves that case? :-) > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info >