Update sms-counter.py

updated the char maps. This seems more accurate.
This commit is contained in:
Dayo Ayeni 2016-09-28 11:00:23 +01:00 committed by GitHub
parent ea2c5a09c0
commit 79373c49c9
1 changed files with 10 additions and 18 deletions

View File

@ -21,28 +21,20 @@ class SMSCounter():
def get_gsm_7bit_map(self):
return(
[64, 163, 36, 165, 232, 233, 249,
236, 242, 199, 92, 110, 216, 248,
92, 114, 197, 229, 916, 95, 934,
915, 923, 937, 928, 936, 931, 920,
926, 198, 230, 223, 201, 32, 33, 92,
34, 35, 164, 37, 38, 39, 40, 41, 42,
43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63, 161, 65, 66, 67, 68, 69,
70, 71, 72, 73, 74, 75, 76, 77, 78,
79, 80, 81, 82, 83, 84, 85, 86, 87,
88, 89, 90, 196, 214, 209, 220, 167,
191, 97, 98, 99, 100, 101, 102, 103,
104, 105, 106, 107, 108, 109, 110,
111, 112, 113, 114, 115, 116, 117,
118, 119, 120, 121, 122, 228, 246,
241, 252, 224]
[10,13,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,
51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,
71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
92,95,97,98,99,100,101,102,103,104,105,106,107,108,109,110,
111,112,113,114,115,116,117,118,119,120,121,122,
161,163,164,165,191,196,197,198,199,201,209,214,
216,220,223,224,228,229,230,232,233,236,241,242,
246,248,249,252,915,916,920,923,926,928,931,934,
936,937]
)
def get_added_gsm_7bit_ex_map(self):
return [91, 93, 124, 8364, 123, 92, 125, 126, 94]
return [91,92,93,94,123,124,125,126,8364]
def get_gsm_7bit_ex_map(self):