gap.h 476 B

12345678910111213141516171819202122
  1. /*
  2. * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Unlicense OR CC0-1.0
  5. */
  6. #ifndef GAP_SVC_H
  7. #define GAP_SVC_H
  8. /* Includes */
  9. /* NimBLE GAP APIs */
  10. #include "services/gap/ble_svc_gap.h"
  11. /* Defines */
  12. #define BLE_GAP_APPEARANCE_GENERIC_TAG 0x0200
  13. #define BLE_GAP_URI_PREFIX_HTTPS 0x17
  14. #define BLE_GAP_LE_ROLE_PERIPHERAL 0x00
  15. /* Public function declarations */
  16. void adv_init(void);
  17. int gap_init(void);
  18. #endif // GAP_SVC_H