initial commit
This commit is contained in:
33
project/ble_peripheral/ble_app_vivaMayo/ble/ble_services.h
Normal file
33
project/ble_peripheral/ble_app_vivaMayo/ble/ble_services.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*******************************************************************************
|
||||
* @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 */
|
||||
Reference in New Issue
Block a user