buggnokii - Bugs: bug #31432, Problem decoding alphanumeric...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #31432: Problem decoding alphanumeric sender address SMS

Submitted by:  Alex <alex24>
Submitted on:  Sun 24 Oct 2010 12:05:31 PM UTC  
 
Category: gnokiiSeverity: 3 - Normal
Item Group: minor malfunctionStatus: Ready For Test
Privacy: PublicAssigned to: Pawel Kot <pkot>
Open/Closed: Open

Thu 27 Jan 2011 08:59:38 AM UTC, comment #1:

First, the issue should be addressed within current GIT version. Can you please check?

Second, I think alphanumeric cannot be ISDN numbering scheme. I mean there is no constraint in the spec, but it just doesn't make sense.

Pawel Kot <pkot>
Project AdministratorIn charge of this item.
Sun 24 Oct 2010 12:05:31 PM UTC, original submission:

I had a couple of problems decoding alphanumeric sender addresses for received SMS's. It was in gsm-encoding.c in char_bcd_number_get:

- The Type of address value (0xd1) was not recognised (i.e. alphanumeric + ISDN)

- The length passed to char_7bit_unpack was 1 byte too large

Here is my hack to fix it, but the 0xd1 needs to be added to the list of types I guess:

1104,1105c1104,1106
< char_7bit_unpack(0, length, length, number + 2, buffer);
< buffer[length] = 0;
---

> case 0xd1:
> char_7bit_unpack(0, length - 1, length, number + 2, buffer);
> buffer[length - 1] = 0;


I am using gnokii 0.6.28 but it seems to be there on git also.

I am reading the SIM using a card reader:

[global]
model = APDU
connection = libpcsclite
port=0

[logging]
debug = on
rlpdebug = off
#xdebug = on

The SIM is for the Spanish Orange network. Telephone is a Sony Ericsson T250i.

Alex <alex24>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pkot (Posted a comment)
  • -unavailable- added by alex24 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 27 Jan 2011 08:59:38 AM UTCpkotStatusNone=>Ready For Test
      Assigned toNone=>pkot

    Back to the top


    Powered by Savane 3.1-cleanup1