diff --git a/net/bluetooth/gatt.c b/net/bluetooth/gatt.c index ec2843025da..e770d607839 100644 --- a/net/bluetooth/gatt.c +++ b/net/bluetooth/gatt.c @@ -740,8 +740,12 @@ static void att_find_type_rsp(struct bt_conn *conn, uint8_t err, goto done; } - /* Continue for the last found handle */ + /* Continue from the last found handle */ params->start_handle = end_handle; + if (params->start_handle < UINT16_MAX) { + params->start_handle++; + } + if (!bt_gatt_discover(conn, params)) { return; }