Computers/Raspberry-pi

블루투스 관련 명령어(?)

emzei 2013. 6. 24. 21:09

hciconfig device up
hciconfig set name raspberrypi-0
hciconfig set class 0x4e2100
hciconfig enable iscan

 : makes the bluetooth device "discoverableby enabling it to answer "inquiries" from other nearby bluetooth devices.
hciconfig enable pscan

 : makes the bluetooth device "connectable to" by enabling the use of the "page scan" channel.

 

http://linux.die.net/man/5/hcid.conf