gatt_svc.h 574 B

1234567891011121314151617181920212223
  1. /*
  2. * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Unlicense OR CC0-1.0
  5. */
  6. #ifndef GATT_SVR_H
  7. #define GATT_SVR_H
  8. /* Includes */
  9. /* NimBLE GATT APIs */
  10. #include "host/ble_gatt.h"
  11. #include "services/gatt/ble_svc_gatt.h"
  12. /* NimBLE GAP APIs */
  13. #include "host/ble_gap.h"
  14. /* Public function declarations */
  15. void send_heart_rate_indication(void);
  16. void gatt_svr_register_cb(struct ble_gatt_register_ctxt *ctxt, void *arg);
  17. void gatt_svr_subscribe_cb(struct ble_gap_event *event);
  18. int gatt_svc_init(void);
  19. #endif // GATT_SVR_H