summaryrefslogtreecommitdiff
path: root/fw/fe310/test/cell_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/test/cell_dev.c')
-rw-r--r--fw/fe310/test/cell_dev.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/fw/fe310/test/cell_dev.c b/fw/fe310/test/cell_dev.c
deleted file mode 100644
index 9598bc4..0000000
--- a/fw/fe310/test/cell_dev.c
+++ /dev/null
@@ -1,31 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
-
-#include <eos.h>
-#include <dev/net.h>
-#include <net/cell.h>
-
-#include <eve/eve.h>
-#include <eve/eve_kbd.h>
-#include <eve/eve_font.h>
-#include <eve/screen/window.h>
-
-#include "app/app_root.h"
-#include "app/app_status.h"
-
-#include "cell_dev.h"
-
-static void cell_dev_handler(unsigned char type, unsigned char *buffer, uint16_t len) {
- switch (type) {
- case EOS_CELL_MTYPE_READY:
- app_status_msg_set("Modem ready", 1);
- break;
- }
- eos_net_free(buffer, 0);
-}
-
-void app_cell_dev_init(void) {
- eos_cell_set_handler(EOS_CELL_MTYPE_DEV, cell_dev_handler);
-}