Lines Matching full:remote
24 * Description: Stores the local BT adapter and remote device properties in
138 /* currently remote services is the potentially largest entry */
233 btif_config_set_int("Remote", bdstr,
237 btif_config_filter_remove("Remote", exclude_filter, sizeof(exclude_filter)/sizeof(char*),
244 btif_config_set_str("Remote", bdstr,
254 btif_config_set_str("Remote", bdstr, BTIF_STORAGE_PATH_REMOTE_ALIASE, value);
267 btif_config_set_int("Remote", bdstr,
271 btif_config_set_int("Remote", bdstr,
288 btif_config_set_str("Remote", bdstr, BTIF_STORAGE_PATH_REMOTE_SERVICE, value);
299 btif_config_set_int("Remote", bdstr,
301 btif_config_set_int("Remote", bdstr,
303 btif_config_set_int("Remote", bdstr,
330 ret = btif_config_get_int("Remote", bdstr,
337 ret = btif_config_get_str("Remote", bdstr,
353 ret = btif_config_get_str("Remote", bdstr,
376 ret = btif_config_get_int("Remote", bdstr,
381 ret = btif_config_get_int("Remote",
388 if(btif_config_get_str("Remote", bdstr,
410 ret = btif_config_get_int("Remote", bdstr,
414 ret = btif_config_get_int("Remote", bdstr,
418 ret = btif_config_get_int("Remote", bdstr,
448 if(btif_config_get("Remote", bdstr, "LinkKey", (char*)link_key, &size, &type))
451 if(btif_config_get_int("Remote", bdstr, "LinkKeyType", &linkkey_type))
464 BTIF_TRACE_DEBUG("Remote device:%s, no link key or ble key found", bdstr);
470 BTIF_TRACE_DEBUG("Remote device:%s, no link key found", bdstr);
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))
521 if(btif_config_get_int("Remote", kname, "DevClass", &cod))
526 if (btif_config_get_int("Remote", kname, "DevType", &device_type) &&
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);
694 ** Description BTIF storage API - Fetches the remote device property->type
712 ** Description BTIF storage API - Stores the remote device property
750 /* BD_ADDR for remote device needs special handling as we also store timestamp */
787 int ret = btif_config_set_int("Remote", bdstr, "LinkKeyType", (int)key_type);
788 ret &= btif_config_set_int("Remote", bdstr, "PinLength", (int)pin_length);
789 ret &= btif_config_set("Remote", bdstr, "LinkKey", (const char*)link_key, sizeof(LINK_KEY), BTIF_CFG_TYPE_BIN);
811 if(btif_config_exist("Remote", bdstr, "LinkKeyType"))
812 ret &= btif_config_remove("Remote", bdstr, "LinkKeyType");
813 if(btif_config_exist("Remote", bdstr, "PinLength"))
814 ret &= btif_config_remove("Remote", bdstr, "PinLength");
815 if(btif_config_exist("Remote", bdstr, "LinkKey"))
816 Remote", bdstr, "LinkKey");
991 int ret = btif_config_set("Remote", bdstr, name, (const char*)key, (int)key_length, BTIF_CFG_TYPE_BIN);
1035 int ret = btif_config_get("Remote", bdstr, name, key_value, &key_length, &type);
1056 if(btif_config_exist("Remote", bdstr, "LE_KEY_PENC"))
1057 ret &= btif_config_remove("Remote", bdstr, "LE_KEY_PENC");
1058 if(btif_config_exist("Remote", bdstr, "LE_KEY_PID"))
1059 ret &= btif_config_remove("Remote", bdstr, "LE_KEY_PID");
1060 if(btif_config_exist("Remote", bdstr, "LE_KEY_PCSRK"))
1061 ret &= btif_config_remove("Remote", bdstr, "LE_KEY_PCSRK");
1062 if(btif_config_exist("Remote", bdstr, "LE_KEY_LENC"))
1063 ret &= btif_config_remove("Remote", bdstr, "LE_KEY_LENC");
1064 if(btif_config_exist("Remote", bdstr, "LE_KEY_LCSRK"))
1065 ret &= btif_config_remove("Remote", bdstr, "LE_KEY_LCSRK");
1182 if(!btif_config_get_int("Remote", remote_bd_addr,"DevType", &device_type))
1348 int ret = btif_config_set_int("Remote", bdstr, "AddrType", (int)addr_type);
1357 ** Description BTIF storage API - Fetches the remote addr type
1368 int ret = btif_config_get_int("Remote", bdstr, "AddrType", addr_type);
1393 btif_config_set_int("Remote", bdstr, "HidAttrMask", attr_mask);
1394 btif_config_set_int("Remote", bdstr, "HidSubClass", sub_class);
1395 btif_config_set_int("Remote", bdstr, "HidAppId", app_id);
1396 btif_config_set_int("Remote", bdstr, "HidVendorId", vendor_id);
1397 btif_config_set_int("Remote", bdstr, "HidProductId", product_id);
1398 btif_config_set_int("Remote", bdstr, "HidVersion", version);
1399 btif_config_set_int("Remote", bdstr, "HidCountryCode", ctry_code);
1400 btif_config_set_int("Remote", bdstr, "HidSSRMaxLatency", ssr_max_latency);
1401 btif_config_set_int("Remote", bdstr, "HidSSRMinTimeout", ssr_min_tout);
1403 btif_config_set("Remote", bdstr, "HidDescriptor", (const char*)dsc_list, dl_len,
1437 kpos = btif_config_next_key(kpos, "Remote", kname, &kname_size);
1438 BTIF_TRACE_DEBUG("Remote device:%s, size:%d", kname, kname_size);
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);
1492 if(btif_config_get_int("Remote", kname, "HidAttrMask", &value))
1520 btif_config_remove("Remote", bdstr, "HidAttrMask");
1521 btif_config_remove("Remote", bdstr, "HidSubClass");
1522 btif_config_remove("Remote", bdstr, "HidAppId");
1523 btif_config_remove("Remote", bdstr, "HidVendorId");
1524 btif_config_remove("Remote", bdstr, "HidProductId");
1525 btif_config_remove("Remote", bdstr, "HidVersion");
1526 btif_config_remove("Remote", bdstr, "HidCountryCode");
1527 btif_config_remove("Remote", bdstr, "HidSSRMaxLatency");
1528 btif_config_remove("Remote", bdstr, "HidSSRMinTimeout");
1529 btif_config_remove("Remote", bdstr, "HidDescriptor");
1697 ** Description BTIF storage API - Add a remote device to the auto pairing blacklist
1771 ** Description Sets DMT support status for a remote device
1793 ret = btif_config_set_int("Remote", bdstr,"DMTSupported", (int)dmt_supported);
1804 ** Returns TRUE if remote address is valid and supports DMT else FALSE
1825 btif_config_get_int("Remote", bdstr,"DMTSupported", &dmt_supported);