{"id":260,"date":"2025-11-26T16:08:54","date_gmt":"2025-11-26T07:08:54","guid":{"rendered":"https:\/\/ik1-221-80670.vs.sakura.ne.jp\/wordpress\/archives\/260"},"modified":"2026-06-20T15:52:48","modified_gmt":"2026-06-20T06:52:48","slug":"bluetooth%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%81%be%e3%81%a8%e3%82%81","status":"publish","type":"post","link":"https:\/\/www.marchboy.xyz\/wordpress\/archives\/260","title":{"rendered":"Bluetooth\u30b3\u30de\u30f3\u30c9\u307e\u3068\u3081"},"content":{"rendered":"<h2>\ud83d\udc99 Bluetooth\u30b3\u30de\u30f3\u30c9\u307e\u3068\u3081<\/h2>\n<p>Linux\u74b0\u5883\u3067\u306f\u3001Bluetooth\u30c7\u30d0\u30a4\u30b9\u306e\u7ba1\u7406\u3092\u884c\u3046\u305f\u3081\u306e\u8907\u6570\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u4ee3\u8868\u7684\u306aBluetooth\u30b3\u30de\u30f3\u30c9\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n<hr \/>\n<h3>\ud83d\udd39 \u4e3b\u306aBluetooth\u95a2\u9023\u30c4\u30fc\u30eb<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u30c4\u30fc\u30eb\u540d<\/th>\n<th>\u7528\u9014<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>bluetoothctl<\/code><\/td>\n<td>Bluetooth\u30c7\u30d0\u30a4\u30b9\u306e\u64cd\u4f5c\u30fb\u7ba1\u7406\uff08\u63a5\u7d9a\u3001\u30da\u30a2\u30ea\u30f3\u30b0\u3001\u524a\u9664\u306a\u3069\uff09<\/td>\n<\/tr>\n<tr>\n<td><code>hciconfig<\/code><\/td>\n<td>Bluetooth\u30a2\u30c0\u30d7\u30bf\u306e\u8a2d\u5b9a\u30fb\u72b6\u614b\u78ba\u8a8d<\/td>\n<\/tr>\n<tr>\n<td><code>hcitool<\/code><\/td>\n<td>\u30c7\u30d0\u30a4\u30b9\u306e\u30b9\u30ad\u30e3\u30f3\u3001\u63a5\u7d9a\u3001\u60c5\u5831\u53d6\u5f97\uff08\u65e7\u5f0f\u30fb\u975e\u63a8\u5968\uff09<\/td>\n<\/tr>\n<tr>\n<td><code>btmgmt<\/code><\/td>\n<td>Bluetooth\u8a2d\u5b9a\u306e\u4f4e\u30ec\u30d9\u30eb\u5236\u5fa1<\/td>\n<\/tr>\n<tr>\n<td><code>rfkill<\/code><\/td>\n<td>Bluetooth\u3084Wi-Fi\u306e\u7121\u52b9\u5316\uff0f\u6709\u52b9\u5316<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\ud83d\udd39 \u57fa\u672c\u64cd\u4f5c\uff08bluetoothctl\uff09<\/h3>\n<h4>Bluetooth\u7ba1\u7406\u30e2\u30fc\u30c9\u306b\u5165\u308b<\/h4>\n<pre><code class=\"language-bash\">bluetoothctl\n<\/code><\/pre>\n<p>\u5bfe\u8a71\u30e2\u30fc\u30c9\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<hr \/>\n<h4>\u96fb\u6e90\u3092\u30aa\u30f3\u306b\u3059\u308b<\/h4>\n<pre><code class=\"language-bash\">power on\n<\/code><\/pre>\n<hr \/>\n<h4>\u30c7\u30d0\u30a4\u30b9\u3092\u30b9\u30ad\u30e3\u30f3\u3059\u308b<\/h4>\n<pre><code class=\"language-bash\">scan on\n<\/code><\/pre>\n<p>\u2192 \u8fd1\u304f\u306eBluetooth\u30c7\u30d0\u30a4\u30b9\u3092\u691c\u51fa\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30ad\u30e3\u30f3\u505c\u6b62\uff1a<\/p>\n<pre><code class=\"language-bash\">scan off\n<\/code><\/pre>\n<hr \/>\n<h4>\u30c7\u30d0\u30a4\u30b9\u3092\u30da\u30a2\u30ea\u30f3\u30b0<\/h4>\n<pre><code class=\"language-bash\">pair XX:XX:XX:XX:XX:XX\n<\/code><\/pre>\n<hr \/>\n<h4>\u4fe1\u983c\u6e08\u307f\u30c7\u30d0\u30a4\u30b9\u306b\u767b\u9332\uff08\u81ea\u52d5\u63a5\u7d9a\uff09<\/h4>\n<pre><code class=\"language-bash\">trust XX:XX:XX:XX:XX:XX\n<\/code><\/pre>\n<hr \/>\n<h4>\u63a5\u7d9a\u3059\u308b<\/h4>\n<pre><code class=\"language-bash\">connect XX:XX:XX:XX:XX:XX\n<\/code><\/pre>\n<hr \/>\n<h4>\u5207\u65ad\u3059\u308b<\/h4>\n<pre><code class=\"language-bash\">disconnect XX:XX:XX:XX:XX:XX\n<\/code><\/pre>\n<hr \/>\n<h4>\u30da\u30a2\u30ea\u30f3\u30b0\u89e3\u9664<\/h4>\n<pre><code class=\"language-bash\">remove XX:XX:XX:XX:XX:XX\n<\/code><\/pre>\n<hr \/>\n<h4>\u767b\u9332\u6e08\u307f\u30c7\u30d0\u30a4\u30b9\u4e00\u89a7\u3092\u8868\u793a<\/h4>\n<pre><code class=\"language-bash\">devices\n<\/code><\/pre>\n<hr \/>\n<h3>\ud83d\udd39 Bluetooth\u30a2\u30c0\u30d7\u30bf\u306e\u72b6\u614b\u78ba\u8a8d<\/h3>\n<pre><code class=\"language-bash\">hciconfig\n<\/code><\/pre>\n<p>\u6709\u52b9\u5316\uff0f\u7121\u52b9\u5316\uff1a<\/p>\n<pre><code class=\"language-bash\">sudo hciconfig hci0 up\nsudo hciconfig hci0 down\n<\/code><\/pre>\n<hr \/>\n<h3>\ud83d\udd39 Bluetooth\u5168\u4f53\u306eON\uff0fOFF\u5236\u5fa1\uff08rfkill\uff09<\/h3>\n<p>\u72b6\u614b\u78ba\u8a8d\uff1a<\/p>\n<pre><code class=\"language-bash\">rfkill list\n<\/code><\/pre>\n<p>Bluetooth\u3092\u7121\u52b9\u5316\uff1a<\/p>\n<pre><code class=\"language-bash\">sudo rfkill block bluetooth\n<\/code><\/pre>\n<p>Bluetooth\u3092\u6709\u52b9\u5316\uff1a<\/p>\n<pre><code class=\"language-bash\">sudo rfkill unblock bluetooth\n<\/code><\/pre>\n<hr \/>\n<h3>\u2705 \u307e\u3068\u3081<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u64cd\u4f5c\u5185\u5bb9<\/th>\n<th>\u30b3\u30de\u30f3\u30c9\u4f8b<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Bluetooth\u7ba1\u7406\u30e2\u30fc\u30c9\u306b\u5165\u308b<\/td>\n<td><code>bluetoothctl<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u30b9\u30ad\u30e3\u30f3<\/td>\n<td><code>scan on<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u30da\u30a2\u30ea\u30f3\u30b0<\/td>\n<td><code>pair &lt;MAC\u30a2\u30c9\u30ec\u30b9&gt;<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u63a5\u7d9a<\/td>\n<td><code>connect &lt;MAC\u30a2\u30c9\u30ec\u30b9&gt;<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u5207\u65ad<\/td>\n<td><code>disconnect &lt;MAC\u30a2\u30c9\u30ec\u30b9&gt;<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u4fe1\u983c\u767b\u9332<\/td>\n<td><code>trust &lt;MAC\u30a2\u30c9\u30ec\u30b9&gt;<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u30a2\u30c0\u30d7\u30bf\u78ba\u8a8d<\/td>\n<td><code>hciconfig<\/code><\/td>\n<\/tr>\n<tr>\n<td>Bluetooth\u6709\u52b9\u5316<\/td>\n<td><code>rfkill unblock bluetooth<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p>\u3053\u306e\u3088\u3046\u306b <code>bluetoothctl<\/code> \u3084 <code>hciconfig<\/code> \u306a\u3069\u3092\u4f7f\u3048\u3070\u3001GUI\u306a\u3057\u3067\u3082Bluetooth\u30c7\u30d0\u30a4\u30b9\u306e\u63a5\u7d9a\u30fb\u8a2d\u5b9a\u3092\u67d4\u8edf\u306b\u64cd\u4f5c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udc99 Bluetooth\u30b3\u30de\u30f3\u30c9\u307e\u3068\u3081 Linux\u74b0\u5883\u3067\u306f\u3001Bluetooth\u30c7\u30d0\u30a4\u30b9\u306e\u7ba1\u7406\u3092\u884c\u3046\u305f\u3081\u306e\u8907\u6570\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u4ee3\u8868\u7684\u306aBluetooth\u30b3\u30de\u30f3\u30c9\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u6574\u7406\u3057\u307e\u3059\u3002  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-260","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/comments?post=260"}],"version-history":[{"count":1,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/260\/revisions"}],"predecessor-version":[{"id":386,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/260\/revisions\/386"}],"wp:attachment":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/media?parent=260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/categories?post=260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/tags?post=260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}