Skip to content

Added(SensorAPI): Add option to show full sensor info#785

Open
Biswa96 wants to merge 1 commit intotermux:masterfrom
Biswa96:get-sensor-info
Open

Added(SensorAPI): Add option to show full sensor info#785
Biswa96 wants to merge 1 commit intotermux:masterfrom
Biswa96:get-sensor-info

Conversation

@Biswa96
Copy link
Member

@Biswa96 Biswa96 commented Jul 13, 2025

No description provided.

@Biswa96
Copy link
Member Author

Biswa96 commented Jul 13, 2025

termux-sensor -i (lower case I) will show the info of all sensors. For example,

$ termux-sensor -i | jq '.sensors[] | select(.vendor == "Yamaha")'
{
  "name": "YAS537 Magnetometer",
  "max_range": 1999.87939453125,
  "min_delay": 10000,
  "power": 0.2800000011920929,
  "resolution": 0.30059814453125,
  "type": "android.sensor.magnetic_field",
  "vendor": "Yamaha",
  "version": 35193090
}

@khushalhivrale649-hash
Copy link

Bssjs ss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants