I... think... I understood most of your post I just have one question, what is "CAN data"? From the capitalization, I assume it's an acronym? It seems like a rather interesting project, I've never done anything relating to hardware with Ruby, much less something built into shipping trucks!
On Jul 23, 2008, at 8:42 PM, Bino Oetomo wrote: > dear all ... > atracted by elliot's post, I think it's about "uncommon" XMPP client > .... I want to tell you what i've done sometimes ago with a bunch of > support and enlightment of Steven Maka. > > Problem/Situation : I need a many-to-many communication between > aplications. > Chance : Use Jabber server as "reflector" > Planned Scenario : every application make a login to a jabber chat > room > as XMPP client. Post what it want other to do to the room , and act as > what other's post. > > Why XMPP4R : Simply because it's realy hard to find Perl/Pyton > Document > for real dumb stupid lazy coder like me. > > Experiment (Note : This is my dirty jum to Jabber, Ruby and XMPP4R) : > 1. Install/setup a jabber server > 2. Write a simple jabber client using XMPP4R. Functions included : > - Alway keep the connection up > - write the "message part" to std out of whatever it received from > other > (prepared to call another script based on received msg) > - waiting msg from other local application via unix socket > - send to other Jaber client what ever it received in unix socket > 3. Learn about ttyctrl (http://ttyctrl.sourceforge.net/) ... this > beast > can call what ever script based on simple serial-com push-button > 4. write another ruby script to be called by ttyctrl, function : > - send msg to script#2, based on ttyctrl call. > > Test : > - I login to my jabber using pidgin > - the experiment mechine also login to the same jabber server. both > script#2 and ttyctrl run in background. > - whenenevr a button pushed at the experiment engine .... my pidgin > shows the msg it send. > > Credit : > - Steven Maka for his great XMPP4R , and tons of enlightment > > Sorry .. the codes has gone ... my HD formated for my cctv project :( > > Breaking news : There is a chance that I need to re-code and re- > learn it > from zero, some body want me to send CAN data from trucks to Fleet > Management System. > > Regards > -bino- > > _______________________________________________ > Xmpp4r-devel mailing list > Xmpp4r-devel@gna.org > https://mail.gna.org/listinfo/xmpp4r-devel --------------------------------------------------------- elliott cable _ _ +1.919.636.4204 ( \---/ ) elliottcable.name ) . . ( [EMAIL PROTECTED] ____________________,--._(___Y___)_,--.__________________ `--' `--' THIS MESSAGE (and any attached materials) IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL, AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If you, the reader of this message, are not the intended recipient or the agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting all traces of it from your computer. Thank you. five.sentenc.es _________________________________________________________ Signature licensed under Creative Commons BY-NC-SA 3.0 Do not use it, unless you follow those terms! _______________________________________________ Xmpp4r-devel mailing list Xmpp4r-devel@gna.org https://mail.gna.org/listinfo/xmpp4r-devel