Lines Matching refs:params
207 bt_status_t btif_gattc_test_command_impl(uint16_t command, btgatt_test_params_t* params)
212 ALOGD("%s: ENABLE - enable=%d", __FUNCTION__, params->u1);
213 if (params->u1)
229 params->bda1->address[0], params->bda1->address[1],
230 params->bda1->address[2], params->bda1->address[3],
231 params->bda1->address[4], params->bda1->address[5],
232 params->u1);
234 if (params->u1 == BT_DEVICE_TYPE_BLE)
235 BTM_SecAddBleDevice(params->bda1->address, NULL, BT_DEVICE_TYPE_BLE, 0);
237 if ( !GATT_Connect(test_cb.gatt_if, params->bda1->address, TRUE) )
257 if (params->u1 >= GATT_DISC_MAX)
259 ALOGE("%s: DISCOVER - Invalid type (%d)!", __FUNCTION__, params->u1);
263 param.s_handle = params->u2;
264 param.e_handle = params->u3;
265 btif_to_bta_uuid(¶m.service, params->uuid1);
268 __FUNCTION__, disc_name[params->u1], test_cb.conn_id,
269 format_uuid(param.service, buf), params->u2, params->u3);
270 GATTC_Discover(test_cb.conn_id, params->u1, ¶m);
276 __FUNCTION__, params->u1, params->u2, params->u3, params->u4,
277 params->u5);
279 bte_appl_cfg.ble_auth_req = params->u1;
280 bte_appl_cfg.ble_io_cap = params->u2;
281 bte_appl_cfg.ble_init_key = params->u3;
282 bte_appl_cfg.ble_resp_key = params->u4;
283 bte_appl_cfg.ble_max_key_size = params->u5;