95Views7Replies

Author Options:

How can I auto-forward an SMS from my PC ? Answered

I'm working on a project where I send an sms to my pc, if the incoming sms is received from one of the numbers stored in my database the pc will forward it, if the number is not, the pc will not allow the message to pass and will send me (the admin) an sms. 
Note: I'm using a USB Modem, so the I can use AT commands

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
steveastrouk
steveastrouk

5 years ago

What's your specific problem with that ?

0
Mechatron147
Mechatron147

Answer 5 years ago

I'm trying to find a way to do it without using a third party API. I already have a sim card and i don't wanna use an SMS Gateway from the internet

0
steveastrouk
steveastrouk

Answer 5 years ago

If you are familiar with AT commands, and you have the manual, its easy, poll the device for the arrival of new messages, parse the sender id, and decide whether to forward the SMS

0
Mechatron147
Mechatron147

Answer 5 years ago

Can I connect it to a MySql database?

0
steveastrouk
steveastrouk

Answer 5 years ago

Sure you can, if you have a decent programming language and experience in it enough to run queries on the database.

0
steveastrouk
steveastrouk

Answer 5 years ago

So you have a cellular modem, with a USB connector to your PC, right ?

0
Mechatron147
Mechatron147

Answer 5 years ago

Yes. Its Huawei USB Modem