summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* device: fix screen code.Gravatar Gediminas Jakutis 2019-05-112-8/+24
| | | | | | Make the screen code actually work... AND build, to begin with. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* device: Toy screen logic.Gravatar Ramūnas Mažeikis 2019-04-111-1/+27
| | | | Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
* daemon: honour the verbose flag for diagnostics.Gravatar Gediminas Jakutis 2019-04-111-3/+4
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* device: make sure to flush the udp buffer on time.Gravatar Gediminas Jakutis 2019-04-111-8/+8
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* daemon: Initialisation logic patch.Gravatar Ramūnas Mažeikis 2019-04-111-0/+1
| | | | Verbose flag was not initialised in init. It is on by default now.
* device: make ssid and password easy to modifyGravatar Gediminas Jakutis 2019-04-102-6/+39
| | | | | | | | | | | | | 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>
* daemon: added verbose flag.Gravatar Ramūnas Mažeikis 2019-04-092-0/+8
| | | | | | | | Stub implementation. This commit closes ticket 23. Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
* daemon: employ a flags settings variable.Gravatar Gediminas Jakutis 2019-04-013-9/+62
| | | | | | | | | | | | | | 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>
* daemon: style adjustmentGravatar Gediminas Jakutis 2019-03-293-18/+31
| | | | | | | | Fix style inconsistencies and move port settings to settings.c. Part of Ticket 3. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* daemon: improve debug output.Gravatar Gediminas Jakutis 2019-03-291-3/+7
| | | | | | | | 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>
* device: add rudimentary network code.Gravatar Gediminas Jakutis 2019-03-291-15/+103
| | | | | | | | | 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>
* daemon: Make debug output more informative.Gravatar Paulius Ratkevičius 2019-03-291-11/+13
| | | | | | | | 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>
* daemon: implemented verbose output on timeout.Gravatar Paulius Ratkevičius 2019-03-291-0/+1
| | | | | | | | | 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>
* daemon: add networking code.Gravatar Paulius Ratkevičius 2019-03-293-0/+234
| | | | | | | | Port networking code from previous project. This commit is part of ticket 3. Signed-off-by: Paulius Ratkevičius <pauliuz95@gmail.com>
* device: Cosmetic changes.Gravatar Ramūnas Mažeikis 2019-03-221-3/+4
| | | | | | Changed 'toggleled' to 'toggle_led' for improved readability. Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
* Initial commit.Gravatar Gediminas Jakutis 2019-03-188-0/+195
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>