Parent: c6dab30d003cd8263aea310f1ccc405fa7446a5b
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-07-21 11:44:09
Tree: 3c1c125c6acc704990c25900755cfe072f922eaa
android/tester-ng: Add pin request and bond state callbacks To fully verify data passed by these callbacks we reuse existing device properties verification mechanism. For this, callback argumenents are repacked to properties array for further verification. Those are verified against values passed to the callback step definition macro just like with any other definition of callback step in which we get device properties. An alternative would be to extend 'bt_callback_data' struct and add new fields for bdaddr, name, class of device and other properties, that we get in callbacks as sepparate values and not as list of props.
Diffstat
| M | android/tester-main.c | | | 77 | ++++++++++++++++++++++++++++++++++++++++- - |
1 files changed, 75 insertions(+), 2 deletions(-)