1*6bdecec7SMatthias Ringwald /* 2*6bdecec7SMatthias Ringwald * Copyright (C) 2014 BlueKitchen GmbH 3*6bdecec7SMatthias Ringwald * 4*6bdecec7SMatthias Ringwald * Redistribution and use in source and binary forms, with or without 5*6bdecec7SMatthias Ringwald * modification, are permitted provided that the following conditions 6*6bdecec7SMatthias Ringwald * are met: 7*6bdecec7SMatthias Ringwald * 8*6bdecec7SMatthias Ringwald * 1. Redistributions of source code must retain the above copyright 9*6bdecec7SMatthias Ringwald * notice, this list of conditions and the following disclaimer. 10*6bdecec7SMatthias Ringwald * 2. Redistributions in binary form must reproduce the above copyright 11*6bdecec7SMatthias Ringwald * notice, this list of conditions and the following disclaimer in the 12*6bdecec7SMatthias Ringwald * documentation and/or other materials provided with the distribution. 13*6bdecec7SMatthias Ringwald * 3. Neither the name of the copyright holders nor the names of 14*6bdecec7SMatthias Ringwald * contributors may be used to endorse or promote products derived 15*6bdecec7SMatthias Ringwald * from this software without specific prior written permission. 16*6bdecec7SMatthias Ringwald * 4. Any redistribution, use, or modification is done solely for 17*6bdecec7SMatthias Ringwald * personal benefit and not for any commercial purpose or for 18*6bdecec7SMatthias Ringwald * monetary gain. 19*6bdecec7SMatthias Ringwald * 20*6bdecec7SMatthias Ringwald * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS 21*6bdecec7SMatthias Ringwald * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22*6bdecec7SMatthias Ringwald * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 23*6bdecec7SMatthias Ringwald * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MATTHIAS 24*6bdecec7SMatthias Ringwald * RINGWALD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 25*6bdecec7SMatthias Ringwald * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 26*6bdecec7SMatthias Ringwald * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 27*6bdecec7SMatthias Ringwald * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 28*6bdecec7SMatthias Ringwald * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 29*6bdecec7SMatthias Ringwald * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 30*6bdecec7SMatthias Ringwald * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31*6bdecec7SMatthias Ringwald * SUCH DAMAGE. 32*6bdecec7SMatthias Ringwald * 33*6bdecec7SMatthias Ringwald * Please inquire about commercial licensing options at 34*6bdecec7SMatthias Ringwald * [email protected] 35*6bdecec7SMatthias Ringwald * 36*6bdecec7SMatthias Ringwald */ 37*6bdecec7SMatthias Ringwald 38*6bdecec7SMatthias Ringwald #ifndef ANCS_CLIENT_H 39*6bdecec7SMatthias Ringwald #define ANCS_CLIENT_H 40*6bdecec7SMatthias Ringwald 41*6bdecec7SMatthias Ringwald #if defined __cplusplus 42*6bdecec7SMatthias Ringwald extern "C" { 43*6bdecec7SMatthias Ringwald #endif 44*6bdecec7SMatthias Ringwald 45*6bdecec7SMatthias Ringwald #include <stdint.h> 46*6bdecec7SMatthias Ringwald #include "btstack_defines.h" 47*6bdecec7SMatthias Ringwald 48*6bdecec7SMatthias Ringwald /* API_START */ 49*6bdecec7SMatthias Ringwald 50*6bdecec7SMatthias Ringwald void ancs_client_init(void); 51*6bdecec7SMatthias Ringwald void ancs_client_register_callback(btstack_packet_handler_t callback); 52*6bdecec7SMatthias Ringwald const char * ancs_client_attribute_name_for_id(int id); 53*6bdecec7SMatthias Ringwald 54*6bdecec7SMatthias Ringwald /* API_END */ 55*6bdecec7SMatthias Ringwald 56*6bdecec7SMatthias Ringwald #if defined __cplusplus 57*6bdecec7SMatthias Ringwald } 58*6bdecec7SMatthias Ringwald #endif 59*6bdecec7SMatthias Ringwald 60*6bdecec7SMatthias Ringwald #endif 61