summaryrefslogtreecommitdiffstats
path: root/include/l1ctl_proto.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2011-12-14 09:37:50 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2016-09-25 08:11:48 +0200
commit450a84eafc36e774045733c092a51aaa63bea862 (patch)
tree13bceb03c2ad123cc02db4c2ab9f7c445ade031a /include/l1ctl_proto.h
parent39f7b1595c33b7df16294f2a97e3b6a2abbfb170 (diff)
[HACK] Use display and keypad via L1CTL
This hack is just for demonstration.
Diffstat (limited to 'include/l1ctl_proto.h')
-rw-r--r--include/l1ctl_proto.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/l1ctl_proto.h b/include/l1ctl_proto.h
index 70de4bde..720a6885 100644
--- a/include/l1ctl_proto.h
+++ b/include/l1ctl_proto.h
@@ -57,6 +57,8 @@ enum {
L1CTL_TRAFFIC_CONF,
L1CTL_TRAFFIC_IND,
L1CTL_RINGER_REQ,
+ L1CTL_KEYPAD_IND,
+ L1CTL_DISPLAY_REQ,
};
enum ccch_mode {
@@ -311,4 +313,13 @@ struct l1ctl_ringer_req {
uint8_t volume;
} __attribute__((packed));
+struct l1ctl_keypad_ind {
+ uint8_t key;
+} __attribute__((packed));
+
+struct l1ctl_display_req {
+ uint8_t x, y;
+ char text[32];
+} __attribute__((packed));
+
#endif /* __L1CTL_PROTO_H__ */