1
0
mirror of https://github.com/bluekitchen/btstack.git synced 2025-02-25 06:40:10 +00:00

gatt_client: allow read multiple variable for unenhanced att bearer

This commit is contained in:
Matthias Ringwald 2024-10-28 14:19:25 +01:00
parent bbb8e69815
commit e5fc01d68a

@ -2854,14 +2854,6 @@ static uint8_t gatt_client_read_multiple_characteristic_values_with_state(btstac
return status;
}
#ifdef ENABLE_GATT_OVER_EATT
if (state == P_W2_SEND_READ_MULTIPLE_VARIABLE_REQUEST){
if (gatt_client->bearer_type != ATT_BEARER_ENHANCED_LE){
return ERROR_CODE_COMMAND_DISALLOWED;
}
}
#endif
gatt_client->callback = callback;
gatt_client->read_multiple_handle_count = num_value_handles;
gatt_client->read_multiple_handles = value_handles;