[sendpage-devel] in default branch: SMS support
Brought to you by:
keescook
|
From: Kees C. <sen...@ou...> - 2006-08-17 01:48:38
|
While at LWE this week, I spent some time to add beta SMS support to the Sendpage devel branch. Many thanks go to Brian Murray who proved that it could work. :) I'd like to move to using Device::Gsm instead of doing it by hand currently. :) It will appear in the 1.1.1 release, but I want to test it a bit more before I package it. Anyone interested in it can get it out of CVS for the moment. We've reproduced two physical configurations: - GSM PCMCIA card (required an init of "AT+CFUN=1") - Bluetooth phone (motorola RAZR - required an init of "AT+CMGF=1") For the PCMCIA card, the serial port is just a "regular" ttyS* device. For the bluetooth, I had to build an "rf serial channel" under Linux with: # verify bluetooth is running hciconfig # look for our phone's ID hcitool scan # bind a serial channel rfcomm bind 0 $ID which results in /dev/rfcomm0 existing. Device::SerialPort seems to have intermitant issues using it, but I suspect the Linux rfcomm driver, or maybe some of the extra magic I see Device::Gsm doing. My Modem, Paging Central, and Recip config looks like this: [modem:razr] debug=true dev=/dev/rfcomm0 init=AT+CMGF=1 dial= carrier-detect=off [pc:sms] debug=true proto=SMS modems=razr [recip:kees] dest = my_phone_number_here@sms -- Kees Cook @outflux.net |