Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Andy Neil
08/15/06 00:10
Read: 845 times
Basingstoke
Uk


 
#122248 - No experiment!
Responding to: Hendryawan's previous message
Hendryawan said:
I will made experiment to solve my problem.

You don't need any more experiments!

You already have enough experimental data!

You need to work through your received PDUs, one octet at a time, referring to the tables in the links I provided (see the "two most useful" ones).

The tables describe each octet in sequence in a PDU - you just need to work through them, one octet at a time.

You do realise that an "octet" just means an 8-bit group; ie, a byte?

For example, your 1st PDU:
06912618010000040C9126183230494400006080416104518202D41F


Start by breaking it into octets:
06 91 26 18 01 00 ...


Then just work through rach octet in turn:

1st octet = 06 = Length of the SMSC information (in this case 6 octets)

2nd octet = 91 = Type-of-address of the SMSC. (91 means international format of the phone number)

So the SMSC info contains 6 octets; the first is the Type-of-address (above),
therefore the next 5 octets contain the remainder of the SMSC info; ie, the SMSC address (SCA) - as digit pairs

etc

Check your results by using the decoder provided.

Once you understand how to do this by hand, then you can code it for your 8051...

List of 27 messages in thread
TopicAuthorDate
GSM SMS control      Hendryawan      08/10/06 21:55      
   In the sms request...      Jez Smith      08/10/06 22:18      
      SMS in PDU format      Hendryawan      08/10/06 23:44      
         i found this about pduspy      Jez Smith      08/11/06 01:19      
         So why PDU?      Andy Neil      08/13/06 04:19      
      Not such a good idea      Andy Neil      08/15/06 01:04      
   The Originating Number *is* in the message      Andy Neil      08/13/06 05:50      
      try first        Hendryawan      08/13/06 21:07      
         That's the trouble with using a Phone      Andy Neil      08/14/06 00:11      
         help me with the same      Gaurav Gupta      08/15/06 01:47      
            Getting started      Andy Neil      08/15/06 02:18      
               gsm and 8051      Gaurav Gupta      08/20/06 23:35      
                  Nothing to add      Andy Neil      08/20/06 23:48      
            Butting-in      Andy Neil      08/15/06 02:26      
   All about PDU format      Andy Neil      08/14/06 01:09      
   example data      Hendryawan      08/14/06 18:44      
      Now you're just not trying!      Andy Neil      08/14/06 23:38      
   do experiment      Hendryawan      08/14/06 23:53      
      No experiment!      Andy Neil      08/15/06 00:10      
         wet horses      Jez Smith      08/15/06 01:01      
            silly horse!      Andy Neil      08/15/06 02:31      
      SMS with AT89C51      Jecksons Ben      10/19/06 02:54      
         Off-Topic, vague question      Andy Neil      10/19/06 04:51      
            AT89C51 with GSM      Jecksons Ben      10/20/06 02:16      
               Not here!      Andy Neil      10/20/06 02:45      
   thank you      Hendryawan      08/16/06 21:28      
   about the hardware      Gaurav Gupta      08/20/06 23:56      

Back to Subject List