Portál AbcLinuxu, 14. července 2025 15:42
#hcid.conf # 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; # Default PIN code for incoming connections passkey "BlueZ"; } # Default settings for HCI devices device { # Local device name # %d - device id # %h - host name name "BlueZ (%d)"; # Local device class class 0x3e0100; # 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; } rfcomm.conf # # RFCOMM configuration file. # #rfcomm0{ # # Automatically bind the device at startup # bind no; # # # Bluetooth address of the device # #device 11:22:33:44:55:66 # device 00:16:20:34:1C:AD; # # # RFCOMM channel for the connection # channel 3; # # # Description of the connection # comment "Example Bluetooth device"; #}Díky předem, jsem už zoufalej.
pin_helper /etc/bluetooth/pin-helper;pricemz pin-helper vypada takto:
$ cat /etc/bluetooth/pin-helper #!/bin/sh echo -n "PIN:" cat /etc/bluetooth/pina pin vypada takto (samozrejme cislo dle vlastni volby):
$ cat /etc/bluetooth/pin 1234
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.