goep_client.h (242117a48ce42eb6753aa924c588a7db3ce32316) goep_client.h (808cabbb633637da6056b1971ad7d92eae2c49bc)
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

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

154 * @param out_cid
155 * @return
156 */
157uint8_t
158goep_client_connect_l2cap(goep_client_t *goep_client, l2cap_ertm_config_t *l2cap_ertm_config, uint8_t *l2cap_ertm_buffer,
159 uint16_t l2cap_ertm_buffer_size, btstack_packet_handler_t handler, bd_addr_t addr, uint16_t l2cap_psm,
160 uint16_t *out_cid);
161
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

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

154 * @param out_cid
155 * @return
156 */
157uint8_t
158goep_client_connect_l2cap(goep_client_t *goep_client, l2cap_ertm_config_t *l2cap_ertm_config, uint8_t *l2cap_ertm_buffer,
159 uint16_t l2cap_ertm_buffer_size, btstack_packet_handler_t handler, bd_addr_t addr, uint16_t l2cap_psm,
160 uint16_t *out_cid);
161
162/*
163 * @brief Connect to a GEOP server with specified UUID on a remote device.
164 * @note This functions uses a single goep_client_t instance and only allows for a single goep connection
165 * Please use goep_client_connect instead
166 * @param handler
167 * @param addr
168 * @param uuid
169 * @param out_cid to use for further commands
170 * @result status
171*/
172uint8_t goep_client_create_connection(btstack_packet_handler_t handler, bd_addr_t addr, uint16_t uuid, uint16_t * out_cid);
173
174/**
175 * @brief Disconnects GOEP connection with given identifier.
176 * @param goep_cid
177 * @return status
178 */
179uint8_t goep_client_disconnect(uint16_t goep_cid);
180
181/**

--- 245 unchanged lines hidden ---
162/**
163 * @brief Disconnects GOEP connection with given identifier.
164 * @param goep_cid
165 * @return status
166 */
167uint8_t goep_client_disconnect(uint16_t goep_cid);
168
169/**

--- 245 unchanged lines hidden ---