Simba-Avionic / Simba-Avionic/srp
Przepisanie core/temp drivera na epol
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1
- Forks
- 3
- Avg merge
- 34m
- Merged PRs (30d)
- 1
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- cpp
- Domain
- documentation, embedded-iot, operating-systems
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100