Vous êtes ici : Accueil > Linux > Bluetooth

Stéphane partage ses quelques connaissances sur Bluetooth avec son matos :

bt120 t68i V80 Nokia 6230 Nokia 6111 Moto V3

Bluetooth et Linux

Il existe 3 piles Bluetooth pour Linux !

Utilisation de BlueZ

Détection du dongle Bluetooth USB branché sur le PC

hcitool dev
BT120BT180

#hcitool dev
Devices:
        hci0    00:0B:0D:20:59:1C
hciconfig -a

#hciconfig -a
hci0:   Type: USB
        BD Address: 00:0B:0D:20:59:1C ACL MTU: 339:4  SCO MTU: 64:0
        UP RUNNING PSCAN ISCAN
        RX bytes:101 acl:0 sco:0 events:13 errors:0
        TX bytes:300 acl:0 sco:0 commands:13 errors:0
        Features: 0xff 0xff 0x3d 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'debian-0'
        Class: 0x000100
        Service Classes: Unspecified
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x93 LMP Ver: 1.1 (0x1) LMP Subver: 0x93
        Manufacturer: Transilica, Inc. (24)

#hcitool dev
Devices:
        hci0    00:0B:0D:60:88:5D
hciconfig -a

#hciconfig -a
hci0:   Type: USB
        BD Address: 00:0B:0D:60:88:5D ACL MTU: 377:10 SCO MTU: 16:0
        UP RUNNING PSCAN ISCAN
        RX bytes:117 acl:0 sco:0 events:15 errors:0
        TX bytes:313 acl:0 sco:0 commands:15 errors:0
        Features: 0xff 0xfe 0x0d 0x38 0x08 0x08 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'debian-0'
        Class: 0x3e0100
        Service Classes: Networking, Rendering, Capturing
        Device Class: Computer, Uncategorized
        HCI Ver: 1.2 (0x2) HCI Rev: 0x4 LMP Ver: 1.2 (0x2) LMP Subver: 0x309
        Manufacturer: Broadcom Corporation (15)

Détection du téléphone Bluetooth par le PC

hcitool scan

# hcitool scan
Scanning ...
        00:0A:D9:36:9C:87       T68i steph

# hcitool scan
Scanning ...
        00:0A:28:35:80:A8       Motorola Phone

(with BT180 I can see my neighbours phones ;-))
# hcitool scan
Scanning ...
        00:0E:ED:56:B2:87       Nokia 6230
        00:12:62:C2:8B:4B       Nokia 6230
        00:0A:28:35:80:A8       Motorola Phone Stephane
        00:17:E2:24:D3:07       Motorola Razor V3 Stephane


Détection des services Bluetooth disponibles sur les téléphones

T68iMotorola V80Nokia 6230Mototola Razor V3
sdptool browse 00:0A:D9:36:9C:87

sdptool browse 00:0A:D9:36:9C:87
Browsing 00:0A:D9:36:9C:87 ...
Service Name: Dial-up Networking
Service RecHandle: 0x10000
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

Service Name: Fax
Service RecHandle: 0x10001
Service Class ID List:
  "Fax" (0x1111)
  "Generic Telephony" (0x1204)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 2
Profile Descriptor List:
  "Fax" (0x1111)
    Version: 0x0100

Service Name: Voice gateway
Service RecHandle: 0x10002
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

Service Name: Serial Port 1
Service RecHandle: 0x10003
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 4

Service Name: Serial Port 2
Service RecHandle: 0x10004
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 5

Service Name: OBEX Object Push
Service RecHandle: 0x10005
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: IrMC Synchronization
Service RecHandle: 0x10006
Service Class ID List:
  "IrMCSync" (0x1104)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 11
  "OBEX" (0x0008)
Profile Descriptor List:
  "IrMCSync" (0x1104)
    Version: 0x0100

Service Name: Voice gateway
Service RecHandle: 0x1000f
Service Class ID List:
  "" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 6
Profile Descriptor List:
  "" (0x111e)
    Version: 0x0100
sdptool browse 00:0A:28:35:80:A8

sdptool browse 00:0A:28:35:80:A8
Browsing 00:0A:28:35:80:A8 ...
Service RecHandle: 0x0
Service Class ID List:
  "SDP Server" (0x1000)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "SDP" (0x0001)
Profile Descriptor List:
  "" (0x1000)
    Version: 0x0100

Service Name: Dial-up networking Gateway
Service Description: Dial-up networking Gateway
Service Provider: Motorola
Service RecHandle: 0x10001
Service Class ID List:
  "Dialup Networking" (0x1103)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
  code_ISO639: 0x6672
  encoding:    0x6a
  base_offset: 0xd800
  code_ISO639: 0x6465
  encoding:    0x6a
  base_offset: 0xd803
  code_ISO639: 0x6974
  encoding:    0x6a
  base_offset: 0xd806
  code_ISO639: 0x6573
  encoding:    0x6a
  base_offset: 0xd809
  code_ISO639: 0x6e6c
  encoding:    0x6a
  base_offset: 0xd80c
  code_ISO639: 0x7472
  encoding:    0x6a
  base_offset: 0xd80f
  code_ISO639: 0x7074
  encoding:    0x6a
  base_offset: 0xd812
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

Service Name: Voice Gateway
Service Description: Headset Audio Gateway
Service Provider: Motorola
Service RecHandle: 0x10003
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
  code_ISO639: 0x6672
  encoding:    0x6a
  base_offset: 0xd800
  code_ISO639: 0x6465
  encoding:    0x6a
  base_offset: 0xd803
  code_ISO639: 0x6974
  encoding:    0x6a
  base_offset: 0xd806
  code_ISO639: 0x6573
  encoding:    0x6a
  base_offset: 0xd809
  code_ISO639: 0x6e6c
  encoding:    0x6a
  base_offset: 0xd80c
  code_ISO639: 0x7472
  encoding:    0x6a
  base_offset: 0xd80f
  code_ISO639: 0x7074
  encoding:    0x6a
  base_offset: 0xd812
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

Service Name: Hands-Free voice gateway
Service Description: Hands-Free voice gateway
Service Provider: Motorola
Service RecHandle: 0x10007
Service Class ID List:
  "" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 7
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
  code_ISO639: 0x6672
  encoding:    0x6a
  base_offset: 0xd800
  code_ISO639: 0x6465
  encoding:    0x6a
  base_offset: 0xd803
  code_ISO639: 0x6974
  encoding:    0x6a
  base_offset: 0xd806
  code_ISO639: 0x6573
  encoding:    0x6a
  base_offset: 0xd809
  code_ISO639: 0x6e6c
  encoding:    0x6a
  base_offset: 0xd80c
  code_ISO639: 0x7472
  encoding:    0x6a
  base_offset: 0xd80f
  code_ISO639: 0x7074
  encoding:    0x6a
  base_offset: 0xd812
Profile Descriptor List:
  "" (0x111e)
    Version: 0x0101

Service Name: OBEX Object Push
Service Description: OBEX Object Push
Service Provider: Motorola
Service RecHandle: 0x10008
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 8
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
  code_ISO639: 0x6672
  encoding:    0x6a
  base_offset: 0xd800
  code_ISO639: 0x6465
  encoding:    0x6a
  base_offset: 0xd803
  code_ISO639: 0x6974
  encoding:    0x6a
  base_offset: 0xd806
  code_ISO639: 0x6573
  encoding:    0x6a
  base_offset: 0xd809
  code_ISO639: 0x6e6c
  encoding:    0x6a
  base_offset: 0xd80c
  code_ISO639: 0x7472
  encoding:    0x6a
  base_offset: 0xd80f
  code_ISO639: 0x7074
  encoding:    0x6a
  base_offset: 0xd812
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: OBEX file transfer
Service Description: OBEX file transfer
Service Provider: Motorola
Service RecHandle: 0x10009
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
  code_ISO639: 0x6672
  encoding:    0x6a
  base_offset: 0xd800
  code_ISO639: 0x6465
  encoding:    0x6a
  base_offset: 0xd803
  code_ISO639: 0x6974
  encoding:    0x6a
  base_offset: 0xd806
  code_ISO639: 0x6573
  encoding:    0x6a
  base_offset: 0xd809
  code_ISO639: 0x6e6c
  encoding:    0x6a
  base_offset: 0xd80c
  code_ISO639: 0x7472
  encoding:    0x6a
  base_offset: 0xd80f
  code_ISO639: 0x7074
  encoding:    0x6a
  base_offset: 0xd812
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100
sdptool browse 00:0E:ED:56:B2:87

sdptool browse  00:0E:ED:56:B2:87
Browsing 00:0E:ED:56:B2:87 ...
Service Name: OBEX Object Push
Service RecHandle: 0x10000
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: OBEX File Transfer
Service RecHandle: 0x10001
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100

Service Name: Dial-up networking
Service RecHandle: 0x10002
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

Service Name: Nokia PC Suite
Service RecHandle: 0x10003
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 15
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: COM 1
Service RecHandle: 0x10004
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Voice Gateway
Service RecHandle: 0x10005
Service Class ID List:
  "Handfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 13
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0101

Service Name: Audio Gateway
Service RecHandle: 0x10006
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 12
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

Service Name: SIM ACCESS
Service RecHandle: 0x1000c
Service Class ID List:
  "SIM Access" (0x112d)
  "Generic Telephony" (0x1204)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 4
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "SIM Access" (0x112d)
    Version: 0x0100
sdptool browse 00:0A:D9:36:9C:87

Browsing 00:17:E2:24:D3:07 ...
Service RecHandle: 0x0
Service Class ID List:
  "SDP Server" (0x1000)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "SDP" (0x0001)
Profile Descriptor List:
  "SDP Server" (0x1000)
    Version: 0x0100

Service Name: Dial-up Networking Gateway
Service Description: Dial-up Networking Gateway
Service Provider: /a/mobile/system/cl.gif
Service RecHandle: 0x10001
Service Class ID List:
  "Dialup Networking" (0x1103)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
  code_ISO639: 0x6672
  encoding:    0x6a
  base_offset: 0xc800
  code_ISO639: 0x6465
  encoding:    0x6a
  base_offset: 0xc803
  code_ISO639: 0x6974
  encoding:    0x6a
  base_offset: 0xc806
  code_ISO639: 0x6573
  encoding:    0x6a
  base_offset: 0xc809
  code_ISO639: 0x6e6c
  encoding:    0x6a
  base_offset: 0xc80c
  code_ISO639: 0x7472
  encoding:    0x6a
  base_offset: 0xc80f
  code_ISO639: 0x7074
  encoding:    0x6a
  base_offset: 0xc812
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

Service Name: Voice Gateway
Service Description: Headset Audio Gateway
Service Provider: /a/mobile/system/cl.gif
Service RecHandle: 0x10003
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
  code_ISO639: 0x6672
  encoding:    0x6a
  base_offset: 0xc800
  code_ISO639: 0x6465
  encoding:    0x6a
  base_offset: 0xc803
  code_ISO639: 0x6974
  encoding:    0x6a
  base_offset: 0xc806
  code_ISO639: 0x6573
  encoding:    0x6a
  base_offset: 0xc809
  code_ISO639: 0x6e6c
  encoding:    0x6a
  base_offset: 0xc80c
  code_ISO639: 0x7472
  encoding:    0x6a
  base_offset: 0xc80f
  code_ISO639: 0x7074
  encoding:    0x6a
  base_offset: 0xc812
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

Service Name: Handsfree Voice Gateway
Service Description: Handsfree Voice Gateway
Service Provider: /a/mobile/system/cl.gif
Service RecHandle: 0x10007
Service Class ID List:
  "Handfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 7
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
  code_ISO639: 0x6672
  encoding:    0x6a
  base_offset: 0xc800
  code_ISO639: 0x6465
  encoding:    0x6a
  base_offset: 0xc803
  code_ISO639: 0x6974
  encoding:    0x6a
  base_offset: 0xc806
  code_ISO639: 0x6573
  encoding:    0x6a
  base_offset: 0xc809
  code_ISO639: 0x6e6c
  encoding:    0x6a
  base_offset: 0xc80c
  code_ISO639: 0x7472
  encoding:    0x6a
  base_offset: 0xc80f
  code_ISO639: 0x7074
  encoding:    0x6a
  base_offset: 0xc812
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0101

Service Name: OBEX Object Push
Service Description: OBEX Object Push
Service Provider: /a/mobile/system/cl.gif
Service RecHandle: 0x10008
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 8
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
  code_ISO639: 0x6672
  encoding:    0x6a
  base_offset: 0xc800
  code_ISO639: 0x6465
  encoding:    0x6a
  base_offset: 0xc803
  code_ISO639: 0x6974
  encoding:    0x6a
  base_offset: 0xc806
  code_ISO639: 0x6573
  encoding:    0x6a
  base_offset: 0xc809
  code_ISO639: 0x6e6c
  encoding:    0x6a
  base_offset: 0xc80c
  code_ISO639: 0x7472
  encoding:    0x6a
  base_offset: 0xc80f
  code_ISO639: 0x7074
  encoding:    0x6a
  base_offset: 0xc812
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: OBEX file transfer
Service Description: OBEX file transfer
Service Provider: /a/mobile/system/cl.gif
Service RecHandle: 0x10009
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
  code_ISO639: 0x6672
  encoding:    0x6a
  base_offset: 0xc800
  code_ISO639: 0x6465
  encoding:    0x6a
  base_offset: 0xc803
  code_ISO639: 0x6974
  encoding:    0x6a
  base_offset: 0xc806
  code_ISO639: 0x6573
  encoding:    0x6a
  base_offset: 0xc809
  code_ISO639: 0x6e6c
  encoding:    0x6a
  base_offset: 0xc80c
  code_ISO639: 0x7472
  encoding:    0x6a
  base_offset: 0xc80f
  code_ISO639: 0x7074
  encoding:    0x6a
  base_offset: 0xc812
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100

Service Name: Image Push
Service Description: Image Push
Service Provider: /a/mobile/system/cl.gif
Service RecHandle: 0x1000a
Service Class ID List:
  "Imaging Responder" (0x111b)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
  code_ISO639: 0x6672
  encoding:    0x6a
  base_offset: 0xc800
  code_ISO639: 0x6465
  encoding:    0x6a
  base_offset: 0xc803
  code_ISO639: 0x6974
  encoding:    0x6a
  base_offset: 0xc806
  code_ISO639: 0x6573
  encoding:    0x6a
  base_offset: 0xc809
  code_ISO639: 0x6e6c
  encoding:    0x6a
  base_offset: 0xc80c
  code_ISO639: 0x7472
  encoding:    0x6a
  base_offset: 0xc80f
  code_ISO639: 0x7074
  encoding:    0x6a
  base_offset: 0xc812
Profile Descriptor List:
  "Imaging" (0x111a)
    Version: 0x0100



Utiliser les services du telephone Motorola

On constate que le channel OBEX Object Push est 8.

On constate que le channel OBEX File Transfer est 9.

#sdptool add --channel=8 OPUSH

#sdptool add --channel=9 FTRN

Transfert de fichiers : Moto vers PC

#obexserver

Les fichiers recus seront dans /tmp. Ca ne marche pas chez moi.

Transfert de fichiers : PC vers Moto

rfcomm connect 0 00:0A:28:35:80:A8 8

ussp-push /dev/rfcomm0 /home/stephane/toto.mp3 super.mp3

Et ça marche (40 minutes pour un mp3 de 4 Mo) !

Ca va vite au debut, mais ensuite le telephone se met en veille et ça rame !

Programmes pour Linux

PAN

Server side

# pand --master --listen role GN
# ifconfig bnep0 192.168.0.1

Client Side

# pand --connect 00:11:22:33:44:55 #SERVER ADDR 
# ifconfig bnep0 192.168.0.2
# route add default gw 192.168.0.1

Ligne de commande interressante

arecord -B 1000000 -D plughw:Headset - | aplay

Pour convertir un mp3 en mono (ça prend moins de place sur le téléphone ;-))
lame -a input.mp3 output.mp3

Glossaire