0 Replies Latest reply on Jul 23, 2015 6:34 AM by sidd1231

    A step towards bluetooth SPP in c++


      Hi guys, 

      I've found this wonderful tutorial on setting up an SPP server on raspberry pi in C++ with given source codes. The only problem that i'm facing is that some include files are compiled to *.o files (for a raspberry pi). So it (exits with an error code on execution) isn't working. I tried rewriting one of the ".o"includes(sdp_register) but now i'm getting a segmentation fault, pretty close to success but still a bit away :/. Tried contacting the blog owner, unfortunately he wont give source code for the compiled "".o" files.


      here's a link to the blog (its in Chinese, use google translate): ㄆㄜ ㄊㄧㄡ ㄙˋ: { Server 篇 } Bluetooth USB Dongle 初體驗 ... 


      heres a link to my written code that gives a seg fault :  https://dl.dropboxusercontent.com/u/28025211/spp-...


      Hope we can help each other and get this working .