How to send a faulta data message? | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through October 19, 2005 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
How can I send a faulty data message (a corrupted one) that is not recognised as a data message with NowSMS? PS. Messages like these should be recognised as 'normal' ones by the mobile. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 4926 Registered: 10-2002 |
I'm sorry, but I don't understand your question. Exactly what type of corrupt message do you want to submit? | |||
Anonymous |
For example a logo missing a header? | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 4945 Registered: 10-2002 |
Just leave it out. For that type of message, you're generating all of the binary data yourself, so just send the binary message with the bytes missing. (If you are using our web form to send the message, do a "View Source" and look at the Javascript which is doing some very simple work. You could easily transmit the same directly as a binary by just adding a few header bytes. Then once you have that working, remove the bytes that you don't want.) | |||
kpax Unregistered guest |
I have same kind of problem. What im trying to do is this: I want to send message that has been data message, but i have modified it so that phone cant regonize it as data message. So that phone should receive it as normal sms (and user could see all the settings in SMS and save those manually to connection profiles). So, Here we have a data message: <?xml version="1.0"?> <!DOCTYPE wap-provisioningdoc PUBLIC "-//WAPFORUM//DTD PROV 1.0//EN" "http://www.wapforum.org/DTD/prov.dtd"> <wap-provisioningdoc version="1.0"> <characteristic type="NAPDEF"> <parm name="NAPID" value="WAP_GPRS"/> <parm name="BEARER" value="GSM-GPRS"/> <parm name="NAP-ADDRESS" value="wap.sonera.net"/> <parm name="NAP-ADDRTYPE" value="APN"/> <parm name="CALLTYPE" value="ANALOG-MODEM"/> </characteristic> <characteristic type="PXLOGICAL"> <parm name="PROXY-ID" value="Sonera"/> <characteristic type="PXPHYSICAL"> <parm name="PHYSICAL-PROXY-ID" value="195.156.025.004"/> <parm name="PXADDR" value="195.156.025.004"/> <parm name="PXADDRTYPE" value="IPV4"/> <parm name="TO-NAPID" value="WAP_GPRS"/> <characteristic type="PORT"> <parm name="PORTNBR" value="80"/> </characteristic> </characteristic> <characteristic type="APPLICATION"> <parm name="APPID" value="w4"/> <parm name="TO-PROXY" value="195.156.025.004"/> <parm name="ADDR" value="195.156.025.004"/> </characteristic> </wap-provisioningdoc> Can i somehow modify this so that when i send this with nowsms to phone, phone shows it as normal SMS? I tried this but everytime I modified it, phone still showed it as data message. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5060 Registered: 10-2002 |
Hi kpax, I don't understand the point of this exercise, but I'll try to give you some pointers. If you want to send the XML as text, then just do it. You can go to the "Send Text Message" page, and paste this in the text field. It's going to go out as 9 or 10 concatenated SMS messages. If you want us to convert the XML to WBXML, and then send it out wrong, we don't have an option to do that. (Needless to say, that is not a commonly requested feature.) But, if after sending the message out correctly, you want to extract the data from the message that was sent out, as detailed in the SMSOUT-yyyymmdd.LOG file ... you can then submit that data in a corrupt manner. You would need to modify or omit the UDH in order to have the phone receive the message as a normal SMS, as the UDH tells the phone that it is a WAP push message. -bn |