setup gammu 1.33 windows 7

1. install driver untuk  modem gsm/3G/HSDPA yang akan digunakan, modem yang saya gunakan O2 model C170

o2-modem-hsdpa

2. pastikan OS mengenalinya, dan dapatkan port yg digunakan modem tersebut

My Computer –> Properties –> Device Manager –> Modems –> (my hardware) BandLuke 3.5 HSDPA Modem

Control Panel –> Devices and Printers –> BandLuke 3.5 HSDPA Modem (klik kanan) –> Properties –> Hardware –> lihat AT CMD (COM4)

device-manager-modems-control-panel-devices-printers-port

 

3. download gammu untuk website dari website http://wammu.eu, ambil source zip saja, agar lebih mudah untuk di pindahkan

4. extract di folder C:\gammu

c-gammu

5. copy file gammurc dan smsdrc dari c:\gammu\share\doc\gammu\examples\config ke c:\gammu\bin

copy-config-gammu

6. edit file gammurc, ganti dengan script (com4 didapat dari hardware modem)

[gammu]

device = com4:
connection = at

7. edit file smsdrc

[gammu]
 device = com4:
 connection = at
[smsd]
 service = files
 PIN = 1234
 logfile = smsdlog
 debuglevel = 0
 commtimeout = 30
 sendtimeout = 30
# Database backends congfiguration
 user = youruser-database
 password = yourpassword-database
 pc = localhost
 database = yourdatabase-holdsms-data
 driver = mysql

8. test gammu untuk identifikasi modem

gammu-identifyjika imei dapat dibaca berarti modem tersebut berhasil dikenali gammu

9. test gammu untuk mengirim sms

c:\gammu\bin\gammu sendsms TEXT 02198799999 -text "your message here ..."

gammu-test-send-sms

 

 

 

 

 

Published by

G3n1k

just to remember what i had known :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s