Lines Matching refs:kname
492 char kname[128], vname[128];
495 kname_size = sizeof(kname);
496 kname[0] = 0;
503 kpos = btif_config_next_key(kpos, "Remote", kname, &kname_size);
504 BTIF_TRACE_DEBUG("Remote device:%s, size:%d", kname, kname_size);
508 if(btif_config_get("Remote", kname, "LinkKey", (char*)link_key, &size, &type))
511 if(btif_config_get_int("Remote", kname, "LinkKeyType", &linkkey_type))
514 //btif_config_get_int("Remote", kname, "PinLength", &pin_len))
516 str2bd(kname, &bd_addr);
521 if(btif_config_get_int("Remote", kname, "DevClass", &cod))
526 if (btif_config_get_int("Remote", kname, "DevType", &device_type) &&
541 BTIF_TRACE_ERROR("bounded device:%s, LinkKeyType or PinLength is invalid", kname);
546 if(!(btif_in_fetch_bonded_ble_device(kname,add, p_bonded_devices)) && (!bt_linkkey_file_found))
548 BTIF_TRACE_DEBUG("Remote device:%s, no link key or ble key found", kname);
552 BTIF_TRACE_DEBUG("Remote device:%s, no link key", kname);
554 kname_size = sizeof(kname);
555 kname[0] = 0;
1428 char kname[128], vname[128];
1431 kname_size = sizeof(kname);
1432 kname[0] = 0;
1437 kpos = btif_config_next_key(kpos, "Remote", kname, &kname_size);
1438 BTIF_TRACE_DEBUG("Remote device:%s, size:%d", kname, kname_size);
1440 if(btif_in_fetch_bonded_device(kname) == BT_STATUS_SUCCESS)
1442 if(btif_config_get_int("Remote", kname, "HidAttrMask", &value))
1446 btif_config_get_int("Remote", kname, "HidSubClass", &value);
1449 btif_config_get_int("Remote", kname, "HidAppId", &value);
1452 btif_config_get_int("Remote", kname, "HidVendorId", &value);
1455 btif_config_get_int("Remote", kname, "HidProductId", &value);
1458 btif_config_get_int("Remote", kname, "HidVersion", &value);
1461 btif_config_get_int("Remote", kname, "HidCountryCode", &value);
1465 btif_config_get_int("Remote", kname, "HidSSRMaxLatency", &value);
1469 btif_config_get_int("Remote", kname, "HidSSRMinTimeout", &value);
1474 btif_config_get("Remote", kname, "HidDescriptor", NULL, &len, &type);
1479 btif_config_get("Remote", kname, "HidDescriptor", (char*)dscp_info.descriptor.dsc_list, &len, &type);
1481 str2bd(kname, &bd_addr);
1492 if(btif_config_get_int("Remote", kname, "HidAttrMask", &value))
1495 str2bd(kname, &bd_addr);