rough status handler done

This commit is contained in:
Ben V. Brown
2022-11-20 18:04:45 +11:00
parent e88c064390
commit 36b60e250d
3 changed files with 9 additions and 9 deletions

View File

@@ -25,9 +25,9 @@
#include "power.hpp"
/*************************************************************************
NAME
ble_char_read_callback
ble_char_read_status_callback
*/
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_char_read_status_callback(struct bt_conn *conn, const struct bt_gatt_attr *attr, void *buf, u16_t len, u16_t offset) {
if (attr == NULL || attr->uuid == NULL) {
return 0;
}