[diablu commit] r324 - in trunk/SMS2OSC: resources src/pt/citar/diablu/sms2osc/parser

0 views
Skip to first unread message

codesite...@google.com

unread,
Dec 16, 2008, 12:31:56 PM12/16/08
to diablu...@googlegroups.com
Author: pedro.r.santos
Date: Tue Dec 16 09:13:52 2008
New Revision: 324

Added:
trunk/SMS2OSC/resources/
trunk/SMS2OSC/resources/README.txt
Modified:
trunk/SMS2OSC/src/pt/citar/diablu/sms2osc/parser/S2OSMSParser.java

Log:
README.TXT adicionado
corrigido penqueno bug numa mensagem

Added: trunk/SMS2OSC/resources/README.txt
==============================================================================
--- (empty file)
+++ trunk/SMS2OSC/resources/README.txt Tue Dec 16 09:13:52 2008
@@ -0,0 +1,108 @@
+=====================================
+DiABlu SMS2OSC (README FILE)
+=====================================
+
+LEGAL NOTICE
+------------
+
+DiABlu SMS2OSC
+Copyright (C) 2008-2009, CITAR (Research Centre for Science and Technology
in Art)
+
+This is part of the DiABlu Project, created by Jorge Cardoso -
http://diablu.jorgecardoso.eu
+
+Contributors:
+- Pedro Santos <psa...@porto.ucp.pt>
+- Jorge Cardoso <jcca...@porto.ucp.pt>
+
+This program is free software; you can redistribute it and/or modify it
under the terms of the
+GNU General Public License as published by the Free Software Foundation;
either version 2 of the
+License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY;
+without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
+See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along
with this program;
+if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston,
+MA 02111-1307 USA
+
+
+
+
+
+
+Running
+-------
+In most cases just double click the SMS2OSC.jar file.
+
+You can also run it in the command line as "java -jar SMS2OSC.jar".
+
+Mailman has been tested on Windows.
+
+
+OSC Messages
+------------
+
+
+The list of currently implemented OSC messages that Mailman uses is the
following.
+
+Messages your application can listen to:
+
+/diablu/sms2osc/sms ss
+Arguments: phone number, message.
+Description: Indicates that a sms was received.
+
+/diablu/sms2osc/"command"
+Arguments: the arguments of the command
+Description: indicates that a sms with a valid command was received
+
+
+/diablu/sms2osc/argumentsError s
+Arguments: message
+Description: indicates that a sms with a valid command was received but
with invalid arguments
+
+/diablu/sms2osc/commandNotFound s
+Arguments: message
+Description: indicates that a sms with an invalid command was received
+
+
+
+Messages that SMS2OSC understans:
+
+/Diablu/Mailman/sendSms ss
+
+Arguments: number, message
+Description: Sends a sms with "message" to "number"
+
+
+Files
+-----
+
+
+config.ini - This file contains the properties of the application and can
be used
+to configure the followin parameters:
+
+ - BaudRate
+ - UseLoopback
+ - RemoteIP
+ - Gateway
+ - OutgoingPort
+ - IncomingPort
+ - ComPort
+
+
+Download
+--------
+
+You can check the news & download the latest version at:
+http://diablu.jorgecardoso.eu
+
+
+Known Issues
+------------
+
+
+
+Thanks
+------
+Hannz Holger Rutz for the NetUtil (OSC) library.

Modified: trunk/SMS2OSC/src/pt/citar/diablu/sms2osc/parser/S2OSMSParser.java
==============================================================================
--- trunk/SMS2OSC/src/pt/citar/diablu/sms2osc/parser/S2OSMSParser.java
(original)
+++ trunk/SMS2OSC/src/pt/citar/diablu/sms2osc/parser/S2OSMSParser.java Tue
Dec 16 09:13:52 2008
@@ -133,7 +133,7 @@
s2o.getLogger().log(Level.INFO, "OSC Message Sent:
/diablu/sms2osc/" + command + " " + msg.substring(command.length() + 1,
msg.length()));
}
} else {
- s2o.getOscClient().send(new
OSCMessage("/diablu/sms2osc/commandNotFound", new Object[]{command}));
+ s2o.getOscClient().send(new
OSCMessage("/diablu/sms2osc/commandNotFound", new Object[]{message}));
s2o.getLogger().log(Level.INFO, "OSC Message Sent:
/diablu/sms2osc/commandNotFound" + command);
}
}

Reply all
Reply to author
Forward
0 new messages