Home | History | Annotate | Download | only in src

Lines Matching refs:btif_cb

863     btif_gattc_cb_t btif_cb;
878 btif_cb.status = call_status;
879 btif_cb.client_if = client_if;
880 btif_cb.inst_id = inst_id;
905 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
912 btif_gattc_cb_t btif_cb;
913 btif_cb.status = call_status;
914 btif_cb.action = 0;
916 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1015 btif_gattc_cb_t btif_cb;
1022 bdcpy(btif_cb.bd_addr.address, p_data->inq_res.bd_addr);
1023 btif_cb.device_type = p_data->inq_res.device_type;
1024 btif_cb.rssi = p_data->inq_res.rssi;
1025 btif_cb.addr_type = p_data->inq_res.ble_addr_type;
1026 btif_cb.flag = p_data->inq_res.flag;
1029 memcpy(btif_cb.value, p_data->inq_res.p_eir, 62);
1051 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1067 btif_gattc_cb_t btif_cb;
1069 bdcpy(btif_cb.bd_addr.address, p_result->rem_bda);
1070 btif_cb.rssi = p_result->rssi;
1071 btif_cb.status = p_result->status;
1072 btif_cb.client_if = rssi_request_client_if;
1074 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1079 btif_gattc_cb_t btif_cb;
1081 btif_cb.status = status;
1082 btif_cb.client_if = client_if;
1084 (char *)&btif_cb, sizeof(btif_gattc_cb_t), NULL);
1091 btgatt_adv_filter_cb_t btif_cb;
1092 btif_cb.status = status;
1093 btif_cb.action = action;
1094 btif_cb.cond_op = cfg_op;
1095 btif_cb.avbl_space = avbl_space;
1096 btif_cb.client_if = ref_value;
1098 (char*) &btif_cb, sizeof(btgatt_adv_filter_cb_t), NULL);
1105 btgatt_adv_filter_cb_t btif_cb;
1107 btif_cb.status = status;
1108 btif_cb.action = action_type;
1109 btif_cb.client_if = ref_value;
1110 btif_cb.avbl_space = avbl_space;
1112 (char*) &btif_cb, sizeof(btgatt_adv_filter_cb_t), NULL);
1118 btgatt_adv_filter_cb_t btif_cb;
1120 btif_cb.status = status;
1121 btif_cb.action = action;
1122 btif_cb.client_if = ref_value;
1124 (char*) &btif_cb, sizeof(btgatt_adv_filter_cb_t), NULL);
1771 btif_gattc_cb_t btif_cb;
1772 memcpy(&btif_cb.uuid, uuid, sizeof(bt_uuid_t));
1774 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1780 btif_gattc_cb_t btif_cb;
1781 btif_cb.client_if = (uint8_t) client_if;
1783 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1789 btif_gattc_cb_t btif_cb;
1791 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1798 btif_gattc_cb_t btif_cb;
1799 btif_cb.client_if = (uint8_t) client_if;
1800 btif_cb.is_direct = is_direct ? 1 : 0;
1801 btif_cb.transport = (btgatt_transport_t)transport;
1802 bdcpy(btif_cb.bd_addr.address, bd_addr->address);
1804 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1810 btif_gattc_cb_t btif_cb;
1811 btif_cb.client_if = (uint8_t) client_if;
1812 btif_cb.conn_id = (uint16_t) conn_id;
1813 bdcpy(btif_cb.bd_addr.address, bd_addr->address);
1815 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1821 btif_gattc_cb_t btif_cb;
1822 btif_cb.client_if = (uint8_t) client_if;
1823 btif_cb.start = start ? 1 : 0;
1825 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1889 btif_gattc_cb_t btif_cb;
1890 btif_cb.client_if = (uint8_t) client_if;
1891 bdcpy(btif_cb.bd_addr.address, bd_addr->address);
1893 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1899 btif_gattc_cb_t btif_cb;
1900 btif_cb.conn_id = (uint16_t) conn_id;
1901 btif_cb.search_all = filter_uuid ? 0 : 1;
1903 memcpy(&btif_cb.uuid, filter_uuid, sizeof(bt_uuid_t));
1905 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1912 btif_gattc_cb_t btif_cb;
1913 btif_cb.conn_id = (uint16_t) conn_id;
1914 memcpy(&btif_cb.srvc_id, srvc_id, sizeof(btgatt_srvc_id_t));
1917 memcpy(&btif_cb.char_id, start_char_id, sizeof(btgatt_gatt_id_t));
1919 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1922 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1930 btif_gattc_cb_t btif_cb;
1931 btif_cb.conn_id = (uint16_t) conn_id;
1932 memcpy(&btif_cb.srvc_id, srvc_id, sizeof(btgatt_srvc_id_t));
1933 memcpy(&btif_cb.char_id, char_id, sizeof(btgatt_gatt_id_t));
1936 memcpy(&btif_cb.descr_id, start_descr_id, sizeof(btgatt_gatt_id_t));
1938 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1942 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1949 btif_gattc_cb_t btif_cb;
1950 btif_cb.conn_id = (uint16_t) conn_id;
1951 memcpy(&btif_cb.srvc_id, srvc_id, sizeof(btgatt_srvc_id_t));
1954 memcpy(&btif_cb.incl_srvc_id, start_incl_srvc_id, sizeof(btgatt_srvc_id_t));
1956 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1959 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1966 btif_gattc_cb_t btif_cb;
1967 btif_cb.conn_id = (uint16_t) conn_id;
1968 btif_cb.auth_req = (uint8_t) auth_req;
1969 memcpy(&btif_cb.srvc_id, srvc_id, sizeof(btgatt_srvc_id_t));
1970 memcpy(&btif_cb.char_id, char_id, sizeof(btgatt_gatt_id_t));
1972 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1981 btif_gattc_cb_t btif_cb;
1982 btif_cb.conn_id = (uint16_t) conn_id;
1983 btif_cb.auth_req = (uint8_t) auth_req;
1984 memcpy(&btif_cb.srvc_id, srvc_id, sizeof(btgatt_srvc_id_t));
1985 memcpy(&btif_cb.char_id, char_id, sizeof(btgatt_gatt_id_t));
1986 memcpy(&btif_cb.descr_id, descr_id, sizeof(btgatt_gatt_id_t));
1988 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
1996 btif_gattc_cb_t btif_cb;
1997 btif_cb.conn_id = (uint16_t) conn_id;
1998 btif_cb.auth_req = (uint8_t) auth_req;
1999 btif_cb.write_type = (uint8_t) write_type;
2000 btif_cb.len = len > BTGATT_MAX_ATTR_LEN ? BTGATT_MAX_ATTR_LEN : len;
2001 memcpy(&btif_cb.srvc_id, srvc_id, sizeof(btgatt_srvc_id_t));
2002 memcpy(&btif_cb.char_id, char_id, sizeof(btgatt_gatt_id_t));
2003 memcpy(btif_cb.value, p_value, btif_cb.len);
2005 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
2015 btif_gattc_cb_t btif_cb;
2016 btif_cb.conn_id = (uint16_t) conn_id;
2017 btif_cb.auth_req = (uint8_t) auth_req;
2018 btif_cb.write_type = (uint8_t) write_type;
2019 btif_cb.len = len > BTGATT_MAX_ATTR_LEN ? BTGATT_MAX_ATTR_LEN : len;
2020 memcpy(&btif_cb.srvc_id, srvc_id, sizeof(btgatt_srvc_id_t));
2021 memcpy(&btif_cb.char_id, char_id, sizeof(btgatt_gatt_id_t));
2022 memcpy(&btif_cb.descr_id, descr_id, sizeof(btgatt_gatt_id_t));
2023 memcpy(btif_cb.value, p_value, btif_cb.len);
2025 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
2031 btif_gattc_cb_t btif_cb;
2032 btif_cb.conn_id = (uint16_t) conn_id;
2033 btif_cb.action = (uint8_t) execute;
2035 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
2043 btif_gattc_cb_t btif_cb;
2044 btif_cb.client_if = (uint8_t) client_if;
2045 bdcpy(btif_cb.bd_addr.address, bd_addr->address);
2046 memcpy(&btif_cb.srvc_id, srvc_id, sizeof(btgatt_srvc_id_t));
2047 memcpy(&btif_cb.char_id, char_id, sizeof(btgatt_gatt_id_t));
2049 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
2057 btif_gattc_cb_t btif_cb;
2058 btif_cb.client_if = (uint8_t) client_if;
2059 bdcpy(btif_cb.bd_addr.address, bd_addr->address);
2060 memcpy(&btif_cb.srvc_id, srvc_id, sizeof(btgatt_srvc_id_t));
2061 memcpy(&btif_cb.char_id, char_id, sizeof(btgatt_gatt_id_t));
2063 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
2069 btif_gattc_cb_t btif_cb;
2070 btif_cb.client_if = (uint8_t) client_if;
2071 bdcpy(btif_cb.bd_addr.address, bd_addr->address);
2073 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
2079 btif_gattc_cb_t btif_cb;
2080 btif_cb.conn_id = conn_id;
2081 btif_cb.len = mtu; // Re-use len field
2083 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);
2090 btif_conn_param_cb_t btif_cb;
2091 btif_cb.min_interval = min_interval;
2092 btif_cb.max_interval = max_interval;
2093 btif_cb.latency = latency;
2094 btif_cb.timeout = timeout;
2095 bdcpy(btif_cb.bd_addr.address, bd_addr->address);
2097 (char*) &btif_cb, sizeof(btif_conn_param_cb_t), NULL);
2201 btif_gattc_cb_t btif_cb;
2202 btif_cb.client_if = client_if;
2203 btif_cb.scan_interval = scan_interval;
2204 btif_cb.scan_window = scan_window;
2206 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL);