Hello,
I have everything except the right kermit command:
m...@mobii:~$ kermit /dev/rfcomm2
/dev/rfcomm2
C-Kermit 8.0.211, 10 Apr 2004, for Linux
Copyright (C) 1985, 2004,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home/marc/) C-Kermit>
Is useless, as I want to have a console ON the tomtom itself.
I suppose you can bind to the device, and then get on the tomtom, but
how is the kermit cmd?
(another one is ok too, cu?)
Marc
ps= the guide:
BT network connect for the TomTom
by Roberto Piola (http://www.ilpiola.it/roberto/tomtom)
This is a simple tool for an easy debugging of applications on
via bluetooth, and even to start a ppp daemon for giving IP
connection to the tomtom, useful for downloading programs via
wget.
In order to install it:
- unpack the zip file to the root of the SD card: it should
create two directories: wildtom and SdkRegistry (if these
directories already exist, the contents of the archive
should be merged with the existing content)
- reset the device
In order to connect to the tomtom console:
- make sure bluetooth is enabled on the tomtom and tap the
"start bt network" icon on the tomtom: it will announce its
own bluetooth Address as
<a scmall circle> hci0 <a small circle> XX:XX:XX:XX:XX:XX
- annotate the address XX:XX:XX:XX:XX:XX and tap "OK". After
a short while, a screen displaying
rfcomm listen /dev/rfcomm1 1
rfcomm listen /dev/rfcomm2 2
rfcomm listen /dev/rfcomm3 3
will appear
- on a Linux PC equipped with a bluetooth adapter and the
bluez utilites installed, issue the
following command:
hcitool scan
it will display the bluetooth address XX:XX:XX:XX:XX:XX
along with the tomtom model (and maybe some other bluetooth
devices in range); if the tomtom is not displayed, check
the bluetooth stack on both the tomtom and the pc
- now issue (on the PC) the command:
rfcomm connect /dev/rfcomm2 XX:XX:XX:XX:XX:XX 2
(of course, substitute your real bluetooth address)
if /dev/rfcomm2 is in use, you are free to select any other
virtual tty /dev/rfcommX, but keep the channel # 2 (the 2
at the end of the line)
- if it succeeds, it should display something like:
Connected /dev/rfcomm2 to XX:XX:XX:XX:XX:XX on channel 2
Press CTRL-C for hangup
and the tomtom will display rfcomm2: .... connected
- now, in another window, open any serial communication program
(I strongly suggest kermit, but you are free), and connect
to serial port /dev/rfcomm2, at the highest possible speed
- type a couple of returns: a prompt
BT>
will appear
- now type
sh
and press enter: you will have a standard shell
- issue any command you want; if you want to free the screen
of the tomtom, you can stop the
/bin/sh /mnt/sdcard/wildtom/rfcommmonitor
process with a kill command
In order to start a ppp daemon:
- start the program like in the previous case
- issue a
rfcomm connect /dev/rfcomm3 XX:XX:XX:XX:XX:XX 3
command on the PC (please notice the 3 instead of 2)
- issue a
pppd debug nodetach 115200 /dev/rfcomm3
- after some chat, it will connect the two devices: the PC will
be 192.168.145.2 and the tomtom 192.168.145.1 (edit file
wildtom/pppdlistener if you want to change these addresses)
- now, if you have an ftp daemon on the PC, you can download
files from the PC to the tomtom with the wget command:
wget -P destinationdirectory ftp://username:[email protected]/file
(of course, you must be connected to the console as well)
A plus: connect to the gps device:
- rfcomm connect /dev/rfcomm1 XX:XX:XX:XX:XX:XX 1
will connect your PC's /dev/rfcomm1 directly to the GPS receiver;
you will be able to dump NMEA data with any communication program
LICENSE
If you are happy with this program, I'll greatly appreciate any donation.
You can send money to me via Paypal by simply registering to www.paypal.com
and using the option "send money to an email address": [email protected]
If you are using this program professionally (i.e.: if you use it for
debugging programs that you are going to sell), or if you need assistance
in using it, a payment of at least 10 euro is REQUIRED.
--
What's on Shortwave guide: choose an hour, go!
http://shortwave.tk
700+ Radio Stations on SW http://swstations.tk
300+ languages on SW http://radiolanguages.tk