Results 1 to 2 of 2

Thread: help- reading sms by the nokixdebug

  1. #1

    help- reading sms by the nokixdebug

    Hi I doing some practice whit some script and trying to read sms received in my pc whit the nokixstdout i pick the phone number all right converting from bcd but the data field I pick only garbage i think the conversion from 7bits to 8 bits is not working properly

    struct sms_received *smsrec;

    case MSG_SMS_RECEIVED:
    smsrec = (struct sms_received *) message.argv[0];
    strncpy(NroCel,(char *)smsrec->data+4,11);
    decode_bcd_phone(NroCelDec,(unsigned char *)NroCel);
    //strcpy(Mens,(char *)smsrec->data+23);
    unpack_7bits_string((char *)MensDec,(char *)smsrec->data+23,20);


    freegfx_begin(true); // begin screen drawing session (with screen clearing)

    own_print_string("smsrecibido", // string to be printed
    0,10, // position in pixels (x,y)
    own_get_font("small/plain"), // font to be used
    DM_SET); // drawing mode
    printf("\nSMSC: %s\nDATA: %s \n",NroCelDec,MensDec);
    printf(smsrec->smsc);
    printf("%s",smsrec->data+23);
    freegfx_end(false); // end screen drawing session
    break;

    If someone can help me please

  2. #2
    Join Date
    Mar 2002
    Location
    Netherlands
    Posts
    3,163
    Hi,

    >> i think the conversion from 7bits to 8 bits is not working properly

    I have an independent convertor, if U like, I could try to see whetter this conversion is done correctly for U.

    But I need some bytes then, either here or on pm.

    I can't help U on checking the possible other things that might be wrong.

    NokDoc
    U can checkout anytime U like, but U can never leave!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem reading 3210
    By virtuosity14 in forum DCT 3 Flashing / Upgrading / Modding
    Replies: 1
    Last Post: 10-05-2005, 07:41 AM
  2. pdf and chm reading
    By Fking in forum Nokia Symbian Apps Reviews
    Replies: 0
    Last Post: 07-03-2005, 12:52 AM
  3. Error reading 3310 v5.03 flash
    By pincon_benoist in forum 32XX / 33XX / 34XX / 35XX [Closed]
    Replies: 3
    Last Post: 04-02-2003, 09:19 AM
  4. reading a fullflash
    By darkdrake in forum Software [Closed]
    Replies: 0
    Last Post: 19-11-2002, 10:10 AM
  5. Replies: 2
    Last Post: 28-10-2002, 09:43 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •