summaryrefslogtreecommitdiff
path: root/src/pdu.h
diff options
context:
space:
mode:
authorBrandon Bayer <bbayer@multitech.com>2015-11-16 09:59:15 -0600
committerBrandon Bayer <bbayer@multitech.com>2015-11-17 09:27:36 -0600
commitd8be565fc564cbd6e3beaddb3fc77b311abf2359 (patch)
tree5c6e960dee414104cd1e0ba227ac674bfc9cf7f1 /src/pdu.h
parentf3b916f22265f3f173987e28d8fdc2c8a3502519 (diff)
downloadsms-utils-d8be565fc564cbd6e3beaddb3fc77b311abf2359.tar.gz
sms-utils-d8be565fc564cbd6e3beaddb3fc77b311abf2359.tar.bz2
sms-utils-d8be565fc564cbd6e3beaddb3fc77b311abf2359.zip
feat: implement IRA->GSM character set encoding & decoding0.0.10
This adds support for certain characters like @ $ ~ ^
Diffstat (limited to 'src/pdu.h')
-rw-r--r--src/pdu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pdu.h b/src/pdu.h
index 58f88e0..9dfddd4 100644
--- a/src/pdu.h
+++ b/src/pdu.h
@@ -25,6 +25,10 @@ extern char *strptime(const char *s, const char *format, struct tm *tm);
#define PDU_VPF_RELATIVE_2DAYS 0xA8
+#define GSM_TABLE_SIZE 128
+extern char strGSMTable[];
+extern char strExtendedTable[];
+
struct pdu_addr {
char addr[PDU_ADDR_SIZE];
uint8_t type;