hci.h (44b93b4e95cc1377044592282e8c35abf3b2eb65) hci.h (67f708e073a3b5c01fde35c3f01722ed61d4b6a3)
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

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

1170
1171
1172/**
1173 * @brief Add event packet handler.
1174 */
1175void hci_add_event_handler(btstack_packet_callback_registration_t * callback_handler);
1176
1177/**
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

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

1170
1171
1172/**
1173 * @brief Add event packet handler.
1174 */
1175void hci_add_event_handler(btstack_packet_callback_registration_t * callback_handler);
1176
1177/**
1178 * @brief Remove event packet handler.
1179 */
1180void hci_remove_event_handler(btstack_packet_callback_registration_t * callback_handler);
1181
1182/**
1178 * @brief Registers a packet handler for ACL data. Used by L2CAP
1179 */
1180void hci_register_acl_packet_handler(btstack_packet_handler_t handler);
1181
1182/**
1183 * @brief Registers a packet handler for SCO data. Used for HSP and HFP profiles.
1184 */
1185void hci_register_sco_packet_handler(btstack_packet_handler_t handler);

--- 288 unchanged lines hidden ---
1183 * @brief Registers a packet handler for ACL data. Used by L2CAP
1184 */
1185void hci_register_acl_packet_handler(btstack_packet_handler_t handler);
1186
1187/**
1188 * @brief Registers a packet handler for SCO data. Used for HSP and HFP profiles.
1189 */
1190void hci_register_sco_packet_handler(btstack_packet_handler_t handler);

--- 288 unchanged lines hidden ---