Commit: 1432f119379980682193045f835bee7b39d93584
Parent: 04503d8ed5aecccd3069048991115624ad8dde91
Author: Szymon Janc <szymon.janc@codecoup.pl>
Committer: Szymon Janc <szymon.janc@codecoup.pl>
Date: 2017-12-22 11:14:22
Tree: b67b9df0a77c85b31a7f78921b4896749e998585

android/tester: Fix race in discovering devices This makes sure that emulated device starts advertising only after discovery is ongoing and that tests go further only after device was found. Otherwise tests were randomly failing.

Diffstat

M android/tester-bluetooth.c | 94 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M android/tester-gatt.c | 112 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

2 files changed, 125 insertions(+), 81 deletions(-)

View Full Diff | Patch