hci_transport.h (f5aa8d7048f81bcd83d9e52112141febfd503ed2) hci_transport.h (daa2e90cf24e5bf3332f97f7b7b6cedf00b32a36)
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

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

145
146/*
147 * @brief Enable H5 Low Power Mode: enter sleep mode after x ms of inactivity
148 * @param inactivity_timeout_ms or 0 for off
149 */
150void hci_transport_h5_set_auto_sleep(uint16_t inactivity_timeout_ms);
151
152/*
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

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

145
146/*
147 * @brief Enable H5 Low Power Mode: enter sleep mode after x ms of inactivity
148 * @param inactivity_timeout_ms or 0 for off
149 */
150void hci_transport_h5_set_auto_sleep(uint16_t inactivity_timeout_ms);
151
152/*
153 * @brief Enable BSCP mode H5, by enabling event parity
154 */
155void hci_transport_h5_enable_bcsp_mode(void);
156
157/*
153 * @brief
154 */
155const hci_transport_t * hci_transport_usb_instance(void);
156
157/**
158 * @brief Specify USB Bluetooth device via port numbers from root to device
159 */
160void hci_transport_usb_set_path(int len, uint8_t * port_numbers);
161
162/* API_END */
163
164#if defined __cplusplus
165}
166#endif
167
168#endif // __HCI_TRANSPORT_H
158 * @brief
159 */
160const hci_transport_t * hci_transport_usb_instance(void);
161
162/**
163 * @brief Specify USB Bluetooth device via port numbers from root to device
164 */
165void hci_transport_usb_set_path(int len, uint8_t * port_numbers);
166
167/* API_END */
168
169#if defined __cplusplus
170}
171#endif
172
173#endif // __HCI_TRANSPORT_H