×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2004
    Location
    berlin
    Posts
    8

    Listening incoming sms using RSocket with application port addressing

    Hi,

    is that possible to listen any incoming sms on some user defined port? I use RSocket to send and receive sms without user interaction. There's no problem to send a sms with user defined port using application port addressing but how can I set the RSocket to listen any incoming sms in some user defined port number?

    It works if I just set the RSocket to bind any incoming sms based on text match. But if the incoming sms has a user defined port /application port addressing on its user data header then the RSocket can't recognize it and the sms will come directly into inbox.

    The sms body is encrypted, it's a 8bit sms, class 1 and I assumed that if there's no application port addressing on user data header then at the end you will get some "wrong" byte hexs (i.e. byte-hex from 0x80 until 0x9f would be converted as 0x1a or 0x01). Even, if the incoming sms has only one wrong byte-hex on the body, you can't decrypt it..

    For example:
    sms body in byte-hex: (from sms gateway server without application port addressing on udh):
    02 6f 30 bb 0d 5c bd 61 44 98 8e db 85 29 8c a2 aa 5c 23 a2 ec 00 d2 b7 e6 bf 4e 4f 7c 76 ab c4 8a 71 6d 89 36 91 f8 fc 7d 4a a3 21 7a aa dd
    incoming sms body in byte-hex on device:
    02 6f 30 bb 0d 5c bd 61 44 01 01 db 01 29 01 a2 aa 5c 23 a2 ec 00 d2 b7 e6 bf 4e 4f 7c 76 ab c4 01 71 6d 01 36 01 f8 fc 7d 4a a3 21 7a aa dd

    Can anyone explain this?

  2. #2
    Registered User
    Join Date
    Dec 2005
    Location
    Makati, PHI
    Posts
    13

    Re: Listening incoming sms using RSocket with application port addressing

    are you sending the text as sms-encoded? then you have to decode it first then the mesage is just a hexed string.
    Roger P. Filomeno
    *PGP IDs: 0xCB5F3FF7 / 0xBC0BFBA2 ([url]http://keyserver.pgp.com[/url])
    Mobile Specialist / R&D
    Finger Apps Inc, [url]http://fingerapps.com[/url]
    MyAyala Mobile, [url]http://myayala.com[/url]
    MegaMobile Inc
    Friendster Mobile Philippines, [url]http://friendster.com[/url]
    KayaMoney e-Commerce, [url]http://kayamoney.com/[/url]
    *Registered Linux User # 367694
    *VOIP # 6539822 (InPhonex)

Posting Permissions

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