Can NOT send a mms via MM1...??? | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through February 20, 2004 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
Hi, My GPRS modem has established a GPRS dial-up connection to the appropriate GPRS network already. Then I send a WTP Invoke PDU via UDP socket to WAP gateway/MMSC as follow, but Why I receive nothing instead of a WTP Result PDU...??? Note: The gateway is an actural gateway instead of NowSMS gateway. /*********************************************/ 0A 00 03 //TID 12 01 //Connect type: S-Connect.req 10 //Version 0A //capabilities len 3D //headers len 04 80 8F F8 00 //Client SDU size=2040 04 81 8F F8 00 //Server SDU Size=2040 80 83 80 //??? 61 70 70 6C 69 63 61 74 69 6F 6E 2F 76 6E 64 2E 77 61 70 2E 6D 6D 73 2D 6D 65 73 73 61 67 65 00 //application/vnd.wap.mms-message /*********************************************/ By the way, what are the means of the byte "0x80 0x83 0x80"??? | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1473 Registered: 10-2002 |
Well, this is the support forum for the Now SMS/MMS Gateway. So my first suggestion would be that you would get further if you used our product. I must admit that I'm a little concerned that you're sending packets where you're not sure about the meaning of some of the information included in the packet. And then you're surprised that you do not receive a response. The fields where you have a "???" mark are WSP headers. So I would refer you to the WAP WSP specification. In this particular case, they are "Accept:" headers. "Accept: text/plain" and "Accept: application/vnd.wap.mms-message". My best guess for why you did not receive a response is that the "headers len" field appears to be incorrect, unless there are more headers that you have not included above. | |||
Anonymous |
Thank you, Bryce! Another question, is the hex '00' following the "application/vnd.wap.mms-message" necessary? Every string must be followed with a hex 'oo' as the end flag, is it correct? |