34 lines
911 B
C
34 lines
911 B
C
/*******************************************************************************
|
|
* @file ble_services.h
|
|
* @brief BLE Services - NUS and DFU
|
|
* @author Charles KWON <charleskwon@medithings.co.kr>
|
|
* @date 2025-01-30
|
|
* @copyright (c) 2025 Medithings Inc. All rights reserved.
|
|
*
|
|
* @details Nordic UART Service and DFU service initialization.
|
|
******************************************************************************/
|
|
|
|
#ifndef BLE_SERVICES_H
|
|
#define BLE_SERVICES_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
/*==============================================================================
|
|
* FUNCTION PROTOTYPES
|
|
*============================================================================*/
|
|
|
|
/**
|
|
* @brief Initialize BLE services (NUS, DFU)
|
|
*/
|
|
void services_init(void);
|
|
|
|
#if BLE_DFU_ENABLED
|
|
/**
|
|
* @brief Initialize DFU async SVCI
|
|
*/
|
|
void dfu_init(void);
|
|
#endif
|
|
|
|
#endif /* BLE_SERVICES_H */
|