I've done a midlet that read GPS-data from a Nokia LD-1W , The midlet works great on my 6600, but not on the 9500.
This is part of the code :
StreamConnection con = (StreamConnection)Connector.open(btService.getServiceURL());
InputStream is = con.openInputStream();
byte chars = new byte;
int len = is.read(chars);
The first time the code is executed, the length of data fetced is 300+ bytes, but on all subsequent fetches the length is 1 or 2.
I am sorry i have no answer for you. I have bought the same GPS reciver two weeks ago. Now I try for three days to get a connection to between mobil and gps via bluetooth. In the deviceDiscovered-function i can read the name of the gps-receiver but thats all. I thougt there shoud be one (or more) services discoverd in the servicesDiscovered-function to get the URL and then connect to the gps with a InputStreamReader to read gps-data.
Is this right? Could you please post some codesnipes how to do the connection and get the connection-URL?