hci.h (cbe54ab248e18b2ac2b93983c2dda9d07e5de112) hci.h (6fab74db98118d4d08e575fb4b432de22e5f4849)
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

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

209};
210
211typedef enum {
212 BLUETOOTH_OFF = 1,
213 BLUETOOTH_ON,
214 BLUETOOTH_ACTIVE
215} BLUETOOTH_STATE;
216
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

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

209};
210
211typedef enum {
212 BLUETOOTH_OFF = 1,
213 BLUETOOTH_ON,
214 BLUETOOTH_ACTIVE
215} BLUETOOTH_STATE;
216
217// le central scanning state
218typedef enum {
217typedef enum {
219 LE_SCAN_IDLE,
220 LE_START_SCAN,
221 LE_SCANNING,
222 LE_STOP_SCAN,
223} le_scanning_state_t;
224
225typedef enum {
226 LE_CONNECTING_IDLE,
227 LE_CONNECTING_DIRECT,
228 LE_CONNECTING_WHITELIST,
229} le_connecting_state_t;
230
231#ifdef ENABLE_BLE
232
233//

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

790
791#ifdef ENABLE_BLE
792 uint8_t le_own_addr_type;
793 bd_addr_t le_random_address;
794 uint8_t le_random_address_set;
795#endif
796
797#ifdef ENABLE_LE_CENTRAL
218 LE_CONNECTING_IDLE,
219 LE_CONNECTING_DIRECT,
220 LE_CONNECTING_WHITELIST,
221} le_connecting_state_t;
222
223#ifdef ENABLE_BLE
224
225//

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

782
783#ifdef ENABLE_BLE
784 uint8_t le_own_addr_type;
785 bd_addr_t le_random_address;
786 uint8_t le_random_address_set;
787#endif
788
789#ifdef ENABLE_LE_CENTRAL
798 le_scanning_state_t le_scanning_state;
790 uint8_t le_scanning_enabled;
791 uint8_t le_scanning_active;
792
799 le_connecting_state_t le_connecting_state;
800
801 // buffer for le scan type command - 0xff not set
802 uint8_t le_scan_type;
803 uint16_t le_scan_interval;
804 uint16_t le_scan_window;
805
806 // LE Whitelist Management

--- 364 unchanged lines hidden ---
793 le_connecting_state_t le_connecting_state;
794
795 // buffer for le scan type command - 0xff not set
796 uint8_t le_scan_type;
797 uint16_t le_scan_interval;
798 uint16_t le_scan_window;
799
800 // LE Whitelist Management

--- 364 unchanged lines hidden ---