Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: WIFI_API_32kRAM mbed
You are viewing an older revision! See the latest version
Homepage
NNN40 XmppClient¶
Setup the environment¶
- Step1: Create Accounts, the accounts information as follow, (Demo server used Openfire3.9.3)
- Server IP: 192.168.0.1
- Account1's name and password (name1/password1)
- Account2's name and password (name2/password2)
- 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 “name2” account to login “192.168.0.1” 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 Android phone, as figure5.