hci.h (1470db0ca8ab4772a606fa66265361030a4953d3) hci.h (b4eb44208c0f004b1854916fa565b0e565f94ef8)
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

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

752 void (*hardware_error_callback)(uint8_t error);
753
754 // basic configuration
755 const char * local_name;
756 const uint8_t * eir_data;
757 uint32_t class_of_device;
758 bd_addr_t local_bd_addr;
759 uint8_t default_link_policy_settings;
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

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

752 void (*hardware_error_callback)(uint8_t error);
753
754 // basic configuration
755 const char * local_name;
756 const uint8_t * eir_data;
757 uint32_t class_of_device;
758 bd_addr_t local_bd_addr;
759 uint8_t default_link_policy_settings;
760 uint8_t allow_role_switch;
760 uint8_t ssp_enable;
761 uint8_t ssp_io_capability;
762 uint8_t ssp_authentication_requirement;
763 uint8_t ssp_auto_accept;
764 inquiry_mode_t inquiry_mode;
765#ifdef ENABLE_CLASSIC
766 // Errata-11838 mandates 7 bytes for GAP Security Level 1-3, we use 16 as default
767 uint8_t gap_required_encyrption_key_size;

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

1236// Only for PTS testing
1237
1238/**
1239 * Disable automatic L2CAP disconnect if no L2CAP connection is established
1240 */
1241void hci_disable_l2cap_timeout_check(void);
1242
1243/**
761 uint8_t ssp_enable;
762 uint8_t ssp_io_capability;
763 uint8_t ssp_authentication_requirement;
764 uint8_t ssp_auto_accept;
765 inquiry_mode_t inquiry_mode;
766#ifdef ENABLE_CLASSIC
767 // Errata-11838 mandates 7 bytes for GAP Security Level 1-3, we use 16 as default
768 uint8_t gap_required_encyrption_key_size;

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

1237// Only for PTS testing
1238
1239/**
1240 * Disable automatic L2CAP disconnect if no L2CAP connection is established
1241 */
1242void hci_disable_l2cap_timeout_check(void);
1243
1244/**
1245 * Get Classic Allow Role Switch param
1246 */
1247uint8_t hci_get_allow_role_switch(void);
1248
1249/**
1244 * Get state
1245 */
1246HCI_STATE hci_get_state(void);
1247
1248// setup test connections, used for fuzzing
1249void hci_setup_test_connections_fuzz(void);
1250
1251// free all connections, used for fuzzing
1252void hci_free_connections_fuzz(void);
1253
1254// simulate stack bootup
1255void hci_simulate_working_fuzz(void);
1256
1257#if defined __cplusplus
1258}
1259#endif
1260
1261#endif // HCI_H
1250 * Get state
1251 */
1252HCI_STATE hci_get_state(void);
1253
1254// setup test connections, used for fuzzing
1255void hci_setup_test_connections_fuzz(void);
1256
1257// free all connections, used for fuzzing
1258void hci_free_connections_fuzz(void);
1259
1260// simulate stack bootup
1261void hci_simulate_working_fuzz(void);
1262
1263#if defined __cplusplus
1264}
1265#endif
1266
1267#endif // HCI_H