Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Bluetooth Application

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a bluetooth application running on two Bluetooth enabled Phones (Siemens S65). The Server path is working properly but the client side encounters an exception when executing this code

String connString=agent.selectService(new UUID("86b4d249fb8844d6a756ec265dd1f6a3",false),ServiceRecord.NOAUTHENTICATE_NOENCRYPT,false);

StreamConnection conn=(StreamConnection)Connector.open(connString);

The exception message is :Unable to Locate Services...Does anyone have a suggestion
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, for the Siemens S65 series, you can find Bluetooth devices, but you cannot find particular services. I have the S66 and was going to use them in our talk at JavaOne for Bluetooth Games, and wanted to show our game on the devices, but we could never get it to work, made us have to use the emulator in our talk instead, which was a big bummer.

It is possible that a newer version of their OS might fix this problem, but I highly doubt it, usually they just move on to the next device and never look back. Part of the Wireless world.

This is a big problem with devices is that they don't exactly implement the specs too well and don't care.

Mark
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic