mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 03:35:20 +00:00
Merge branch 'le-secure-connection' of https://github.com/bluekitchen/btstack into le-secure-connection
This commit is contained in:
commit
b042cbd999
@ -223,6 +223,12 @@ static uint16_t att_read_callback(hci_con_handle_t connection_handle, uint16_t a
|
||||
}
|
||||
return counter_string_len - offset;
|
||||
}
|
||||
if (att_handle == ATT_CHARACTERISTIC_0000FF12_0000_1000_8000_00805F9B34FB_01_VALUE_HANDLE){
|
||||
if (buffer){
|
||||
memcpy(buffer, &counter_string[offset], counter_string_len - offset);
|
||||
}
|
||||
return counter_string_len - offset;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
/* LISTING_END */
|
||||
|
Loading…
x
Reference in New Issue
Block a user