newlisp: SMS CDMA

Notices and updates
Locked
hs
Posts: 13
Joined: Sun Sep 03, 2006 8:32 am

newlisp: SMS CDMA

Post by hs »

I'd like to share my brief experiment with CDMA venus VT-21 modem (TIAN TUO XIN DIAN CDMA Technologies) for sending SMS

the modem works under windows (98/xp tested) and linux (unreliable driver tho)

;COM4 from system property or /dev/ttyACM0 from dmesg
(set 'o (open "COM4" "update"))
;sending sms to 12345678 -- don't forget the \r
(write-buffer o "AT*MB*MOREQ=0,12345678,,4098,TEXT TO SMS\r")
;checking inbox -- again, don't forget the \r
(write-buffer o "AT*MB*READTI=R,4098\r"
(read-buffer o 'INBOX 102400)
(save "INBOX" 'INBOX)

The AT commands unfortunately are proprietary and differ from modem to modem; worse, not all CDMA devices (cellphones especially) have AT commands

I haven't used the code with GSM modem/phones mainly because I do not know how to connect to bluetooth device using newlisp (linux doesn't assign a node in /dev/ and i haven't tried it in xp ... no driver);

for now, ubuntu gui bluetooth+gnokii are sufficient for my GSM need so i won't actively look for solution

If you know how to use newlisp to talk to bluetooth devices, please let me know. I love newlisp and would like to see it used in more places

thanks!

Locked