반응형
터미널 창에서
"hcitool scan" 입력
mac address 주소가 검색이 됨.(XX:XX:XX:XX:XX:XX 이런형태 맥주소)
"sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX" 입력!
"DisplayPasskey (/org/bluez/537/hci0/..., 123456)" 이런식의 화면에보임. 끝에 숫자가 PIN 번호.
키보드에서 PIN번호를 입력!
그럼 Release 라고 문구가 뜬다!
"sudo bluez-test-device trusted XX:XX:XX:XX:XX:XX yes" 입력!
"sudo bluez-test-input connect XX:XX:XX:XX:XX:XX" 입력!
그러면 연결 완료!
원본 글 : http://devasive.blogspot.kr/2012/11/ubuntu-1204-persistent-bluetooth-pairing.html
Solution for a persistent connection
- set keyboard discoverable
- "hcitool scan" and copy mac address XX:XX:XX:XX:XX:XX
- "sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX"
which will hopefully return somthing like:
"DisplayPasskey (/org/bluez/537/hci0/..., 123456)" - the number at the end of the string represents the PIN you need to enter for pairing. enter those numbers on your bluetooth device and confirm with return
- on success you should get "Release" and "New device (/org/bluez/..."
- now set device as trusted "sudo bluez-test-device trusted XX:XX:XX:XX:XX:XX yes"
- you might have a connection now, but i still needed to:
"sudo bluez-test-input connect XX:XX:XX:XX:XX:XX" - now reboot and hope for the best!
Creating device failed: org.bluez.Error.AlreadyExists
- sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX repair
(you should be able to enter anything instead of "repair", this is just to reset pairing) - now start over
반응형
'기타정보' 카테고리의 다른 글
아이툰즈 Backup 폴더 다른 위치로 연결 시키기 (0) | 2020.03.17 |
---|---|
OneDrive 추천 보너스 기능(저장소 0.5GB 추가) (0) | 2017.09.05 |
WL54G(Windows_vista) 드라이버 (0) | 2013.10.08 |
아이팟/아이폰 동기화 안하고 노래 넣기!! CopyTransManager (0) | 2010.10.25 |
페스티발 (0) | 2010.09.23 |