summaryrefslogtreecommitdiff
path: root/include/gsmd
diff options
context:
space:
mode:
Diffstat (limited to 'include/gsmd')
-rw-r--r--include/gsmd/gsmd.h1
-rw-r--r--include/gsmd/usock.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/gsmd/gsmd.h b/include/gsmd/gsmd.h
index 0521dd5..fc26875 100644
--- a/include/gsmd/gsmd.h
+++ b/include/gsmd/gsmd.h
@@ -73,6 +73,7 @@ struct gsmd;
#define GSMD_FLAG_SMS_FMT_TEXT 0x0002 /* TODO Use TEXT rather than PDU mode */
#define GSMD_ATCMD_TIMEOUT 60 /* If doesn get respond within 60 secs, discard */
+#define GSMD_MAX_INFO_LEN 64 /* by the standard it should be 2048, way too much :) */
struct gsmd {
unsigned int flags;
diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h
index 21ab54e..4263cad 100644
--- a/include/gsmd/usock.h
+++ b/include/gsmd/usock.h
@@ -135,6 +135,10 @@ enum gsmd_msg_phone {
GSMD_PHONE_POWERUP = 1,
GSMD_PHONE_POWERDOWN = 2,
GSMD_PHONE_GET_IMSI = 3,
+ GSMD_PHONE_GET_MANUF = 4,
+ GSMD_PHONE_GET_MODEL = 5,
+ GSMD_PHONE_GET_REVISION = 6,
+ GSMD_PHONE_GET_SERIAL = 7,
};
enum gsmd_msg_modem {
personal git repositories of Harald Welte. Your mileage may vary