Bluetooth classic code example.

vikram25897
Posts: 3
Joined: Sat Jan 04, 2020 4:31 pm

Bluetooth classic code example.

Postby vikram25897 » 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

Code: Select all

command is not scriptable
for various commands such as add_library. Can anyone help in this?

Who is online

Users browsing this forum: Google [Bot] and 147 guests