Binary Data send | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through March 09, 2004 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
Hello, i ve one question about sending of binary Data.... in simple language : can i send RTTTL ringtones over this option ? I don't know whats Protocol ID and User Data Header and DataCodingScheme is . Can i ve more informations about there ? | |||
Bryce Norwood - NowSMS Support (Bryce) |
We're planning to add some additional parameters to make it easier to send these files. In the meantime, yes you can do this ... For the Protocol ID, use 0. For the Data coding scheme use F7. For the User Data Header to send a Nokia ring tone, use 06050415811581. To send an operator logo, change the UDH to 06050415821582. To send a CLI logo, change the UDH to 06050415831583. There's an example ring tone in the Nokia Smart Messaging Specification ... section 5.1.5. Enter the binary data as a continuous hex string ... for example, the ring tone in section 5.1.5 of the Nokia Smart Messaging specification would be expressed as: 024A3A51D195CDD004001B20550590610560558550548540820849900000 Hope that helps ... any further questions, just ask! -bn | |||
Tony |
Hello , thank you for the fast answer, very good services !!! But i have one more question ;o) (sorry my bad englsh -> im from Germany ) so i would like to know how i can convert bitmap or wpmp in binary Data. Is any converters on market or web availible ? i searching one day in web but nothing finds on there. If you know how i can create self Operator-Logos let me know about it i thank you PS : Your Services is one of the best i ve ever seen . Thank you | |||
Bryce Norwood - NowSMS Support (Bryce) |
There may be some better sources out there on the web ... But for quick and dirty conversions, try this: http://www.teraflops.com/wbmp/ It converts to WBMP or the Nokia OTA-bitmap format that you need for operator logos. Note for other Nokia smart messaging services, besides the ones that I've mentioned above ... you usually have to change the port number in the UDH header. If you use the examples above, you can usually change a couple of bytes to get the port that you need for a different service. For example, the ring tone reader is on NBS port 5505, which is 1581 hex. In the UDH example for ring tones ... 06050415811581 ... you'll see that that port number (1581 hex) appears in the string twice. If you need to send something to a different NBS port, change the occurrences of 1581 in this sample UDH to the hex value of the NBS port that you want to send to. | |||
Anonymous |
Can you give a concrete example on sending Nokia Op. Logo (i.e What should I fill in the the Binary Data field, PID and DCS)? Thanks. | |||
Bryce Norwood - NowSMS Support (Bryce) |
PID = 0 DCS = 7F UDH = 06050415821582 (for operator logo) or 06050415831583 (for CLI logo) or 06050415811581 (for ring tone) For the binary data, I'm going to take this example from the Nokia Smart Messaging Specification. Refer to section 5.1.8 titled "An example of operator logo format". Take the binary data in that example, and submit it as a continuous string, with no spaces ... e.g., 3042F4500A00480E0100000000000000(...omitted...) Does that help? -bn | |||
Anonymous |
I followed the instruction above and then submitted a binary sms(operator logo) to be sent via http with this command : http://127.0.0.1:8800/?PhoneNumber=%2B60123659986&Data=3042F4500A00480E010000000000000000000000000000000000001E0000000002000000210000010002000000210000010002000000213C73399CC2071E7021228A05228208A2882122FA3D228208A28821228245228208A28821228A45228208A2881E3C723C9C83E71E70002000000000000200002000000000003C00000000000000000000&UDH=06050415821582&pid=0&dcs=7F&binary=1 the problem is i keep getting the error msg "message cannot be displayed here"... could you please point out what i'm doing wrong.. | |||
Bryce Norwood - NowSMS Support (Bryce) |
Is it one of the phones that support Nokia operator logos? (There is a document at the Nokia web site ... www.forum.nokia.com, which you can download. It is titled "Nokia Phone Messaging Characteristics" ... and it specifies which Nokia phone models support which smart messaging protocols.) Did you encode the operator MNC and MCC in the request? Take a look at the option in our web menu interface to send a Nokia Operator Logo. Unfortunately, Nokia made their operator logos a very convoluted process. The logo must have the operator MNC and MCC embedded in the logo data! The web menu interface to send a Nokia Operator Logo through NowSMS has a link to finding the MNC and MCC codes for different operators. If you want to use the data in this message thread as part of your operator logo test, when using the web form for sending the logo, the actual logo data (OTA bitmap data in the form) is the data that is *after* 3042F4500A. The "3042F4500A" is header information, and the encoded version of the MNC and MCC given in that particular example. If you use the web form, you can plug in your own MCC and MNC values. You can also look at the simple JavaScript included in the web form to see how those values get encoded. -bn | |||
Anonymous |
Hello, am using NowSMS software for couple of weeks and its working fine except for SIEMENS binary Data submission. i am using another SMSGateway (say appA) that works on the top of NowSMS and connects to this application over SMPP connection, but when i sends the SIEMENS binary content via appA (by spliting the actual data into 7 or 8 chunks) to NowSMS then it disturbs the data and submits hardly 3-4 chunks, and because of this mobile shows the uncompatible data recieved. can u plz highlight me what configuration am missing here in NowSMS | |||
Bryce Norwood - NowSMS Support (Bryce) |
Hi, If we could see a log file, we'd have a better idea of what is going wrong. Please manually edit SMSGW.INI, and under the [SMSGW] section header, add the statement Debug=Yes ... then restart the gateway service. Repeat the SMPP connection from the other application, and let the message get sent out. E-Mail the SMPPDEBUG.LOG and SMSDEBUG.LOG file to nowsms@now.co.uk, along with an explanation of what type of data you are submitting. -bn | |||
Anonymous |
Hello, I have downloaded NowSMS version 4.11. I am treating all SMS as * and redirecting it to ColdFusion via URL. If the Header doesn't exist in ColdFusion Header table, it then will be redirected to .ASP. When there is reply from ColdFusion then reply is ok (being relayed to SMSNow). But when ColdFusion redirect to .ASP the SMS received is being dumped in SMSIN Folder. Why is that? I have not downloaded version 4.2 yet. Will ver 4.2 solve this problem. Can NOWSMS support multilevel redirecting? i.e NOWSMS -> ColdFusion .cfm --> .ASP --> ColdFusion .cfm --> NOWSMS | |||
Bryce Norwood - NowSMS Support (Bryce) |
I'm sorry, but I don't really have enough information to understand the situation. It sounds like the redirect is not working properly. Try getting a debug log of the situation. Manually edit SMSGW.INI, and under the [SMSGW] section header, add Debug=Yes. Then restart the gateway service. Repeat your test, and e-mail the SMSDEBUG.LOG to nowsms@now.co.uk, and then I can take a look at what the redirect response is that is coming back from your Coldfusion script. -bn | |||
artemon |
Hi. Sorry for my bad english. We want send logo and melodies not only for Nokia phones but also fo Simens, Motorola, Samsung and etc. Can nowsms do what? Thenks | |||
Bryce Norwood - NowSMS Support (Bryce) |
Artemon, If you have the right formats, yes. Siemens/Motorola/Samsung use EMS formats. EMS messages are a bit difficult to build because they embed data in the user data header (UDH) of the SMS message. If you do a search on EMS in this discussion board, you'll see some discussion on the formats. -bn | |||
artemon |
Hi. Thenks. Maybe You know where I can get program to generate UDH to sens EMS melodies, logos and etc? I affraid I'm can't make it by myself | |||
Bryce Norwood - NowSMS Support |
Artemon, Unfortunately, I haven't seen any good tools for EMS. If anyone has any suggestions, I'd like to hear them. Right now we're focused more on MMS and WAP push than EMS, but I'd like to see us come back and revisit some EMS issues after the next release of the Now SMS/MMS Gateway. | |||
Alan |
Hi, I had tried to send a nokia ringtone about 400+bytes long over the web interface and the html, but there seems to be problems with sending. When i received on my phone, it was displayed as 0.3k so i presume some data is missing... Can NowSMS send binary data over 280 bytes? Regards, Alan | |||
Bryce Norwood - NowSMS Support |
There is not a problem with data of that length. What exactly did you submit, and where did you specify the data? | |||
Alan |
Hi Bryce, Thanks, i've resolved that problem already... now i've another problem... i'm trying to send a picture message via php redirect: header("Location: <nowsms_url>"); It seems to loop forever, but not sending out anything. Pls help Thanks, Alan | |||
Bryce Norwood - NowSMS Support |
Alan, I'd probably have to see a log file to understand. Since no messages are being sent out, it sounds like the gateway is not understanding the redirect response, or the redirect URL is returning an error. The top things that I would suspect: 1.) The redirect response needs to return a "3xx" series HTTP response code (I would expect the PHP redirect to take care of this automatically). 2.) The URL being redirected to is not valid and is returning an error (this would result in request being retried which sounds like the looping you describe). If you have user authentication required on the NowSMS gateway, and you want to redirect back to it, you need to include the username and password in the redirect URL (e.g., http://username:password@hostname/?request). If none of this explains the problem, put the gateway into debug mode, and send me the log file. To put the gateway into debug mode, manually edit SMSGW.INI, and add Debug=Yes under the [SMSGW] section header. Then restart the gateway service, and it will produce an SMSDEBUG.LOG as it operates. -bn | |||
Anonymous |
do you have pepsi operator logo in binary format..I need it for testing | |||
StarCall |
//SCKL1581 06050415810000024A3A6125B9CDC1958DD1BC0400392A932836C3885126144A4E2544D293695124 A4E24CA0DB0E214498512652612712708000 Hi, this is an example of sending a ringtone as a Text SMS message to a nokia phone. the phone will understand that this is a ringtone and will decode it. My question is: is there a way to convert picture messages and logos to this format? Note that I can send this from any mobile device or gateway as a text message!! try it | |||
Anonymous |
Starcall.. Try this site.. It has bin2hex converter, if you look closely.. http://www.csoft.co.uk/sckl Antti | |||
Mouli V |
I have a basic question. There are phones which can extract/save links included in SMS messages. I need to know how to compose an SMS message with such links. I can compose plain text sms messages and invoke Now SMS via a java program. I need to be able to send messages which contains links and user should be able to navigate to that link. Thanks | |||
Bryce Norwood - NowSMS Support |
Hi Mouli, There are two ways that you could send out a link. You can either send out the message as a WAP push, which is a specialised SMS message, or you can include links in a regular SMS text message where some phones will automatically extract the links and treat them as such. It sounds like you are referring the latter approach, in which case the capbility that you describe varies by phone. When you see that type of link highlighting in an SMS message on the phone, it is software in the phone that is highlighting the links, there is nothing in the SMS message itself that specifies where the links should appear. Basically, some phones just look for text strings of "http://" or "www.", and then assume that this is the start of a link, and automatically make it behave as a link. There's nothing that you actually do in the SMS message that you send, other then to use a prefix that the SMS client in the phone can recognise as a link (such as always including "http://" before any links). -bn | |||
samarmaalouf |
hi i need to know the ports used by other mobile phones than nokia for operator logos,picture message,ringtones for ericson,siemens,motorola,samsung alcatel,sagem | |||
Bryce Norwood - NowSMS Support |
Hi smarmaalouf, Everybody seems to ask about ports when it comes to sending these types of messages to other phones ... but it has nothing to do with ports. Ports are a concept of the Nokia Smart Messaging specification, and they have also been adapted for use within the WAP protocols. However, other manufacturers have not been using this port concept (I think this is because originally they did not want to infringe on Nokia's proprietary rights to their Smart Messaging Specification, as I believe Nokia used to require a license fee to use it). Ericsson, Motorola, Siemens and Alcatel got behind a common specification called EMS. If you search this discussion board on a keyword of EMS, you'll find links to the specification. Of course, you'll also find threads such as this one, so I'll go ahead and post a link to another thread that has a link to the specification for EMS at the Ericsson site: http://support.nowsms.com/discus/messages/1/218.html | |||
Anonymous |
Anyone know the software that can convert the ringtone or operator logo into text sms message format? | |||
Anonymous |
http://cellphones.about.com has some useful links. | |||
deano Unregistered guest |
Hi, anyone can help me to convert my rttl to hex, pls? thank you. help is very much appreciated. | |||
Anonymous |
You said some time ago to use following UDH Ports. But what port should i use if i want to send a "picture message"?? UDH = 06050415821582 (for operator logo) or 06050415831583 (for CLI logo) or 06050415811581 (for ring tone) which port for picture message? thank you very much | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1195 Registered: 10-2002 |
Assuming that we're talking about a Nokia picture message (*not* MMS), then the UDH is 060504158A158A. Refer to the Nokia Smart Messaging spec for additional format info (multipart message format). | |||
Brandon Spire Unregistered guest |
Try out a tool called ActiveXMS (http://www.businesms.com) - works a treat with NowSMS - it's a little tricky to get through all the doco but it generates the hex for every message type you can think of. brandons. | |||
Adrianus Yose Hartono New member Username: A_yose Post Number: 1 Registered: 12-2003 |
Hi, I have some questions about sending Nokia colour operator logo. Can I send colour operator logo using Smart Messaging? Can you give a concrete example how to encode the colour operator logo message user data? Thanks. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1301 Registered: 10-2002 |
Nokia colour operator logos are downloaded via the WAP browser. (There might also be a way to send them through smart messaging, but because the color images are so much bigger, it is not really practical to send them via SMS.) The MIME type is "image/vnd.nok-oplogo-color". Add this MIME type to your web server and associate it with a unique file extension (I've noticed a few people using ".nol" as the file extension). On your web server, copy over a .gif or .jpg file to a file with a filename that matches this file extension you configured for this MIME type. Go to the link that has that file with the browser in a Nokia phone. The Nokia phone will see an object with the MIME type "image/vnd.nok-oplogo-color" as being an operator logo, and the phone will tell you that it has received an operator logo. It will then allow you to view it before you save it. To proactively send this out to the phone, you would need to generate a WAP push message pointing to your URL (and you would most likely want to use some sort of system that generates dynamic URLs so that people can't forward the URL to their friends). I've seen some different sizes referenced for the oplogo sizes. One spec said that the Series 30 supported 82 x 45 as the size, while another said 72 x 14 (same as the old black and white). For the Series 40, the size is 100 x 50. I've also seen a spec that says the size for the Series 60 is 96 x 25 ... but in my tests, Series 60 does not support this MIME type. -bn | |||
Adrianus Yose Hartono New member Username: A_yose Post Number: 2 Registered: 12-2003 |
Hi Bryce, First, I want to thank you for the earlier information you gave to me. I've successfully sent it to N3530 and I'm sure it'll work just fine to other Nokia handset. But I wonder, can I send it to other handset (like Samsung, motorola, Siemens, etc.)? And about sending black/white operator logo using Smart Messaging, can it be sent to other handset? Thanks. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1331 Registered: 10-2002 |
For other colour phones, you can use the MIME types image/jpeg or image/gif directly. The only problem is that your content is then not copy protected, and the mobile phone user could send it to someone else via MMS, bluetooth or e-mail. There's a discussion about copy protection (forward lock) in the following thread: http://support.nowsms.com/discus/messages/1/1011.html But the bottom line is that forward lock is not yet supported in many phones. As for black and white operator logos, I have seen that there are some phones from other manufacturers that provide some Nokia Smart Messaging support. For example, I seem to recall that I was able to send a Nokia Smart Messaging picture message to a SonyEricsson T68i. Also, some Samsung models specifically say that they support Nokia Smart Messaging. But on the whole, I have not seen anywhere that documents what non-Nokia devices support Nokia Smart Messaging, and what features of Nokia Smart Messaging they support. | |||
youf Unregistered guest |
Hello Can someone tell me where can i have UDH for other manufacturers than Nokia, for sending ringtones and operator logos. thanx. | |||
HAREESH Unregistered guest |
Hello nowsms team, I am from India and using a alcatel 311 handset.I have the softwares for converting midi files to rttl formats.how can i send the rttl converted ring tone to my phone?is it possible to send as sms and binary characters?my provider supports ringtones downloads and now i am downloading the same from the provider library.as i am new to this encoding and decoding world pls help me.also i am expecting some useful internet sites which can guide me and help to do this. thanking you, hareesh. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1365 Registered: 10-2002 |
EMS is a specification by (Sony)Ericsson, Motorola, Siemens and Alcatael which is pretty widely supported. An EMS reference is included earlier in this thread. See: http://support.nowsms.com/discus/messages/1/218.html There are also some manufacturer specific protocols (like SEO for Siemens), but I don't have any good references to point to for other specs. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1366 Registered: 10-2002 |
Hareesh, You have to convert the RTTL to the binary SMS format first. There's a good ring tone converter at: http://www.codingworkshop.com/ringtones/index.html There are also on-line converters at: http://cellphones.about.com/library/bl_rc.htm http://www.clickatell.com/central/skins/converters/convert_rttl.php Good luck! -bn | |||
Jitendra Unregistered guest |
[spam - message deleted] | |||
Anonymous |
hi,i have to convert nol file to hex format,but i dont want to use a converter, does anybody know any code samples that can help me do it myself?please help. | |||
jerrel New member Username: Jerrel Post Number: 1 Registered: 02-2004 |
Dear Bryce, I have the following problem. I'am trying to send a ringtone to a nokia 3410, trough the webserver. First i conver the ringtone to binary format, and then i paste it in the webbrowser. I receive the message, but when i try to listen to it the phone only vribates once. here is de data i try to send. //SCKL15811581990201 06050415810000024A3A60891D05092505391C0400691C92CC37021051381681081481081881081B 61081161661A61082C8B144D86186D8B28C21049661B8108289C0B4084 //SCKL15811581990202 0A40840C40840DB08308B0B30D308416458A28C30C36C000 can you tell me what i'm doing wrong regards jerrel | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1824 Registered: 10-2002 |
Jerrel, Remove the UDH from the first message. The 06050415810000 needs to be removed. When you send a text message using the //SCKL format, that data takes the place of the UDH. (Also, I haven't had any luck sending //SCKL format messages to Series 60 Nokia phones like the 3650/7650/6600 ... they seem to want the messages to be sent in binary format.) -bn | |||
Mark Garner Unregistered guest |
It's interesting that the series60 phones don't respond. Would this be the same for a Nokia 8210? I am having no joy with the //SCKL format. The phone knows it has received a ringing tone, but when it tries to play it there is only silence If it won't work, where can I find some information about the binary format mentioned in the last post? Thanks for your help. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1884 Registered: 10-2002 |
The binary format is defined in the Nokia Smart Messaging specification, which you can download from www.forum.nokia.com. The text format //SCKL is primarily used with CDMA and TDMA phones, so I don't know how widely Nokia supports this in their GSM phones. Basically, if you take the above example...you could send it out in a single binary SMS, as it is less than 140 bytes. UDH=060504158100000 Data=024A3A60891D05092505391C0400691C92CC37021051381681081481081881081B610811616 61A61082C8B144D86186D8B28C21049661B8108289C0B40840A40840C40840DB08308B0B30D30841 6458A28C30C36C000 DCS=F5 (standard value when sending Nokia Smart Messages) To send this out requires an SMS interface that supports binary SMS. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1886 Registered: 10-2002 |
Mark, All this said, there may be something wrong with your tone. I tried sending that out in binary format to a Series 60 Nokia phone. It recognises it as a ring tone (because of the UDH), but nothing plays ... I assume because the phone doesn't understand the ring tone itself. -bn | |||
Anonymous |
Hi i ,working in telecom company in India,found this site really useful ,and i have many questions to ask .But i like to start with the problem which i have faced yesterday.i recieved many complains for mobile terminating messages to Nokia 1100,2100,2300 etc on 29th Feb only ,subscriber were nor recieving any messages and A -party recieved delivery report .But this get resolved on 1st March .Is there was a software bug for leap day in all the above handset software. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1945 Registered: 10-2002 |
I'm not aware of any issues in our software. However, just trying to think in general about where you might see potential date issues in an SMS message ... I could see the following potential issues where improper handling of a leap year could cause problems. When an SMS message is submitted, there is a field that tells the SMSC how long the message should be considered "valid" if the SMSC is unable to deliver the message because the user is off-line. Usually this field is a "relative" value ... specifying the # of minutes, hours, days or weeks that the message should be considered valid. Perhaps your SMSC had a problem computing some of these relative time periods over the leap day. There are also time stamp fields when a message is delivered, and in delivery reports. But the format of those date fields is very straightforward with a year/month/day/hour/minute/second encoding, so it is hard to imagine the extra day in a leap year causing a problem there. -bn |