On Sun, May 20, 2007 at 09:22:39PM -0700, monxxx wrote:
> i am trying to send some bytes to my nokia 6630 / n70 phones
Do you know which protocol should be used?
What do you want to do with the phones?
For several things there is already software that works.
> i think nokia uses libusb0.dll
This is quite possible, but libusb0.dll is not neccessarily the same
as this libusb, or actually libusb-win32 (which is a separate project
at SourceForge).. Nokia can have their own USB library and it could
have the same name by accident.
> i tried to write in delphi..
>
> this is my code:
Does your present code work so far?
> how i can send bytes to phones?
With USB, it is not enough to know that bytes are going to "the
phone" - there are another few layers of protocols and interfaces
that the software requires knowledge about. These protocols and
interfaces can either be standardized by adhering to a USB Device
Class Specification, or they can be vendor defined.
Device class specs are freely available and there is already support
for many classes in several operating systems.
Vendor specific interfaces on the other hand requires extremely
detailed info about device internals and usually it is not possible
to get this info from vendors. At best they will release software
that uses their proprietary interfaces.
> like this byte '1b 00 10 11 42 54 DA ED'
So you see it's not enough to know that a series of bytes should be
sent "to the phone" - you need to know which interface to send them
to, and within that interface there may even be several so called
endpoints that are used to implement the protocol.
Again; look at the problem another way. What do you want to do with
the phone? There may exist solutions already.
//Peter
|