---
name: "publishSigMeshMultiDps"
mode: "kit"
versionRequirements:
  - { name: "DeviceKit", version: "2.4.0" }
platform:
  - "iOS"
  - "Android"
async: true
---

## publishSigMeshMultiDps

> [VERSION] DeviceKit >= 2.4.0

> [PLATFORM] iOS, Android

> ⚡ **Supports Promise** — Returns a Promise when success / fail / complete callbacks are omitted.

### Description

Mesh group control (only for group control in single-device panels, e.g., PIR sensor panels)

### Parameters

| Property | Type | Required | Default | Since | Description |
| --- | --- | --- | --- | --- | --- |
| `groupId` | `string` | Yes | - | `2.4.0` | groupId Group ID |
| `localId` | `string` | Yes | - | `2.4.0` | localId Local group identifier |
| `dps` | `Record<string, Record<string, any>>` | Yes | - | `2.4.0` | DP information Example: dps: {"1" : true} |
| `pcc` | `string` | Yes | - | `2.4.0` | pcc Mesh device category |
| `complete` | `() => void` | No | - | - | Completion callback (runs on both success and failure) |
| `success` | `() => void` | No | - | - | Callback for a successful API call |
| `fail` | `(params: Object) => void` ↓see below | No | - | - | Callback for a failed API call |

#### fail callback parameters

| Property | Type | Description |
| --- | --- | --- |
| `errorMsg` | `string` | Error message |
| `errorCode` | `string \| number` | Error code |
| `innerError` | `Object` | Error extension |

##### fail(params).innerError properties

| Property | Type | Description |
| --- | --- | --- |
| `errorCode` | `string \| number` | Extended error code |
| `errorMsg` | `string` | Extended error information |
