Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Bluetooth Serial Communication Failed (Bluecove)

 
Jeansonne Pierre
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have 2 devices which are connected together from serial port (RX,TX)
1) "raspberry pi"
2) "Serial Bluetooth Module" http://www.instructables.com/id/Cheap-2-Way-Bluetooth-Connection-Between-Arduino-a/

Problem = the bluetooth module cannot be discovered by Raspberry pi.
Error Message = javax.bluetooth.BluetoothStateException: Bluetooth Device is not availablelogout
it works perfectly if i use USB bluetooth plugin dongle, but it failed for "Serial Bluetooth Module"
Please help.

My code as below with 3 external Jar files included (bluecove, pi4j, java microedition)

 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!