Re: [PATCH] Exit with failure if dc_open method fails

2015-09-10 Thread Anton Lundin
On 09 September, 2015 - Claudiu Olteanu wrote: > If the dc_serial_*_open method fails then we should exit with > an error and don't try to open the device using the native > implementation. > > Currently if the local Bluetooth adapter doesn't connect successfully > to a dive computer it tries to

[PATCH] Exit with failure if dc_open method fails

2015-09-09 Thread Claudiu Olteanu
If the dc_serial_*_open method fails then we should exit with an error and don't try to open the device using the native implementation. Currently if the local Bluetooth adapter doesn't connect successfully to a dive computer it tries to open the device using the native serial implementation