barback32/include/ble.h

14 lines
222 B
C
Raw Normal View History

2020-04-23 01:23:02 -04:00
#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