Bluetooth classic code example.
Posted: Sun Jan 05, 2020 6:57 pm
I want to use SDP to broadcast service and RFCOMM to transmit data over bluetooth. However I am not able to find any examples for this. I saw some examples using [Codebox]btstack[/Codebox] library. However I am unable to use it in my program because idf.py doesn't use any component of this library because it doesn't contain CMakeLists.txt. I tried creating an CMakeLists.txt with examples found on the internet( I am a noob in C, C++ and their build systems ), but to no success as idf.py tool throws the error for various commands such as add_library. Can anyone help in this?
Code: Select all
command is not scriptable