It seems the simplest of my code to manage the bluetooth port fails to disconnect the device (OS 4.2.1). Question....what do I do to guarantee the BT disconnects???? Also, what does "BT: MODE_CHANGE: 2,0" in the debug log denote (I only get this in my code, not when I debug googlemaps)?
StreamConnection _bluetoothConnection =
(StreamConnection)Connector.open(_uri, Connector.READ_WRITE);
_bluetoothConnection.close();
_bluetoothConnection = null; // I DON'T GET A DISCONNECT IN THE LOG !!!!!!!
Output debugger window for Googlemaps...which always disconnects
MM: GoogleMaps-1(1409) no sig from 0x33
BT: allocSerialPort a0598ea0
BT: BTEVENT_LINK_CONNECT
net.rim.bluetooth: DC00
BT: SPP_EVENT_CONNECTED
CMM: GoogleMaps(1406) no sig from 0x33
GME Rx Cid: IPPP
Exit GoogleMaps(126)
Foreground net_rim_bb_ribbon_app(58)
BT: SPP_EVENT_DISCONNECTED
BT: freeSerialPort a0598ea0
BT: BTEVENT_LINK_DISCONNECT
net.rim.bluetooth: DD16
JVM: bklt @56513: timer