v0.1.0
This commit is contained in:
parent
69086d8093
commit
e6d5589cad
1 changed files with 411 additions and 105 deletions
11
README.md
11
README.md
|
|
@ -5,4 +5,13 @@ Builds for android and desktop.<br>
|
|||
On Android Creates a service from service.cpp and android/src/org/qtproject/example/appwaterLevelSensor/WaterLevelService.java.<br>
|
||||
Changes in AndroidManifest.xml are important.<br>
|
||||
On Desktop just waits for values from a UDP Broadcast on local network with port 8176 and shows those values.<br>
|
||||
On Android the service does that, and creates an alert notification if the value in broadcast is less than alert threshold.<br>
|
||||
On Android the service does that, and creates an alert notification if the value in broadcast is less than alert threshold.<br>
|
||||
|
||||
|
||||
<br>
|
||||
Create a new socket in Worker that will instantly start listening.<br>
|
||||
In the service launch the threads and immediately send client hello to the worker socket.<br>
|
||||
On client hello send command data to the android service.<br>
|
||||
On quit send server bye to android service.<br>
|
||||
On server bye deinit the sockets that send data to cpp server.<br>
|
||||
On next launch, the command and client threads can be reinitialized from the StartService java class.<br>
|
||||
Loading…
Reference in a new issue