android/tester-ng: Add socket connect success cases

System Internals / BlueZ - Jakub Tyszkowski [tieto.com] - 24 July 2014 05:14 UTC

Adding socket connect cases requires to set up the the l2cap and rfcomm servers on the emulated device. For this, the bthost_l2cap_connect_cb type had to exposed in tester-main.h and pulled some bthost dependencies along.

4af8374 android/tester-ng: Add socket connect success cases
android/tester-bluetooth.c | 2 +
android/tester-gatt.c | 3 +
android/tester-hidhost.c | 3 +
android/tester-main.c | 62 +++++++++++++++-
android/tester-main.h | 9 +++
android/tester-socket.c | 168 +++++++++++++++++++++++++++++++++++++++++++-
6 files changed, 244 insertions(+), 3 deletions(-)

Upstream: git.kernel.org


  • Share