Przepisanie core/temp drivera na epol

Open
#319 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
28/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start by locating the current polling implementation in core/temp and tracing how temp_mw uses its interface. Check how DS18B20 resolution affects file-update timing and how the new poll/epoll approach should expose changes; done means core/temp and temp_mw use the revised interface and the temp_mw wiki documentation is updated.

Written by the indexing model from the issue text.

Description

User Story

Mamy sobie mw/temp_service, który odczytuje temperatury z czujników ciśnienia ds18b20, są to wolne czujniki (w domyślnym trybie potrzebuja 750ms aby odczytać temperaturę), aktualnie są odczytywane na zasadzie poolngu co X czasu (czasmi pewnie odczytujemy te samą temperaturę). Trzeba by to przepisać na poll / epoll który będzie zczytywał wartośc tylko kiedy się ona zmieni. Trzeba pamiętać że czas aktualizacji pliku przez czujniki zależy od ustawionej rozdzielczości.

TODO
  • przepisanie core/temp
  • zaktualizowanie temp_mw aby poprawnie używał nowego interfejsu
  • zaktualizowanie dokumentacji na wiki o temp_mw
Dominant language
C++
Stars
1
Forks
3
Avg merge
14h 51m
Merged PRs (30d)
7

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Simba-Avionic/srp

All issues in Simba-Avionic/srp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.