This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

XMPP Example not working

Other Parts Discussed in Thread: CC3200

Hi,

In one project I have to implement the XMPP. I have below queries.

1.I have imported the project into CCS workspace and started testing it. I done the following setting into project. but it is not working. I have referred the document from example folder and followed the same steps.

#define CLIENT_USER_NAME "cc32xx.apps" //"<username>"

#define CLIENT_PASSWORD "123456789"//"<password>"

#define XMPP_DOMAIN_NAME "gmail.com"//"gmail.com"

#define XMPP_RESOURCE "work"

I have installed the google hangout on PC side and sending the chat messages through my gamil account. I first logged into my gamil account and added the cc3200.apps@gamil.com account into my contact and after this I sent the invitation to cc3200.apps@gamil.com but is not accepted. I don't know what is the wrong in this. I am new to this.

Can you please tell me which xmpp sever we have to install on PC side and provide the link for the same. Also provide the steps /procedure how to chat with the IOT device using the XMPP server. I referred the example steps but it is not working.

2. We are using the bluemix platform and NODE red flow editor for final testing. In node red directory I found the XMPP node is there but I don't found the exact steps how to add the new node to NODE red flow editor. I followed the steps given in node red flow starter guide but didn't got the success.

Can you please provide the steps how to add the new node into node red flow editor? so that I can just drag it into flow workspace and start chatting with IOT device.

waiting for early replay.

Thanks,

Pandurang Khutal

  • Hi Pandurang,

    1. "cc32xx.apps" is used as an example user name. Where is says "cc32xx.apps and "xxxxxx", you would create and insert your own email address and password. Essentially, you need two gmail accounts to run the program.

    2. TI does not support IBM Bluemix, so unfortunately I have no idea how to handle that platform. You may be able to find a tutorial on their site.

    Best regards,
    Sarah
  • Hi ,

    I have crated now two Gmail ID one is my ID and I created the new Gmail ID for CC3200 like c3200apps.demo@gmail.com and paasword.

    Now I am facing the issue  The function sl_NetAppXmppConnect() and waiting this loop forever.  Now this can also be due to CC3200 not being able to connect to google server.  there could be issue with IP,port or chippers which I have used.

    I used following settings-

    #define XMPP_IP_ADDR 0x40e9a77d //wl-in-f125.1e100.net - AS15169 Google Inc.

    #define XMPP_DST_PORT 5222//5222 //5223

     

    // Configuring different parameters which are required for XMPP connection

    XmppOption.Port = XMPP_DST_PORT;

    XmppOption.Family = SL_AF_INET;

    XmppOption.SecurityMethod = SO_SECMETHOD_SSLV3;

    XmppOption.SecurityCypher = SECURE_MASK_SSL_RSA_WITH_RC4_128_SHA;

     XmppOption.Ip = XMPP_IP_ADDR;

     

    Can you please tell me the setting which I have is correct or need some modification.

    If  someone finds some solution then kindly let me know

     

    Thanks,

    Pandurang Khutal

  • Hi Pandurang,

    Thanks for bringing this to our attention. I have replicated the issue and am checking internally to see if there is an update to be provided. Please allow a few days for this response.

    Thanks,
    Sarah