OTA

OTA SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through April 11, 2011 » OTA « Previous || Next »
Author Message
John S
New member
Username: Jstr

Post Number: 1
Registered: 03-2011
Posted on Friday, March 25, 2011 - 02:38 pm:   

I am happily using the HTTP interface for text messages under program control. (we use c# mainly)

I want to send some binary OTA messages to individual customers of ours to configure their APNs for them.

I see that I can send HEX bytes as UDH and Binary data, using the HTTP interface

And I see from your web interface that I can generate some XML very quickly.

How do I get that XML into the right UDH / Binary strings to send from my program?

This is what I get from the web interface, which is what I want to send:

<wap-provisioningdoc>
- <characteristic type="NAPDEF">
<parm name="NAPID" value="_NAPID" />
<parm name="BEARER" value="GSM-GPRS" />
<parm name="NAP-ADDRESS" value="NewAPN" />
<parm name="NAP-ADDRTYPE" value="APN" />
<parm name="INTERNET" />
</characteristic>
</wap-provisioningdoc>
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3060
Registered: 08-2008
Posted on Monday, March 28, 2011 - 07:24 pm:   

Hi John,

Sorry for the delay in response.

The easiest thing to do is post that XML and let NowSMS generate the UDH/binary code.

See the HTTP POST format info in the following link:

http://www.nowsms.com/doc/submitting-sms-messages/sending-xml-settings-documents -and-objects

We also posted a PHP example here:

http://www.nowsms.com/send-oma-client-provisioning-ota-xml-via-php

And a command line example here:

http://www.nowsms.com/send-oma-client-provisioning-ota-xml-settings-from-the-com mand-line

Neither of those examples are particularly relevant to you, but I included them for others that may be searching in the future and end up on this page.

--
Des
NowSMS Support

Login Login / Register Logout Logout Search Last 30 Days Topics Topics