v0.0.1
This commit is contained in:
parent
9bfa1e11fe
commit
ea1704ca69
2 changed files with 9 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ qt_add_qml_module(appwaterLevelSensor
|
|||
SOURCES configinterface.h configinterface.cpp
|
||||
SOURCES udplistener.h udplistener.cpp
|
||||
SOURCES service.h
|
||||
RESOURCES README.md
|
||||
)
|
||||
target_link_libraries(appwaterLevelSensor
|
||||
PRIVATE Qt6::Quick Qt6::Network service
|
||||
|
|
|
|||
8
README.md
Normal file
8
README.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Water Level Sensor
|
||||
|
||||
Builds using QtCreator, use Qt Version 6.9.
|
||||
Builds for android and desktop.
|
||||
On Android Creates a service from service.cpp and android/src/org/qtproject/example/appwaterLevelSensor/WaterLevelService.java
|
||||
Changes in AndroidManifest.xml are important.
|
||||
On Desktop just waits for values from a UDP Broadcast on local network with port 8176 and shows those values.
|
||||
On Android the service does that, and creates an alert notification if the value in broadcast is less than alert threshold.
|
||||
Loading…
Reference in a new issue