
我似乎無法在任何地方找到 hciconfig 功能下列出的十六進位代碼代表什麼。有誰知道我在哪裡可以找到一個清單來顯示哪個功能對應到哪個十六進位代碼?
Output:
$ hciconfig -a hci0 features
hci0: Type: BR/EDR Bus: USB
BD Address: 00:0E:8E:49:38:9D ACL MTU: 820:8 SCO MTU: 255:16
Features page 0: 0xff 0xfb 0xff 0xfe 0xdb 0xff 0x7b 0x87
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <SCO link> <HV2 packets> <HV3 packets>
<u-law log> <A-law log> <CVSD> <paging scheme> <power control>
<transparent SCO> <broadcast encrypt> <EDR ACL 2 Mbps>
<EDR ACL 3 Mbps> <enhanced iscan> <interlaced iscan>
<interlaced pscan> <inquiry with RSSI> <extended SCO>
<EV4 packets> <EV5 packets> <AFH cap. slave>
<AFH class. slave> <LE support> <3-slot EDR ACL>
<5-slot EDR ACL> <sniff subrating> <pause encryption>
<AFH cap. master> <AFH class. master> <EDR eSCO 2 Mbps>
<EDR eSCO 3 Mbps> <3-slot EDR eSCO> <extended inquiry>
<LE and BR/EDR> <simple pairing> <encapsulated PDU>
<err. data report> <non-flush flag> <LSTO> <inquiry TX power>
<EPC> <extended features>
Features page 1: 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00
答案1
就像這樣:http://exploiterz.blogspot.com/2013/08/how-to-anonymize-bluetooth-devices-on.html
hci0 或 hci(x) 是您的藍牙設備的名稱,您可以使用以下命令獲取所有可用設備:$ hciconfig
,但如果您選擇其中之一,您可以使用:hciconfig -a hcix
查看其信息,以及使用您的命令查看其未來在您的問題中輸入此處$ hciconfig hci0 features
,其中顯示您的藍牙裝置支援的所有功能。
例如,如果您想知道「3 槽資料包」或「隔行掃描 pscan」的含義是什麼,這些是裝置支援的 future,但要了解這些 future 的詳細信息,有一個藍牙開發人員論壇:https://developer.bluetooth.org/Pages/default.aspx
它會給你更多的細節。