sujijoe / sms-pdu

Automatically exported from code.google.com/p/sms-pdu
0 stars 0 forks source link

Text address patch #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes network operator sends sms with text address (mostly ads or
notification about nwe services). To decode it change PopAddress method and
add check:

if (0x0D == addressType >> 4) {
    address = Decode7bit(address, (int)Math.Truncate(address.Length * 4.0 /
7.0));
    } 

Regards,
Janek

Original issue reported on code.google.com by jan.j.po...@gmail.com on 8 Mar 2010 at 9:13

GoogleCodeExporter commented 9 years ago
Applied code changes to trunk

Original comment by per.malm...@gmail.com on 14 Nov 2010 at 12:16