Commit Graph

7 Commits

Author SHA1 Message Date
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
hjk
5a0d20fdb3 debugger: heed 'I am dying' messages from the bluetooth listener 2010-03-01 10:28:34 +01:00
Friedemann Kleint
dc006860c4 Symbian: Let SymbianDeviceManager handle TrkDevice leases.
...making use of a shared device by all clients. Detect device removal by
delaying the WM_DEVICE event handling. Introduce Acquire/Release mechanism
to SymbianDeviceManager and let acquire() fail if the device is in use, thus
preventing starting 'run' while debugging is active, etc.
Handle "Device removed" (unplugging of cable) signal by closing the device and adding
handlers to the clients, stabilize TrkDevice against it.
Remove communication type from the run configuration parameters (now handled by
SymbianDeviceManager).

Working towards keeping the Trk-connection always open and a giving the target pane
a meaningful tooltip.
For the moment, pass on tooltips from device manager additional information
(Trk version and such as determined by the launcher).
2010-02-11 12:31:59 +01:00
Friedemann Kleint
3efdb87682 S60/Trk: Make the port a property of TrkDevice.
Associate the port with the device instead of passing it to open
for better handling.
2010-02-08 14:10:51 +01:00
Friedemann Kleint
4091efb47f S60: Provide a MessageBox for starting serial communication as well.
Generalize the concept of the Bluetooth starter, extract base class
BaseCommunicationStarter that can be used to start a serial communication
without further resources (listener) as well. Introduce convenience
functions for both types.

Note: This will only work for COM-ports that are not used otherwise
by the operating system.
2009-10-26 15:40:11 +01:00
Friedemann Kleint
47035f3817 S60: Split up starters into a different file. 2009-10-26 12:18:14 +01:00
Friedemann Kleint
1af61fefa8 S60: Add startup logic for Bluetooth to the project/run configuration
Prepare trk::Launcher to deal with a shared trkdevice.
Add encapsulation for the rfcomm listener process and helper
classes for prompting the user to connect the Bluetooth
device. Add a command line prompt to the trklauncher test.
2009-10-23 18:00:20 +02:00