|
bladox.com Turbo SIM Toolkit Adapter Forums
|
View previous topic :: View next topic |
Author |
Message |
browndav
Joined: 04 Nov 2011 Posts: 5
|
Posted: Fri Nov 04, 2011 7:16 pm Post subject: SMSs sent from a TurboSIM application are blank on Android |
|
|
Hi Pavel, All,
We've run in to a deployment issue with our TurboSIM application, and could use some help.
We have a data collection application, written for the TurboSIM platform, that collects some data in the field and transmits it back to an Android-based SMS gateway.
We're able to send messages without issue between Nokia phones, and between the Nokia phone and an Apple iPhone 4. However, when we use the SIM application to send an SMS message to an Android-based phone, the SMS arrives but is completely blank. I've tested on an ideos phone, and on a Google nexus; we've probably tried a total of six or seven SIM cards from three different US-based carriers -- the SMSs still arrive with no apparent content.
We've tried both 7-bit and 8-bit class 2; 7-bit encoding shows garbled content on all phones including the Android phone; the 8-bit class two is blank on the Android phones but readable on the others (Nokia, Apple). We've tried PIDs of both 0x00 and 0x7f; this setting doesn't appear to make a difference.
Is there anything special we should know about sending SMSs to an Android-based device? Has anyone encountered something like this, or (better yet) a workaround?
Code: |
send_sms(s, strlen(s), value.msisdn, MSISDN_ADN, 0xF6, tsms_pid(), NULL, NULL);
|
Thanks,
Dave |
|
Back to top |
|
|
browndav
Joined: 04 Nov 2011 Posts: 5
|
Posted: Fri Nov 04, 2011 8:02 pm Post subject: Answering my own post... |
|
|
We actually figured this out. We were sending SMS messages as 8-bit, which the iPhone supports, but not many other phones. In the 7-bit case, we were labeling 8-bit data as 7-bit, which caused garbage to be sent.
By calling dcs_7b to pack the data in to a seven-bits-per-character string, and using PID 0x0 and DCS 0x0 in send_sms, we seem to have messages going to Android and others successfully now. |
|
Back to top |
|
|
pz
Joined: 12 Mar 2004 Posts: 1161
|
Posted: Wed Nov 09, 2011 11:35 am Post subject: |
|
|
This is bug in android (handling badly something 10 years old phones have no issues with). |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|