Bluetooth Application

i am trying to create a bluetooth application that will connect to a gps receiver( via bluetooth) and read NMEA data off the RFCOMM port.

I read alot of information about bluetooth applications,just to be sure,for my application to be able to connect to other devices i have to implement the DiscoveryListener interface?All i need is to know the connection URL

Any help will be appreciated

Yusra

[420 byte] By [yusraa] at [2007-10-3 2:53:03]
# 1

The connection url of bluetooth consists of three parts

btspp://00027806c53c:30

In the above code btspp is the protocol 00027806c53c is the device id which will be present in each bluetooth device .. and the next is the service ID..

Let me know if you need more

Muthukumarana at 2007-7-14 20:42:06 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
Hi yusra,i want some info about gps reciever of what u r talking.i want info about GPRs what whole process happen when we use GPRs service through mobile & also device included in it.plz help me.E-mail id siraj_hb@gmail.com
raj_siraja at 2007-7-14 20:42:06 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
Is bluetooth is also present in gps reciever?.If yes then only possible that discovery agent automatically discovers that gps reciever which is connected to bluetoothMessage was edited by: arjunamate
arjunamatea at 2007-7-14 20:42:06 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4

yes..the gps receiver connects to the pda via bluetooth.So inshort,i have to go through the process of discoverying the device,then discovering the service in device and getting the connection url and i also have to implement DiscoveryListener interface?

thanx for your replies

Yusra

yusraa at 2007-7-14 20:42:06 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
thanx, yeah i know the connection url consists of those parts, but the only way i can know the connection url is if i discover the services then get the service records,yeah?or is there an easier way of doing this?Yusra
yusraa at 2007-7-14 20:42:06 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6
Hi yusra,u have got u r ans.,but i havn't got.ok u r having gps reciver so what it cost & how much area he covers?plz reply
raj_siraja at 2007-7-14 20:42:06 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 7
have you already considered price of the Bluetooth Stack for Java?
gAngela at 2007-7-14 20:42:06 > top of Java-index,Java Mobility Forums,Java ME Technologies...