1
0
forked from me/IronOS
Files
IronOS/source/Core/BSP/Pinecilv2/ble_handlers.h
2022-11-20 22:15:58 +11:00

19 lines
584 B
C

#ifndef BLE_HANDLERS_H_
#define BLE_HANDLERS_H_
#include "conn_internal.h"
#include "types.h"
#ifdef __cplusplus
extern "C" {
#endif
int ble_char_read_status_callback(struct bt_conn *conn, const struct bt_gatt_attr *attr, void *buf, u16_t len, u16_t offset);
int ble_char_read_setting_value_callback(struct bt_conn *conn, const struct bt_gatt_attr *attr, void *buf, u16_t len, u16_t offset);
int ble_char_write_setting_value_callback(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