Send "Invisible" Message using C# to GSM modem - sms

How can I send an “invisible” SMS via a GSM modem using the C# (the recipient won’t see it, but I will know the status of receipt) to find out if the phone is on or not - “Ping-SMS”

You must set PS_MESSAGE_CLASS0 value as CLASS parameter provided in a call to SmsSendMessage.

Related

Twilio SMS Physical Phone Integration

In a perfect world, the solution I'm looking for would be an api resource tied to my physical phone, e.g. I could POST an sms message to https://url.com/api/sms, and this api would have the end result of sending an sms from my physical phone. This means that the sms conversation would appear natively in my phone; if the recipient replies to the sms, it would appear just as a normal conversation as if I had physically typed the original sms via my phone.
I understand that I could set the replyto/callback/caller-id via Twilio's api. This would mean that the sms gets sent out by the api, and if the recipient replies to it, I could have the reply forwarded to my phone. But what would be missing in this scenario is the original message sent via the api, that the recipient is replying to.
Is there a streamlined way to achieve this, perhaps with Zapier?
One arduous solution I have in mind is to write an on-phone-app to intermediate the sms transmission so that I essentially have an sms-controlled api on the physical phone vs. a traditional http api. (On android, the api would "listen" via DATA_SMS_RECEIVED_ACTION and then send via sendTextMessage). But this seems cumbersome and would also require updating the app code when/if android changes the underlying SmsManager library. The advantage of this is that I could avoid Twilio altogether, by using my service provider's email-to-sms to send to the on-phone-makeshift-sms-api.
Twilio developer evangelist here.
I think you are looking for a feature that we just announced in preview. This is known as Hosted SMS and allows you to add SMS powered by Twilio to your existing phone number.
You need to apply to get access to Hosted SMS as it is newly in testing. You can do so with the form here: https://www.twilio.com/sms/hosted
I've set up texting to a physical phone by using Twilio's SIM cards and associating it to a phone number.

Applescript to send message via SMS Relay (Continuity)

Apple just releases Yosemite which allow us to send sms message (via phone) using SMS Relay (Continuity). Does anyone know how to write applescript to send sms message. (I know that we can use applescript to send imessage).
One more question that, can we use applescript to get list of message rooms or messages in a room from Message app.

In gsm modems, how to inform when a new message has been received (Interruptly) using at commands like CNMA or CNMI?

I'm developing a winform program in which, I need send and receiving SMS messages, I have no problem in sending SMS, but i don't know how to inform when a new message has been received in a gsm modem? I wanna have an acknowledgement like an interrupt or event, when a new message has been received. As far as I know i should work to at+CNMI or at+CNMA, but unfortunately i cant find an example for those.Furthermore I wanna know how to get delivery message or how to handle that? Thanks in advance.
Depends on device type you are using. Use AT+CNMI=? to see all possible options your device supports.

Unsolicited Response (+STCR) from SIM Toolkit not visible

I'm testing a SIM Toolkit application using AT Commands. I have a USB modem that supports SIM Toolkit Class 2 features and is based on the Open AT Firmware. I am able to successfully interact with the SIM Toolkit by using the +STSF, +STGI, and +STGR commands. I also receive +STIN replies as per the message flow shown here. What I do not receive is the Unsolicited Response (+STCR) from the SIM when an SMS message or USSD message is sent out. I am using the following Terminal Profile during initialization:
AT+STSF=2,"5FFFFFFF7F",3,1
Based on the Terminal Profile, the Call Control bit is set to 1 or enabled. You will also notice that the Autoresponse is set to 1. Therefore, I receive an +STGI response when a message is sent. Here is the lead up to when the SIM sends an SMS message:
AT+STGR=6,1,1
OK
+STIN: 9
+STGI: ""
OK
You can see that +STIN: 9 means an SMS message is sent out. I believe based on my initialization, I should also see an +STCR and there should be some text in the +STGI. If anyone is familiar with the SIM Toolkit and accessing it through the AT Command set, then I would appreciate some insight as to why I do not receive a response when an SMS message is sent out. Thanks.
Reference:
1: Wavecom AT Commands Interface Guide for X51a - WM_ASW_OAT_UGD_00016
I think the USB modem is busy for doing other task.
If you send response with 0x91xx instead of 0x9000 again and again while you don't receive Instruction byte ie 0x12 ie FETCH command.
where XX means no of STK byte .

How to send an SMS type message using Processing data?

I have code written up in Processing that works as a serial monitor for my Arduino Fio. I have a few sensors on the Fio that output a warning message when a value surpasses a threshold. How do I get warning statements sent to a phone number as a text message as well?
If you need to send email to just a particular phone (i.e. your own) or a small set of phones known in advance, many carriers have an email SMS gateway. For example, to SMS the Verizon phone 304-555-1212, just send email to 3045551212#vtext.com
See: http://en.wikipedia.org/wiki/List_of_carriers_providing_Email_or_Web_to_SMS
Here is an example on how to send email from Processing: http://www.shiffman.net/2007/11/13/e-mail-processing/
Twitter is a good place to start with this. Your thing -> twitter. Twitter -> SMS (or other clients). Otherwise, it gets expensive and more complicated.

Resources