Esato

Forum > Sony Ericsson / Sony > Technical > SMSes to a specified port using AT commands

Author SMSes to a specified port using AT commands
lagu2653
T68 gold
Joined: Jun 04, 2004
Posts: 8
PM
Posted: 2004-11-03 19:05
Reply with quoteEdit/Delete This PostPrint this post
Is it possible to send SMSes to a specified port of a P900 phone by using AT commands sent from my PC to a SE K700i phone connected to the PC via USB? (The K700i works as an SMS Gateway) In Java you write sms://+461234567:14500 to send a SMS to port 14500. I need to make a server process send SMSes.


Thanks, Lars
lagu2653
T68 gold
Joined: Jun 04, 2004
Posts: 8
PM
Posted: 2004-11-05 16:49
Reply with quoteEdit/Delete This PostPrint this post
I solved the problem. I downloaded this brilliant software:
http://www.nobbi.com/download/pduspy.zip
and it gave me the following information:

Code:
PDU LENGTH IS 40 BYTES 

ADDRESS OF DELIVERING SMSC
NUMBER IS : +46705008999
TYPE OF NR. : (0x10) International
NPI : (0x01) ISDN/Telephone (E.164/163)

MESSAGE HEADER FLAGS (0x44)
MESSAGE TYPE : SMS DELIVER
MSGS WAITING IN SC : NO
REQ. STATUS REPORT : NO
USER DATA HEADER : PRESENT
REPLY PATH : NO

ORIGINATING ADDRESS
NUMBER IS : +46123456789
TYPE OF NR. : (0x10) International
NPI : (0x01) ISDN/Telephone (E.164/163)

PROTOCOL IDENTIFIER (0x00)
MESSAGE ENTITIES : SME-to-SME
PROTOCOL USED : Implicit / SC-specific

DATA CODING SCHEME (0x00)
COMPRESSION : OFF
MESSAGE CLASS : NONE
ALPHABET USED : 7bit default

SMSC TIMESTAMP : 05-11-04 13:30:57 GMT+1,00

USER DATA PART OF SM
USER DATA LENGTH : 14 septets
UDH LENGTH : 6
UDH : 05 04 40 74 00 00
UDH ELEMENTS : 05 APPL. PORT ADDRESSING 16BIT
04 Bytes Information Element
0 / 0000 SOURCE port
is: allocated by IANA
16500 / 4074 DESTINATION port
is: unknown app.
------------- DATA -------------
61 F1 38 26 9B 01
USER DATA (TEXT) : abc123


Notice the part below of the text above:
16500 / 4074 DESTINATION port

It's the destination port part of the UDH-header.

Lars

[ This Message was edited by: lagu2653 on 2004-11-05 15:51 ]

[ This Message was edited by: lagu2653 on 2004-11-05 15:54 ]
Access the forum with a mobile phone via esato.mobi