1 /** @file
2  *  @brief BlueNRG HCI extended API.
3  */
4 
5 /*
6  * Copyright (c) 2024 STMicroelectronics
7  *
8  * SPDX-License-Identifier: Apache-2.0
9  */
10 #ifndef ZEPHYR_INCLUDE_DRIVERS_BLUETOOTH_HCI_DRIVER_BLUENRG_H_
11 #define ZEPHYR_INCLUDE_DRIVERS_BLUETOOTH_HCI_DRIVER_BLUENRG_H_
12 
13 /**
14  * @brief BlueNRG HCI Driver-Specific API
15  * @defgroup bluenrg_hci_driver BlueNRG HCI driver extended API
16  * @ingroup bluetooth
17  * @{
18  */
19 
20 #include <stdbool.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 /** @brief Hardware reset the BlueNRG network coprocessor.
27  *
28  * Performs hardware reset of the BLE network coprocessor.
29  * It can also force to enter firmware updater mode.
30  *
31  * @param updater_mode flag to indicate whether updater mode needs to be entered.
32  *
33  * @return a non-negative value indicating success, or a
34  * negative error code for failure
35  */
36 
37 int bluenrg_bt_reset(bool updater_mode);
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 /**
44  * @}
45  */
46 
47 #endif /* ZEPHYR_INCLUDE_DRIVERS_BLUETOOTH_HCI_DRIVER_BLUENRG_H_ */
48