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

Modem Güç ve Bağlantı Algoritması. [PowerStat] #1

Open
akkoyun opened this issue Apr 25, 2024 · 1 comment
Open

Modem Güç ve Bağlantı Algoritması. [PowerStat] #1

akkoyun opened this issue Apr 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation PowerStat

Comments

@akkoyun
Copy link
Owner

akkoyun commented Apr 25, 2024

Powerstat projesi içerisinde sistemde herhangi bir faz varken modemin açılmasını, aksi durumda ise kapanma süresi kadar beklendikten sonra (elektrik gitgel durumlarında boşa düşmeyi engellemek için) modemin kendini kapatması planlanmıştır.

Bu sayede cihaz açılırken bir online paketi gönderilir. Elektrik gittiği zaman ise önce bir offline paketi gönderilir ardından kapanma süresi kadar beklenip modem bağlantısı kesilir. Bu algoritma sayesinde boşa bağlı kalma (veri tüketimi için önemli) ve güç tüketimini en aza indirmek için uygun bir sistem olacaktır.

Aşağıda bahsi geçen algoritma için akış diagramı verilmiştir. Bu fonksiyon loop içerisinde dönecektir. Hemen ardından ise publish fonksiyonu yer almalıdır.

GSM Modem Power Algoritm

@akkoyun akkoyun added bug Something isn't working documentation Improvements or additions to documentation PowerStat labels Apr 25, 2024
@akkoyun akkoyun self-assigned this Apr 25, 2024
@akkoyun
Copy link
Owner Author

akkoyun commented Apr 25, 2024

Modem kapatma beklemesi beklenirken tekrar elektrik gelir ise algoritma bunu tanımayıp modemi kapatacaktır. Bunun için yapılan düzenleme şu şekildedir.

GSM Modem Power Algoritm-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation PowerStat
Projects
None yet
Development

No branches or pull requests

1 participant