new ApplicationMgr()
The manager for application queues.
- Source:
Fires:
Methods
(async) close()
To close the manager queues.
The underlying connection will be closed when there are no queues use it.
- Source:
Throws:
SdkError
id() → {string}
- Source:
Returns:
The application ID.
- Type
- string
mqStatus() → {DataMqStatus}
- Source:
Returns:
Manager status.
- Type
- DataMqStatus
name() → {string}
- Source:
Returns:
The application code.
- Type
- string
(async) sendDlData(data)
Send downlink data `AppDlData` to the broker.
Parameters:
Name | Type | Description |
---|---|---|
data |
AppDlData |
- Source:
Throws:
-
-
Wrong arguments.
- Type
- Error
-
-
SdkError
status() → {MgrStatus}
- Source:
Returns:
Manager status.
- Type
- MgrStatus
unitCode() → {string}
- Source:
Returns:
The associated unit code of the application.
- Type
- string
unitId() → {string}
- Source:
Returns:
The associated unit ID of the application.
- Type
- string
Events
status
Connection status event.
Type:
- Status
- Source: