Skip to content

Instantly share code, notes, and snippets.

1.먼저 bluetooth를 사용하기 위한 소프트웨어를 설치한다.
sudo apt-get update
sudo apt-get install bluetooth bluez-utils blueman
lsusb로 USB에 연결된 bluetooth 동글이 잘 인식되는지 확인하고.
hcitool scan으로 검색된 블루투스 장비들을 확인한다.
이제 준비완료.
#!/bin/bash
#==============================================================================
# GW-Kit
# @author : yunsang.choi(oddpoet@gmail.com)
# @src : https://gist.github.com/gists/3115022
#-------
# v1.3.4
# - minor change (display text)
# v1.3.3
# - allow '-' character in hostname