| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Resolves all memory leaks that can be possibly resolved, glib
nonwithstanding.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|
|
|
| |
Signed-off-by: Paulius Ratkevičius <paulius.ratkevicius@ktu.edu>
|
|
|
|
|
|
| |
Part of ticket #33
Signed-off-by: Paulius Ratkevičius <paulius.ratkevicius@ktu.edu>
|
|\
| |
| |
| | |
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
| |
| |
| |
| |
| |
| | |
This usually, but now always means "/etc/usurpation.conf"
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
| |
| |
| |
| | |
Signed-off-by: Paulius Ratkevičius <paulius.ratkevicius@ktu.edu>
|
| |
| |
| |
| |
| |
| |
| | |
The flag is now successfully read from the config file and is honored.
Logic does not handle leading or trailing whitespace yet.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
| |
| |
| |
| |
| |
| |
| | |
The daemon now load and somewhat parses the config files. It does
not do anything else with the data yet, that's a TODO.
Signed-off-by: Paulius Ratkevičius <paulius.ratkevicius@ktu.edu>
|
| |
| |
| |
| |
| |
| |
| | |
The functions in question should only be used within the compilation
unit and should not be exported.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|\ \
| |/
|/|
| | |
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This loads and initialized libpurple, but does not actually do anything.
This should be enough to warrant closing Ticket #18.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Solves ticket #30
Signed-off-by: Paulius Ratkevičius <paulius.ratkevicius@ktu.edu>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Solves ticket #30
Signed-off-by: Paulius Ratkevičius <paulius.ratkevicius@ktu.edu>
|
|\| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Closes ticket #29.
Signed-off-by: Paulius Ratkevičius <paulius.ratkevicius@ktu.edu>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Now actually shows daemon AND device ip.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Dots and text to not overlap. Also, text now utilizes all available
space (2 lines).
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
Device prints its own IP address and that of server daemon.
This commit is part of ticket #28.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
|/
|
|
|
|
| |
Make the screen code actually work... AND build, to begin with.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|
|
|
| |
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
|
|
|
| |
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|
|
|
| |
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|
|
|
| |
Verbose flag was not initialised in init. It is on by default now.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SSID and PSK the device is going to attempt connecting
can now be changed with a recompiliation by adjusting the
"ssid" and "password" build options for meson with e.g.
meson configure -Dssid=realssid -Dpassword=actualpsk
Default SSID and PSK are included to otherwise allow
test builds.
this closes ticket 26.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|
|
|
|
|
|
|
| |
Stub implementation.
This commit closes ticket 23.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We now have a settings variable for holding various flags.
Turn the daemonize setting to a flag.
NOTE: the project should not have compiled since commit
de18684a25cdc1e310636c5f74d4e901881b5710
but due to some unexplained circumstances, no pre-commit
build testing failed.
This have been fixed.
This commit closes Ticket 25.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|
|
|
|
|
|
|
| |
Fix style inconsistencies and move port settings to settings.c.
Part of Ticket 3.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|
|
|
|
|
|
|
| |
It now outputs the ip address of the client once it connects.
This commit is part of Ticket 3.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|
|
|
|
|
|
|
|
| |
This allows demonstrating basic autodiscovery and simulate data
transactions between the server daemon and the device.
This commit is part of Ticket 3.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|
|
|
|
|
|
|
| |
Reduced the spam output and made it show state changes
This commit is part of ticket 3.
Signed-off-by: Paulius Ratkevičius <pauliuz95@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Server daemon outputs error message when the client times out into
stderr.
This commit is part of ticket 3.
Signed-off-by: Paulius Ratkevičius <pauliuz95@gmail.com>
|
|
|
|
|
|
|
|
| |
Port networking code from previous project.
This commit is part of ticket 3.
Signed-off-by: Paulius Ratkevičius <pauliuz95@gmail.com>
|
|
|
|
|
|
| |
Changed 'toggleled' to 'toggle_led' for improved readability.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
|
This creates a working buildable dummy template to build the project
upon. Everything save for the build system are demonstrational dummies
and everything including the build system is written to be easily
extendable.
This commit closes Ticket 5.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|