Step 5: exchanging data over xmpp, Running smartserver-pidgin xmpp chat – Echelon SmartServer XMPP Client User Manual

Page 26

Advertising
background image

18

Using SmartServer XMPP

7.

Repeat step 5 for any other SmartServer or client application.

Step 5: Exchanging Data over XMPP

After you have added user accounts to the XMPP server for the SmartServer XMPP client and your
client application, you can initiate communication between the SmartServer and client application.
This example connects the SmartServer via instant message to the Pidgin XMPP chat client created in
the XMPP Chat Client Example section in Step 3: Developing a Client Application. In addition, it
shows how to create a Web connection that uses XMPP to enable communication between
SmartServers that reside behind firewalls.

Running SmartServer-Pidgin XMPP Chat

To have the SmartServer communicate with the Pidgin XMPP chat client via instant message, follow
these steps:

1.

Verify that Pidgin is running.

2.

Click Buddies and then click New Instant Message.

3.

Enter the user name for the SmartServer XMPP client, which should be <SmartServer MAC ID>@

<ejabberd server domain>. You can copy this from the ejabberd Users Web page.

Advertising