Simba-Avionic / Simba-Avionic/srp

Przepisanie core/temp drivera na epol

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

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

  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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.