Send SMS via Bluetooth connection
Hi,
I have connceted a moblie to my PC through bluetooth (using Bluesoleil)
Now using program I need to send message to that mobile, such that that mobile should transmit an SMS.
message from Pc should contain the payload message, SMS receiving phone number.
Pc -----<bluetooth>----------> mobile -----------Transmit-------------> SMS receiving mobile
message SMS
Try to help me with code or Suggest me to proceed
Thanks in advance.
Hello Johnerlit do u have any idea regaring this topic?
Hello everybody!
I am under a process to send sms from server that is a PC to a mobile through a mobile, which is connected to the PC act as a modem.
According to my process if the modem is GSM or CDMA, should transmit the sms, that obtained a message from PC.
The connection between the PC and the modem should be through bluethooth, but at initial I wish to try with data cable before trying with bluetooth connection.
I should not use any sms operators like Clickatell..
Can anyone say me is it possible to use J2me in Pc to develop the application and connect to the modem...
If I am wrong plz say me ur suggestion on how to proceed with this process, and also say if anyother better way is there to do.
Thanks in advance
Similar Messages
-
Sending SMS via Bluetooth not working
Hi,
I have two Nokia phones, an N73 and an older 6600. I was able to pair both with the Bluetooth in my MacBook Pro SR.
I can access the web via dial-up networking, so that's working fine.
However, I am unable to send SMS via AddressBook over the phone. When I click the little connect-to-bluetooth button in AddressBook, I am first asked to pair the phone - even though it's already paired, and connects automatically on both the computer and the phone. Then, when I do enter the code on the phone, the connection just fails. The button gets a slight blue outline but the B symbol doesn't actually light up as it should.
Send SMS remains grayed out.
Has anybody got this to work or know what could be wrong?
PS: I am able to send SMS on Windows using MS SMS Sender, so I am sure that it's not the phone's fault.
This worked fine with my Titanium Powerbook with USB Bluetooth dongle.Thanks for the response, but that's not it. The N73 is listed as supported, and iSync works perfectly well. Dial-Up networking also works perfectly well.
Only sending SMS via bluetooth doesn't work.
Also - no idea if this is related - faxing via the 6600 doesn't work anymore, which is strange because it used to work on the TiBook. Most people don't even know you can fax via Bluetooth phone and most newer phones have lost this capability so I guess this is just on its way out. Too bad because it was pretty useful... -
Using Address Book to send SMS via Bluetooth
Hi all,
I recently upgraded to 10.4.6 (from 10.4.5) to take advantage of the new iSync support for the Nokia N70.
(I had previously been using a modified Metaclasses.plist hack for this and prior to the upgrade to .6, restored the original .plist)
I also followed the advice in Apple article 303419 about removing the phone from iSync.
So, upgrade fine and re paired phone with iSync but now find that I can no longer use Address Book to send SMS message or dial a call to current contact.
This worked fine with the hack!
Any ideas?
B
1 GHz PowerPC G4 Mac OS X (10.4.6)I am using OS X10.4.6 via Bluetooth connecting to Nokia N70 also. I have no problem with iSync and file transfer. But I can NOT send and receive SMS from Address book.
Roger Hong
iBook G4 Mac OS X (10.4.6) -
Problem in sending SMS via using java communication API
I need to send SMS via my sony ericsson Z530i. It is connected to the com5 port of my system. I got the following code.
import java.io.*;
import java.util.BitSet;
import javax.comm.*;
import java.lang.*;
public class SerialToGsm {
InputStream in;
OutputStream out;
String lastIndexRead;
String senderNum;
String smsMsg;
SerialToGsm(String porta) {
try {
// CommPortIdentifier portId = CommPortIdentifier.getPortIdentifier("com5");
CommPortIdentifier portId = CommPortIdentifier.getPortIdentifier(porta);
SerialPort sp = (SerialPort)portId.open("Sms_GSM", 0);
sp.setSerialPortParams(9600, SerialPort.DATABITS_8, SerialPort.STOPBITS_1, SerialPort.PARITY_NONE);
sp.setFlowControlMode(sp.FLOWCONTROL_NONE);
in = sp.getInputStream();
out = sp.getOutputStream();
// modem reset
sendAndRecv("+++AT", 30); // delay for 20 sec/10
sendAndRecv("AT&F", 30);
sendAndRecv("ATE0", 30); // echo off
sendAndRecv("AT +CMEE=1", 30); // verbose error messages
sendAndRecv("AT+CMGF=0", 70); // set pdu mode
// sendAndRecv("AT V1E0S0=0&D2&C1", 1000000);
catch (Exception e) {
System.out.println("Exception " + e);
System.exit(1);
private String sendAndRecv(String s, int timeout) {
try {
// clean serial port input buffer
in.skip(in.available());
System.out.println("=> " + s);
s = s + "\r"; // add CR
out.write(s.getBytes());
out.flush();
String strIn = new String();
for (int i = 0; i < timeout; i++){
int numChars = in.available();
if (numChars > 0) {
byte[] bb = new byte[numChars];
in.read(bb,0,numChars);
strIn += new String(bb);
// start exit conditions
if (strIn.indexOf(">\r\n") != -1) {
break;
if (strIn.indexOf("OK\r\n") != -1){
break;
if (strIn.indexOf("ERROR") != -1) { // if find 'error' wait for CR+LF
if (strIn.indexOf("\r\n",strIn.indexOf("ERROR") + 1) != -1) {
break;
Thread.sleep(100); // delay 1/10 sec
System.out.println("<= " + strIn);
if (strIn.length() == 0) {
return "ERROR: len 0";
return strIn;
catch (Exception e) {
System.out.println("send e recv Exception " + e);
return "ERROR: send e recv Exception";
public String sendSms (String numToSend, String whatToSend) {
ComputeSmsData sms = new ComputeSmsData();
sms.setAsciiTxt(whatToSend);
sms.setTelNum(numToSend);
// sms.setSMSCTelNum("+393359609600"); // SC fixed
String s = new String();
s = sendAndRecv("AT+CMGS=" + (sms.getCompletePduData().length() / 2) + "\r", 30);
// System.out.println("==> AT+CMGS=" + (sms.getCompletePduData().length() / 2));
// System.out.println("<== " + s);
if (s.indexOf(">") != -1) {
// s = sendAndRecv(sms.getSMSCPduData() + sms.getCompletePduData() + "\u001A"); // usefull one day?
// System.out.println("Inviero questo >>>> " + sms.getCompletePduData());
// if this sintax won't work try remove 00 prefix
s = sendAndRecv("00" + sms.getCompletePduData() + "\u001A", 150);
// System.out.println("<== " + s);
return s;
else {
return "ERROR";
// used to reset message data
private void resetGsmObj() {
lastIndexRead = null;
senderNum = null;
smsMsg = null;
public String checkSms (){
String str = new String();
String strGsm = new String();
strGsm = sendAndRecv("AT+CMGL=0", 30); // list unread msg and sign them as read
// if answer contain ERROR then ERROR
if (strGsm.indexOf("ERROR") != -1) {
resetGsmObj();
return strGsm; // error
strGsm = sendAndRecv("AT+CMGL=1", 30); // list read msg
// if answer contain ERROR then ERROR
if (strGsm.indexOf("ERROR") != -1) {
resetGsmObj();
return strGsm; // error
// evaluate message index
if (strGsm.indexOf(':') <= 0) {
resetGsmObj();
return ("ERROR unexpected answer");
str = strGsm.substring(strGsm.indexOf(':') + 1,strGsm.indexOf(','));
str = str.trim(); // remove white spaces
// System.out.println("Index: " + str);
lastIndexRead = str;
// find message string
// look for start point (search \r, then skip \n, add and one more for right char
int startPoint = strGsm.indexOf("\r",(strGsm.indexOf(":") + 1)) + 2;
int endPoint = strGsm.indexOf("\r",startPoint + 1);
if (endPoint == -1) {
// only one message
endPoint = strGsm.length();
// extract string
str = strGsm.substring(startPoint, endPoint);
System.out.println("String to be decoded :" + str);
ComputeSmsData sms = new ComputeSmsData();
sms.setRcvdPdu(str);
// SMSCNum = new String(sms.getRcvdPduSMSC());
senderNum = new String(sms.getRcvdSenderNumber());
smsMsg = new String(sms.getRcvdPduTxt());
System.out.println("SMSC number: " + sms.getRcvdPduSMSC());
System.out.println("Sender number: " + sms.getRcvdSenderNumber());
System.out.println("Message: " + sms.getRcvdPduTxt());
return "OK";
public String readSmsSender() {
return senderNum;
public String readSms() {
return smsMsg;
public String delSms() {
if (lastIndexRead != "") {
return sendAndRecv("AT+CMGD=" + lastIndexRead, 30);
return ("ERROR");
}When i compile, there is no error. But when i execute it, the following error comes:
E:\java\JavaSmsApi>javac SerialToGsm.java
E:\java\JavaSmsApi>java SerialToGsm
Exception in thread "main" java.lang.NoSuchMethodError: main
What might be the error? Somebody help me. Thanks in advance.You are probably trying to run this as a CLDC application instead of a MIDP application (aka a MIDLet). Since CLDC apps start with a main(....) your runtime looks for one but does not find it, hence the error. Please recheck the project configuration.
-
is there any way to send sms by a connected iPhone to computer ? if so does it need any special application and program ? with witch port ? thank you.
Hi, Santosh..., and welcome to the Community,
I would recommend testing the SMS reply forwarding to your mobile number. Depending upon the results and if this works for you, you could then contact Skype Customer Service to cancel and request a refund.
In other words, SMS will be received via your mobile number, not via your Skype Number.
Regards,
Elaine
Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often! -
How to share internet connection from macbook pro to ipad via bluetooth connection
can anyone guide me how to share my internet from my MBP to Ipad (gen-1) via bluetooth connection....???
i can't share my internet via Wifi...
because my internet always been cracked by someone if i'm sharing throught wifi...
pleaseeeeee....
help me.....You just need to enter system preferences, open the tab share, and there you can choose the option "share internet". Then you select the way you want to do it and that's all.
PS.:I'm Spanish, excuse me for the lenguage or the ortographic faults -
Best app for send sms via email?
Anyone got any idea what the best app is to download to send sms via email?
I downloaded text-free yesterday, but doesnt work and the message keeps bouncing back to my email in box as a failed mail delivery!!
I am in the UK in case that makes a difference!!If you want to text people for free, i highly recommened AIM application. Its an IM app built in with an feature that allows you to text anyone on your contacts for free. Just let them know that its you texting them the first time.
-
Cannot send files via Bluetooth
My bluetooth used to work perfectly, but a couple of months ago a weird problem occured. People can send files to my computer normally, but i can't send anything via bluetooth.
I noticed that my sister has something like "OPEX file transfer" in the services-thingy but for me it says nothing. What's wrong?? Is there something i could do?And yes, it is.
And on the other computer you're trying to send to?
Have you tried deleting the following from ~/Library/Preferences/
com.apple.BluetoothExplorer.plist
com.apple.BluetoothFileExchange.plist
com.apple.BluetoothSetupAssistant.plist
and
com.apple.Bluetooth.plist
from /Library/Preferences/
and then restarting and re-pairing the devices? -
I am not being able to send pictures via Bluetooth from my Samsung phone to my iPad mini and vice versa. So is there a setting or is it a compatibility issue ? Please help
You can also use a wireless flash drive.
http://www.sandisk.com/products/wireless/flash-drive/ -
8820 sending ringtones via bluetooth...
I am with Rogers and tried sending ringtones via bluetooth but can't. Is it because I don't have data service on my package? How do I attain it? download or through my service provider? I have bluetooth service for audio source, headset, dial-network, etc....
You can manage the ringtones through the Blackberry Desktop Manager under Media.
If I help you with any inquire, thank you for click kudos in my post.
If your issue has been solved, please mark the post was solved. -
How do you send photos via bluetooth from i mac to a paired device
How do you send photos via bluetooth to a paired device from i mac & vica versa ?
bluetooth is a wide collection of what they called bluetooth profiles
both devices have to support the bluetooth profile in question for it to work
here is a list of the typical bluetooth profiles
http://en.wikipedia.org/wiki/Bluetooth_profile
if the paired device is an ios device here is the list of bluetooth profiles ios devices support
http://support.apple.com/kb/HT3647
otherwise
http://support.apple.com/kb/PH3901 -
Cannot send photos via bluetooth to Kodak printer machine
Cannot send photos via bluetooth to Kodak printer machine.
My iphone cannot find the machine and I was told that htis is an apple problemCannot send photos via bluetooth to Kodak printer machine.
Correct. iPhone doesn't support Bluetooth File Transfer protocol.
Many photo machines let you plug in a camera via USB, so do that instead. The iPhone will appear as a standard digital camera. -
Transfer Failed message when trying to send pics via bluetooth
I used to have no problem sending pictures from my LG Vu to my Macbook Pro via bluetooth but ever since I sent my Mac in for repair and got it back from apple it no longer does this. Both the phone and my Macbook will connect and the download will start, but then my Macbook disconnects and I get a Transfer Failed message on my screen. If anyone knows how to fix this bug I would greatly appreciate it. Thanks.
Try deleting your Bluetooth set up and re-doing as if it was from the beginning.
-
Can't "Browse Device" or "Send File" via Bluetooth
Hi,
I can't activate the "Send File" or "Browse Device" windows with any of my Bluetooth phones (N70 and T650i). I can do iSync using Bluetooth with them. I can send files from these phones to my iBook via Bluetooth. Nokia Media Transfer via Bluetooth works also. I've enabled Bluetooth Sharing (and File Sharing) in Sharing preferences.
The Bluetooth setting in the phones is such that all connections are always allowed
What's weird is when I installed Salling Clicker and when it needed to send the client program to the phone the "Send File" window appeared. This means that "Send File" is "working" (at least during Salling Clicker installation).
Any tips?
ThanksIt seems the Bluetooth File Exchange app can't launch from my Bluetooth menu icon. Manually launching from the Finder finally worked
-
Can't send files via bluetooth
Hi,
I have a mac book pro with a Sony Ericson T610 connected via bluetooth.
When I try to launch the 'send a file...' in the BT menu it opens a application during half a minute then shutdowns it.
So no app to send file from my mac to my mobile.
note: I have the same kind of problem when I want to add a printer to my system. The app launch then shutdowns directly.
Any idea?
ThanksHere's my sentence in the console:
2006-08-01 23:53:29.545 Bluetooth File Exchange[521] Unable to load nib file: MainMenu, exiting
(same error with the printet setup)
In the meantime: I'v made a video to show what's the issue:
http://www.cornil.net/images/mov/prob.mov
During the video I tried several times with the 'send files..' of the BT and also tried to add a printer in the printer configurator.
tx
Maybe you are looking for
-
Use Macbook Pro as second monitor for a PC
I have to use a PC at one of my jobs. Is there any way I can use my MacBook Pro as a second monitor for that PC?
-
How to get the dialog of select ODBC source
how to get the dialog of select ODBC source which system provide.
-
is normal when i connect to wifi i can't view the bb icon whoever that i can browser the internet normally, i have bb curve 9360
-
Hi PI experts, I have an IDoc to file scenario, with a nested structure. Header HF1 HF2 Item IF1 IF2 Item1 IXF1 IXF2 Trailer TF1 TF2 In the output file the data should come as HF1 HF2 IF1 IF2 IXF1 IXF2 TF1 TF2 Item and Item1 should come in the sa
-
Inbox Search:Locking Service Ticket Categories,Priority & Status for update
Hello Gurus, If I create a Service Ticket and save it, I get the transaction number and then can search for the Service Ticket using either the Interaction History or the Inbox. If I search using the Interaction History, I get taken to the Interactio