# {py:mod}`haniwers.v1.port.diagnoser`

```{py:module} haniwers.v1.port.diagnoser
```

```{autodoc2-docstring} haniwers.v1.port.diagnoser
:allowtitles:
```

## Module Contents

### Functions

````{list-table}
:class: autosummary longtable
:align: left

* - {py:obj}`diagnose_esp32 <haniwers.v1.port.diagnoser.diagnose_esp32>`
  - ```{autodoc2-docstring} haniwers.v1.port.diagnoser.diagnose_esp32
    :summary:
    ```
* - {py:obj}`_parse_flash_output <haniwers.v1.port.diagnoser._parse_flash_output>`
  - ```{autodoc2-docstring} haniwers.v1.port.diagnoser._parse_flash_output
    :summary:
    ```
````

### API

````{py:function} diagnose_esp32(device: str, baudrate: int = 115200, flash_id: bool = False, chip_id: bool = False, summary: bool = False) -> None
:canonical: haniwers.v1.port.diagnoser.diagnose_esp32

```{autodoc2-docstring} haniwers.v1.port.diagnoser.diagnose_esp32
```
````

````{py:function} _parse_flash_output(output: str) -> haniwers.v1.port.model.FlashInfo
:canonical: haniwers.v1.port.diagnoser._parse_flash_output

```{autodoc2-docstring} haniwers.v1.port.diagnoser._parse_flash_output
```
````
