mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
rough status handler done
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user