| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Some <can't use the command line> forgot to call .display()
to actually push all the graphics to screen.
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>
|
|\
| |
| |
| | |
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: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
Line drawing code no longer assumes a particular screen as long as
it's interface includes OLEDDisplay.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Only a single function is a stub now --- the actual drawing.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
espmake is not used anymore, so removed the find_program() of it.
Lack of nproc is now handled gracefully and won't make it error out.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|/
|
|
|
|
|
|
| |
No longer depends on having the adhoc "espmake" in $PATH.
This change now requires a few more explicit meson configuration options
to build the firmware.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|
|
|
|
|
| |
Every function is a stub now. Reimplementaion coming up.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
|\
| |
| |
| | |
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
| |
| |
| |
| | |
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
Added const where appropriate to satisfy stricter type checking of
C++.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
| |\
| | |
| | |
| | | |
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
| | |
| | |
| | |
| | |
| | | |
The code has a chance to compile now. No changes to actual build files
yet.
|
| |/
|/|
| |
| | |
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
| |
| |
| |
| | |
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|/
|
|
| |
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Forgot to remove device-specific code from common protocol code.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Parts of protocol specific for device are implementepd to reflect the
fact that the device is a client. This effectively means that device
gets a single connection only and severe memory restrictions about
which the daemon might get informed about in the future.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most functions exposed in protocol.h take a connection descriptor
(cd_t) as first argument. This allows for multiple connections. Device
gets only one connection which means that cd_t is effectively 0 all
the time.
Additionaly, any function that actually does anything with a
connection descriptor instead of just passing it to another function
must be implemented separately in device and daemon.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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>
|