#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "status.h" #include "cell_dev.h" #include "cell_pdp.h" #include "phone.h" #include "modem.h" #include "wifi.h" void app_home_page(EVEWindow *window, EVEViewStack *stack) { EVEWidgetSpec spec[] = { { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, .widget.spec.page.title = "Phone", .widget.spec.page.constructor = app_phone }, { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, .widget.spec.page.title = "WiFi", .widget.spec.page.constructor = app_wifi }, { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, .widget.spec.page.title = "Cellular data", .widget.spec.page.constructor = app_cell_pdp }, { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, .widget.spec.page.title = "Modem", .widget.spec.page.constructor = app_modem }, }; EVEForm *form = app_form_create(window, stack, spec, 4, NULL, NULL); } int main() { printf("\nREADY.\n"); eos_init(); app_screen_init(app_home_page); app_status_init(); app_phone_init(); app_wifi_init(); app_cell_pdp_init(); eos_evtq_loop(); }