Constructor
new EndDevice(applicationID, config)
The constructor function is a special function that is called when an object is created from a class.
Name | Type | Description |
---|---|---|
applicationID | string | The ID of the application you want to use. |
config | Config | This is the configuration object that is passed to the constructor of the base class. |
Extends
- SetConfig
Methods
createEndDeviceIS(payload) → {Output-CreateEndDeviceIS}
It creates an end device for the application.
Name | Type | Description |
---|---|---|
payload | Input-CreateEndDeviceIS |
The response from the API. ----> CreateEndDeviceIS
- Type:
- Output-CreateEndDeviceIS
deleteEndDeviceAS(payload) → {Output-EmptyPayload}
It deletes the end device in the application server.
Name | Type | Description |
---|---|---|
payload | Input-DeleteEndDeviceAS |
The response from the API.
- Type:
- Output-EmptyPayload
deleteEndDeviceIS(payload) → {Output-EmptyPayload}
It deletes the end device in the identity server.
Name | Type | Description |
---|---|---|
payload | Input-DeleteEndDeviceIS |
The response from the API.
- Type:
- Output-EmptyPayload
deleteEndDeviceJS(payload) → {Output-EmptyPayload}
It deletes the end device in the join server.
Name | Type | Description |
---|---|---|
payload | Input-DeleteEndDeviceJS |
The response from the API.
- Type:
- Output-EmptyPayload
deleteEndDeviceNS(payload) → {Output-EmptyPayload}
It deletes the end device in the network server.
Name | Type | Description |
---|---|---|
payload | Input-DeleteEndDeviceNS |
The response from the API.
- Type:
- Output-EmptyPayload
downlinkQueue(payload)
It push or replace the downlink queue in the application server.
Name | Type | Description |
---|---|---|
payload | Input-DownlinkQueue | Input-DownlinkQueue |
getEndDeviceInfoAS(payload) → {Output-GetEndDeviceInfo}
It returns the end device information for the application in the Application Server.
Name | Type | Description |
---|---|---|
payload | Input-GetEndDeviceInfo |
The response from the API. ----> GetEndDeviceInfo
- Type:
- Output-GetEndDeviceInfo
getEndDeviceInfoIS(payload) → {Output-GetEndDeviceInfo}
It returns the end device information for the application in the Identity Server.
Name | Type | Description |
---|---|---|
payload | Input-GetEndDeviceInfo |
The response from the API. ----> GetEndDeviceInfo
- Type:
- Output-GetEndDeviceInfo
getEndDeviceInfoJS(payload) → {Output-GetEndDeviceInfo}
It returns the end device information for the application in the Join Server.
Name | Type | Description |
---|---|---|
payload | Input-GetEndDeviceInfo |
The response from the API. ----> GetEndDeviceInfo
- Type:
- Output-GetEndDeviceInfo
getEndDeviceInfoNS(payload) → {Output-GetEndDeviceInfo}
It returns the end device information for the application in the Network Server.
Name | Type | Description |
---|---|---|
payload | Input-GetEndDeviceInfo |
The response from the API. ----> GetEndDeviceInfo
- Type:
- Output-GetEndDeviceInfo
getEndDeviceList(payloadopt) → {Output-GetEndDeviceList}
It returns the list of end devices for the application in the Identity Server.
Name | Type | Attributes | Description |
---|---|---|---|
payload | Input-GetEndDeviceList | <optional> | Input-GetCollabortorList |
The response from the API. ----> GetEndDeviceList
- Type:
- Output-GetEndDeviceList
issueDevEUI() → {Output-IssueDevEUI}
It returns DevEUIs that are available for use.
The response from the API.
- Type:
- Output-IssueDevEUI
setEndDeviceAS(payload) → {Output-SetEndDeviceAS}
It sets an end device for the application in the Application Server.
Name | Type | Description |
---|---|---|
payload | Input-SetEndDeviceAS |
The response from the API. ----> SetEndDeviceAS
- Type:
- Output-SetEndDeviceAS
setEndDeviceJS(payload) → {Output-SetEndDeviceJS}
It sets an end device for the application in the Join Server.
Name | Type | Description |
---|---|---|
payload | Input-SetEndDeviceJS |
The response from the API. ----> SetEndDeviceJS
- Type:
- Output-SetEndDeviceJS
setEndDeviceNS(payload) → {Output-SetEndDeviceNS}
It sets an end device for the application in the Network Server.
Name | Type | Description |
---|---|---|
payload | Input-SetEndDeviceNS |
The response from the API. ----> SetEndDeviceNS
- Type:
- Output-SetEndDeviceNS
subscribeDownLinkEvent(payload) → {Output-SubscribeDownLinkEvent}
It subscribes downlink event topic.
Name | Type | Description |
---|---|---|
payload | Input-SubscribeDownLinkEvent | Input-SubscribeDownLinkEvent |
It returns client object and topic.
subscribeUpLinkEvent(payload) → {Output-SubscribeUpLinkEvent}
It subscribes uplink event topic.
Name | Type | Description |
---|---|---|
payload | Input-SubscribeUpLinkEvent | Input-SubscribeUpLinkEvent |
It returns client object and topic.
unsubscribeEvent(payload)
It unsubscribes event topic.
Name | Type | Description |
---|---|---|
payload | mqtt_connection_object | MQTT Connection Object |
updateEndDevice(payload) → {Output-UpdateEndDevice}
It updates the end device information for the application.
Name | Type | Description |
---|---|---|
payload | Input-UpdateEndDevice |
The response from the API. ----> UpdateEndDevice
- Type:
- Output-UpdateEndDevice