I've been working on a project where in I can send sms using a usb modem. Problem is I want to send those to multiple contact numbers. Im using mysql as my DB to store those phone numbers.
Here's a list what I my project is able to do(sms part only)
- able to communicate with IO ports. I can select an available port where the modem was connected. And also able to connect and disconnect it anytime I want.
- able to send an SMS message(using a prepaid sim card). But is only able to send 1 message at a time.
What I wanted to do but wasn't able to apply yet:
Using a list view, or grid view I want to select a specified group and send a pre-programmed message to those group.
I already know how to get data from a list view or a grid view. Im thinking of using a loop to extract all the contact numbers from the database and using AT commands, send it to those numbers. Only problem is how put those numbers to be executed as AT commands and send it.
I'm very confused on how to work it out but I'm getting there slowly. I just need a bit of advice from you guys.
A few suggestions on what I should or should be doing would be fine. If anyone has a sample code lying around, could you give me the link? I'll just go ahead and analyze it. Thanks.