hci.h (229331c6bf4edadbf27ea60ee317922bf1f6e425) hci.h (c33e56d3e01b1b1e94606efef5e1a616eb44f207)
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

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

577
578 HCI_INIT_SET_EVENT_MASK,
579 HCI_INIT_W4_SET_EVENT_MASK,
580
581 HCI_INIT_WRITE_SIMPLE_PAIRING_MODE,
582 HCI_INIT_W4_WRITE_SIMPLE_PAIRING_MODE,
583 HCI_INIT_WRITE_PAGE_TIMEOUT,
584 HCI_INIT_W4_WRITE_PAGE_TIMEOUT,
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

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

577
578 HCI_INIT_SET_EVENT_MASK,
579 HCI_INIT_W4_SET_EVENT_MASK,
580
581 HCI_INIT_WRITE_SIMPLE_PAIRING_MODE,
582 HCI_INIT_W4_WRITE_SIMPLE_PAIRING_MODE,
583 HCI_INIT_WRITE_PAGE_TIMEOUT,
584 HCI_INIT_W4_WRITE_PAGE_TIMEOUT,
585 HCI_INIT_WRITE_DEFAULT_LINK_POLICY_SETTING,
586 HCI_INIT_W4_WRITE_DEFAULT_LINK_POLICY_SETTING,
585 HCI_INIT_WRITE_CLASS_OF_DEVICE,
586 HCI_INIT_W4_WRITE_CLASS_OF_DEVICE,
587 HCI_INIT_WRITE_LOCAL_NAME,
588 HCI_INIT_W4_WRITE_LOCAL_NAME,
589 HCI_INIT_WRITE_EIR_DATA,
590 HCI_INIT_W4_WRITE_EIR_DATA,
591 HCI_INIT_WRITE_INQUIRY_MODE,
592 HCI_INIT_W4_WRITE_INQUIRY_MODE,

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

690 // hardware error callback
691 void (*hardware_error_callback)(uint8_t error);
692
693 // basic configuration
694 const char * local_name;
695 const uint8_t * eir_data;
696 uint32_t class_of_device;
697 bd_addr_t local_bd_addr;
587 HCI_INIT_WRITE_CLASS_OF_DEVICE,
588 HCI_INIT_W4_WRITE_CLASS_OF_DEVICE,
589 HCI_INIT_WRITE_LOCAL_NAME,
590 HCI_INIT_W4_WRITE_LOCAL_NAME,
591 HCI_INIT_WRITE_EIR_DATA,
592 HCI_INIT_W4_WRITE_EIR_DATA,
593 HCI_INIT_WRITE_INQUIRY_MODE,
594 HCI_INIT_W4_WRITE_INQUIRY_MODE,

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

692 // hardware error callback
693 void (*hardware_error_callback)(uint8_t error);
694
695 // basic configuration
696 const char * local_name;
697 const uint8_t * eir_data;
698 uint32_t class_of_device;
699 bd_addr_t local_bd_addr;
700 uint8_t default_link_policy_settings;
698 uint8_t ssp_enable;
699 uint8_t ssp_io_capability;
700 uint8_t ssp_authentication_requirement;
701 uint8_t ssp_auto_accept;
702 inquiry_mode_t inquiry_mode;
703
704 // single buffer for HCI packet assembly + additional prebuffer for H4 drivers
705 uint8_t * hci_packet_buffer;

--- 471 unchanged lines hidden ---
701 uint8_t ssp_enable;
702 uint8_t ssp_io_capability;
703 uint8_t ssp_authentication_requirement;
704 uint8_t ssp_auto_accept;
705 inquiry_mode_t inquiry_mode;
706
707 // single buffer for HCI packet assembly + additional prebuffer for H4 drivers
708 uint8_t * hci_packet_buffer;

--- 471 unchanged lines hidden ---