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.
20 lines
346 B
20 lines
346 B
#pragma once
|
|
#include <stdint.h>
|
|
|
|
/**
|
|
* @brief
|
|
*/
|
|
|
|
typedef void (*on_service_init_t)(void);
|
|
|
|
typedef struct {
|
|
const char* deviceName;
|
|
on_service_init_t on_service_init;
|
|
} zble_module_cfg_t;
|
|
|
|
void zble_module_init(zble_module_cfg_t* cfg);
|
|
|
|
void zble_module_start_adv();
|
|
void zble_module_stop_adv();
|
|
|
|
int32_t zble_module_get_mtu_size();
|