hci.h (ace087123b7d8b6913e24abeff12ea0a80b893ce) | hci.h (b6f39a74d2672c499a9bf128847eec1c84d23a53) |
---|---|
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 --- 1075 unchanged lines hidden (view full) --- 1084 uint8_t le_periodic_sync_cte_type; 1085 le_connecting_state_t le_periodic_sync_state; 1086 le_connecting_state_t le_periodic_sync_request; 1087#endif 1088#endif 1089 1090 le_connection_parameter_range_t le_connection_parameter_range; 1091 | 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 --- 1075 unchanged lines hidden (view full) --- 1084 uint8_t le_periodic_sync_cte_type; 1085 le_connecting_state_t le_periodic_sync_state; 1086 le_connecting_state_t le_periodic_sync_request; 1087#endif 1088#endif 1089 1090 le_connection_parameter_range_t le_connection_parameter_range; 1091 |
1092 // TODO: move LE_ADVERTISEMENT_TASKS_SET_ADDRESS flag which is used for both roles into 1093 // some generic gap_le variable 1094 uint8_t le_advertisements_todo; 1095 |
|
1092#ifdef ENABLE_LE_PERIPHERAL 1093 uint8_t * le_advertisements_data; 1094 uint8_t le_advertisements_data_len; 1095 1096 uint8_t * le_scan_response_data; 1097 uint8_t le_scan_response_data_len; 1098 1099 uint16_t le_advertisements_interval_min; 1100 uint16_t le_advertisements_interval_max; 1101 uint8_t le_advertisements_type; 1102 uint8_t le_advertisements_direct_address_type; 1103 uint8_t le_advertisements_channel_map; 1104 uint8_t le_advertisements_filter_policy; 1105 bd_addr_t le_advertisements_direct_address; 1106 uint8_t le_advertisements_own_addr_type; 1107 bd_addr_t le_advertisements_own_address; 1108 | 1096#ifdef ENABLE_LE_PERIPHERAL 1097 uint8_t * le_advertisements_data; 1098 uint8_t le_advertisements_data_len; 1099 1100 uint8_t * le_scan_response_data; 1101 uint8_t le_scan_response_data_len; 1102 1103 uint16_t le_advertisements_interval_min; 1104 uint16_t le_advertisements_interval_max; 1105 uint8_t le_advertisements_type; 1106 uint8_t le_advertisements_direct_address_type; 1107 uint8_t le_advertisements_channel_map; 1108 uint8_t le_advertisements_filter_policy; 1109 bd_addr_t le_advertisements_direct_address; 1110 uint8_t le_advertisements_own_addr_type; 1111 bd_addr_t le_advertisements_own_address; 1112 |
1109 uint8_t le_advertisements_todo; | |
1110 uint8_t le_advertisements_state; 1111 1112 bool le_advertisements_enabled_for_current_roles; 1113 uint8_t le_max_number_peripheral_connections; 1114 1115#ifdef ENABLE_LE_EXTENDED_ADVERTISING 1116 btstack_linked_list_t le_advertising_sets; 1117 uint16_t le_maximum_advertising_data_length; --- 498 unchanged lines hidden --- | 1113 uint8_t le_advertisements_state; 1114 1115 bool le_advertisements_enabled_for_current_roles; 1116 uint8_t le_max_number_peripheral_connections; 1117 1118#ifdef ENABLE_LE_EXTENDED_ADVERTISING 1119 btstack_linked_list_t le_advertising_sets; 1120 uint16_t le_maximum_advertising_data_length; --- 498 unchanged lines hidden --- |