1
0
forked from me/IronOS

Split handlers out

This commit is contained in:
Ben V. Brown
2022-11-20 17:59:25 +11:00
parent 60a3f8320e
commit 493af2ae1e
4 changed files with 136 additions and 54 deletions

View File

@@ -0,0 +1,17 @@
#ifndef BLE_HANDLERS_H_
#define BLE_HANDLERS_H_
#include "conn_internal.h"
#include "types.h"
#ifdef __cplusplus
extern "C" {
#endif
int ble_char_read_callback(struct bt_conn *conn, const struct bt_gatt_attr *attr, void *buf, u16_t len, u16_t offset);
int ble_tp_recv_wr(struct bt_conn *conn, const struct bt_gatt_attr *attr, const void *buf, u16_t len, u16_t offset, u8_t flags);
#ifdef __cplusplus
};
#endif
#endif