hci.h (9d78a7ec35d10cc59b12101cebe9cf2be33d6ece) hci.h (7aa35f6a68be293b189765703d55a2983fa71909)
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

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

919 /* callbacks for events */
920 btstack_linked_list_t event_handlers;
921
922#ifdef ENABLE_CLASSIC
923 /* callback for reject classic connection */
924 int (*gap_classic_accept_callback)(bd_addr_t addr, hci_link_type_t link_type);
925#endif
926
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

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

919 /* callbacks for events */
920 btstack_linked_list_t event_handlers;
921
922#ifdef ENABLE_CLASSIC
923 /* callback for reject classic connection */
924 int (*gap_classic_accept_callback)(bd_addr_t addr, hci_link_type_t link_type);
925#endif
926
927 // hardware error callback
928 void (*hardware_error_callback)(uint8_t error);
929
927#ifdef ENABLE_LE_ISOCHRONOUS_STREAMS
928 /* callback for ISO data */
929 btstack_packet_handler_t iso_packet_handler;
930
931 /* fragmentation for ISO data */
932 uint16_t iso_fragmentation_pos;
933 uint16_t iso_fragmentation_total_size;
934 bool iso_fragmentation_tx_active;
935
936 // list of iso streams
937 btstack_linked_list_t iso_streams;
930#ifdef ENABLE_LE_ISOCHRONOUS_STREAMS
931 /* callback for ISO data */
932 btstack_packet_handler_t iso_packet_handler;
933
934 /* fragmentation for ISO data */
935 uint16_t iso_fragmentation_pos;
936 uint16_t iso_fragmentation_total_size;
937 bool iso_fragmentation_tx_active;
938
939 // list of iso streams
940 btstack_linked_list_t iso_streams;
941
942 // list of BIGs
943 btstack_linked_list_t le_audio_bigs;
938#endif
939
944#endif
945
940 // hardware error callback
941 void (*hardware_error_callback)(uint8_t error);
942
943 // basic configuration
944 const char * local_name;
945 const uint8_t * eir_data;
946 uint32_t class_of_device;
947 bd_addr_t local_bd_addr;
948 uint16_t default_link_policy_settings;
949 uint8_t allow_role_switch;
950 uint8_t ssp_enable;

--- 699 unchanged lines hidden ---
946 // basic configuration
947 const char * local_name;
948 const uint8_t * eir_data;
949 uint32_t class_of_device;
950 bd_addr_t local_bd_addr;
951 uint16_t default_link_policy_settings;
952 uint8_t allow_role_switch;
953 uint8_t ssp_enable;

--- 699 unchanged lines hidden ---