7 step HOWTO for sms gateway 1) Connect the device and watch if /dev/ttyUSB0 or /dev/ttyACM0 shows up in kernel messages 2) If your USB device shows up as a disk, you would be lucky if you have usb_modswitch. Find details about the device and try using mode switch. If it does not work you are out of luck. 3) Install minicom - sudo apt-get install minicom 4) Run minicom as root. Ctrl A Z for help. Look at setup and use /dev/tty* device found in dmesg as terminal device. 5) RunĀ AT+CMGS="+91XXXXXXXXXXX" <ENTER> in minicom and write message to test 6) Run python sms module with device name /dev/ttyUSB0 7) Link it with your execution loop
Your mileage may vary given modem hardware may differ quite a bit. -- Supreet Sethi Ph IN: +919811143517 Ph Skype: d_j_i_n_n Profile: http://www.google.com/profiles/supreet.sethi Twt: http://twitter.com/djinn -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
