gap.h (106d6d11cb7c9a5a7235ba06828fd9741d8be884) gap.h (f471afd8963ca1a5b914db0cbb3471db087f44b8)
1/*
2 * Copyright (C) 2011-2012 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

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

29 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
30 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * Please inquire about commercial licensing options at [email protected]
34 *
35 */
36
1/*
2 * Copyright (C) 2011-2012 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

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

29 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
30 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * Please inquire about commercial licensing options at [email protected]
34 *
35 */
36
37#pragma once
37#ifndef __GAP_H
38#define __GAP_H
38
39#if defined __cplusplus
40extern "C" {
41#endif
42
43typedef enum {
44
45 // MITM protection not required

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

95
96void gap_request_security_level(hci_con_handle_t con_handle, gap_security_level_t level);
97int gap_mitm_protection_required_for_security_level(gap_security_level_t level);
98
99#if defined __cplusplus
100}
101#endif
102
39
40#if defined __cplusplus
41extern "C" {
42#endif
43
44typedef enum {
45
46 // MITM protection not required

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

96
97void gap_request_security_level(hci_con_handle_t con_handle, gap_security_level_t level);
98int gap_mitm_protection_required_for_security_level(gap_security_level_t level);
99
100#if defined __cplusplus
101}
102#endif
103
104#endif // __GAP_H