On Fri, Mar 13, 2009 at 5:27 PM, wind sh <[email protected]> wrote:
> tks for your great help.
>
> could i inteprete your explain as the following? correct me if i am wrong
> (most likely, i could be wrong because of my limit knowledge about usb).
>
> calling javax-usb API can directly interact with that special usb
> device(zigbee enabled receiver/usb device) (i mentioned at last posting).

This is correct.

> import zigbee driver first(if any), then calling javax-usb API to interact
> with zigbee driver?

This is incorrect.

> which above is correct?
>
> the reason i get confused is because in your reply, u said "With javax.usb,
> you remove all those drivers and talk directly to the USB device.  So for
> example if you wanted to talk to a USB mass storage key that was formatted
> with, for example, the FAT filesystem,
> you would have to implement a full "Mass Storage" driver in Java on top of
> javax.usb, as well as an entire FAT filesystem driver on top of
> that." .....remove all...have to implement....kind of confused..that is why
> i have to ask the above 'silly' question again.

I really don't think you want to use javax.usb, because the protocol
for the ZigBee device(s), at the USB level, is almost certainly more
than you want to take on.  If I'm assuming correctly, the ZigBee
device is supposed to provide a slow-transfer wireless connection, so
assuming the native Linux drivers work, you probably can talk to your
remote device/system using the java.net package.  (I assume talking to
a remote system and/or device over the ZigBee wireless network is what
you ACTUALLY want to do, even though you are talking about the ZigBee
itself).

However.  If I'm wrong, and you really do want to talk directly to the
ZigBee, then like I said; you can.  Remove the native Linux drivers
(you can "force" claim, see the FAQ or search the mailing list).  Then
claim the appropriate interface(s), open the right pipe(s), and start
talking to your device.  The ZigBee, that is.

>
> tks again for helping me to move forward.
>
> john
>
>
>
>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
javax-usb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to