summaryrefslogtreecommitdiff
path: root/include/gsmd
diff options
context:
space:
mode:
Diffstat (limited to 'include/gsmd')
-rw-r--r--include/gsmd/state.h1
-rw-r--r--include/gsmd/usock.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/gsmd/state.h b/include/gsmd/state.h
index 65659ef..7162b4f 100644
--- a/include/gsmd/state.h
+++ b/include/gsmd/state.h
@@ -13,6 +13,7 @@ struct gsmd_device_state {
unsigned int network_state_gsm;
unsigned int network_state_gprs;
} ciph_ind;
+ unsigned int vibrator;
unsigned int on;
unsigned int registered;
unsigned int ringing;
diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h
index 7df22b2..bb03aa1 100644
--- a/include/gsmd/usock.h
+++ b/include/gsmd/usock.h
@@ -140,6 +140,8 @@ enum gsmd_msg_phone {
GSMD_PHONE_GET_REVISION = 6,
GSMD_PHONE_GET_SERIAL = 7,
GSMD_PHONE_GET_BATTERY = 8,
+ GSMD_PHONE_VIB_ENABLE = 9,
+ GSMD_PHONE_VIB_DISABLE = 10,
};
enum gsmd_msg_modem {
personal git repositories of Harald Welte. Your mileage may vary