J2ME and Bluetooth

2004 May 5 at 00:49 » Tagged as :java, j2me, bluetooth,

The 6600 phone I have been discussing is among the limited number of phones that implement the JSR 082, or the J2ME Bluetooth specification.

My first encounter with bluetooth was around four years ago at the time not many people had even heard of it. Unfortunately I never got the opportunity to look under the hood of bluetooth. Now I am doing that but I am taking a short cut. One of the main complaints that C programmers have about java is that you can create a lot of networking applications with out a proper understanding of the underlying protocols; this is probably true, my bluetooth exploration is a case in point! So even though I claim to be looking under the hood i will not be getting my hands very greasy.

So far, I have only succeeded in device discovery. I haven't had much luck with the second step of searching for services on these devices. Initially, I had no success at all until I realized that the search service attempted to return systems that matched all UUIDs passed to it, and I was giving it a pretty substantial array. I immediately began testing one UUID at a time, and I started discovering a few

My efforts have been hampered because I only have an IR dongle but do not have a BT dongle. However I do have a Siemens S55 in addition to the 6600 so i have still been able to do some testing. But if i had a dongle i would have been able to do a lot of work on the Series 60 SDK and save the time in transferring the midlets to the phone after each build