Commit Graph

19 Commits

Author SHA1 Message Date
1cbd2130db Add lightswitch to this firmware 2017-12-20 17:04:51 +01:00
fae52bb543 Add MQTT buttons! 2017-12-02 23:34:16 +01:00
b8e5637c8b First start of MQTT buttons 2017-12-02 16:51:09 +01:00
980ac4c7cf Remove 'user_data' arg from widget_set_handler 2017-12-02 13:42:32 +01:00
3cb5fc18e7 add widget_ev_to_str(); Pass 'ed' through to EV_WIDGET_TOUCH_{UP,DOWN} calls 2017-11-26 19:27:57 +01:00
e826324244 Plumb default_widget_handler and default_user_data for widgets read from JSON/File 2017-11-26 19:06:44 +01:00
a11336703e unit test 'img' and 'label' fields in widget 2017-11-26 18:38:59 +01:00
58fe68c6e3 Reformat test_screen() output to show what we're doing 2017-11-26 16:57:45 +01:00
e027c4d65b Fix typo 2017-11-26 16:52:31 +01:00
6c4c1b3d95 Unit test for widget_set_timer() 2017-11-26 16:51:59 +01:00
83b0d346ae Add unit tests that catch invalid 'screen' and 'widget' JSON data. 2017-11-26 16:01:08 +01:00
fd68b1ec03 Refactor app to use 'screen with widgets' rather than 'widgets' 2017-11-26 15:01:59 +01:00
3e2e9d4e5b Add screen.[ch] and unit tests 2017-11-26 14:18:43 +01:00
6985b30dc2 Add a simple unit test for widget_add_from_file() 2017-11-26 11:28:09 +01:00
caed302f2f Refactor makefile to include SRCS 2017-11-26 10:57:49 +01:00
a42ba88db7 Fix 'make clean' to clean up frozen/frozen.o 2017-11-26 10:49:33 +01:00
e924a64950 Move frozen to its own subdir 2017-11-26 10:48:10 +01:00
a8282618a3 Fix ll_str length 2017-11-26 10:44:11 +01:00
705c65c6c9 Mostly empty unit tests -- added mgos_mock to be able to run unit tests on x86_64 2017-11-26 10:43:44 +01:00