NNN40 XmppClient first commit

Dependencies:   WIFI_API_32kRAM mbed

How to use Demo code

  • Step1: Create Accounts, the accounts information as follow, (Demo server used Openfire3.9.3)
  1. Server Address: xmpp.koryo.com.tw
  2. Account1's name and password (nnn40b/123456)
  3. Account2's name and password (app2/123456)
  • Step2: Burn demo code to NNN40 module.

You can drag and drop the sample code to NNN40 module.

  • Step3: Login XMPP client by mobile or PC side.

Our demonstration is presented in Android phone, and we install ”Xabber” application for XMPP client login. We use “app2” account to login “xmpp.koryo.com.tw” server.

  • Step4: Login XMPP client by NNN40 module.

After turning on NNN40 module, the module will login to XMPP automatically. In addition, the module also sends a message to name2.

  • Step5: Turn on or turn off LED

you can chat with module and ask module to turn on or turn off LED.

How to install Openfire (XMPP Server)

If you want setup XMPP server by yourself, the Installation Guide as follow:

https://www.igniterealtime.org/builds/openfire/docs/latest/documentation/install-guide.html

the download link as follow (Openfire3.9.3):

http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_3_9_3.exe

DEMO video

History

update SSID and Password default tip

2015-10-13, by lester0507 [Tue, 13 Oct 2015 06:39:55 +0000] rev 4

update SSID and Password


fix login bug for openfire3.10.2

2015-10-13, by lester0507 [Tue, 13 Oct 2015 06:35:50 +0000] rev 3

fix login bug for openfire3.10.2


fix login bug for openfire3.10.2

2015-10-13, by lester0507 [Tue, 13 Oct 2015 06:33:07 +0000] rev 2

fix login bug for openfire3.10.2


remove mbed-src, add mbed lib.

2015-09-15, by lester0507 [Tue, 15 Sep 2015 06:47:32 +0000] rev 1

remove mbed-src, add mbed lib.


first commit

2015-09-15, by lester0507 [Tue, 15 Sep 2015 01:26:54 +0000] rev 0

first commit