Friday, August 14th, 2009 | Author: zedmaster

Instale os pacotes:

 apt-get install gnome-bluetooth gnome-vfs-obexftp libopenobex1 obex-data-server bluez-gnome bluez-utils cu


Registrando a porta serial

 ~$ sdptool add --channel=3 SP
 Serial Port service registered

Ative a porta para ficar aguardando uma conexão:

 ~$ rfcomm listen rfcomm0 3
 Waiting for connection on channel 3

No celular :
- Abra o Python (BTConsole)
- Opções -> Bluetooth console
- Selecione a máquina

Conectando no terminal do celular:

 ~$ cu -l /dev/rfcomm0
 Connected.
 >>>

Testando o console:

 import audio
 audio.say(u'Testando o Python')

Se o seu computador resmungar alguma coisa, parabéns, esta funcionando.

Estou começando a estudar agora Python no Symbian, então se tiver interesse acesse a minha wiki: wiki.uzed.com.br

Category: Nokia, Python
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply

Please insert the signs in the image: