An open API service indexing awesome lists of open source software.

https://github.com/andreock/capacitor-plugin-esptouch

A capacitor JS plugin to use ESPtouch V2 in your capacitor application.
https://github.com/andreock/capacitor-plugin-esptouch

Last synced: 3 months ago
JSON representation

A capacitor JS plugin to use ESPtouch V2 in your capacitor application.

Awesome Lists containing this project

README

        

# capacitor-plugin-esptouch

A capacitor JS plugin to use ESPtouch V2 in your capacitor application.

Only android is supported for the moment.

Check example for usage.

## Install

```bash
npm install capacitor-plugin-esptouch
npx cap sync
```

## API

* [`EsptouchV2(...)`](#esptouchv2)
* [Interfaces](#interfaces)

### EsptouchV2(...)

```typescript
EsptouchV2(options: EsptouchV2Request) => Promise
```

| Param | Type |
| ------------- | --------------------------------------------------------------- |
| **`options`** | EsptouchV2Request |

**Returns:** Promise<EsptouchV2Response>

--------------------

### Interfaces

#### EsptouchV2Response

| Prop | Type |
| -------------- | ------------------- |
| **`response`** | string |
| **`error`** | string |

#### EsptouchV2Request

| Prop | Type |
| ----------------- | ------------------- |
| **`ssid`** | string |
| **`bssid`** | string |
| **`password`** | string |
| **`custom_data`** | string |