init commit from esp-idf ble example
This commit is contained in:
18
main/include/gatt_svc.h
Normal file
18
main/include/gatt_svc.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef GATT_SVR_H
|
||||
#define GATT_SVR_H
|
||||
|
||||
/* Includes */
|
||||
/* NimBLE GATT APIs */
|
||||
#include "host/ble_gatt.h"
|
||||
#include "services/gatt/ble_svc_gatt.h"
|
||||
|
||||
/* NimBLE GAP APIs */
|
||||
#include "host/ble_gap.h"
|
||||
|
||||
/* Public function declarations */
|
||||
void send_heart_rate_indication(void);
|
||||
void gatt_svr_register_cb(struct ble_gatt_register_ctxt *ctxt, void *arg);
|
||||
void gatt_svr_subscribe_cb(struct ble_gap_event *event);
|
||||
int gatt_svc_init(void);
|
||||
|
||||
#endif // GATT_SVR_H
|
||||
Reference in New Issue
Block a user