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.
And after a while I get a dump saying
Reason code: E32USER-CBase
Reason number: 40
Any help would be very much appreciated.