Zdravim , ziskal jsem nejake zkusenosti ohledne komunikace mobilu a PC pres Bluetooth. Tak vam to chci predat. :-)
Musite s v SYNAPTIKU nainstalovat Bluez (nejlepe vsechny knihovny a pluginy) pokud vite co jake knihovna ci plugin znamena tak si nainstalujte co potrebujete.
1.
Vytvorte si soubor PIN
sudo nano -w /etc/bluetooth/pin
Vlozte do souboru PIN tento text
1111
Toto cislo znamena vas kod pri synchronizaci zarizeni
2.
vytvorte soubor HCID.CONF
sudo nano -w /etc/bluetooth/hcid.conf
Vlozte do nej tento text
options {
autoinit yes;
security auto;
pairing multi;
# pin_helper /usr/bin/bluepin;
pin_helper /usr/local/bin/kbluez_pin_simple;
}
device {
name "%h-%d";
class 0x100;
iscan enable; pscan enable;
lm accept,master;
lp hold,sniff,park;
}
3.
Vytvorte soubor BLUEZ_PIN_SIMPLE
sudo nano -w /usr/local/bin/bluez_pin_simple
Vlozte do nej tento text
#!/bin/bash
echo "PIN:1111"PIN (cislo) v souboru PIN a BLUEZ_PIN_SIMPLE museji byt stejne.
btw.:Timto navodem jsem uchodil komunikaci mezi Sony Ericssonem Z520i a PC prez Bluetooth SOLEDO a jde bez problemu ;-)