diff options
author | Jakub Tyszkowski <jakub.tyszkowski@tieto.com> | 2014-10-03 15:08:40 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-10-06 13:27:12 +0200 |
commit | e4942a2f64254a95ab2ecb5fb744337152cf5b19 (patch) | |
tree | 39b91fa7da7389c20bdea453b140129f449e262d /android/tester-main.h | |
parent | f4a752bf41610057d4ba5a559aff4afb2283ae43 (diff) | |
download | bluez-e4942a2f64254a95ab2ecb5fb744337152cf5b19.tar.gz |
android/tester: Improve HIDHost data sending verification
Hciemu hooks may be called in different test stage than we expect
and we shouldn't blindly verifying the step with success every time
when data is send, as we really dont know the step we are currently in.
This patch fixes this issue by splitting the action in two steps: action
step that triggers data sending and callback step that verifies on
remotes sid that data was send.
Diffstat (limited to 'android/tester-main.h')
-rw-r--r-- | android/tester-main.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android/tester-main.h b/android/tester-main.h index 3e5c27d27..62453810c 100644 --- a/android/tester-main.h +++ b/android/tester-main.h @@ -397,6 +397,9 @@ typedef enum { CB_GATTS_REQUEST_WRITE, CB_GATTS_REQUEST_EXEC_WRITE, CB_GATTS_RESPONSE_CONFIRMATION, + + /* Emulator callbacks */ + CB_EMU_CONFIRM_SEND_DATA, } expected_bt_callback_t; struct test_data { |