Commit 3f80a44e authored by schneider's avatar schneider
Browse files

fix(ble): Handle new send_update flag in mp_bluetooth_gatts_write

parent 78269f21
Pipeline #5290 passed with stages
in 46 seconds
......@@ -683,6 +683,10 @@ int mp_bluetooth_gatts_write(
size_t value_len,
bool send_update
) {
if (send_update) {
return MP_EOPNOTSUPP;
}
// TODO: which return value to choose?
mp_bluetooth_gatts_db_write(GATTS_DB, value_handle, value, value_len);
int ret = epic_ble_atts_set_attr(value_handle, value, value_len);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment