Skip to content

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

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

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

Conversation

@Biswa96

@Biswa96 Biswa96 commented Jul 13, 2025

Copy link
Copy Markdown
Member

No description provided.

@Biswa96

Biswa96 commented Jul 13, 2025

Copy link
Copy Markdown
Member Author

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
Copy Markdown

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