Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: mobil Sony Ericsson T630 pres Bluetooth  (Přečteno 2787 krát)

cz7asm

  • Aktivní člen
  • *
  • Příspěvků: 111
mobil Sony Ericsson T630 pres Bluetooth
« kdy: 08 Listopadu 2007, 19:26:31 »
Ahoj...
dokazal by mi prosim nekdo pomoct s timto problemem?:

Pokousim se pripojit pres bluetooth k memu telefonu SE T630. Kvuli zalohovani kontaktu a pripojeni pres GPRS. Uz jsem vyzkousel nespocet navodu ale porad se mi nedari sparovat s telefonem. Kdyz se s nim snazim spojit tak me telefon vyzve k zadani sparovaciho pinu a po zadani se mi pokazde zobrazi ze klic nesouhlasi. Pritom mam v /etc/bluetooth/pin  zapsano 1111 a hcid.conf mam myslim take dobre nastaveny. Prikladam vypisy configu.
Pomohl by mi prosim nekdo? Uz jsem nad tim stravil hromadu casu a porad zadny pokrok...

hcid.conf
Kód: [Vybrat]
# HCId options
options {
        # Automatically initialize new devices
        autoinit yes;

        # Security Manager mode
        #   none - Security manager disabled
        #   auto - Use local PIN for incoming connections
        #   user - Always ask user for a PIN
        #
        #security user;
        security auto;

        # Pairing mode
        #   none  - Pairing disabled
        #   multi - Allow pairing with already paired devices
        #   once  - Pair once and deny successive attempts
        pairing multi;

        pin_helper /usr/local/bin/btpin;
}

# Default settings for HCI devices
device {
        # Local device name
        #   %d - device id
        #   %h - host name
        name "%h-%d";

        # Local device class
        class 0x120104;

        # Default packet type
        #pkt_type DH1,DM1,HV1;

        # Inquiry and Page scan
        iscan enable; pscan enable;

        # Default link mode
        #   none   - no specific policy
        #   accept - always accept incoming connections
        #   master - become master on incoming connections,
        #            deny role switch on outgoing connections
        lm accept;

        # Default link policy
        #   none    - no specific policy
        #   rswitch - allow role switch
        #   hold    - allow hold mode
        #   sniff   - allow sniff mode
        #   park    - allow park mode
        lp rswitch,hold,sniff,park;

        # Authentication and Encryption (Security Mode 3)
        auth enable;
        #encrypt enable;
}

pin
Kód: [Vybrat]
1111
btpin
Kód: [Vybrat]
#!/bin/bash
echo "PIN:1111"

rfcomm.conf
Kód: [Vybrat]
#
# RFCOMM configuration file.
#

rfcomm0 {
#       # Automatically bind the device at startup
        bind yes;
#
#       # Bluetooth address of the device
        device 00:0F:DE:6A:76:14;
#
#       # RFCOMM channel for the connection
        channel 1;
#
#       # Description of the connection
        comment "SE T630";
}

« Poslední změna: 09 Ledna 2009, 02:32:02 od Anna Taliánová »

menganito

  • Závislák
  • ***
  • Příspěvků: 1728
Re: T630 pres Bluetooth
« Odpověď #1 kdy: 08 Listopadu 2007, 20:05:18 »
Skús v hcid.conf prepísať v sekcii security manager mode security na none, prípadne na user, ak nepomôže hodím ti sem moje confy, používam k700i a ide všetko ok (spárovaný, zálohujem, posielam SMS cez PC > BT> mobil)

cz7asm

  • Aktivní člen
  • *
  • Příspěvků: 111
Re: T630 pres Bluetooth
« Odpověď #2 kdy: 08 Listopadu 2007, 22:46:54 »
Tak jsem to zkusil a nejaka zmena tam byla.... Pri zadani klice v telefonu to asi 30s pridavalo to zarizeni a nakonec opet ze klic nesouhlasi. Mohl by jsi mi teda ukazat ty tve konfiguraky?

Diky moc...

menganito

  • Závislák
  • ***
  • Příspěvků: 1728
Re: T630 pres Bluetooth
« Odpověď #3 kdy: 09 Listopadu 2007, 06:56:10 »
OK, nech sa páči:
hcid.conf
Kód: [Vybrat]
#
# HCI daemon configuration file.
#

# HCId options
options {
    # Automatically initialize new devices
    autoinit yes;

    # Security Manager mode
    #   none - Security manager disabled
    #   auto - Use local PIN for incoming connections
    #   user - Always ask user for a PIN
    #
    security user;

    # Pairing mode
    #   none  - Pairing disabled
    #   multi - Allow pairing with already paired devices
    #   once  - Pair once and deny successive attempts
    pairing multi;

    # PIN helper
    pin_helper /usr/bin/bluez-pin;

    # D-Bus PIN helper
    #dbus_pin_helper;
}

# Default settings for HCI devices
device {
    # Local device name
    #   %d - device id
    #   %h - host name
    name "%h-%d";

    # Local device class
    class 0x100;

    # Default packet type
    #pkt_type DH1,DM1,HV1;

    # Inquiry and Page scan
    iscan enable; pscan enable;

    # Default link mode
    #   none   - no specific policy
    #   accept - always accept incoming connections
    #   master - become master on incoming connections,
    #            deny role switch on outgoing connections
    lm accept;

    # Default link policy
    #   none    - no specific policy
    #   rswitch - allow role switch
    #   hold    - allow hold mode
    #   sniff   - allow sniff mode
    #   park    - allow park mode
    lp ,hold,sniff,park;

    # Authentication and Encryption (Security Mode 3)
    #auth enable;
    #encrypt enable;
}

rfcomm.conf:
Kód: [Vybrat]
   rfcomm0 {

    # Automatically bind the device at startup

    bind yes;

    # Bluetooth address of the device

    device 00:16:20:19:C0:32;

    # RFCOMM channel for the connection

    channel 3;

    # Description of the connection

    comment "Example Bluetooth device";

    }
Odporúčam tiež skúsiť kdebluetooth a kmobiletools, všetko riešim v podstate cez nich.

Dúfam že ti nejak pomôže, je to vytvorené pomocou cca 20 rôznych návodov, ktoré by som už asi nebol schopný dohľadať.

 

Provoz zaštiťuje spolek OpenAlt.