You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
346 B

  1. #pragma once
  2. #include <stdint.h>
  3. /**
  4. * @brief
  5. */
  6. typedef void (*on_service_init_t)(void);
  7. typedef struct {
  8. const char* deviceName;
  9. on_service_init_t on_service_init;
  10. } zble_module_cfg_t;
  11. void zble_module_init(zble_module_cfg_t* cfg);
  12. void zble_module_start_adv();
  13. void zble_module_stop_adv();
  14. int32_t zble_module_get_mtu_size();