#40591 - 05/10/2001 21:40
PalmEmpeg
|
new poster
Registered: 04/10/2001
Posts: 23
|
I wrote a Palm program and a HotSync conduit which allow Palm to interface with an RioCar unit via a serial cable.
Here's the link
Comments and suggestions are welcome.
|
Top
|
|
|
|
#40592 - 05/10/2001 23:57
Re: PalmEmpeg
[Re: karimg]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
WOW.
I'm preparing some new FAQ entries for the upcoming riocar.org site, and this link is going to be used in one of them. Good work. ___________
Tony Fabris
|
Top
|
|
|
|
#40593 - 06/10/2001 00:43
Re: PalmEmpeg
[Re: karimg]
|
pooh-bah
Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
|
Minor nit;
on the web page it says
Add the following to your config.ini:
[ouput]
notify=1
Shoudln't the second line be
[output]
?
/Michael
_________________________
/Michael
|
Top
|
|
|
|
#40594 - 06/10/2001 01:09
Re: PalmEmpeg
[Re: mtempsch]
|
new poster
Registered: 04/10/2001
Posts: 23
|
You are right!
I made the correction.
Thanks.
|
Top
|
|
|
|
#40595 - 06/10/2001 01:23
Re: PalmEmpeg
[Re: karimg]
|
enthusiast
Registered: 16/02/2001
Posts: 373
Loc: Switzerland
|
Cool!
Question? Do I have to put only the dll in the Palm directory? Or is there a regsvr32 needed? I use the directory c:\program files\Handspring with the HS 3.1.2!
Thanks
CrazyMelki
|
Top
|
|
|
|
#40596 - 06/10/2001 01:50
Re: PalmEmpeg
[Re: crazymelki]
|
new poster
Registered: 04/10/2001
Posts: 23
|
HotSync conduits aren't registered using regsvr32, at least not to my knowledge.
You can put the dll in any folder as long as you input the full path when adding the conduit using CondCfg.exe.
You might wanna check out my website again, I added few things about how to register the conduit.
Good Luck.
|
Top
|
|
|
|
#40597 - 06/10/2001 02:02
Re: PalmEmpeg
[Re: karimg]
|
enthusiast
Registered: 16/02/2001
Posts: 373
Loc: Switzerland
|
But the CondCfg.exe is a developer app. Can you put this application also on your web to download.
I haven't on my PC and I did quick check the PalmOS website and found this info:
http://oasis.palm.com/dev/kb/manuals/1685.cfm#header
You can use the CondCfg.exe utility to install your conduit on your machine while it is in development, but this is a developer's tool and should not be shipped to end users to install your conduit on their machines. :-(
Thanks
CrazyMelki
|
Top
|
|
|
|
#40598 - 06/10/2001 08:03
Re: PalmEmpeg
[Re: karimg]
|
enthusiast
Registered: 16/02/2001
Posts: 373
Loc: Switzerland
|
Finally I got it work! And found also the Creator ID!
If someone hasn't the Condcfg.exe see the attachment!
Karimg, what you think about to connect via IR instead of serial?
bye CrazyMelki
Attachments
39525-PalmEmpegTool.zip (136 downloads)
|
Top
|
|
|
|
#40599 - 06/10/2001 08:14
Re: PalmEmpeg
[Re: crazymelki]
|
new poster
Registered: 04/10/2001
Posts: 23
|
I guess it's possible! The advantage of using a serial cable, is the fact that the RioCar unit can be installed anywhere in the car. With IR, you need to have a close distance between devices.
|
Top
|
|
|
|
#40600 - 06/10/2001 08:28
Re: PalmEmpeg
[Re: karimg]
|
enthusiast
Registered: 16/02/2001
Posts: 373
Loc: Switzerland
|
So you think I have to build in a second Palm in my car? See the pic!
Or mabye a Visor?
Are you using a Palm Modem Cable?
What are your further plans for the PalmEmpeg?
bye CrazyMelki
Attachments
39528-palmCar.JPG (263 downloads)
|
Top
|
|
|
|
#40601 - 06/10/2001 11:46
Re: PalmEmpeg
[Re: crazymelki]
|
new poster
Registered: 04/10/2001
Posts: 23
|
Why would you have to buy a second Palm unit?
You can use the same Palm device you're using for other things. As to the cable, it's a standard HotSync serial cable. You can get it from any store that sells PDAs.
Future plans include downloading the playlist directly from RioCar without HotSyncing! BTW, that was my original plan, hence the refresh button, but it was not reliable. I'm still working on it.
Another thing of course, is add GPS capablities. I was thinking about connecting the GPS device through an AB serial switch. The user would have to select which connection to use.
|
Top
|
|
|
|
#40602 - 06/10/2001 12:02
Re: PalmEmpeg
[Re: karimg]
|
enthusiast
Registered: 16/02/2001
Posts: 373
Loc: Switzerland
|
It was only a joke. Anyway I am working in the Handheld business. A second PalmOS device it's not a problem. The problem is more, that the Palm is limited with hardware connections with only one serial port....
I will try it on Monday with with HS-Cable and let you know!
Thanks you!
CrazyMelki
|
Top
|
|
|
|
#40603 - 06/10/2001 12:50
Re: PalmEmpeg
[Re: crazymelki]
|
new poster
Registered: 04/10/2001
Posts: 23
|
Ah, OK :)
Well, you know, the ultimate solution would have been a Palm device with a wireless ethernet interface. The problem of course is these devices (Symbol SPT1700 for example) are expensive. It's usually not a problem when I deign a mobile solution for a big company.
|
Top
|
|
|
|
#40604 - 06/10/2001 14:06
Re: PalmEmpeg
[Re: karimg]
|
enthusiast
Registered: 16/02/2001
Posts: 373
Loc: Switzerland
|
No wireless ethernet isn't a problem! Xircom has for PalmOS devices solutions! http://www.xircom.com/cda/page/0,1298,0-0-1_1-1576,00.html
But you have to start first with the Springboard driver, because I use personally a Visor .
bye CrazyMelki
|
Top
|
|
|
|
#40605 - 09/10/2001 20:12
Re: PalmEmpeg
[Re: karimg]
|
enthusiast
Registered: 30/09/1999
Posts: 252
|
Looks great. Now I need a Palm.
Proud Owner of MK2 080000558 - 18gb Blue
_________________________
Sonic Blue 03 Cobra Vert Owner!!!
|
Top
|
|
|
|
#40606 - 09/10/2001 21:21
Re: PalmEmpeg
[Re: 94cobra]
|
new poster
Registered: 04/10/2001
Posts: 23
|
May be you'll get it this Christmas :)
|
Top
|
|
|
|
#40607 - 10/10/2001 14:58
Re: PalmEmpeg
[Re: karimg]
|
addict
Registered: 03/07/2001
Posts: 663
Loc: Dallas, TX
|
Ok, I've got the latest developer image on there .. I've also edited my config.ini file as specified. I've got the serial speed on both palm and the empeg set as specified...
When I click the refresh button in the palm app (once the serial is connected to the player) it says loading data .... and that's it.
I don't hear any harddrives churning out anything ... is there something else i should be noticing? do I need the player in standby mode or active mode?
is there any other indication I should get that this is working correctly?
I'd really like to avoid adding yet another conduit to my list of bulging entries if that's at all possible....
hope one of you guys can help me get this to work, it looks like fun!
greg
--
Rio Car (40Gig) Blue/Red/Green/Amber Face (Looking for 2.0!)
'01 Audi A4 2.8 Quattro
_________________________
|
Top
|
|
|
|
#40608 - 10/10/2001 15:20
Re: PalmEmpeg
[Re: grgcombs]
|
new poster
Registered: 04/10/2001
Posts: 23
|
Go to http://www.psibits.com/PalmEmpeg and download the latest prc file. If you're still having a problem, let me know.
P.S. Make sure the speed is set to 115200.
|
Top
|
|
|
|
#40609 - 11/10/2001 12:44
Re: PalmEmpeg
[Re: karimg]
|
carpal tunnel
Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
|
KarimG: "Comments and suggestions are welcome."
Could you make it cooler?????
This is really excellent. I was dinking around with the idea of a Sony RM-X4S or RM-XM10 for the cockpit of my boat, but I think you just blew all that away. Now I have to figure out what Palm can generate enough contrast to best handle direct sunlight.
(OT: Anybody see the new backlit NEC notebook that supposedly loves direct sunlight?? Might have to get one of them next summer, for, ummm....work!)
Thanks, man! Wow.
Jim
_________________________
Jim
'Tis the exceptional fellow who lies awake at night thinking of his successes.
|
Top
|
|
|
|
#40610 - 11/10/2001 13:13
Re: PalmEmpeg
[Re: jimhogan]
|
new poster
Registered: 04/10/2001
Posts: 23
|
That's a hardware Issue.
This kinda reminds of that old joke: How many Microsoft engineers does it take to change a light bulb?
Ans: None! It's a hardware issue.
|
Top
|
|
|
|
#40611 - 13/10/2001 05:33
Re: PalmEmpeg
[Re: karimg]
|
pooh-bah
Registered: 13/09/1999
Posts: 2401
Loc: Croatia
|
This kinda reminds of that old joke: How many Microsoft engineers does it take to change a light bulb?
Ans: None! It's a hardware issue
Alternatively, they pronounce darkness a standard Dragi "Bonzi" Raos
Zagreb, Croatia
Q#5196, MkII#80000376, 18GB green
_________________________
Dragi "Bonzi" Raos
Q#5196
MkII #080000376, 18GB green
MkIIa #040103247, 60GB blue
|
Top
|
|
|
|
#40612 - 13/10/2001 07:43
Re: PalmEmpeg
[Re: karimg]
|
member
Registered: 30/06/1999
Posts: 179
Loc: Switzerland
|
Has anybody tried the ir connection in the meantime? This would be very cool!
I don't have a serial cable to connect my palm with my empeg. And in the car I don't have the serial line connected.
|
Top
|
|
|
|
#40613 - 13/10/2001 09:14
Re: PalmEmpeg
[Re: alex25]
|
new poster
Registered: 04/10/2001
Posts: 23
|
To use Palm's Ir with the RioCar unit, you need to hold Palm pretty close to it. That would beat the whole purpose of PalmEmpeg which is controlling RioCar when it's not visible (under the seat, in the trunk,...).
Modifying PalmEmpeg to use Ir is very easy, the problem is going to be having RioCar feed data through it's Ir. I would say some kernel modification would be required.
|
Top
|
|
|
|
#40614 - 13/10/2001 09:26
Re: PalmEmpeg
[Re: karimg]
|
enthusiast
Registered: 16/02/2001
Posts: 373
Loc: Switzerland
|
Karim,
An other question. What about to have the possiblity to choose form PalmEmpeg the Pref-Network and Connection Setting available? So we can use it also via Ethernet, Bluetooth ect...! :-) Or is this not possibl because of the special Output from the serial port?
Let's say we need a additional menu Connection:-)
Or people can use your Conduit instead of sync.
bye
CrazyMelki
|
Top
|
|
|
|
#40615 - 13/10/2001 09:27
Re: PalmEmpeg
[Re: karimg]
|
member
Registered: 30/06/1999
Posts: 179
Loc: Switzerland
|
I own a palm m505. It's possible to communicate (synchronize) with my desktop pc via ir and a distance of about 1 meter.
So is the empeg limiting the distance?
It would be great if I could remote control the empeg with the palm (search for a title on the palm [offline] --> bring the palm in front of the empeg --> play title on empeg)
|
Top
|
|
|
|
#40616 - 13/10/2001 10:03
Re: PalmEmpeg
[Re: crazymelki]
|
new poster
Registered: 04/10/2001
Posts: 23
|
I have yet to do some hacking on the Empeg's ethernet connection.
It should be rather easy to have PalmEmpeg communicate through an ethernet connection (sockets). I already have socket class library for Palm. I thought it was better to communicate through a serial cable since it is available for all Palms.
PalmEmpeg is written in C++, and the communication is handled through a seperate class, EmpegPlayer. This means, the application doesn't care about where the data is coming from (serial, ir, tcp/ip,...) as it is handled separately. The app makes calls like: EmpegPlayer::Open(), EmpegPlayer::Play(), EmpegPlayer::Next(), EmpegPlayer::SendCommand(),...
The EmpegPlayer class can be adjusted to use almost any source, through something like : EmpegPlayer::SetSource(UInt16 sourceID)
.
|
Top
|
|
|
|
#40617 - 13/10/2001 10:05
Re: PalmEmpeg
[Re: alex25]
|
new poster
Registered: 04/10/2001
Posts: 23
|
That sounds like a cool idea!
I'll look into it.
|
Top
|
|
|
|
#40618 - 15/10/2001 08:23
Re: PalmEmpeg
[Re: karimg]
|
carpal tunnel
Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
|
When we first played with the empeg's IrDA, I used some linux irobex programs to transfer a contact card from the palm to the empeg; this sort of thing should work just fine.
IIRC, IrDA kernel support is standard in mk2 kernels (it's not in mk1's as the memory overheard is big enough to be a bad idea in 8mb, users have to compile their own kernels for the mk1 if they want irda).
Hugo
|
Top
|
|
|
|
#40619 - 19/10/2001 05:56
Re: PalmEmpeg
[Re: karimg]
|
addict
Registered: 08/08/2001
Posts: 452
Loc: NZ
|
how about pocketpc empeg control :)
|
Top
|
|
|
|
#40620 - 19/10/2001 10:02
Re: PalmEmpeg
[Re: JaBZ]
|
new poster
Registered: 04/10/2001
Posts: 23
|
That's not a bad idea!
I'll try to port the app to Windows.
Unfortuately, I don't have a CE device, so looks like I'll have to rely on the x86 emulator!
|
Top
|
|
|
|
#40621 - 19/10/2001 13:25
Re: PalmEmpeg
[Re: karimg]
|
enthusiast
Registered: 11/11/2000
Posts: 202
Loc: Boston, MA
|
Got it, got it running, and man is it slow.
It's loading my playlist of about 3500 songs into it through Serial and it is taking about 1 second per song. At this rate, I am looking at a better part of an hour to get the playlists into the Palm. The interface is nice but will it have to do a complete sync every time? Can I output the csv file from emplode and HotSync it into the Palm to speed this up?
Greg
|
Top
|
|
|
|
#40622 - 19/10/2001 13:50
Re: PalmEmpeg
[Re: kazama]
|
new poster
Registered: 04/10/2001
Posts: 23
|
Greg,
The reason it's so slow is because there is no command provided by Empeg that sends a list of all songs through the serial connection. The minute there is such a thing, I will implement it.
The way it works, now, the Palm app, starts at the beginning of the play list, pauses the song, then moves to the next one. This process is slow, plus, if the Palm app moves too fast through the list, it gets desynchronized with the RioCar unit. I had to put a reasonable timeout period of a second for that reason.
The HotSync conduit, however, is much more faster, because it simply reads from a file (c:\playlist.txt), and sends it directly to Palm. May be that's what you should use for now, since you have so many songs.
Let me know about any other issues you might have.
|
Top
|
|
|
|
#40623 - 19/10/2001 15:23
Re: PalmEmpeg
[Re: karimg]
|
new poster
Registered: 04/10/2001
Posts: 23
|
There have been several features which were added to both the Palm app as well as the HotSync conduit. Few bugs were taken care of as well.
Please visit http://www.psibits.com/PalmEmpeg regularly to get the latest version.
|
Top
|
|
|
|
#40624 - 21/10/2001 11:10
Re: PalmEmpeg
[Re: karimg]
|
addict
Registered: 22/07/1999
Posts: 453
Loc: Florida
|
Have you tried sending the database or playlists files in /empeg/var over irda using sz? They're binary, but you should be able to decode them, right?
_~= Dearing =~_ "WAY too happy about having #99."
_________________________
_~= Dearing =~_ Gettin' back into it thanks to slimrio!
|
Top
|
|
|
|
#40625 - 21/10/2001 13:10
Re: PalmEmpeg
[Re: Dearing]
|
new poster
Registered: 04/10/2001
Posts: 23
|
I already considered that. The problem however is that the Empeg unit is under the seat, and the Palm device is by the driver's seat. I wanted some fast way to get the data through the serial cable which I'm already using.
Right now, I have two ways of doing it. One through the serial but it's slow since the Palm app starts at the begining of the playlist and keep moving. The problem is that it's slow (one song per second). The second method, which is very fast (50 songs per second), requires connecting Palm to a PC to HotSync through conduit which I don't want to do.
Thanks for suggestion.
|
Top
|
|
|
|
#40626 - 22/10/2001 06:10
Re: PalmEmpeg
[Re: karimg]
|
addict
Registered: 22/07/1999
Posts: 453
Loc: Florida
|
If you started the player with the -s option and modified your init so that it called the player in the background, you should be able to keep your serial shell through the cable. Then you could sz or simply cat the database file (can you cat a binary file and read it correctly?). I've not tried starting the player in the background yet, would this work?
Just throwing ideas out there...
Jason
_~= Dearing =~_ "WAY too happy about having #99."
_________________________
_~= Dearing =~_ Gettin' back into it thanks to slimrio!
|
Top
|
|
|
|
#40627 - 22/10/2001 09:25
Re: PalmEmpeg
[Re: Dearing]
|
new poster
Registered: 04/10/2001
Posts: 23
|
Yes you can cat binary files, although, it's more flexible to open the file and read data through a C program.
I'll have to look into it some more.
Thanks.
|
Top
|
|
|
|
#40628 - 22/10/2001 10:03
Re: PalmEmpeg
[Re: karimg]
|
member
Registered: 26/09/2000
Posts: 194
Loc: Druten, The Netherlands
|
Does this help you in any way? ญญ______________
Edwin de Vaan
_________________________
[white]ญญ______________[/white] Edwin de Vaan aka FLaSHmAStER
|
Top
|
|
|
|
#40629 - 22/10/2001 12:52
Re: PalmEmpeg
[Re: edwin]
|
new poster
Registered: 04/10/2001
Posts: 23
|
|
Top
|
|
|
|
#40630 - 22/10/2001 13:01
Re: PalmEmpeg
[Re: karimg]
|
member
Registered: 26/09/2000
Posts: 194
Loc: Druten, The Netherlands
|
You're welcome! ญญ______________
Edwin de Vaan
_________________________
[white]ญญ______________[/white] Edwin de Vaan aka FLaSHmAStER
|
Top
|
|
|
|
|
|