If we start up a chameleon without a BT kit and try to call methods on it, the error is just a generic "method not supported" failure.
It would be helpful to fail with a "kit not detected" error or similar.
I haven't fully checked if this leaves special messages in the chameleond log, but it doesn't seem like it.
Current error for reference:
/tmp/test_that_results_Ch1s_J/results-1-bluetooth_AdapterHIDReports.mouse [ FAILED ]
/tmp/test_that_results_Ch1s_J/results-1-bluetooth_AdapterHIDReports.mouse FAIL: Unhandled TypeError: 'bool' object has no attribute '__getitem__'
/tmp/test_that_results_Ch1s_J/results-1-bluetooth_AdapterHIDReports.mouse/bluetooth_AdapterHIDReports [ FAILED ]
/tmp/test_that_results_Ch1s_J/results-1-bluetooth_AdapterHIDReports.mouse/bluetooth_AdapterHIDReports FAIL: Unhandled TypeError: 'bool' object has no attribute '__getitem__'
/tmp/test_that_results_Ch1s_J/results-1-bluetooth_AdapterHIDReports.mouse/bluetooth_AdapterHIDReports 09/13 18:00:54.259 ERROR|bluetooth_adapter_:0059| GetCapabilities: <Fault 1: '<type \'exceptions.Exception\'>:method "bluetooth_mouse.GetCapabilities" is not supported'>
Comment 1 by alent@google.com
, Sep 14 2017