1 Reply Latest reply on Dec 3, 2015 3:07 AM by Songer

    Problem in receiving BT SPP data from phone


      Hi guys,


      I want to use my mobile phone to control my Edison board, so I tried to follow the instructions in the post Turn on/off Intel(R) Edison Arduino on board LED via Bluetooth SPP by using the IoT dev kit | Intel® Developer Zone.

      I used the python script, SPP C++ library, and test code provided. The python script SPP-pipe-out.py worked, I could see data appearing in the terminal and "cat /tmp/ble_pipe_out" also worked, but I could not open "/tmp/ble_pipe_out" in my C++ code, it got a return value -1 and stopped.




      I would be grateful if any could help. I have wasted too much time on switching languages, and I really want to stick with C++ now.