PDA

Visualizza la versione completa : sony ericsson bluetooth


Kandalf
07-12-2003, 13:32
ho una normale porta usb...che ti po di adattatore dovrei comprare per il mio cell sony ericsson con bluetooth?

posso provare i giochi java direttamente sul mio pc?
e per trasferirli?

grazie

osvi
07-12-2003, 22:41
io ho una "chiave" usb bluetooth, con chipset CSR
(il csr supportato anche da linux ricompilando il kernel e installando bluez)

per trasferire i giochi, click destro sul file, invia a, bluetoot, nome_telefono
per provarli sul computer nn so

:ciauz:

Kandalf
08-12-2003, 00:45
Originariamente inviato da osvi
io ho una "chiave" usb bluetooth, con chipset CSR
(il csr supportato anche da linux ricompilando il kernel e installando bluez)
:ciauz:

mhmhmh buone notizie...modelli consigliati? io ho solo le prime porte usb...

osvi
08-12-2003, 10:28
Originariamente inviato da Kandalf
mhmhmh buone notizie...modelli consigliati? io ho solo le prime porte usb...
un modello di preciso da consigliarti nn saprei, ti consiglio di nn comprarlo su internet in quanto spesso questi ruzzini bluetooth danno problemi, ed un negoziante di fiducia te lo cambia molto pi velocemente e facilmente
l'importante che il chipset sia csr (http://www.google.it/search?hl=it&ie=UTF-8&oe=UTF-8&q=csr+bluetooth&btnG=Cerca+con+Google&lr=lang_it)
tipo questo (http://www.blueconnect.it/scheda_tecnica.htm) , 4ultimo risultato nella pagina di google :)

:ciauz:

hotel_vv
08-12-2003, 14:22
per il mio ibook ho preso questo:

http://a248.e.akamai.net/7/248/2041/445/store.apple.com/Catalog/US/Images/Blutonium2_125.jpg

D-Link DBT-120 USB Bluetooth Adapter. Saranno 50 euri circa e va su mac che su winz

Kandalf
12-12-2003, 20:30
ho preso uno con chip csr a 31 euro....con win devo riavviare 60 volte x ogni modifica...invece x lin ho ricompilato il kernel 2.6 con bluetooth...programmi specifici per usarlO?

osvi
12-12-2003, 20:56
bello il 2.6 :sbav:
bluez.sourceforge.net quello che uso io e va molto bene
mi sa che devi rifarti il kernel un altra volta se nn hai incluso le patch per bluez :p

osvi
12-12-2003, 21:04
Download the very latest kernel from http://www.kernel.org. You need at least the 2.4.20-rc1 release.
Download the latest BlueZ patch from http://www.holtmann.org/linux/kernel/ and apply it to your kernel. E.g.:

cd /usr/src
tar xvzf linux-2.4.20.tar.gz
cd linux
patch -p1 <../patch-2.4.20-mh5

Recompile it with everything you usually need plus the following items:
Bluetooth support:
Bluetooth subsystem support
L2CAP protocol support
SCO links support
RFCOMM protocol
RFCOMM tty support
BNEP protocol support
Bluetooth device drivers:
HCI USB driver
HCI VHCI (Virtual HCI device) driver

WARNING: do NOT compile the USB Bluetooth support in the USB support section. If you do, it will prevent the BlueZ support from working. Be careful about this. Do not compile the USB Bluetooth support! Use the HCI USB driver instead!!! You have been warned!
After installing the new kernel you should have the following modules:

in /lib/modules/2.4.20-mh5/kernel/net/bluetooth/
bluez.o bnep l2cap.o sco.o rfcomm
in /lib/modules/2.4.20-mh5/kernel/net/bluetooth/bnep/
bnep.o
in /lib/modules/2.4.20-mh5/kernel/net/bluetooth/rfcomm/
rfcomm.o
in lib/modules/2.4.20-mh5/kernel/drivers/bluetooth/
hci_usb.o hci_vhci.o
Get the following programs from http://bluez.sf.net :
and compile them: usually it's just a matter of ./configure && make && make install.

Now you are ready to load the following modules using modprobe:
bluez
hci_usb
l2cap
rfcomm

Check if the Bluetooth dongle is active using:

hciconfig

hciconfig is the equivalent of ifconfig for Bluetooth devices. This is the output of hciconfig on my laptop:

hci0: Type: USB
BD Address: 00:E0:98:85:2C:70 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:99 acl:0 sco:0 events:13 errors:0
TX bytes:296 acl:0 sco:0 commands:12 errors:0

Pay attention to the "UP" and "ISCAN" keywords. If there is no hci0 up, then run:

hciconfig hci0 up

Now it's time to discover your mobile phone's bluetooth hardware address. Run:

hcitool scan

Scanning ...
00:XX:XX:XX:XX:XX NOME_PERIFERICA

dai sempre da console:
l2ping 00:XX:XX:XX:XX:XX (quello di prima)
e fare ctrl+c

Create a /dev/rfcomm0 character device with major number 216 and minor number 0:

mknod /dev/rfcomm0 c 216 0

In order to make your laptop and mobile phone communicate you have to choose a unique number sequence. This "password" is supposed to provide some degree of security to the communication.
In your mobile phone go to the Extras/Bluetooth menu and choose:
Discover

You'll see "Searching..." for a while and then the Palladio USB Dongle should appear in the list. Press "YES" and then choose:
Add to paired

Enter a Passkey (only numbers are allowed, e.g. 4398534). Write the very same Passkey inside the /etc/bluetooth/pin file and
restart hcid.

Your mobile phone will show "Pairing" for a while. If you entered the correct Passkey you'll be able to edit the Name tag associated to
the Palladio USB Dongle and the device will appear in the paired devices list.
Hit "YES" and you'll see "Added to paired devices".


Now open a channel to the mobile phone:

rfcomm bind 0 00:80:37:FE:5F:72 1

where 00:80:37:FE:5F:72 is the hardware address we mentioned before and the final 1 identifies this channel as the first one opened.

From now on, you can access your mobile phone through the /dev/rfcomm0 character file.

WARNING: you can't use it like a modem. If you do, you won't take advantage of the GPRS connection. You'll be using a classical 9600bps GSM expensive connection.

Before continuing, you need to configure a GPRS connection on your mobile phone. You can get all the GPRS parameters by calling your telco operator. This is what I did to setup a GPRS connection on my Ericsson T39m with Wind S.p.A.

Settings/Data comm./Data accounts/Add account/GPRS Data:
Name: Wind GPRS
APN: internet.wind
UserID: empty
Password: empty

Save, then choose "Wind GPRS" and Edit:
Password request: Off
Allow calls: Automatic
IP address: empty
DNS address: 212.245.255.2
Adv. settings:
Authentication: Normal
Data compr.: on
Header compr: on
Quality of service: default values

In order to make your mobile phone connect to Internet through GPRS you have to send it the following command through a chat script (exactly like talking to a serial modem except for you are using /dev/rfcomm0 instead of /dev/ttyS0):

AT+CGDATA="PPP",X

where X is the number indicating the GPRS profile to be used. Be careful about this setting! To discover what is the correct value for X take your mobile phone and go to the Settings/Data comm./Data accounts menu. Choose the GPRS connection you previously setup and scroll till you find a line beginning with CID=. That's the identification number of your GPRS connection. E.g. if you find a line like:
CID=3

then you have to use:

AT+CGDATA="PPP",3

as the dialing string.

Now you can setup a standard PPP dialup connection and use it as usual. However there are some things you have to take care of:

You have to disable hardware flow control and carrier detection. Add the following lines to /etc/ppp/options.rfcomm0 (or /etc/ppp/options to make them global)

-crtscts
local

Even if there is no password authentication needed to connect to Internet you can't simply disable authentication at all.
Enable CHAP authentication and set the login and password to whatever you want.

You won't receive lcp echo reply from your GPRS connection. Therefore you'll have to disable lcp requests: if you don't, your connection will always go down within a few minutes.

Find the following lines in your /etc/ppp/options file:

lcp-echo-interval XX
lcp-echo-failure XX

and remove them (put a # in front of them).



buona lettura :D :ciauz:

osvi
12-12-2003, 21:06
nell'ultima parte c' un tutorial per il gprs su linux, per windows c' la pillola mia (sempre e solo qui su wireless ;))

:ciauz:

Kandalf
19-12-2003, 21:25
che programma usate x linux??
ne ho installati diversi ma nn so come avviarli da shell

Loading