I recently got a RPI coming from the land of Arduino, and I was wondering as I've been searching Google for this has anyone found a way to tether their phone to their Pi. I'm looking to use my phone as a way to send MMS/SMS, so basically my RPI will send a signal to the phone via the usb wire to transmit some data via SMS. I'm looking into this as it will be more robust in my case than using a 3G USB Modem - since I won't need the USB powered adapter, etc. (I would assume this is possible except I haven't gotten around to trying it since I only have rev A with 1 usb port which I am using for keyboard/mice, and I'm awaiting B in the mail, so I thought I'd ask to see if there is a good way to go about doing this possibly.)
-
Are you planning to have SMS messages only sent to your phone, or anyones phone?– syb0rgCommented Aug 29, 2013 at 14:48
-
Other users phones will receive the text msg, so each phone would have to be set to send txt only to a specific number. Alternatively I have considered sending from multiple devices to the same remote phone with a unique id and then the clients can simply access their specific msgs via server.– eWizardIICommented Aug 29, 2013 at 15:26
Add a comment
|
2 Answers
This video explains the process quite well. However, it uses email to send a SMS message instead of tethering to a phone:
- Make sure you can use the
mail
command (sudo apt-get install mailutils
) and setup your Raspberry Pi to send emails from the command line. - You need to look up the SMS gateway for the phone you want to send an SMS to. An example of a number converted to an email would be
[email protected]
(for Verizon). - Send the email/SMS:
$ echo “Test text” | mail -s “Test Mail” [email protected]
-
Thanks I will look into this and let you know how it goes! Commented Aug 31, 2013 at 21:41
I looked at the answers you have so far which are not very useful. They have all missed the point that you do not have an internet connection. I am wanting to do the same thing as you. Have you found a solution?