Interactive SMS  
SMPP

SMS-рассылки от 3 коп. за SMS!!!

    О проекте     Вопросы и ответы     Статьи     Архив     Утилиты     Программы     Обратная связь    

TP-USER DATA (TPUD) для передачи настроек WAP сервиса посредством OTA
При передаче настроек WAP используется MIME-type: application/x-wap-prov.browser-settings.

Пример XML файла для передачи настроек WAP
<?xml version="1.0"?>
<!DOCTYPE CHARACTERISTIC-LIST SYSTEM "file://c:/settingspush/settings.dtd" >
<CHARACTERISTIC-LIST>
<CHARACTERISTIC TYPE="ADDRESS">
<PARM NAME="BEARER" VALUE="GSM/CSD"/>
<PARM NAME="PROXY" VALUE="123.45.123.67"/>
<PARM NAME="CSD_DIALSTRING" VALUE="+4583572"/>
<PARM NAME="PPP_AUTHTYPE" VALUE="PAP"/>
<PARM NAME="PPP_AUTHNAME" VALUE="wapuser"/>
<PARM NAME="PPP_AUTHSERCRET" VALUE="wappassw"/>
<PARM NAME="CSD_CALLTYPE" VALUE="ANALOGUE"/>
<PARM NAME="CSD_CALLSPEED" VALUE="AUTO"/>
</CHARACTERISTIC>
<CHARACTERISTIC TYPE="URL" VALUE=" http://wap.dk "/>
<CHARACTERISTIC TYPE="NAME">
<PARM NAME="NAME" VALUE="ABC Service"/>
</CHARACTERISTIC>
<CHARACTERISTIC TYPE="BOOKMARK">
<PARM NAME="NAME" VALUE="Wap"/>
<PARM NAME="URL" VALUE="http://wap.dk "/>
</CHARACTERISTIC>
</CHARACTERISTIC-LIST>


Пример XML файла для передачи настроек WAP при кодировании
Содержание SMS - SMS 1 из 2

Бинарная величинаСодержаниеОписание
0BUser-Data-Header (UDHL) Length = 11 bytesWDP layer (start WDP headers)
05UDH IE identifier: Port numbers 
04UDH port number IE length 
C3Destination port (high)Port number 49999
4FDestination port (low)
C0Originating port (high) 
02Originating port (low) 
00UDH IE identifier: SAR 
03UDH SAR IE length 
04Datagram ref no. 
02Total no. of segments in datagram 
01Segment countWDP layer (end WDP headers)
01Transaction ID / Push IDWSP layer (start WSP headers)
06PDU type (push) 
2CHeader length (content type+headers) 
1Fvalue length quotelength greater than 30
2Avalue length (value name not used) 
61,70,70,6C,69,63,61,74,69,
6F,6E,2F,78,2D,77,61,70,2D,
70,72,6F,76,2E,62,72,6F,77,
73,65,72,2D,73,65,74,74,69,
6E,67,73
'a','p','p','l','i','c','a','t','i','o','n','/','x','-',
'w','a','p','-',
'p','r','o','v','.','b','r','o','w','s','e','r','-',
's','e','t','t','i','n','g','s'
MIME-Type = browser settings
00Null termination of content type string 
81charset (well known PARM.(short integer)) 
EAUTF-8 (using short integer)WSP layer (end WSP headers)
01VersionWBXML 1.1
01Unknown public identifier 
6ACharsetUTF-8
00string table length 
45CHARACTERISTIC_LIST with contenttag
C6CHARACTERISTIC with content and attributestag
06TYPE=ADDRESSattribute name with prefix
01end (attributes) 
87PARM with attributestag
12NAME=BEARERattribute name with prefix
45VALUE=GSM/CSDattribute name with prefix
01end (PARM) 
87PARM with attributestag
13NAME=PROXYattribute name with prefix
11VALUEattribute name
03Inline stringattribute value
31,32,33,2E,34,35,2E,
31,32,33,2E,36,37
'1','2','3','.','4','5','.','1','2','3','.','6','7' 
00end inline string 
01end (PARM) 
87PARM with attributestag
21NAME=CSD_DIALSTRINGattribute name with prefix
11VALUEattribute name
03inline string attribute value
2B,34,35,38,33,35,37,32'+','4','5','8','3','5','7','2' 
00end inline string 
01end (PARM) 
87PARM with attributestag
22NAME=PPP_AUTHTYPE attribute name with prefix
70VALUE=PAPattribute name with prefix
01end (PARM) 
87PARM with attributestag
23NAME=PPP_AUTHNAMEattribute name with prefix
11VALUEattribute name
03inline stringattribute value
77,61,70,75,73,65,72'w','a','p','u','s','e','r' 
00end inline string 
01end (PARM) 
87PARM with attributestag
24NAME=PPP_AUTHSECRETattribute name with prefix
11VALUEattribute name
03inline stringattribute value
77,61,70,70,61,73,73,77'w','a','p','p','a','s','s','w' 
00end inline string 
01end (PARM) 
87PARM with attributestag
28NAME=CSD_CALLTYPEattribute name with prefix
72VALUE=ANALOGUEattribute name with prefix
01end (PARM) 
87PARM with attributestag


Содержание SMS - SMS 2 из 2
Бинарная величинаСодержаниеОписание
0BUser-Data-Header (UDHL) Length = 11 bytesWDP layer (start WDP headers)
05UDH IE identifier: Port numbers 
04UDH port number IE length 
C3Destination port (high)Port number 49999
4FDestination port (low)
C0Originating port (high) 
02Originating port (low) 
00UDH IE identifier: SAR 
03UDH SAR IE length 
04Datagram ref no. 
02Total no. of segments in datagram 
02Segment countWDP layer (end WDP headers)
29NAME=CSD_CALLSPEEDattribute name with prefix
6AVALUE=AUTOattribute name with prefix
01end (PARM) 
01end (CHARACTERISTIC) 
86CHARACTERISTIC with attributestag
07TYPE=URLattribute name with prefix
11VALUEattribute name
03inline stringattribute value
68,74,74,70,3A,2F,2F,
77,61,70,2E,64,6B
'h','t','t','p',':','/','/','w','a','p','.','d','k' 
00end inline string 
01end (attributes) 
C6CHARACTERISTIC with content and attributestag
08TYPE=NAMEattribute name with prefix
01end attributes 
87PARM with attributestag
15NAME=NAMEattribute name with prefix
11VALUEattribute name
03inline stringattribute value
41,42,43,20,53,65,72,76,
69,63,65
'A','B','C',' ','S','e','r','v','i','c','e' 
00end inline string 
01end (PARM) 
01end (CHARACTERISTIC) 
C6CHARACTERISTIC with content and attributestag
7FTYPE=BOOKMARKattribute name with prefix
01end attributes 
87PARM with attributestag
15NAME=NAMEattribute name with prefix
11VALUEattribute name
03inline stringattribute value
41,42,43,20,57,61,70'A','B','C',' ','W','a','p' 
00end inline string 
01end (PARM) 
87PARM with attributestag
17NAME=URLattribute name with prefix
11VALUEattribute name
03inline string attribute value 
68,74,74,70,3A,2F,2F,
77,61,70,2E,64,6B
'h','t','t','p',':','/','/','w','a','p','.','d','k' 
00end inline string 
01end (PARM) 
01end (CHARACTERISTIC) 
01end (CHARACTERISTIC_LIST) 
  wlxml2xml & xml2wlxml  
Нужен ли сервис на сайте?
Да (774)50%
Нет (515)33%
Все равно (222)14%
gsm 7 (22)1%
Другой  

Предыдущие голосования
 
  Реклама  
sms2web - легкий путь стать контент-провайдером

 
  Новости-OnLine  

Архив Новостей

 
  Статьи  
 
  Статистика  
  • Посещений:15369911
  • Форумов:13
  • Тем:1367
  • Сообщений:6289
  • Пользователей:6043