{"id":8257,"date":"2020-07-18T20:52:56","date_gmt":"2020-07-18T12:52:56","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8257"},"modified":"2020-07-18T20:52:57","modified_gmt":"2020-07-18T12:52:57","slug":"hcitool","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/hcitool","title":{"rendered":"hcitool\u547d\u4ee4 – \u84dd\u7259\u8c03\u8bd5\u5de5\u5177"},"content":{"rendered":"\n
hcitool\u547d\u4ee4\u7528\u4e8e\u914d\u7f6e\u84dd\u7259\u8fde\u63a5\uff0c\u5e76\u5411\u84dd\u7259\u8bbe\u5907\u53d1\u9001\u4e00\u4e9b\u7279\u6b8a\u547d\u4ee4\u3002\u5982\u679c\u6ca1\u6709\u7ed9\u5b9a\u547d\u4ee4\uff0c\u6216\u8005\u4f7f\u7528\u4e86\u9009\u9879-h\uff0chcitool\u4f1a\u6253\u5370\u4e00\u4e9b\u4f7f\u7528\u4fe1\u606f\u5e76\u9000\u51fa\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>hcitool [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u626b\u63cf\u5468\u56f4\u4f4e\u529f\u8017\u8bbe\u5907\uff08BLE\uff09\uff1a<\/p>\n\n\n\n \u8fdc\u7a0b\u626b\u63cf\u8bbe\u5907\uff1a<\/p>\n\n\n\n \u663e\u793a\u672c\u5730hci0\u8bbe\u5907\uff1a<\/p>\n\n\n\n hcitool\u547d\u4ee4\u7528\u4e8e\u914d\u7f6e\u84dd\u7259\u8fde\u63a5\uff0c\u5e76\u5411\u84dd\u7259\u8bbe\u5907\u53d1\u9001\u4e00\u4e9b\u7279\u6b8a\u547d\u4ee4\u3002\u5982\u679c\u6ca1\u6709\u7ed9\u5b9a\u547d\u4ee4\uff0c\u6216\u8005\u4f7f\u7528\u4e86\u9009\u9879-h\uff0chci […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8257"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8257"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8257\/revisions"}],"predecessor-version":[{"id":8262,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8257\/revisions\/8262"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}lescan<\/td> \u626b\u63cf\u5468\u56f4\u4f4e\u529f\u8017\u8bbe\u5907\uff08BLE\uff09<\/td><\/tr> scan<\/td> \u8fdc\u7a0b\u626b\u63cf\u8bbe\u5907<\/td><\/tr> -i [\u8bbe\u5907] dev<\/td> \u663e\u793a\u672c\u5730\u8bbe\u5907<\/td><\/tr> name<\/td> \u4ece\u8fdc\u7a0b\u8bbe\u5907\u83b7\u53d6\u540d\u79f0<\/td><\/tr> info<\/td> \u4ece\u8fdc\u7a0b\u8bbe\u5907\u83b7\u53d6\u4fe1\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# hcitool lescan<\/pre>\n\n\n\n
[root@linuxcool ~]# hcitool scan<\/pre>\n\n\n\n
[root@linuxcool ~]# hcitool -i hci0 dev<\/pre>\n","protected":false},"excerpt":{"rendered":"