08-14-2009 02:25 AM
Hi there. I've seen some discussion about using your local Wifi router rather than your mobile carrier. Apparently, you can ping your wireless router if you set it up. But what I really want is to be able to ping my BB from my laptop when it's plugged in with a USB cable. Alternatively, maybe sockets?
08-14-2009 10:36 AM
Ok, here's quite a bit of discussion on http:// connections and sockets. Not quite what I want, since it deals with acquiring a web connection. I'm trying to treat my BB (pearl) as a computer on my LAN.
I have a program on my laptop that is designed for tethering over ppp. It has a command option called "use threaded socket router." Now I need help to find a hook that I can use for my BB app to reference that socket connection and trigger an action.
08-14-2009 01:36 PM
Ok, I think I now understand that what I want to do is use the USB demo in the JDE to talk between my BB and my desktop. The demo uses the COM interface. What if I want to talk to a different client using a different interface. I think the relevant line is
_sc = (StreamConnection)Connector.open("comm:USB;channel
Where CHANNEL = JDE_USBClient
Pls forgive me. I don't do a lot of java. So what if I want to connect to say, a java applet running a desktop? Better yet, how about Ruby? I came across 'Ruby-serialport' and still digesting this one: http://hazy.stupor.org/blog/archives/category/ruby