Talk:Btconsole

From OpenTom

Jump to: navigation, search

File Copy?

Using:

WinXP
TomTom GO 730
BlueSoleil
Hyper Terminal (setting the emulation to auto detect)
Btconsole

Everything works just fine. But now, can anyone please tell me if there's a way to transfer files between the TomTom and my PC? I've a suspicion that this is something so obvious that no one bothers spelling it out. To me it's a complete mystery.

I can only assume that I would have to run something like Hyper Terminal on the TomTom -- easier said than done. Is there some kind of linux gibberish involving lots of '>'s and '|'s that'll do the trick (from TTConsole, e.g.)? --SipSip 15:33, 13 July 2008 (CEST)


Not quite. Tomtom has a getty running on the (virtual) serial ports. Getty will allow you to log in and starts a shell for you. The getty is startet on the bluethooth console with btconsole. You connect to this serial port via Windows bluetooth drivers, so you have a serial port on Windows that ends up on TomTom. Now you open this port with Hyperterminal so you can enter characters that are passed to Tomtom and Tomtom's replies are printed on the screen. So Hyperterminal is running on Windows, Btconsole is running on Tomtom and inbetween you have the bluetooth serial link.

To transfer files there are x- and z-modem file transfer protocols that should work fine for linux (and be supported by Hyperterminal), but they are not ready compiled for Tomtom. What I did was simply plug the SDCard from Tomtom into my PC and copy the necessary files where I need them. Then reboot Tomtom from this SDcard and the files are there. --Hiran 09:19, 20 July 2008 (CEST)

Well, plugging the SDCard into the PC sort of defies the purpose -- I mean, then what's the point in using Btconsole in the first place? OK, you don't have to fiddle with TTconsole. But, you see, my problem is this. I'm presently writing a program for the TomTom(based on HelloWorld). So, this is how it goes:

I compile the program, copy it to TomTom (which is sitting in its USB docking station), take the TomTom off the docking station, wait endlessly for it to reboot, then I start the program, see what it does, draw some conclusions, change my program, recompile it, put the TomTom back in the docking station, answer the question if I want to connect to the PC with 'yes', copy the program to the TomTom, take it off the docking station, wait for it to reboot... And then I'm about ready to SCREAM. It feels like I've waited entire hours for the damn thing to reboot.

Now, if I could just use Btconsole plus something to copy my program, I'd be working ten times faster. I tried redirecting /dev/rfcomm0 to a file and that worked up to a point, but not reliably enough to be useful. --SipSip 22:55, 27 July 2008 (CEST)


Perhaps, for someone who has half an inkling as to what they are doing -- i.e. not me! -- it would be possible to compile a G-Kermit/E-Kermit [1]... --SipSip 13:58, 15 July 2008 (CEST)

Tomtom supports PPP also. It makes such connections to download maps, voices and traffic updates. You could try to reconfigure that pppd to also accept connections via bluetooth serial port, and then use telnet and ftp connections. --Hiran 09:19, 20 July 2008 (CEST)

Hey, you are right! There is a pppd. Well, I've just looked at pppd's man page and one thing's obvious: If I were to try and figure this thingy out, it'd be taking me ages. Success definitely not guaranteed. I experimented with a tentative 'pppd rfcomm0' from Hyperterminal, which resulted in lots of strange characters appearing on the screen. You wouldn't happen to know how to do this right off the top of your head? --SipSip 22:55, 27 July 2008 (CEST)


I'm not sure where your problems are, I just typed "lrz" in the console and told my terminal program to send a file. Worked (XP, BlueSoleil, Hyper Terminal, a One v1 and navcore 7.162). Vice versa should work using "lsz".

One thing: There's a bug in BTConsole's reboot.cap, it searches for the reboot-command in "/bin/", but it's in "/sbin/"... --Joghurt 15:00, 31 August 2008

Personal tools