sdp_client.h (80e33422a96c028b3a9c308fc4b9b874712dafb4) sdp_client.h (e094740e060c70e12af6cf8e9e2f7e7eb2b4eeb8)
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 50 unchanged lines hidden (view full) ---

59 uint32_t de_offset;
60} de_state_t;
61
62void de_state_init(de_state_t * state);
63int de_state_size(uint8_t eventByte, de_state_t *de_state);
64
65/**
66 * @brief Checks if the SDP Client is ready
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 50 unchanged lines hidden (view full) ---

59 uint32_t de_offset;
60} de_state_t;
61
62void de_state_init(de_state_t * state);
63int de_state_size(uint8_t eventByte, de_state_t *de_state);
64
65/**
66 * @brief Checks if the SDP Client is ready
67 * @deprecated Please use sdp_client_register_query_callback instead
67 * @return 1 when no query is active
68 */
69int sdp_client_ready(void);
70
68 * @return 1 when no query is active
69 */
70int sdp_client_ready(void);
71
72/**
73 * @brief Requests a callback, when the SDP Client is ready and can be used
74 * @note The callback might happens before sdp_client_register_query_callback has returned
75 * @param callback_registration
76 */
77uint8_t sdp_client_register_query_callback(btstack_context_callback_registration_t * callback_registration);
78
71/**
72 * @brief Queries the SDP service of the remote device given a service search pattern and a list of attribute IDs.
73 * The remote data is handled by the SDP parser. The SDP parser delivers attribute values and done event via the callback.
74 * @param callback for attributes values and done event
75 * @param remote address
76 * @param des_service_search_pattern
77 * @param des_attribute_id_list
78 */

--- 47 unchanged lines hidden ---
79/**
80 * @brief Queries the SDP service of the remote device given a service search pattern and a list of attribute IDs.
81 * The remote data is handled by the SDP parser. The SDP parser delivers attribute values and done event via the callback.
82 * @param callback for attributes values and done event
83 * @param remote address
84 * @param des_service_search_pattern
85 * @param des_attribute_id_list
86 */

--- 47 unchanged lines hidden ---