Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. PDU to Text / String

PDU to Text / String

Scheduled Pinned Locked Moved C#
question
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    M Riaz Bashir
    wrote on last edited by
    #1

    Hi, I am reading inbox sms messages from gsm mobile some messages are being received by following format. Please let me know, how may I convert this into text / string to read easily?

    050003B60201AE65F6F8DD2E83E86F50D5FC769743206919CECE83EE693A1A146BCD40F437685E17CFC7F2B4B80CA2A3CBA079596E4F8FCBA0B719549583C6E8777A5C063DA5207919CECE83EE693A1A749A56852750DA0CCABFEBA07B7A8E06D1DFA0795D3C1FCBD3E23288FE0685D96CD0DB0CA2A3CBED9022D6AA52EBEEF21C040049E72E506C450DE35F

    Thank you (Riaz)

    L 1 Reply Last reply
    0
    • M M Riaz Bashir

      Hi, I am reading inbox sms messages from gsm mobile some messages are being received by following format. Please let me know, how may I convert this into text / string to read easily?

      050003B60201AE65F6F8DD2E83E86F50D5FC769743206919CECE83EE693A1A146BCD40F437685E17CFC7F2B4B80CA2A3CBA079596E4F8FCBA0B719549583C6E8777A5C063DA5207919CECE83EE693A1A749A56852750DA0CCABFEBA07B7A8E06D1DFA0795D3C1FCBD3E23288FE0685D96CD0DB0CA2A3CBED9022D6AA52EBEEF21C040049E72E506C450DE35F

      Thank you (Riaz)

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I do not know the structure of SMS messages, but I'm sure Google can find it for you. However, the above looks like hexadecimal so you just need to convert it to normal bytes.

      speaking as ...

      L 1 Reply Last reply
      0
      • L Lost User

        I do not know the structure of SMS messages, but I'm sure Google can find it for you. However, the above looks like hexadecimal so you just need to convert it to normal bytes.

        speaking as ...

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        I wonder what "normal bytes" are, they all look the same to me... :-D

        Luc Pattyn [My Articles] Nil Volentibus Arduum

        L 1 Reply Last reply
        0
        • L Luc Pattyn

          I wonder what "normal bytes" are, they all look the same to me... :-D

          Luc Pattyn [My Articles] Nil Volentibus Arduum

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          I changed it from "characters" as that seemed wrong; how would you describe it?

          speaking as ...

          L 1 Reply Last reply
          0
          • L Lost User

            I changed it from "characters" as that seemed wrong; how would you describe it?

            speaking as ...

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            I'd say it looks like some kind of encoding; half of the hex values shown are above 0x80, so it sure isn't just ASCII characters. Our friend Google would know, as you said. :)

            Luc Pattyn [My Articles] Nil Volentibus Arduum

            L 1 Reply Last reply
            0
            • L Luc Pattyn

              I'd say it looks like some kind of encoding; half of the hex values shown are above 0x80, so it sure isn't just ASCII characters. Our friend Google would know, as you said. :)

              Luc Pattyn [My Articles] Nil Volentibus Arduum

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              I meant rather "convert to ???". I know it's just a HEX representation of some message, and I also know that SMS messages contain lots of odd bits of information.

              speaking as ...

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups