diff options
author | Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com> | 2014-10-06 14:54:01 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-10-06 16:01:58 +0200 |
commit | ecd374f9911eae1269592bd5875d3bd8155c30e6 (patch) | |
tree | f5269e4d577e84b3ddc6686d3cb8fb73ffc09f47 /android/tester-main.h | |
parent | 5040ae422bd94235e08016ee6913c4bdc41c44b2 (diff) | |
download | bluez-ecd374f9911eae1269592bd5875d3bd8155c30e6.tar.gz |
android/tester: Add GATT server add include service test cases
This adds include service add by server test cases.
Diffstat (limited to 'android/tester-main.h')
-rw-r--r-- | android/tester-main.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/android/tester-main.h b/android/tester-main.h index 79df8de7e..14adb65a4 100644 --- a/android/tester-main.h +++ b/android/tester-main.h @@ -263,6 +263,15 @@ struct pdu_set { .store_srvc_handle = cb_store_srvc_handle, \ } +#define CALLBACK_GATTS_INC_SERVICE_ADDED(cb_res, cb_server_id, cb_srvc_handle, \ + cb_inc_srvc_handle) { \ + .callback = CB_GATTS_INCLUDED_SERVICE_ADDED, \ + .callback_result.status = cb_res, \ + .callback_result.gatt_app_id = cb_server_id, \ + .callback_result.srvc_handle = cb_srvc_handle, \ + .callback_result.inc_srvc_handle = cb_inc_srvc_handle, \ + } + #define CALLBACK_PAN_CTRL_STATE(cb, cb_res, cb_state, cb_local_role) { \ .callback = cb, \ .callback_result.status = cb_res, \ @@ -512,6 +521,7 @@ struct bt_callback_data { int conn_id; int connected; int *srvc_handle; + int *inc_srvc_handle; btgatt_srvc_id_t *service; btgatt_gatt_id_t *characteristic; btgatt_gatt_id_t *descriptor; |