WAP Gateway Connection problem (Siemens MC75 GPRS modem)

WAP Gateway Connection problem (Siemens MC75 GPRS modem) SearchSearch
Author Message
Anonymous
 
Posted on Wednesday, February 08, 2006 - 05:51 am:   

Hi there,

I'm writing a program, which sends MMS messages through siemens gprs modem. However, I meet a problem that the program always receive wsp status code : 0x60(i.e.Internal Server Error) after sent out mms data to gateway.

here is the session of communication if I send Connect without headers but with capability negotiation:

Sending 0
WDP --> 0A 00 03 12 01 10 0A 00 04 80 8F F8 00 04 81 8F F8 00
WDP <-- 12 80 03 03 40 C4 00 C0 32 D2 F1 C7 CC
[WTP] RESULT RECEIVED!
[WSP] REDIRECT PDU

Sending 1 (to newer address : 210.241.199.204, port : 49202)
WDP --> 0A 00 03 12 01 10 0A 00 04 80 8F F8 00 04 81 8F F8 00
WDP <-- 12 80 03 02 C8 A9 DB 3C 0A 74 04 80 8F F8 00 04 81 8F F8 00 78 2D 75 70 2D 70 72 6F 78 79 2D 62 6F 6F 6B 6D 61 72 6B 00 68 74 74 70 3A 2F 2F 6D 79 68 6F 6D 65 70 61 67 65 2F 6D 61 72 6B 00 78 2D 75 70 2D 70 72 6F 78 79 2D 75 70 6C 69 6E 6B 2D 76 65 72 73 69 6F 6E 00 35 2E 31 2E 32 2E 36 00 78 2D 75 70 2D 70 72 6F 78 79 2D 68 6F 6D 65 2D 70 61 67 65 00 68 74 74 70 3A 2F 2F 6D 79 68 6F 6D 65 70 61 67 65 00

[WTP] RESULT RECEIVED!
[WSP] CONNECT_REPLY PDU
[WTP] ACK SENT!
WDP --> 18 00 03

Packets in queue: 53
Sending 0
WDP --> 08 00 04 12 60...(i.e.total 260 bytes per packet)
Sending 1
WDP --> 28 00 04 01...
Sending 2
WDP --> 28 00 04 02...
Sending 3
WDP --> 2C 00 04 03...
WDP <-- 98 80 04 99 03 13 04 2A 30
[WTP] Ok. Group Ack by the Responder (short TPI)
Sending 4
WDP --> 28 00 04 04...
Sending 5
WDP --> 28 00 04 05...
Sending 6
WDP --> 28 00 04 06...
Sending 7
WDP --> 2c 00 04 07...
WDP <-- 98 80 04 19 07
[WTP] Ok. Group Ack by the Responder (short TPI)
Sending 8
WDP --> 28 00 04 08...
Sending 9
WDP --> 28 00 04 09...
Sending 10
WDP --> 28 00 04 0a...
Sending 11
WDP --> 2c 00 04 0b...
WDP <-- 98 80 04 19 0b
[WTP] Ok. Group Ack by the Responder (short TPI)
Sending 12
WDP --> 28 00 04 0c...
Sending 13
WDP --> 28 00 04 0d...
Sending 14
WDP --> 28 00 04 0e...
Sending 15
WDP --> 2c 00 04 0f...
WDP <-- 98 80 04 19 0f
[WTP] Ok. Group Ack by the Responder (short TPI)
Sending 16
WDP --> 28 00 04 10...
Sending 17
WDP --> 28 00 04 11...
Sending 18
WDP --> 28 00 04 12...
Sending 19
WDP --> 2c 00 04 13...
WDP <-- 98 80 04 19 13
[WTP] Ok. Group Ack by the Responder (short TPI)
Sending 20
WDP --> 28 00 04 14...
Sending 21
WDP --> 28 00 04 15...
Sending 22
WDP --> 28 00 04 16...
Sending 23
WDP --> 2c 00 04 17...
WDP <-- 13 80 03 03 40 C4 00 C0 32 D2 F1 C7 CC
[WTP] RESULT AND RID=1 RECEIVED!
[WSP] REDIRECT PDU
[WTP] ACK SENT!
WDP --> 18 00 03
WDP <-- 98 80 04 19 17
[WTP] Ok. Group Ack by the Responder (short TPI)
Sending 24
WDP --> 28 00 04 18...
...
Sending 51
WDP --> 2c 00 04 33...
WDP <-- 98 80 04 19 13
[WTP] Ok. Group Ack by the Responder (short TPI)
Sending 52
WDP --> 2a 00 04 34...
WDP <-- 12 80 04 04 60...
[WTP] RESULT RECEIVED!
[WSP] REPLY PDU

the total data sent out is 13769 bytes. but the status code of reply wsp pdu always get 0x60 !!!
meanwhile, why sending 23 will get result and RID=1 pdu during the session ? I am wondering if the situation may cause the problem. what actions should I take ?

please help and thank you !!!