XMPP(Extensible Messaging and Presence Protocol)
The Extensible Messaging and Presence Protocol Device Driver allows Iotellect Server to achieve instant messaging, as well as to solve the problem of interoperability between heterogeneous networks. XMPP is a real-time information transmission specification based on IP technology and Extensible Markup Language (XML).
Following are the features of XMPP device driver as the name suggests:
• Extensible: This driver can be customized to individual user needs.
• Messaging: It uses short messages as method of communication between client (i.e. user) and server.
• Presence: This driver is reactive to the presence of the user and user status.
• Protocol: It is not a language. It is an open platform which is constantly evolving and it is asynchronous.
Driver Information
Driver Plugin ID: | com.tibbo.linkserver.plugin.device.xmpp |
Global Settings
None defined.
User Level Settings
None defined.
Device Account Properties
Connection Properties
Connection settings define how Iotellect Server communicates with an XMPP server. The following provides a list of available connection properties:
Setting | Description |
Protocol | This driver works with two specific XMPP Extension Protocols:
|
Address | IP address or host name of the host providing the XMPP service. |
Port | Port the host providing the XMPP service |
Domain | Set the XMPP domain. The XMPP domain is what follows after the '@' sign in XMPP addresses (JIDs). |
Resource | Set the resource that will be requested from the server. |
Username | User name to be used for authorization. The username is usually the local part of the clients JID. But some SASL mechanisms or services may require a different format (e.g. the full JID) as used authorization identity. |
Password | Password for authorization. |
Recipient | Recipient ID. This ID should be specified without the domain name. |
Data to Send | Defines your data to send. It's sent as a string with the following format |
Timeout | Set how long the socket will wait until a TCP connection is established (in milliseconds). |
Use TLS | Sets the TLS security mode used when making the connection. By default, the mode is |
Device Assets
Assets are not supported by the driver.
Device Settings
The XMPP device driver creates one Device setting variable. This variable includes the following fields:
Property | Description |
Successful | Indicates successful XMPP device driver connections. |
Response Time, milliseconds | Server response time. |
Reply Code | XMPP response code. |
Reply | XMPP response body. |
Error | Error text, or NULL if the request was successful. |
Device Operations
Execute XMPP Request
This operation is used to execute XMPP device driver request.
Device Events
No events provided by the driver.
Connection Handling
This driver makes the device Online if a connection with a recipient was successfully established.
Was this page helpful?