On Mon, Sep 20, 2010 at 10:17 PM, Ivan Willig <iwil...@gmail.com> wrote:
> I list, i am trying to connect to a USB GSM Modem with clojure. Basically, i
> want to open a serial connection to my modem and be able to pass commands to
> it. ( I think I am new to this whole modem thing).  I know I can do this in
> Java, but wanted to check if someone had a working solutions in Clojure.


Typically a USB modem will be exposed to your software as a serial
comm port. I don't have a suggestion for a Clojure wrapper; but it's
already generally easy to use Java APIs from Clojure of course. Here
is JavaComm:

http://www.oracle.com/technetwork/java/index-jsp-141752.html

(I noticed that the Java APIs are under Oracle Technet URLs nowadays,
and it felt a bit odd...)

I do have this tip, though: the last time I used Java for serial comm
a couple of years ago, the JavaComm package was already rather old and
not well updated. Depending on the OS you are running on, you might
find that RXTX works better - it did for me. http://www.rxtx.org/


-- 
Kyle Cordes
http://kylecordes.com

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to