• [^] # Re: des liens en voila

    Posté par . En réponse au message Bluetooth audio sous nux. Évalué à 1.

    Hello !

    Merci pour votre aide soutenue !

    le ./handsfree fonctionne (pas complètement)

    -------------------
    sdptool browse 00:12:62:C0:BC:5C (<--- mon GSM)

    Me donne (entre autre):


    Service Name: Audio Gateway
    Service RecHandle: 0x10014
    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


    J'en déduit donc que c'est bien le channel 12 que je dois utiliser.

    -------------------
    Voilà ce que me retourne la commande ./handsfree 00:12:62:C0:BC:5C 12

    Voice setting: 0x0060
    RFCOMM channel connected
    sending.cmd AT+BRSF=31
    poll descriptors count 1
    poll descriptors count 1
    opening control pipe - set to stdin: No such file or directory
    >>AT+BRSF=31
    >>
    +BRSF: 47

    OK

    boo.
    sending.cmd AT+CIND=?
    >>AT+CIND=?
    >>
    +CIND: ("call",(0,1)),("service",(0,1)),("call_setup",(0-3)),("callsetup",(0-3))

    OK

    sending.cmd AT+CIND?
    >>AT+CIND?
    >>
    +CIND: 0,1,0,0

    OK

    sending.cmd AT+CMER=3,0,0,1
    >>AT+CMER=3,0,0,1
    >>
    OK



    sending.cmd AT+CMER=3,0,0,1
    >>AT+CMER=3,0,0,1
    >>
    OK

    sending.cmd AT+CLIP=1
    >>AT+CLIP=1
    sending.cmd AT+NREC=0
    >>
    OK

    sending.cmd AT+CHLD=?
    >>AT+NREC=0
    connect: Connection refused
    Error: Can't connect SCO audio channel @ 00:12:62:C0:BC:5C
    >>
    ERROR
    AT+CHLD=?
    +CHLD: (0,1,1x,2,2x,3,4)

    OK

    Error
    Error: Error in state_conn - ignoring
    -------------------

    Mon GSM m'a demandé si je voulais accepter la demande de connection venant du P.C j'ai validé et il m'a indiqué "connection etablie", mais les erreurs du haut se répercutent si je reçois un appel sur mon GSM.

    Au niveau du code d'accès ça doit être ok vu que je peux échanger des fichiers avec mon GMS ! (j'ai déjà établi un certificat).

    Si quelqu'un peut me filler un coup de main ça serait cool :)

    @ bientot