Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Termux-sensor in real time #10

Open
hugmouse opened this issue Sep 24, 2019 · 0 comments
Open

Implement Termux-sensor in real time #10

hugmouse opened this issue Sep 24, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@hugmouse
Copy link
Owner

Assistance in the creation of this function would be nice!

As far as I understand, calling this command in Termux, he will send a response in the JSON in stdout after some time (delay in ms, flag -d).

It is necessary to do so that the function constantly listens to its answers and somehow processes them.

Log:

Usage: termux-sensor
Get information about types of sensors as well as live data
  -h, help           Show this help
  -a, all            Listen to all sensors (WARNING! may have battery impact)
  -c, cleanup        Perform cleanup (release sensor resources)
  -l, list           Show list of available sensors
  -s, sensors [,,,]  Sensors to listen to (can contain just partial name)
  -d, delay [ms]     Delay time in milliseconds before receiving new sensor update
  -n, limit [num]    Number of times to read sensor(s) (default: continuous) (min: 1)
@hugmouse hugmouse changed the title Implement termux-sensor in _real time_ Implement Termux-sensor in real time Sep 24, 2019
@hugmouse hugmouse added enhancement New feature or request help wanted Extra attention is needed labels Sep 24, 2019
@hugmouse hugmouse pinned this issue Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant