最終更新:2023-01-20 (金) 11:49:48 (14d)  

Bluetooth/HCI/コマンド
Top / Bluetooth / HCI / コマンド

サポートされたコマンドの取得

Linux/コマンド

HCIのコマンド

仕様

Bluetooth/HCI/コマンド/パケット?

  • ヘッダ+最大255バイトのデータを含む
  • OGF:Opcode Group Field (6bit)
  • OCF:Opcode Command Field (10bit)
    Opcodeパラメータ長パラメータ0パラメータn...
    OCFOGF

種類

7.1 Link Control commands

7.2 Link Policy commands

7.3 Controller & Baseband commands

7.4 Informational parameters

7.5 Status parameters

7.6 Testing command

7.7 Events

7.8 LE Controller commands

  • OGF:0x08
    7.8.10x0001HCI_LE_Set_Event_Mask?
    7.8.20x0002HCI_Read_Buffer_Size? v1
    7.8.30x0003HCI_LE_Read_Local_Supported_Features
    7.8.40x0005HCI_LE_Set_Random_Address?
    7.8.20x0060HCI_Read_Buffer_Size? v2
  • ...

メモ

  • HCI_Accept_Connection_Request?
  • HCI_Reject_Connection_Request?
  • HCI_Remote_Name_Request?
  • HCI_Reset?
  • HCI_Write_Scan_Enable?
  • HCI_Read_Buffer_Size?
  • HCI_Read_BD_ADDR?
  • HCI_Read_Local_Version_Info?
  • HCI_Create_Connection
  • HCI_Disconnect?
  • HCI_Link_Key_Request_Reply?
  • HCI_Link_Key_Request_Negative_Reply?
  • HCI_PIN_Code_Request_Reply?
  • HCI_PIN_Code_Request_Negative_Reply?
  • HCI_Inquiry
  • HCI_Inquiry_Cancel
  • HCI_Write_Inquiry_Transmit_Power_Level?
  • HCI_Write_Inquiry_Mode?
  • HCI_Write_Simple_Pairing_Mode
  • HCI_Write_Simple_Pairing_Debug_Mode?
  • HCI_Write_Authentication_Enable?
  • HCI_Write_Page_Timeout?
  • HCI_Write_Page_Scan_Activity?
  • HCI_Write_Page_Scan_Type?
  • HCI_Write_Inquiry_Scan_Activity?
  • HCI_Write_Inquiry_Scan_Type?
  • HCI_Write_Class_of_Device?
  • HCI_Write_Extended_Inquiry_Response?
  • HCI_Write_Local_Name?
  • HCI_Set_Event_Mask?
  • HCI_IO_Capability_Request_Reply?
  • HCI_User_Confirmation_Request_Reply?
  • HCI_Set_Connection_Encryption?
  • HCI_Authentication_Requested?
  • HCI_Change_Connection_Link_Key?
  • HCI_Read_Stored_Link_Key?
  • HCI_Write_Stored_Link_Key?