summaryrefslogtreecommitdiffstats
path: root/src/device/main.ino
Commit message (Collapse)AuthorAgeFilesLines
* Device: accidentally broke code by renaming function.Gravatar Ramūnas Mažeikis 2019-05-281-14/+55
| | | | Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
* device: actually make it all build and such.Gravatar Gediminas Jakutis 2019-05-221-38/+10
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* Protocol: moved udp code out of main.Gravatar Ramūnas Mažeikis 2019-05-211-28/+1
| | | | | | | | | | An effor was made to increase modularity of device code. It was a partial success. IP adress, communications port, and wifi login details had to be made static and visible in main. Time is scarce and I am not about to push this further. Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
* device: fix info cycling.Gravatar Gediminas Jakutis 2019-05-131-3/+3
| | | | | | Now actually shows daemon AND device ip. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* device: Bug-fix to make text and dots not overlap.Gravatar Ramūnas Mažeikis 2019-05-121-3/+4
| | | | | | | 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: Device prints first meaningful data.Gravatar Ramūnas Mažeikis 2019-05-121-10/+21
| | | | | | | | 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>
* device: fix screen code.Gravatar Gediminas Jakutis 2019-05-111-8/+11
| | | | | | 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>
* 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>
* device: make ssid and password easy to modifyGravatar Gediminas Jakutis 2019-04-101-1/+3
| | | | | | | | | | | | | 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>
* 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>
* 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-181-0/+62
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>