This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: HCI

Tool/software: Linux

I am a new user of "bluez" HCI functions - in C++ code

I like to use HCI_Write_Loopback_Mode function with is part of bluetooth documentation / specification but NOT part of "bluez" package.

Assuming HCI_Write_Loopback_Mode function id "open source" not vendor  proprietary  - where do I find  the C/C++ source code for it ? 

Thanks

  • Bluez is open source Bluetooth stack and you should fetch the code from BlueZ public repositories. 'HCI_Write_Loopback_Mode' is not Vendor specific.. It is part of the BT HCI spec commands..

    Thanks
  • Thanks for reply.

    "blueZ"  is maintained on "bluez" web site , it is not on places likes "github" as other Linux resources. I have NOT found source code for this particular function doing web search.

    I have only found "bluetooth" specification for the function.

    My "vendor specific " remark  was met that "blueZ"  package apparently is not "current" AS far as "Bluetooth" spec. goes.

    Perhaps some other vendor / software developer has the real code for this particular function.

  • Yes.. This HCI command (coming from BT Spec) is supported by the controller.. But the Bluetooth stack (Bluez) implementation is beyond our scope..

    Thanks