diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-08-02 14:29:29 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-08-02 14:29:29 +0200 |
commit | bb5f109e0d256a54dfda990478f8586e50c7a270 (patch) | |
tree | c76d70b087ee17c3fe7aab4245ea35f9314e110f /include | |
parent | a96ecf444657f3bfc43642c09e4536514546bb2d (diff) | |
download | external_libsamsung-ipc-bb5f109e0d256a54dfda990478f8586e50c7a270.zip external_libsamsung-ipc-bb5f109e0d256a54dfda990478f8586e50c7a270.tar.gz external_libsamsung-ipc-bb5f109e0d256a54dfda990478f8586e50c7a270.tar.bz2 |
disp: Proper icon info structure and flags
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include')
-rw-r--r-- | include/disp.h | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/include/disp.h b/include/disp.h index 1727b8f..7aad5ee 100644 --- a/include/disp.h +++ b/include/disp.h @@ -32,14 +32,28 @@ #define IPC_DISP_RSSI_INFO 0x0706 /* + * Values + */ + + +#define IPC_DISP_ICON_INFO_FLAG_RSSI 0x01 +#define IPC_DISP_ICON_INFO_FLAG_BATTERY 0x02 +#define IPC_DISP_ICON_INFO_FLAG_HDR_RSSI 0x03 +#define IPC_DISP_ICON_INFO_FLAG_ALL 0xFF + +/* * Structures */ -struct ipc_disp_icon_info_data { +struct ipc_disp_icon_info_response_data { + unsigned char flags; // IPC_DISP_ICON_INFO_FLAG unsigned char rssi; - unsigned char bars; - unsigned char act; - unsigned char reg; + unsigned char hdr_rssi; + unsigned char battery; +} __attribute__((__packed__)); + +struct ipc_disp_icon_info_request_data { + unsigned char flags; // IPC_DISP_ICON_INFO_FLAG } __attribute__((__packed__)); struct ipc_disp_rssi_info_data { |