Serial_SMS

所属分类:手机短信编程
开发工具:Java
文件大小:261KB
下载次数:290
上传日期:2007-02-25 02:31:26
上 传 者管理员
说明:  This serial client in JAVA allows sending, reading and writing of SMS via a serial COM port. The tool uses the PDU SMS format. IRDA drivers are included. The functionality can be implemented into applications for remote alerting or SMS authentification.
(This serial client in Java allows sending, reading and writing of SMS via a serial COM port. The tool uses the PDU SMS format. IRDA drivers ar e included. The functionality can be implement ed into applications for remote alerting or SMS authentification.)

文件列表:
250406 (0, 2011-02-18)
250406\Serial_SMS (0, 2011-02-18)
250406\Serial_SMS\bak (0, 2002-10-04)
250406\Serial_SMS\classes (0, 2011-02-18)
250406\Serial_SMS\classes\AlertDialog.class (1673, 2002-10-04)
250406\Serial_SMS\classes\BitmapComponent.class (1177, 2002-10-04)
250406\Serial_SMS\classes\CloseHandler.class (441, 2002-10-04)
250406\Serial_SMS\classes\dependency cache (0, 2011-02-18)
250406\Serial_SMS\classes\dependency cache\UnnamedPackage.dependency (52869, 2002-02-22)
250406\Serial_SMS\classes\IncomingSms.class (4073, 2002-10-04)
250406\Serial_SMS\classes\InfoDialog$CloseHandler.class (573, 2002-10-04)
250406\Serial_SMS\classes\InfoDialog.class (1148, 2002-10-04)
250406\Serial_SMS\classes\OutgoingSms.class (2593, 2002-10-04)
250406\Serial_SMS\classes\PduParseException.class (725, 2002-10-04)
250406\Serial_SMS\classes\PortRequestedDialog.class (2265, 2002-10-04)
250406\Serial_SMS\classes\SerialPanel.class (4477, 2002-10-04)
250406\Serial_SMS\classes\SerialParameters.class (3248, 2002-10-04)
250406\Serial_SMS\classes\SmsPduCodec.class (4538, 2002-10-04)
250406\Serial_SMS\classes\SmsTerminal.class (7496, 2002-10-04)
250406\Serial_SMS\classes\Sms_GUI$CloseHandler.class (924, 2002-10-04)
250406\Serial_SMS\classes\Sms_GUI$KeyHandler.class (941, 2002-10-04)
250406\Serial_SMS\classes\Sms_GUI.class (9973, 2002-10-04)
250406\Serial_SMS\comm.jar (28043, 1998-11-15)
250406\Serial_SMS\index.html (2328, 2002-10-04)
250406\Serial_SMS\Info.gif (5816, 2002-02-22)
250406\Serial_SMS\IrCOMM2k-1.2.0-eng.zip (72946, 2001-12-14)
250406\Serial_SMS\javax.comm.properties (467, 1998-11-15)
250406\Serial_SMS\nokia_at.GID (8628, 2002-05-16)
250406\Serial_SMS\nokia_at.hlp (384505, 2001-09-14)
250406\Serial_SMS\SerialPort.settings (177, 2001-12-19)
250406\Serial_SMS\Serial_SMS.jpx (1636, 2002-01-24)
250406\Serial_SMS\Serial_SMS.jpx.local (1128, 2002-05-16)
250406\Serial_SMS\Serial_SMS.jpx.local~ (1081, 2002-01-25)
250406\Serial_SMS\SmsGUI.bat (107, 2001-12-19)
250406\Serial_SMS\src (0, 2011-02-18)
250406\Serial_SMS\src\AlertDialog.java (2028, 2001-12-19)
250406\Serial_SMS\src\BitmapComponent.java (1029, 2002-01-21)
250406\Serial_SMS\src\IncomingSms.java (6783, 2002-01-25)
250406\Serial_SMS\src\InfoDialog.java (1119, 2002-02-22)
... ...

Simple SMS Client in Java for serial connection *********************************************** (C) 2001 by Stefan Moscibroda Purpose ------- This Java SMS Client aims to support the communication between a computer and a mobile device via a serial connection. This serial connection can either be a serial cable or a infrared connection (IRDA with virtual COM port). The tool allows sending, reading and writing of SMS in both transmit and received format, as well as sending ordinary AT commands to the mobile. Installation (Windows) ---------------------- 1.) If the communication has to take place via infrared ensure that there is "Virtual COM Port" support for the IRDA link. In Windows 2000 an additional driver is needed: "IrCOMM2k-1.2.0-eng.zip" It can be downloaded at: http://www.ircomm2k.de/ 2.) Copy Serial driver "win32com.dll" into "bin" folder of the JDK to be used. 3.) Set the java source path so that Serial Java API "comm.jar" can be found For more information refer to http://java.sun.com/products/javacomm/ 4.) File "javax.comm.properties" File must be in same directory as "comm.jar" Class path has to be set accordingly 5.) Compile files *.java in package sms (javac) 6.) After starting the demo (java Sms_GUI), first set serial settings and chose the correct COM port (e.g. Virtual COM port on which IRDA link is mapped) PS: The program should work also under Linux. However the entry in the "javax.comm.properties" has to be changed as well as an other serial driver to be dowloaded. For more information refer to http://www.interstice.com/~kevinh/linuxcomm.html Functionality of the SMS tool / classes --------------------------------------- - Sending and receiving SMS (also time information icluded) - Writing and Reading SMS from Mobile/SIM storage (support of both receiving and transmitting format) - Direct support of AT command: Can be used to e.g. read out Phone book entries, IMEI of the mobile, etc. For the SMS functionality make sure that the mobile is set to SMS PDU mode. To set the mobile to PDU mode, type the AT commad "AT+CMGF=0" Usage of the SMS Tool --------------------- 1.) Set serial settings (menu) 2.) Connect Mobile via the corresponding serial connection (e.g. Serial cable, IRDA link) 3.) Click "Open Port" Button, click into Upper (Outgoing) Window 4.) Enter SMS command (strictly follow the syntax: sorry about the parser!) - SendSms , : Send SMS to MSISDN number - WriteTxSms , : Write to Outgoing Folder - WriteRxSms , : Write to Incoming Folder - ReadSms : Read SMS from Storage Index - DeleteSms : Delete SMS having Storage Index or enter any other AT-command (specified in 3GPP 07.07) - eg. AT+CPBR= : Read Phonebook entry (index) AT+CMNI? : Show current SMS settings Refer to the attached public AT-command list of NOKIA for more information. ( File nokia_at.hlp ) Stefan Moscibroda, 2001

近期下载者

相关文件


收藏者