14 lines
222 B
C
14 lines
222 B
C
|
#ifndef __BLE_H_H
|
||
|
#define __BLE_H_H
|
||
|
|
||
|
typedef int (*event_callback_t)(struct ble_gap_event *, void *);
|
||
|
|
||
|
typedef struct {
|
||
|
uint32_t *handle;
|
||
|
event_callback_t callback;
|
||
|
} event_callback_handle_t;
|
||
|
|
||
|
void ble_init();
|
||
|
|
||
|
#endif
|