bnep.h (80e33422a96c028b3a9c308fc4b9b874712dafb4) | bnep.h (78315a58573f370dd679856042aa32fba14bc84a) |
---|---|
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 --- 180 unchanged lines hidden (view full) --- 189 190/** 191 * @brief Set the multicast address filter. 192 */ 193int bnep_set_multicast_filter(uint16_t bnep_cid, bnep_multi_filter_t *filter, uint16_t len); 194 195/** 196 * @brief Set security level required for incoming connections, need to be called before registering services. | 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 --- 180 unchanged lines hidden (view full) --- 189 190/** 191 * @brief Set the multicast address filter. 192 */ 193int bnep_set_multicast_filter(uint16_t bnep_cid, bnep_multi_filter_t *filter, uint16_t len); 194 195/** 196 * @brief Set security level required for incoming connections, need to be called before registering services. |
197 * @deprecated use gap_set_security_level instead |
|
197 */ 198void bnep_set_required_security_level(gap_security_level_t security_level); 199 200/** 201 * @brief Creates BNEP connection (channel) to a given server on a remote device with baseband address. A new baseband connection will be initiated if necessary. 202 */ 203int bnep_connect(btstack_packet_handler_t packet_handler, bd_addr_t addr, uint16_t l2cap_psm, uint16_t uuid_src, uint16_t uuid_dest); 204 --- 21 unchanged lines hidden --- | 198 */ 199void bnep_set_required_security_level(gap_security_level_t security_level); 200 201/** 202 * @brief Creates BNEP connection (channel) to a given server on a remote device with baseband address. A new baseband connection will be initiated if necessary. 203 */ 204int bnep_connect(btstack_packet_handler_t packet_handler, bd_addr_t addr, uint16_t l2cap_psm, uint16_t uuid_src, uint16_t uuid_dest); 205 --- 21 unchanged lines hidden --- |