Jump to page: 1 2
Thread overview
usb ?
Jan 02, 2004
Riccardo Cohen
Jan 03, 2004
John Reimer
Jan 03, 2004
Riccardo Cohen
Jan 03, 2004
John Reimer
Jan 03, 2004
John Reimer
Jan 04, 2004
Riccardo Cohen
Jan 04, 2004
Ilya Minkov
Jan 05, 2004
Riccardo Cohen
Jan 05, 2004
John Reimer
Jan 08, 2004
Riccardo Cohen
Jan 08, 2004
John Reimer
Jan 08, 2004
Riccardo Cohen
January 02, 2004
Hi,
I'd like to exchange information with my Palm (on usb port).
I could not find any information on all .hlp about that , where is the api for usb communications ?
Thanks
-- 
Riccardo Cohen

Articque
Les Roches
37230 Fondettes
France
web = http://www.articque.com
tel: +33 02 47 49 90 49
fax: +33 02 47 49 91 49

January 03, 2004
Oops?  Looks like someone hit the wrong news server :-). Or else this is a win32 USB question?

May be better answered in the palm newsgroup: news.palmos.com .

Wouldn't it be nice if DMC supported palm too ;-)?  Can't let Codewarrior corner the market now can we?


In article <bt3qtk$2dod$1@digitaldaemon.com>, Riccardo Cohen says...
>
>Hi,
>I'd like to exchange information with my Palm (on usb port).
>I could not find any information on all .hlp about that , where is the api for usb communications ?
>Thanks
>-- 
>Riccardo Cohen
>
>Articque
>Les Roches
>37230 Fondettes
>France
>web = http://www.articque.com
>tel: +33 02 47 49 90 49
>fax: +33 02 47 49 91 49
>


January 03, 2004
I need to build a console C application on my PC/Win32 with dmc 8.38n compiler.

It will communicate with my palm through usb, with an application that I build separately with codewarrior for palm compiler.

I cannot find the C api for usb ! any idea ?
Thanks


John Reimer wrote:

> Oops?  Looks like someone hit the wrong news server :-). Or else this is a win32
> USB question?
> 
> May be better answered in the palm newsgroup: news.palmos.com .
> 
> Wouldn't it be nice if DMC supported palm too ;-)?  Can't let Codewarrior corner
> the market now can we?
> 
> 
> In article <bt3qtk$2dod$1@digitaldaemon.com>, Riccardo Cohen says...
> 
>>Hi,
>>I'd like to exchange information with my Palm (on usb port).
>>I could not find any information on all .hlp about that , where is the api for usb communications ?
>>Thanks
>>-- 
>>Riccardo Cohen
>>
>>Articque
>>Les Roches
>>37230 Fondettes
>>France
>>web = http://www.articque.com
>>tel: +33 02 47 49 90 49
>>fax: +33 02 47 49 91 49
>>
> 
> 
> 

-- 
Riccardo Cohen

Articque
Les Roches
37230 Fondettes
France
web = http://www.articque.com
tel: +33 02 47 49 90 49
fax: +33 02 47 49 91 49

January 03, 2004
In article <bt73s5$184p$1@digitaldaemon.com>, Riccardo Cohen says...
>
>I need to build a console C application on my PC/Win32 with dmc 8.38n compiler.
>
>It will communicate with my palm through usb, with an application that I build separately with codewarrior for palm compiler.
>
>I cannot find the C api for usb ! any idea ?
>Thanks
>

Sorry, didn't think it was a DMC related question at first.  I have no clue about the USB C api.  Perhaps someone else can help.


January 03, 2004
In article <bt73s5$184p$1@digitaldaemon.com>, Riccardo Cohen says...
>
>I need to build a console C application on my PC/Win32 with dmc 8.38n compiler.
>
>It will communicate with my palm through usb, with an application that I build separately with codewarrior for palm compiler.
>
>I cannot find the C api for usb ! any idea ?
>Thanks

Now I'm thinking....

I haven't done any palm developing myself, but I've studied it a little in preparation for it.  I was under the impression that you don't use direct USB access to establish a palm/PC-app connection (that would be very low level and tricky, I would think).  You use conduits through hotsync that abstracts the connection type (USB, IFr, network, wirless).  The conduits are called by hotsync to establish data connections for the device/(pc app).  If this is the case, don't you use the Palm Conduit developer's kit?  The kit says it supports MS Visual C++ 6.* and .NET.  Perhaps it's possible to get it working with the latest DMC (MS libraries can and have been converted before).  At least it should be possible, but it may require some library format conversions (coff to omf) and header tweaks.

But perhaps you are talking about direct management of the USB connection between the Palm device and the PC application afterall.  I would think that is very unusual and difficult.  And I don't know how or why this would be done.

Documentation: http://www.palmos.com/dev/support/docs/conduits/win/

Palm CDK:
http://www.palmos.com/dev/tools/cdk/win/

Maybe this helps, but I probably completely missed the mark!  Good luck!

John Reimer


January 04, 2004
You're right about conduit. But conduit is run by the hotsync application, which in the same time is suppose to backup everything, synchronize calendar...

My sync cannot be executed in hotsync process because it synchronizes data with many users. If 10 persons in a company need to synchronize my application with the central database from the same central PC, they would not like to push the hotsync button for privacy reasons.

Actually, I already done a serial communication independant from hotsync. But now I've changed my cradle, and the plug is not serial but usb, so I need to rebuild a small communication part in my win32 code. The palm code does not change, since the palmos handles all cradles as a serial communication.


John Reimer wrote:

> In article <bt73s5$184p$1@digitaldaemon.com>, Riccardo Cohen says...
> 
>>I need to build a console C application on my PC/Win32 with dmc 8.38n compiler.
>>
>>It will communicate with my palm through usb, with an application that I build separately with codewarrior for palm compiler.
>>
>>I cannot find the C api for usb ! any idea ?
>>Thanks
> 
> 
> Now I'm thinking....
> 
> I haven't done any palm developing myself, but I've studied it a little in
> preparation for it.  I was under the impression that you don't use direct USB
> access to establish a palm/PC-app connection (that would be very low level and
> tricky, I would think).  You use conduits through hotsync that abstracts the
> connection type (USB, IFr, network, wirless).  The conduits are called by
> hotsync to establish data connections for the device/(pc app).  If this is the
> case, don't you use the Palm Conduit developer's kit?  The kit says it supports
> MS Visual C++ 6.* and .NET.  Perhaps it's possible to get it working with the
> latest DMC (MS libraries can and have been converted before).  At least it
> should be possible, but it may require some library format conversions (coff to
> omf) and header tweaks.
> 
> But perhaps you are talking about direct management of the USB connection
> between the Palm device and the PC application afterall.  I would think that is
> very unusual and difficult.  And I don't know how or why this would be done.
> 
> Documentation:
> http://www.palmos.com/dev/support/docs/conduits/win/
> 
> Palm CDK:
> http://www.palmos.com/dev/tools/cdk/win/
> 
> Maybe this helps, but I probably completely missed the mark!  Good luck!
> 
> John Reimer
> 
> 

-- 
Riccardo Cohen

Articque
Les Roches
37230 Fondettes
France
web = http://www.articque.com
tel: +33 02 47 49 90 49
fax: +33 02 47 49 91 49

January 04, 2004
I would be afraid you cannot talk to USB directly from a user-level application. You may want to see in Driver Development Kit.

What driver do you currently have installed for your USB Palm cradle node? Perhaps you can find some information how to communicate with this specific driver.

-eye

Riccardo Cohen wrote:
> I cannot find the C api for usb ! any idea ?
> Thanks

January 05, 2004
I did not install any driver, but the hotsync provided with palm may have done so.
Thanks

Ilya Minkov wrote:

> I would be afraid you cannot talk to USB directly from a user-level application. You may want to see in Driver Development Kit.
> 
> What driver do you currently have installed for your USB Palm cradle node? Perhaps you can find some information how to communicate with this specific driver.
> 
> -eye
> 
> Riccardo Cohen wrote:
> 
>> I cannot find the C api for usb ! any idea ?
>> Thanks
> 
> 

-- 
Riccardo Cohen

Articque
Les Roches
37230 Fondettes
France
web = http://www.articque.com
tel: +33 02 47 49 90 49
fax: +33 02 47 49 91 49

January 05, 2004
This is an interesting problem.  How does one communicate with a palm handheld without syncing up everything with hotsync?  Would it be possible to use the networking subsytem in the palm?  For example, a palm handheld can surf the net with the integrated web browser while it's sitting in the cradle.  This is done without actually hotsyncing the PDA.  I don't know an analogy for working in the opposite direction.  But there's got to be a way for USB PDA/PC communication without actually hotsyncing.  I would imagine there should be some documentation on this somewhere, but I think it's still a Palm programming (PC app -> palm interface) issue and not a DMC one (not, at least, until it's determined how all this is actually done).  Have you tried asking this on the palm forum?  I would be very surprised if this topic has not been discussed there already.

That said, I CAN see why you would want to do this.  Hotsyncing is definitely not always desirable.  Separate communication could be useful in some circumstances (such as the one you mentioned).

In article <btc7rg$5ud$1@digitaldaemon.com>, Riccardo Cohen says...
>
>I did not install any driver, but the hotsync provided with palm may have done so. Thanks
>
>Ilya Minkov wrote:
>
>> I would be afraid you cannot talk to USB directly from a user-level application. You may want to see in Driver Development Kit.
>> 
>> What driver do you currently have installed for your USB Palm cradle node? Perhaps you can find some information how to communicate with this specific driver.
>> 


January 08, 2004
I've been speaking in palm forum just after our discussion, and they don't know either...
Some proposed to buy a serial cradle ! and others gave address to buy a PPP software that makes palm communicate with the PC through tcpip... which need an additionnal driver.
I've just subscribed to palmone dev program, and asked palmone support, we'll see.

Thanks a lot

John Reimer wrote:

> This is an interesting problem.  How does one communicate with a palm handheld
> without syncing up everything with hotsync?  Would it be possible to use the
> networking subsytem in the palm?  For example, a palm handheld can surf the net
> with the integrated web browser while it's sitting in the cradle.  This is done
> without actually hotsyncing the PDA.  I don't know an analogy for working in the
> opposite direction.  But there's got to be a way for USB PDA/PC communication
> without actually hotsyncing.  I would imagine there should be some documentation
> on this somewhere, but I think it's still a Palm programming (PC app -> palm
> interface) issue and not a DMC one (not, at least, until it's determined how all
> this is actually done).  Have you tried asking this on the palm forum?  I would
> be very surprised if this topic has not been discussed there already.
> 
> That said, I CAN see why you would want to do this.  Hotsyncing is definitely
> not always desirable.  Separate communication could be useful in some
> circumstances (such as the one you mentioned).
> 
> In article <btc7rg$5ud$1@digitaldaemon.com>, Riccardo Cohen says...
> 
>>I did not install any driver, but the hotsync provided with palm may have done so.
>>Thanks
>>
>>Ilya Minkov wrote:
>>
>>
>>>I would be afraid you cannot talk to USB directly from a user-level application. You may want to see in Driver Development Kit.
>>>
>>>What driver do you currently have installed for your USB Palm cradle node? Perhaps you can find some information how to communicate with this specific driver.
>>>
> 
> 
> 

-- 
Riccardo Cohen

Articque
Les Roches
37230 Fondettes
France
web = http://www.articque.com
tel: +33 02 47 49 90 49
fax: +33 02 47 49 91 49

« First   ‹ Prev
1 2