hci.h (5877c8b7fbe5a213cf0e1f5457d77d8fe0ca5c8f) hci.h (b04dfa37bafdda36b153d66dad8889d7bdc56baa)
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

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

317// le central scanning state
318typedef enum {
319 LE_SCAN_IDLE,
320 LE_START_SCAN,
321 LE_SCANNING,
322 LE_STOP_SCAN,
323} le_scanning_state_t;
324
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

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

317// le central scanning state
318typedef enum {
319 LE_SCAN_IDLE,
320 LE_START_SCAN,
321 LE_SCANNING,
322 LE_STOP_SCAN,
323} le_scanning_state_t;
324
325typedef enum {
326 LE_CONNECTING_IDLE,
327 LE_CONNECTING_DIRECT,
328 LE_CONNECTING_WHITELIST,
329} le_connecting_state_t;
330
325//
326// SM internal types and globals
327//
328
329typedef enum {
330
331 // general states
332 // state = 0

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

693
694 // buffer for single connection decline
695 uint8_t decline_reason;
696 bd_addr_t decline_addr;
697
698 uint8_t adv_addr_type;
699 bd_addr_t adv_address;
700
331//
332// SM internal types and globals
333//
334
335typedef enum {
336
337 // general states
338 // state = 0

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

699
700 // buffer for single connection decline
701 uint8_t decline_reason;
702 bd_addr_t decline_addr;
703
704 uint8_t adv_addr_type;
705 bd_addr_t adv_address;
706
701 le_scanning_state_t le_scanning_state;
707 le_scanning_state_t le_scanning_state;
708 le_connecting_state_t le_connecting_state;
702
703 // buffer for le scan type command - 0xff not set
704 uint8_t le_scan_type;
705 uint16_t le_scan_interval;
706 uint16_t le_scan_window;
707
708 le_connection_parameter_range_t le_connection_parameter_range;
709

--- 231 unchanged lines hidden ---
709
710 // buffer for le scan type command - 0xff not set
711 uint8_t le_scan_type;
712 uint16_t le_scan_interval;
713 uint16_t le_scan_window;
714
715 le_connection_parameter_range_t le_connection_parameter_range;
716

--- 231 unchanged lines hidden ---