Lines Matching refs:params
194 struct bt_gatt_read_params *params, const void *data, uint16_t read_len) in gatt_read_cb() argument
198 gatt_read_handle = params->by_uuid.start_handle; in gatt_read_cb()
216 struct bt_gatt_read_params params; in gatt_read() local
220 params.handle_count = 0; in gatt_read()
221 params.by_uuid.start_handle = start_handle; in gatt_read()
222 params.by_uuid.end_handle = end_handle; in gatt_read()
223 params.by_uuid.uuid = uuid; in gatt_read()
224 params.func = gatt_read_cb; in gatt_read()
228 err = bt_gatt_read(conn, ¶ms); in gatt_read()
242 params.handle_count = 1; in gatt_read()
243 params.single.handle = handle; in gatt_read()
244 params.single.offset = offset; in gatt_read()
248 err = bt_gatt_read(conn, ¶ms); in gatt_read()
263 struct bt_gatt_discover_params *params) in gatt_discover_cb() argument
281 struct bt_gatt_discover_params params; in gatt_discover_primary_service() local
283 params.type = BT_GATT_DISCOVER_PRIMARY; in gatt_discover_primary_service()
284 params.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in gatt_discover_primary_service()
285 params.end_handle = BT_ATT_LAST_ATTRIBUTE_HANDLE; in gatt_discover_primary_service()
286 params.uuid = service_type; in gatt_discover_primary_service()
287 params.func = gatt_discover_cb; in gatt_discover_primary_service()
291 err = bt_gatt_discover(conn, ¶ms); in gatt_discover_primary_service()