Skip to content

Commit

Permalink
Attr max size is lowered to 512 in ESP IDF master
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jun 7, 2024
1 parent 6aa09ae commit 296376a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bt/ble/gatt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ impl GattResponse {
Self(esp_gatt_rsp_t {
attr_value: esp_gatt_value_t {
len: 0,
value: [0; 600],
value: [0; ESP_GATT_MAX_ATTR_LEN as _],
handle: 0,
offset: 0,
auth_req: 0,
Expand Down

0 comments on commit 296376a

Please sign in to comment.