Bluetooth connection problem
Hello togehter!
I have a problem with a bluetooth connection in my midlet application.
I open my connection as follows:
connection = (javax.microedition.io.StreamConnection) Connector.open(url);
Then I open the input stream and the reader as follows:
is = connection.openInputStream();
reader =new InputStreamReader(is);
Everythings works fine for around 15 minutes. I am reading from that connection (from a gps receiver). But then the reader just stops reading.(No error, but the program just doesn't go on.)
Does anybody have an idea why?
What could be?
I mean the gps receiver is sending.
I tried to close the everything and reopen it after 10 min, but when I say connection.close(), the program just doesn't go on. (The reader and the input stream is already closed.)
I would appreciate any help.
Thanks so much.
Markus

